Changeset 152240 in webkit
- Timestamp:
- Jul 1, 2013 12:48:10 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152238 r152240 1 2013-07-01 Alex Christensen <achristensen@apple.com> 2 3 Removed all references to DrawingBuffer methods unused since the removal of Chromium: 4 DrawingBuffer::prepareBackBuffer, 5 DrawingBuffer::requiresCopyFromBackToFrontBuffer, and 6 DrawingBuffer::clearPlatformLayer. 7 https://bugs.webkit.org/show_bug.cgi?id=118257 8 9 Reviewed by Darin Adler. 10 11 * platform/graphics/blackberry/DrawingBufferBlackBerry.cpp: 12 (WebCore::DrawingBuffer::platformLayer): 13 * platform/graphics/cairo/DrawingBufferCairo.cpp: 14 (WebCore::DrawingBuffer::paintCompositedResultsToCanvas): 15 * platform/graphics/clutter/DrawingBufferClutter.cpp: 16 (WebCore::DrawingBuffer::paintCompositedResultsToCanvas): 17 * platform/graphics/gpu/DrawingBuffer.cpp: 18 (WebCore::DrawingBuffer::clear): 19 * platform/graphics/gpu/DrawingBuffer.h: 20 * platform/graphics/gpu/mac/DrawingBufferMac.mm: 21 (WebCore::DrawingBuffer::frontColorBuffer): 22 * platform/graphics/gpu/qt/DrawingBufferQt.cpp: 23 (WebCore::DrawingBuffer::paintCompositedResultsToCanvas): 24 1 25 2013-07-01 Jochen Eisinger <jochen@chromium.org> 2 26 -
trunk/Source/WebCore/platform/graphics/blackberry/DrawingBufferBlackBerry.cpp
r146497 r152240 126 126 return m_internal->platformLayer.get(); 127 127 } 128 129 void DrawingBuffer::clearPlatformLayer()130 {131 }132 128 #endif 133 129 -
trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp
r139142 r152240 85 85 86 86 #if USE(ACCELERATED_COMPOSITING) 87 void DrawingBuffer::prepareBackBuffer()88 {89 }90 91 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const92 {93 return false;94 }95 87 96 88 unsigned DrawingBuffer::frontColorBuffer() const … … 102 94 { 103 95 } 104 105 void DrawingBuffer::clearPlatformLayer()106 {107 }108 96 #endif 109 97 -
trunk/Source/WebCore/platform/graphics/clutter/DrawingBufferClutter.cpp
r139142 r152240 58 58 59 59 #if USE(ACCELERATED_COMPOSITING) 60 void DrawingBuffer::prepareBackBuffer()61 {62 }63 64 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const65 {66 return false;67 }68 60 69 61 unsigned DrawingBuffer::frontColorBuffer() const … … 75 67 { 76 68 } 77 78 void DrawingBuffer::clearPlatformLayer()79 {80 }81 69 #endif 82 70 -
trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
r147775 r152240 75 75 76 76 m_context->makeContextCurrent(); 77 78 #if USE(ACCELERATED_COMPOSITING)79 clearPlatformLayer();80 #endif81 77 82 78 if (!m_size.isEmpty()) { -
trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h
r147888 r152240 123 123 #if USE(ACCELERATED_COMPOSITING) 124 124 PlatformLayer* platformLayer(); 125 void prepareBackBuffer();126 bool requiresCopyFromBackToFrontBuffer() const;127 125 unsigned frontColorBuffer() const; 128 126 void paintCompositedResultsToCanvas(ImageBuffer*); 129 void clearPlatformLayer();130 127 #endif 131 128 -
trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm
r149255 r152240 101 101 } 102 102 103 void DrawingBuffer::prepareBackBuffer()104 {105 }106 107 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const108 {109 return false;110 }111 112 103 unsigned DrawingBuffer::frontColorBuffer() const 113 104 { 114 105 return colorBuffer(); 115 }116 117 void DrawingBuffer::clearPlatformLayer()118 {119 // Don't need to do anything on this platform.120 106 } 121 107 #endif -
trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp
r139142 r152240 88 88 } 89 89 90 void DrawingBuffer::prepareBackBuffer()91 {92 }93 94 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const95 {96 return false;97 }98 99 90 unsigned DrawingBuffer::frontColorBuffer() const 100 91 { … … 105 96 { 106 97 } 107 108 void DrawingBuffer::clearPlatformLayer()109 {110 }111 98 #endif 112 99
Note: See TracChangeset
for help on using the changeset viewer.