diff options
author | Chris Michael <cp.michael@samsung.com> | 2014-01-21 14:14:58 +0000 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2014-01-29 15:27:23 +0000 |
commit | 642ea4b29b1b49d437de53b1eb307ddd9c686df1 (patch) | |
tree | 190f06b03135d964425f9e4f8f3760830bd8a006 | |
parent | 9eb1a71689817d463c17c73b940a981384bb8859 (diff) | |
download | efl-642ea4b29b1b49d437de53b1eb307ddd9c686df1.tar.gz |
Fix function prototypes to accept the drm device fd.
Fix function calls to accept the drm device fd.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/modules/evas/engines/drm/evas_engine.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c index e018a9fb83..966695de26 100644 --- a/src/modules/evas/engines/drm/evas_engine.c +++ b/src/modules/evas/engines/drm/evas_engine.c @@ -30,7 +30,7 @@ struct _Render_Engine }; /* local function prototypes */ -static void *_output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool destination_alpha, int try_swap); +static void *_output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool destination_alpha, int fd, int try_swap); static Tilebuf_Rect *_merge_rects(Tilebuf *tb, Tilebuf_Rect *r1, Tilebuf_Rect *r2, Tilebuf_Rect *r3); /* engine function prototypes */ @@ -56,7 +56,7 @@ int _evas_engine_drm_log_dom = -1; /* local functions */ static void * -_output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool destination_alpha, int try_swap) +_output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool destination_alpha, int fd, int try_swap) { Render_Engine *re = NULL; @@ -79,7 +79,7 @@ _output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Ei if (try_swap) { if ((re->ob = evas_swapbuf_setup(w, h, rotation, depth, - destination_alpha))) + destination_alpha, fd))) { re->outbuf_free = evas_swapbuf_free; re->outbuf_reconfigure = evas_swapbuf_reconfigure; @@ -233,7 +233,7 @@ eng_setup(Evas *eo_evas, void *einfo) _output_engine_setup(epd->output.w, epd->output.h, info->info.rotation, info->info.depth, info->info.destination_alpha, - try_swap))) + info->info.fd, try_swap))) return 0; re->info = info; } @@ -256,7 +256,8 @@ eng_setup(Evas *eo_evas, void *einfo) if ((re->ob = evas_swapbuf_setup(epd->output.w, epd->output.h, info->info.rotation, info->info.depth, - info->info.destination_alpha))) + info->info.destination_alpha, + info->info.fd))) { re->outbuf_free = evas_swapbuf_free; re->outbuf_reconfigure = evas_swapbuf_reconfigure; |