Changeset 128785 in webkit
- Timestamp:
- Sep 17, 2012 11:36:11 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r128780 r128785 1 2012-09-17 Vangelis Kokkevis <vangelis@chromium.org> 2 3 [chromium] Add gpu_test trace events tracking the creation of a DrawingBuffer 4 and Canvas2DLayerBridge. They will be used by browser tests to verify the 5 existence of WebGL and accelerated canvas. 6 https://bugs.webkit.org/show_bug.cgi?id=96871 7 8 Reviewed by James Robinson. 9 10 * platform/graphics/chromium/Canvas2DLayerBridge.cpp: 11 (WebCore::Canvas2DLayerBridge::Canvas2DLayerBridge): 12 * platform/graphics/chromium/DrawingBufferChromium.cpp: 13 (WebCore::DrawingBuffer::DrawingBuffer): 14 1 15 2012-09-17 Bo Liu <boliu@chromium.org> 2 16 -
trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerBridge.cpp
r127952 r128785 56 56 , m_prev(0) 57 57 { 58 // Used by browser tests to detect the use of a Canvas2DLayerBridge. 59 TRACE_EVENT_INSTANT0("test_gpu", "Canvas2DLayerBridgeCreation"); 60 58 61 bool compositorThreadingEnabled = WebKit::Platform::current()->compositorSupport()->isThreadingEnabled(); 59 62 // FIXME: We currently turn off double buffering when canvas rendering is -
trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
r127952 r128785 38 38 #include "GraphicsContext3DPrivate.h" 39 39 #include "GraphicsLayerChromium.h" 40 #include "TraceEvent.h" 40 41 #include <algorithm> 41 42 #include <public/Platform.h> … … 91 92 , m_contentsChanged(true) 92 93 { 94 // Used by browser tests to detect the use of a DrawingBuffer. 95 TRACE_EVENT_INSTANT0("test_gpu", "DrawingBufferCreation"); 96 93 97 // We need a separate front and back textures if ... 94 98 m_separateFrontTexture = m_preserveDrawingBuffer == Preserve // ... we have to preserve contents after compositing, which is done with a copy or ...
Note: See TracChangeset
for help on using the changeset viewer.