diff options
author | Chris Michael <cp.michael@samsung.com> | 2014-01-10 07:30:05 +0000 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2014-01-29 15:27:23 +0000 |
commit | 4c7df8ba314017963470cb39ec8a5ebc70809309 (patch) | |
tree | 265f1c7993cbe7f583624904543a848f36bf5ab6 | |
parent | 3cb2978f3ed2557c6d25c6e18d912de030fc934d (diff) | |
download | efl-4c7df8ba314017963470cb39ec8a5ebc70809309.tar.gz |
Remove old outbuf file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/modules/evas/engines/drm/evas_outbuf.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/modules/evas/engines/drm/evas_outbuf.c b/src/modules/evas/engines/drm/evas_outbuf.c deleted file mode 100644 index e6327b6d85..0000000000 --- a/src/modules/evas/engines/drm/evas_outbuf.c +++ /dev/null @@ -1,45 +0,0 @@ -#include "evas_common_private.h" -#include "evas_private.h" -#include "evas_engine.h" - -Outbuf * -evas_outbuf_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool alpha) -{ - Outbuf *ob; - - /* try to allocate space for out outbuf structure */ - if (!(ob = calloc(1, sizeof(Outbuf)))) - return NULL; - - /* set some default outbuf properties */ - ob->w = w; - ob->h = h; - ob->rotation = rotation; - ob->depth = depth; - ob->destination_alpha = alpha; - - /* return the allocated outbuf structure */ - return ob; -} - -void -evas_outbuf_free(Outbuf *ob) -{ - /* free the allocated outbuf structure */ - free(ob); -} - -void -evas_outbuf_reconfigure(Outbuf *ob, int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool alpha) -{ - /* check for changes */ - if ((ob->w == w) && (ob->h == h) && (ob->destination_alpha == alpha) && - (ob->rotation == rotation) && (ob->depth == depth)) return; - - /* set new outbuf properties */ - ob->w = w; - ob->h = h; - ob->rotation = rotation; - ob->depth = depth; - ob->destination_alpha = alpha; -} |