Changeset 87353 in webkit
- Timestamp:
- May 25, 2011 8:32:07 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r87274 r87353 1 2011-05-25 Gregg Tavares <gman@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 Add 'noExtensions' option to Web/GraphicsContext3D attributes. 6 https://bugs.webkit.org/show_bug.cgi?id=61460 7 8 * Source/WebCore/html/canvas/WebGLRenderingContext.cpp: 9 * Source/WebCore/platform/graphics/GraphicsContext3D.h: 10 * Source/WebKit/chromium/public/WebGraphicsContext3D.h: 11 * Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp: 12 1 13 2011-05-24 Keishi Hattori <keishi@webkit.org> 2 14 -
trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
r86451 r87353 370 370 } 371 371 372 attributes.noExtensions = true; 372 373 RefPtr<GraphicsContext3D> context(GraphicsContext3D::create(attributes, hostWindow)); 373 374 -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h
r86275 r87353 428 428 , canRecoverFromContextLoss(true) 429 429 , preserveDrawingBuffer(false) 430 , noExtensions(false) 430 431 { 431 432 } … … 438 439 bool canRecoverFromContextLoss; 439 440 bool preserveDrawingBuffer; 441 bool noExtensions; 440 442 }; 441 443 -
trunk/Source/WebKit/chromium/public/WebGraphicsContext3D.h
r86278 r87353 86 86 , premultipliedAlpha(true) 87 87 , canRecoverFromContextLoss(true) 88 , noExtensions(false) 88 89 { 89 90 } … … 95 96 bool premultipliedAlpha; 96 97 bool canRecoverFromContextLoss; 98 bool noExtensions; 97 99 }; 98 100 -
trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp
r86278 r87353 110 110 webAttributes.premultipliedAlpha = attrs.premultipliedAlpha; 111 111 webAttributes.canRecoverFromContextLoss = attrs.canRecoverFromContextLoss; 112 webAttributes.noExtensions = attrs.noExtensions; 112 113 OwnPtr<WebKit::WebGraphicsContext3D> webContext = adoptPtr(WebKit::webKitClient()->createGraphicsContext3D()); 113 114 if (!webContext)
Note: See TracChangeset
for help on using the changeset viewer.