evas/gl - removed unnecessary lines which causes the resource leak and corruption
SVN revision: 75463
This commit is contained in:
parent
05136cc824
commit
a9593bd3fa
|
@ -966,3 +966,8 @@
|
|||
|
||||
* Let clip the mapped obj even if it is a child of the mapped obj and do
|
||||
it only when clipper exists
|
||||
|
||||
2012-08-20 Hermet (ChunEon Park)
|
||||
|
||||
* Removed unnessesary lines which causes the gles resource leak and
|
||||
corruption.
|
||||
|
|
|
@ -888,19 +888,10 @@ _destroy_internal_glue_resources(void *data)
|
|||
Eina_List *l;
|
||||
Render_Engine_GL_Resource *rsc;
|
||||
|
||||
LKL(resource_lock);
|
||||
#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
|
||||
// Create internal resource context if it hasn't been created already
|
||||
if ((rsc = eina_tls_get(resource_key)) == NULL)
|
||||
{
|
||||
ERR("Error retrieving the TLS resources.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (eina_main_loop_is()) rsc->surface = re->win->egl_surface[0];
|
||||
|
||||
// EGL
|
||||
// Delete the Resources
|
||||
LKL(resource_lock);
|
||||
EINA_LIST_FOREACH(resource_list, l, rsc)
|
||||
{
|
||||
if ((rsc->surface) && (rsc->surface != re->win->egl_surface[0]))
|
||||
|
@ -912,7 +903,6 @@ _destroy_internal_glue_resources(void *data)
|
|||
#else
|
||||
// GLX
|
||||
// Delete the Resources
|
||||
LKL(resource_lock);
|
||||
EINA_LIST_FOREACH(resource_list, l, rsc)
|
||||
{
|
||||
if (rsc)
|
||||
|
|
Loading…
Reference in New Issue