- Revision
- 152240
- Author
- [email protected]
- Date
- 2013-07-01 12:48:10 -0700 (Mon, 01 Jul 2013)
Log Message
Removed all references to DrawingBuffer methods unused since the removal of Chromium:
DrawingBuffer::prepareBackBuffer,
DrawingBuffer::requiresCopyFromBackToFrontBuffer, and
DrawingBuffer::clearPlatformLayer.
https://bugs.webkit.org/show_bug.cgi?id=118257
Reviewed by Darin Adler.
* platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
(WebCore::DrawingBuffer::platformLayer):
* platform/graphics/cairo/DrawingBufferCairo.cpp:
(WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
* platform/graphics/clutter/DrawingBufferClutter.cpp:
(WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
* platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::clear):
* platform/graphics/gpu/DrawingBuffer.h:
* platform/graphics/gpu/mac/DrawingBufferMac.mm:
(WebCore::DrawingBuffer::frontColorBuffer):
* platform/graphics/gpu/qt/DrawingBufferQt.cpp:
(WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152239 => 152240)
--- trunk/Source/WebCore/ChangeLog 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/ChangeLog 2013-07-01 19:48:10 UTC (rev 152240)
@@ -1,3 +1,27 @@
+2013-07-01 Alex Christensen <[email protected]>
+
+ Removed all references to DrawingBuffer methods unused since the removal of Chromium:
+ DrawingBuffer::prepareBackBuffer,
+ DrawingBuffer::requiresCopyFromBackToFrontBuffer, and
+ DrawingBuffer::clearPlatformLayer.
+ https://bugs.webkit.org/show_bug.cgi?id=118257
+
+ Reviewed by Darin Adler.
+
+ * platform/graphics/blackberry/DrawingBufferBlackBerry.cpp:
+ (WebCore::DrawingBuffer::platformLayer):
+ * platform/graphics/cairo/DrawingBufferCairo.cpp:
+ (WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
+ * platform/graphics/clutter/DrawingBufferClutter.cpp:
+ (WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
+ * platform/graphics/gpu/DrawingBuffer.cpp:
+ (WebCore::DrawingBuffer::clear):
+ * platform/graphics/gpu/DrawingBuffer.h:
+ * platform/graphics/gpu/mac/DrawingBufferMac.mm:
+ (WebCore::DrawingBuffer::frontColorBuffer):
+ * platform/graphics/gpu/qt/DrawingBufferQt.cpp:
+ (WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
+
2013-07-01 Jochen Eisinger <[email protected]>
Remove support for consumable user gestures
Modified: trunk/Source/WebCore/platform/graphics/blackberry/DrawingBufferBlackBerry.cpp (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/blackberry/DrawingBufferBlackBerry.cpp 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/blackberry/DrawingBufferBlackBerry.cpp 2013-07-01 19:48:10 UTC (rev 152240)
@@ -125,10 +125,6 @@
{
return m_internal->platformLayer.get();
}
-
-void DrawingBuffer::clearPlatformLayer()
-{
-}
#endif
} // namespace WebCore
Modified: trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp 2013-07-01 19:48:10 UTC (rev 152240)
@@ -84,15 +84,7 @@
}
#if USE(ACCELERATED_COMPOSITING)
-void DrawingBuffer::prepareBackBuffer()
-{
-}
-bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
-{
- return false;
-}
-
unsigned DrawingBuffer::frontColorBuffer() const
{
return colorBuffer();
@@ -101,10 +93,6 @@
void DrawingBuffer::paintCompositedResultsToCanvas(ImageBuffer*)
{
}
-
-void DrawingBuffer::clearPlatformLayer()
-{
-}
#endif
}
Modified: trunk/Source/WebCore/platform/graphics/clutter/DrawingBufferClutter.cpp (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/clutter/DrawingBufferClutter.cpp 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/clutter/DrawingBufferClutter.cpp 2013-07-01 19:48:10 UTC (rev 152240)
@@ -57,15 +57,7 @@
}
#if USE(ACCELERATED_COMPOSITING)
-void DrawingBuffer::prepareBackBuffer()
-{
-}
-bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
-{
- return false;
-}
-
unsigned DrawingBuffer::frontColorBuffer() const
{
return colorBuffer();
@@ -74,10 +66,6 @@
void DrawingBuffer::paintCompositedResultsToCanvas(ImageBuffer*)
{
}
-
-void DrawingBuffer::clearPlatformLayer()
-{
-}
#endif
}
Modified: trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp 2013-07-01 19:48:10 UTC (rev 152240)
@@ -75,10 +75,6 @@
m_context->makeContextCurrent();
-#if USE(ACCELERATED_COMPOSITING)
- clearPlatformLayer();
-#endif
-
if (!m_size.isEmpty()) {
s_currentResourceUsePixels -= m_size.width() * m_size.height();
m_size = IntSize();
Modified: trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h 2013-07-01 19:48:10 UTC (rev 152240)
@@ -122,11 +122,8 @@
#if USE(ACCELERATED_COMPOSITING)
PlatformLayer* platformLayer();
- void prepareBackBuffer();
- bool requiresCopyFromBackToFrontBuffer() const;
unsigned frontColorBuffer() const;
void paintCompositedResultsToCanvas(ImageBuffer*);
- void clearPlatformLayer();
#endif
GraphicsContext3D* graphicsContext3D() const { return m_context.get(); }
Modified: trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm 2013-07-01 19:48:10 UTC (rev 152240)
@@ -100,24 +100,10 @@
return m_platformLayer.get();
}
-void DrawingBuffer::prepareBackBuffer()
-{
-}
-
-bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
-{
- return false;
-}
-
unsigned DrawingBuffer::frontColorBuffer() const
{
return colorBuffer();
}
-
-void DrawingBuffer::clearPlatformLayer()
-{
- // Don't need to do anything on this platform.
-}
#endif
}
Modified: trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp (152239 => 152240)
--- trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp 2013-07-01 19:33:17 UTC (rev 152239)
+++ trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp 2013-07-01 19:48:10 UTC (rev 152240)
@@ -87,15 +87,6 @@
return 0;
}
-void DrawingBuffer::prepareBackBuffer()
-{
-}
-
-bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
-{
- return false;
-}
-
unsigned DrawingBuffer::frontColorBuffer() const
{
return colorBuffer();
@@ -104,10 +95,6 @@
void DrawingBuffer::paintCompositedResultsToCanvas(ImageBuffer*)
{
}
-
-void DrawingBuffer::clearPlatformLayer()
-{
-}
#endif
}