summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_drm
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_drm')
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c4
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.h6
-rw-r--r--src/modules/evas/engines/gl_drm/evas_outbuf.c6
3 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index 28b21d2..ce5358f 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -905,7 +905,7 @@ eng_output_setup(void *engine EINA_UNUSED, void *in, unsigned int w, unsigned in
905 Evas_Engine_Info_GL_Drm *info = in; 905 Evas_Engine_Info_GL_Drm *info = in;
906 Render_Engine *re = NULL; 906 Render_Engine *re = NULL;
907 Outbuf *ob; 907 Outbuf *ob;
908 Render_Engine_Swap_Mode swap_mode; 908 Render_Output_Swap_Mode swap_mode;
909 909
910 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode); 910 swap_mode = evas_render_engine_gl_swap_mode_get(info->info.swap_mode);
911 911
@@ -987,7 +987,7 @@ eng_output_update(void *engine EINA_UNUSED, void *data, void *in, unsigned int w
987 (info->info.destination_alpha != eng_get_ob(re)->destination_alpha)) 987 (info->info.destination_alpha != eng_get_ob(re)->destination_alpha))
988 { 988 {
989 Outbuf *ob, *ob_old; 989 Outbuf *ob, *ob_old;
990 Render_Engine_Swap_Mode swap_mode = MODE_AUTO; 990 Render_Output_Swap_Mode swap_mode = MODE_AUTO;
991 991
992 ob_old = re->generic.software.ob; 992 ob_old = re->generic.software.ob;
993 re->generic.software.ob = NULL; 993 re->generic.software.ob = NULL;
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h b/src/modules/evas/engines/gl_drm/evas_engine.h
index e6a77bf..c67763c 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.h
+++ b/src/modules/evas/engines/gl_drm/evas_engine.h
@@ -90,7 +90,7 @@ struct _Outbuf
90 int w, h, bpp; 90 int w, h, bpp;
91 unsigned int rotation, depth, format; 91 unsigned int rotation, depth, format;
92 int prev_age; 92 int prev_age;
93 Render_Engine_Swap_Mode swap_mode; 93 Render_Output_Swap_Mode swap_mode;
94 94
95 struct gbm_surface *surface; 95 struct gbm_surface *surface;
96 96
@@ -118,13 +118,13 @@ struct _Outbuf
118Eina_Bool eng_gbm_init(Evas_Engine_Info_GL_Drm *info); 118Eina_Bool eng_gbm_init(Evas_Engine_Info_GL_Drm *info);
119Eina_Bool eng_gbm_shutdown(Evas_Engine_Info_GL_Drm *info); 119Eina_Bool eng_gbm_shutdown(Evas_Engine_Info_GL_Drm *info);
120 120
121Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Engine_Swap_Mode swap_mode); 121Outbuf *evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Output_Swap_Mode swap_mode);
122void evas_outbuf_free(Outbuf *ob); 122void evas_outbuf_free(Outbuf *ob);
123void evas_outbuf_use(Outbuf *ob); 123void evas_outbuf_use(Outbuf *ob);
124void evas_outbuf_resurf(Outbuf *ob); 124void evas_outbuf_resurf(Outbuf *ob);
125void evas_outbuf_unsurf(Outbuf *ob); 125void evas_outbuf_unsurf(Outbuf *ob);
126void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth); 126void evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth);
127Render_Engine_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob); 127Render_Output_Swap_Mode evas_outbuf_buffer_state_get(Outbuf *ob);
128int evas_outbuf_rot_get(Outbuf *ob); 128int evas_outbuf_rot_get(Outbuf *ob);
129Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob); 129Eina_Bool evas_outbuf_update_region_first_rect(Outbuf *ob);
130void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch); 130void *evas_outbuf_update_region_new(Outbuf *ob, int x, int y, int w, int h, int *cx, int *cy, int *cw, int *ch);
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index dcc0256..4048c16 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -358,7 +358,7 @@ err:
358} 358}
359 359
360Outbuf * 360Outbuf *
361evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Engine_Swap_Mode swap_mode) 361evas_outbuf_new(Evas_Engine_Info_GL_Drm *info, int w, int h, Render_Output_Swap_Mode swap_mode)
362{ 362{
363 Outbuf *ob; 363 Outbuf *ob;
364 364
@@ -541,7 +541,7 @@ evas_outbuf_reconfigure(Outbuf *ob, int w, int h, int rot, Outbuf_Depth depth)
541 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot); 541 glsym_evas_gl_common_context_resize(ob->gl_context, w, h, rot);
542} 542}
543 543
544Render_Engine_Swap_Mode 544Render_Output_Swap_Mode
545evas_outbuf_buffer_state_get(Outbuf *ob) 545evas_outbuf_buffer_state_get(Outbuf *ob)
546{ 546{
547 /* check for valid output buffer */ 547 /* check for valid output buffer */
@@ -551,7 +551,7 @@ evas_outbuf_buffer_state_get(Outbuf *ob)
551 551
552 if (ob->swap_mode == MODE_AUTO && _extn_have_buffer_age) 552 if (ob->swap_mode == MODE_AUTO && _extn_have_buffer_age)
553 { 553 {
554 Render_Engine_Swap_Mode swap_mode; 554 Render_Output_Swap_Mode swap_mode;
555 EGLint age = 0; 555 EGLint age = 0;
556 556
557 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL); 557 eina_evlog("+gl_query_surf_swap_mode", ob, 0.0, NULL);