Bug 31842

Summary: getParameter(STENCIL_VALUE_MASK) (and others) returns the wrong value
Product: WebKit Reporter: Chris Marrin <cmarrin>
Component: WebGLAssignee: Zhenyao Mo <zmo>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, dglazkov, kbr, zmo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
patch dglazkov: review+, zmo: commit-queue-

Description Chris Marrin 2009-11-24 11:52:23 PST
When value is 0xFFFFFFFF, implementation returns 18446744073709552000, which I think is 0xFFFFFFFFFFFFFFFF with rounding.
Comment 1 Chris Marrin 2009-11-24 12:00:19 PST
This bug caused LayoutTests/fast/canvas/webgl/gl-get-calls.html to fail. These tests have been removed until this bug is fixed
Comment 2 Zhenyao Mo 2010-08-12 15:43:14 PDT
Created attachment 64274 [details]
patch
Comment 3 Zhenyao Mo 2010-08-12 15:43:36 PDT
Test is in sync with khronos conformance tests.
Comment 4 Kenneth Russell 2010-08-12 16:03:06 PDT
Comment on attachment 64274 [details]
patch

Looks good.
Comment 5 Dimitri Glazkov (Google) 2010-08-12 16:09:12 PDT
Comment on attachment 64274 [details]
patch

ok.
Comment 6 Zhenyao Mo 2010-08-12 16:14:39 PDT
Committed r65279: <http://trac.webkit.org/changeset/65279>