Title: [88537] trunk/Source/WebKit/efl
Revision
88537
Author
[email protected]
Date
2011-06-10 04:30:19 -0700 (Fri, 10 Jun 2011)

Log Message

2011-06-10  KwangHyuk Kim  <[email protected]>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL]add image content hint information for tile image object when it is created
        https://bugs.webkit.org/show_bug.cgi?id=62436

        When application is using opengl_x11 Ecore_Evas, it can be working as gl texture.
        In order to support this enhanced feature, image content hint information must be
        specified as EVAS_IMAGE_CONTENT_HINT_DYNAMIC

        * ewk/ewk_tiled_model.c:
        (ewk_tile_new):

Modified Paths

Property Changed

Diff

Modified: trunk/Source/WebKit/efl/ChangeLog (88536 => 88537)


--- trunk/Source/WebKit/efl/ChangeLog	2011-06-10 11:23:38 UTC (rev 88536)
+++ trunk/Source/WebKit/efl/ChangeLog	2011-06-10 11:30:19 UTC (rev 88537)
@@ -1,3 +1,17 @@
+2011-06-10  KwangHyuk Kim  <[email protected]>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [EFL]add image content hint information for tile image object when it is created
+        https://bugs.webkit.org/show_bug.cgi?id=62436
+
+        When application is using opengl_x11 Ecore_Evas, it can be working as gl texture.
+        In order to support this enhanced feature, image content hint information must be 
+        specified as EVAS_IMAGE_CONTENT_HINT_DYNAMIC
+
+        * ewk/ewk_tiled_model.c:
+        (ewk_tile_new):
+
 2011-06-10  Grzegorz Czajkowski  <[email protected]>
 
         Reviewed by Kenneth Rohde Christiansen.

Modified: trunk/Source/WebKit/efl/ewk/ewk_tiled_model.c (88536 => 88537)


--- trunk/Source/WebKit/efl/ewk/ewk_tiled_model.c	2011-06-10 11:23:38 UTC (rev 88536)
+++ trunk/Source/WebKit/efl/ewk/ewk_tiled_model.c	2011-06-10 11:30:19 UTC (rev 88537)
@@ -24,6 +24,7 @@
 #define _GNU_SOURCE
 #include "ewk_tiled_backing_store.h"
 #include "ewk_tiled_private.h"
+#include <Ecore_Evas.h>
 #include <Eina.h>
 #include <eina_safety_checks.h>
 #include <errno.h>
@@ -251,6 +252,8 @@
     cairo_format_t format;
     cairo_status_t status;
     int stride;
+    Ecore_Evas *ee;
+    const char *engine;
 
     area = w * h;
 
@@ -273,6 +276,11 @@
     MALLOC_OR_OOM_RET(t, sizeof(Ewk_Tile), NULL);
     t->image = evas_object_image_add(evas);
 
+    ee = ecore_evas_ecore_evas_get(evas);
+    engine = ecore_evas_engine_name_get(ee);
+    if (engine && !strcmp(engine, "opengl_x11"))
+        evas_object_image_content_hint_set(t->image, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
+
     l = EINA_INLIST_GET(t);
     l->prev = NULL;
     l->next = NULL;
Property changes on: trunk/Source/WebKit/efl/ewk/ewk_tiled_model.c
___________________________________________________________________

Added: svn:executable

_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to