Title: [93566] trunk/Source/WebKit/chromium
- Revision
- 93566
- Author
- [email protected]
- Date
- 2011-08-22 17:37:15 -0700 (Mon, 22 Aug 2011)
Log Message
[chromium] WebViewImpl should not reshape the 3D context
https://bugs.webkit.org/show_bug.cgi?id=66704
Patch by Iain Merrick <[email protected]> on 2011-08-22
Reviewed by James Robinson.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::createLayerTreeHostContext3D):
(WebKit::WebViewImpl::graphicsContext3D):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (93565 => 93566)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-08-23 00:24:30 UTC (rev 93565)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-08-23 00:37:15 UTC (rev 93566)
@@ -1,3 +1,14 @@
+2011-08-22 Iain Merrick <[email protected]>
+
+ [chromium] WebViewImpl should not reshape the 3D context
+ https://bugs.webkit.org/show_bug.cgi?id=66704
+
+ Reviewed by James Robinson.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::createLayerTreeHostContext3D):
+ (WebKit::WebViewImpl::graphicsContext3D):
+
2011-08-22 Nat Duca <[email protected]>
Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (93565 => 93566)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2011-08-23 00:24:30 UTC (rev 93565)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2011-08-23 00:37:15 UTC (rev 93566)
@@ -2643,8 +2643,6 @@
RefPtr<GraphicsContext3D> context = m_temporaryOnscreenGraphicsContext3D.release();
if (!context) {
context = GraphicsContext3D::create(getCompositorContextAttributes(), m_page->chrome(), GraphicsContext3D::RenderDirectlyToHostWindow);
- if (context)
- context->reshape(max(1, m_size.width), max(1, m_size.height));
}
return context;
}
@@ -2707,8 +2705,6 @@
return webContext;
}
m_temporaryOnscreenGraphicsContext3D = GraphicsContext3D::create(getCompositorContextAttributes(), m_page->chrome(), GraphicsContext3D::RenderDirectlyToHostWindow);
- if (m_temporaryOnscreenGraphicsContext3D)
- m_temporaryOnscreenGraphicsContext3D->reshape(max(1, m_size.width), max(1, m_size.height));
return GraphicsContext3DInternal::extractWebGraphicsContext3D(m_temporaryOnscreenGraphicsContext3D.get());
}
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes