Title: [136332] trunk/Source/WebCore
- Revision
- 136332
- Author
- [email protected]
- Date
- 2012-12-02 03:54:22 -0800 (Sun, 02 Dec 2012)
Log Message
[chromium] Let Pepper Flash use integrated GPU
https://bugs.webkit.org/show_bug.cgi?id=103800
Patch by John Bauman <[email protected]> on 2012-12-02
Reviewed by Kenneth Russell.
Pepper Flash uses the SharedGraphicsContext3D as a parent, so don't
require that to use the discrete GPU. This means that accelerated
canvas will use the integrated GPU, but that will save battery life
and seems acceptable.
* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3DImpl::createContext):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (136331 => 136332)
--- trunk/Source/WebCore/ChangeLog 2012-12-02 11:38:01 UTC (rev 136331)
+++ trunk/Source/WebCore/ChangeLog 2012-12-02 11:54:22 UTC (rev 136332)
@@ -1,3 +1,18 @@
+2012-12-02 John Bauman <[email protected]>
+
+ [chromium] Let Pepper Flash use integrated GPU
+ https://bugs.webkit.org/show_bug.cgi?id=103800
+
+ Reviewed by Kenneth Russell.
+
+ Pepper Flash uses the SharedGraphicsContext3D as a parent, so don't
+ require that to use the discrete GPU. This means that accelerated
+ canvas will use the integrated GPU, but that will save battery life
+ and seems acceptable.
+
+ * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
+ (WebCore::SharedGraphicsContext3DImpl::createContext):
+
2012-12-02 Elliott Sprehn <[email protected]>
documentElement should not always get a renderer
Modified: trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp (136331 => 136332)
--- trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp 2012-12-02 11:38:01 UTC (rev 136331)
+++ trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp 2012-12-02 11:54:22 UTC (rev 136332)
@@ -70,7 +70,6 @@
attributes.stencil = true;
attributes.antialias = false;
attributes.shareResources = true;
- attributes.preferDiscreteGPU = true;
m_context = GraphicsContext3D::create(attributes, 0);
return m_context;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes