Changeset 83242 in webkit
- Timestamp:
- Apr 7, 2011 8:09:15 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83241 r83242 1 2011-04-07 John Bauman <jbauman@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 clearIfComposited call is really slow 6 https://bugs.webkit.org/show_bug.cgi?id=57999 7 8 Move getContextAttributes call after the if, so it isn't called nearly as often. 9 10 No new tests. 11 12 * html/canvas/WebGLRenderingContext.cpp: 13 (WebCore::WebGLRenderingContext::clearIfComposited): 14 1 15 2011-04-07 Luke Macpherson <macpherson@chromium.org> 2 16 -
trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
r81899 r83242 503 503 return false; 504 504 505 RefPtr<WebGLContextAttributes> contextAttributes = getContextAttributes();506 507 505 if (!m_context->layerComposited() || m_layerCleared 508 506 || m_attributes.preserveDrawingBuffer || m_framebufferBinding) 509 507 return false; 508 509 RefPtr<WebGLContextAttributes> contextAttributes = getContextAttributes(); 510 510 511 511 // Determine if it's possible to combine the clear the user asked for and this clear.
Note: See TracChangeset
for help on using the changeset viewer.