summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaoul Hecky <raoul.hecky@gmail.com>2014-06-16 21:24:53 +0200
committerRaoul Hecky <raoul.hecky@gmail.com>2014-06-17 22:19:26 +0200
commit77c54f7a60a1f78d82f018177a13d007ab072cb9 (patch)
tree156a32dc7000c805d90d22f7ca735ecd3e594a41
parent919303351835339333934edb6c9baf3836131582 (diff)
evas_cocoa: more changes copied from sdl engine
-rw-r--r--src/modules/evas/engines/gl_cocoa/evas_engine.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c
index 4370f524ea..b6a8abbb21 100644
--- a/src/modules/evas/engines/gl_cocoa/evas_engine.c
+++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c
@@ -236,6 +236,7 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
236 236
237 re = (Render_Engine *)data; 237 re = (Render_Engine *)data;
238 evas_gl_common_context_flush(re->win->gl_context); 238 evas_gl_common_context_flush(re->win->gl_context);
239 evas_gl_common_context_newframe(re->win->gl_context);
239 /* get the upate rect surface - return engine data as dummy */ 240 /* get the upate rect surface - return engine data as dummy */
240 if (!re->win->draw.redraw) 241 if (!re->win->draw.redraw)
241 { 242 {
@@ -524,6 +525,9 @@ eng_image_colorspace_set(void *data, void *image, Evas_Colorspace cspace)
524 break; 525 break;
525 case EVAS_COLORSPACE_YCBCR422P601_PL: 526 case EVAS_COLORSPACE_YCBCR422P601_PL:
526 case EVAS_COLORSPACE_YCBCR422P709_PL: 527 case EVAS_COLORSPACE_YCBCR422P709_PL:
528 case EVAS_COLORSPACE_YCBCR422601_PL:
529 case EVAS_COLORSPACE_YCBCR420NV12601_PL:
530 case EVAS_COLORSPACE_YCBCR420TM12601_PL:
527 if (im->tex) evas_gl_common_texture_free(im->tex, EINA_TRUE); 531 if (im->tex) evas_gl_common_texture_free(im->tex, EINA_TRUE);
528 im->tex = NULL; 532 im->tex = NULL;
529 if (im->cs.data) 533 if (im->cs.data)
@@ -757,6 +761,9 @@ eng_image_data_get(void *data, void *image, int to_write, DATA32 **image_data, i
757 break; 761 break;
758 case EVAS_COLORSPACE_YCBCR422P601_PL: 762 case EVAS_COLORSPACE_YCBCR422P601_PL:
759 case EVAS_COLORSPACE_YCBCR422P709_PL: 763 case EVAS_COLORSPACE_YCBCR422P709_PL:
764 case EVAS_COLORSPACE_YCBCR422601_PL:
765 case EVAS_COLORSPACE_YCBCR420NV12601_PL:
766 case EVAS_COLORSPACE_YCBCR420TM12601_PL:
760 *image_data = im->cs.data; 767 *image_data = im->cs.data;
761 break; 768 break;
762 default: 769 default: