[Webkit-unassigned] [Bug 98728] [Texmap] Swizzling BGRA to RGBA in temp buffer while USE(TEXMAP_OPENGL_ES_2)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 9 06:40:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98728





--- Comment #7 from Hyungchan Kim <hyungchan2.kim at lge.com>  2012-10-09 06:40:51 PST ---
Thanks for reviewing, I agree with you.
I didn't consider that common case, but I think swizzleBGRAToRGBA seems have a problem.
In BitmapTextureGL::updateContents, const char *imageData should not be modified by swizzleBGRAToRGBA because 
1) const_cast used
2) seems to be shared textures which point same NativeImagePtr

A and B keep changing its data from BGRA to RGBA or from RGBA to BGRA. So, both A and B cannot have correct color simultaneously.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list