Changeset 95334 in webkit
- Timestamp:
- Sep 16, 2011 4:33:23 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r95328 r95334 1 2011-09-16 Nat Duca <nduca@chromium.org> 2 3 [chromium] Create WebGL layer for graphics contexts on demand 4 https://bugs.webkit.org/show_bug.cgi?id=68288 5 6 Reviewed by James Robinson. 7 8 * src/GraphicsContext3DChromium.cpp: 9 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate): 10 (WebCore::GraphicsContext3DPrivate::platformLayer): 11 * src/GraphicsContext3DPrivate.h: 12 1 13 2011-09-16 chandra shekar v <chandra.vallala@motorola.com> 2 14 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp
r95192 r95334 100 100 #endif 101 101 { 102 #if USE(ACCELERATED_COMPOSITING)103 m_compositingLayer = WebGLLayerChromium::create(0);104 #endif105 102 } 106 103 … … 217 214 218 215 #if USE(ACCELERATED_COMPOSITING) 219 WebGLLayerChromium* GraphicsContext3DPrivate::platformLayer() const 220 { 216 WebGLLayerChromium* GraphicsContext3DPrivate::platformLayer() 217 { 218 #if USE(ACCELERATED_COMPOSITING) 219 if (!m_compositingLayer) 220 m_compositingLayer = WebGLLayerChromium::create(0); 221 #endif 221 222 return m_compositingLayer.get(); 222 223 } -
trunk/Source/WebKit/chromium/src/GraphicsContext3DPrivate.h
r95156 r95334 105 105 106 106 #if USE(ACCELERATED_COMPOSITING) 107 WebGLLayerChromium* platformLayer() const;107 WebGLLayerChromium* platformLayer(); 108 108 #endif 109 109 bool isGLES2Compliant() const;
Note: See TracChangeset
for help on using the changeset viewer.