[Webkit-unassigned] [Bug 54023] [chromium] Three texture-related webgl tests failing in DEBUG due to skia change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 16 06:12:01 PST 2011


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





--- Comment #11 from Mike Reed <reed at google.com>  2011-02-16 06:12:01 PST ---
(more notes on patch)

The standard way to create a 32bit pixel in skia is to call SkPackARGB32(a,r,g,b). This puts the components in the correct (compile-time) order, and also (in the Debug build) asserts that the components are legal for premultiplied. i.e. r <= a, g <= a, b <= a. This test makes sense for Skia in general, as it only supports premultiplied bitmaps today. However, WebGL is using the same decoder and bitmap to store images that will be passed directly to opengl, and opengl supports premultiplied and non-premultiplied.

This change calls a new version of the pack macro: SkPackARGB32NoCheck(a,r,g,b) which skips the asserts on the component values (since any values can be valid for opengl).

-- 
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