Bug 66742

Summary: Write regression test for WebGL rate limiting
Product: WebKit Reporter: John Bates <jbates>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Enhancement CC: darin, kbr, kkinnunen, nduca
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

John Bates
Reported 2011-08-22 18:07:45 PDT
Write regression test for bug fix: https://bugs.webkit.org/show_bug.cgi?id=66445. This would test whether the WebGL rate limiting is properly executing. We would want to test both RAF and non-RAF use cases. In non-RAF cases, test that rate limiting kicks in only when it is supposed to.
Attachments
Kenneth Russell
Comment 1 2011-08-22 18:46:37 PDT
I've changed the component to WebGL so that it shows up easily on searches.
Nat Duca
Comment 2 2011-08-31 12:06:48 PDT
There really are two things to veirfy here: that WebGLLayerChromium behaves correctly when dirtied outside of RAF, and that WebGLGraphicsContexts call setLayerUpdated. At least for the latter case, mock testing might be a more appropriate vehicle for testing. Mock could be: instantiate a compositor tree with a WebGLLayerChromium. Fire commands onto the webglcontext outside of the render task and assert that the ratelimiting task gets called on that context.
Nat Duca
Comment 3 2011-10-11 14:02:44 PDT
Might be good use case of frame rate tests on chromium-side.
Note You need to log in before you can comment on or make changes to this bug.