Title: [110757] trunk/Source
- Revision
- 110757
- Author
- [email protected]
- Date
- 2012-03-14 14:42:28 -0700 (Wed, 14 Mar 2012)
Log Message
[chromium] Remove canRecoverFromContextLoss attribute, it's unused
https://bugs.webkit.org/show_bug.cgi?id=81158
Reviewed by Stephen White.
Source/WebCore:
Canvas accelerated no longer depends on the canRecoverFromContextLoss attribute after r110716.
* platform/graphics/GraphicsContext3D.h:
(WebCore::GraphicsContext3D::Attributes::Attributes):
(Attributes):
* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3DImpl::get):
Source/WebKit/chromium:
Deletes the canRecoverFromContextLoss attribute from WebCore::GraphicsContext3D::Attributes. This is still left in
WebGraphicsContext3D::Attributes, since chromium-side code still references it.
* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3D::create):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (110756 => 110757)
--- trunk/Source/WebCore/ChangeLog 2012-03-14 21:40:47 UTC (rev 110756)
+++ trunk/Source/WebCore/ChangeLog 2012-03-14 21:42:28 UTC (rev 110757)
@@ -1,3 +1,18 @@
+2012-03-14 James Robinson <[email protected]>
+
+ [chromium] Remove canRecoverFromContextLoss attribute, it's unused
+ https://bugs.webkit.org/show_bug.cgi?id=81158
+
+ Reviewed by Stephen White.
+
+ Canvas accelerated no longer depends on the canRecoverFromContextLoss attribute after r110716.
+
+ * platform/graphics/GraphicsContext3D.h:
+ (WebCore::GraphicsContext3D::Attributes::Attributes):
+ (Attributes):
+ * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
+ (WebCore::SharedGraphicsContext3DImpl::get):
+
2012-03-14 Jer Noble <[email protected]>
Opening a URL in a MediaDocument does not propagate MIME type info to media element
Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h (110756 => 110757)
--- trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h 2012-03-14 21:40:47 UTC (rev 110756)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h 2012-03-14 21:42:28 UTC (rev 110757)
@@ -439,7 +439,6 @@
, stencil(false)
, antialias(true)
, premultipliedAlpha(true)
- , canRecoverFromContextLoss(true)
, preserveDrawingBuffer(false)
, noExtensions(false)
, shareResources(true)
@@ -452,7 +451,6 @@
bool stencil;
bool antialias;
bool premultipliedAlpha;
- bool canRecoverFromContextLoss;
bool preserveDrawingBuffer;
bool noExtensions;
bool shareResources;
Modified: trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp (110756 => 110757)
--- trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp 2012-03-14 21:40:47 UTC (rev 110756)
+++ trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp 2012-03-14 21:42:28 UTC (rev 110757)
@@ -45,7 +45,6 @@
attributes.depth = false;
attributes.stencil = true;
attributes.antialias = false;
- attributes.canRecoverFromContextLoss = false;
attributes.shareResources = true;
attributes.preferDiscreteGPU = true;
m_context = GraphicsContext3D::create(attributes, 0);
Modified: trunk/Source/WebKit/chromium/ChangeLog (110756 => 110757)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-03-14 21:40:47 UTC (rev 110756)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-03-14 21:42:28 UTC (rev 110757)
@@ -1,3 +1,16 @@
+2012-03-14 James Robinson <[email protected]>
+
+ [chromium] Remove canRecoverFromContextLoss attribute, it's unused
+ https://bugs.webkit.org/show_bug.cgi?id=81158
+
+ Reviewed by Stephen White.
+
+ Deletes the canRecoverFromContextLoss attribute from WebCore::GraphicsContext3D::Attributes. This is still left in
+ WebGraphicsContext3D::Attributes, since chromium-side code still references it.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3D::create):
+
2012-03-14 Stephen White <[email protected]>
[chromium] Fix accelerated Canvas2D with threaded compositing.
Modified: trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (110756 => 110757)
--- trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2012-03-14 21:40:47 UTC (rev 110756)
+++ trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2012-03-14 21:42:28 UTC (rev 110757)
@@ -1026,7 +1026,6 @@
webAttributes.stencil = attrs.stencil;
webAttributes.antialias = attrs.antialias;
webAttributes.premultipliedAlpha = attrs.premultipliedAlpha;
- webAttributes.canRecoverFromContextLoss = attrs.canRecoverFromContextLoss;
webAttributes.noExtensions = attrs.noExtensions;
webAttributes.shareResources = attrs.shareResources;
webAttributes.preferDiscreteGPU = attrs.preferDiscreteGPU;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes