Page MenuHomePhabricator

evas_gl_generic: fix wrong gl context set
ClosedPublic

Authored by jypark on Thu, Mar 14, 1:53 AM.

Details

Summary

example:
...
im=evas_object_image_add()
evas_gl_surface_create
...
evas_object_image_native_surface_set(im, xx)-> MAIN CONTEXT
evas_gl_make_current -> CONTEXT A
.....
evas_object_image_size_set(im, x,x) ->WRONG CONTEXT A

evas_object_image_size_set of image have native_surface finally calls
eng_image_size_set function of gl_generic.

eng_image_size_set cannot get the proper context related with
evas_gl_common_image_native_enable.
It ruined gl context and texture of main context has gone wrong.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jypark created this revision.Thu, Mar 14, 1:53 AM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

jypark requested review of this revision.Thu, Mar 14, 1:53 AM
This revision is now accepted and ready to land.Thu, Mar 14, 9:31 AM
This revision was automatically updated to reflect the committed changes.