aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/evas/engines/gl_common/evas_gl_core_private.h
diff options
context:
space:
mode:
authorSung W. Park <dunamis.park@samsung.com>2013-03-04 20:23:49 +0900
committerSung W. Park <dunamis.park@samsung.com>2013-03-04 20:23:49 +0900
commit64aa5a2670dd60851939a240beaa0fa9207f416f (patch)
treef804145b8fefade0c7a8a6a57343d8575fc66d5f /src/modules/evas/engines/gl_common/evas_gl_core_private.h
parent2b191fd8353a5ac1db7b9a6202625a76ce181131 (diff)
downloadefl-64aa5a2670dd60851939a240beaa0fa9207f416f.tar.gz
efl-64aa5a2670dd60851939a240beaa0fa9207f416f.tar.xz
efl-64aa5a2670dd60851939a240beaa0fa9207f416f.zip
evas: evas_gl - Got rid of resource pool in favor of creation on demand.HEADmaster
Resource contexts/surfaces are used for creating resources within Evas_GL. In oder to handle Evas_GL runnig from different thread than the main one, a resource context/surface pool was used. This turned out to be unnecssary as they are not used very frequently. So, I got rid of the pool and made the resources create as needed.
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_core_private.h')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_core_private.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_core_private.h b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
index 62c1da47e..1bf746e42 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core_private.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_core_private.h
@@ -204,6 +204,7 @@ struct _EVGL_Resource
EVGLNative_Display display;
EVGLNative_Context context;
+ EVGLNative_Window window;
EVGLNative_Surface surface;
EVGL_Context *current_ctx;
@@ -212,12 +213,6 @@ struct _EVGL_Resource
Evas_Object *direct_img_obj;
};
-struct _Native_Surface
-{
- void *surface;
- void *window;
-};
-
struct _EVGL_Engine
{
int initted;
@@ -235,9 +230,6 @@ struct _EVGL_Engine
Eina_List *resource_list;
int resource_count;
int main_tid;
- int pool_num;
- Native_Surface *surface_pool;
-
int direct_override;
int direct_mem_opt;