Changeset 152240 in webkit


Ignore:
Timestamp:
Jul 1, 2013 12:48:10 PM (11 years ago)
Author:
achristensen@apple.com
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):

Location:
trunk/Source/WebCore
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152238 r152240  
     12013-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
    1252013-07-01  Jochen Eisinger  <jochen@chromium.org>
    226
  • trunk/Source/WebCore/platform/graphics/blackberry/DrawingBufferBlackBerry.cpp

    r146497 r152240  
    126126    return m_internal->platformLayer.get();
    127127}
    128 
    129 void DrawingBuffer::clearPlatformLayer()
    130 {
    131 }
    132128#endif
    133129
  • trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp

    r139142 r152240  
    8585
    8686#if USE(ACCELERATED_COMPOSITING)
    87 void DrawingBuffer::prepareBackBuffer()
    88 {
    89 }
    90 
    91 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
    92 {
    93     return false;
    94 }
    9587
    9688unsigned DrawingBuffer::frontColorBuffer() const
     
    10294{
    10395}
    104 
    105 void DrawingBuffer::clearPlatformLayer()
    106 {
    107 }
    10896#endif
    10997
  • trunk/Source/WebCore/platform/graphics/clutter/DrawingBufferClutter.cpp

    r139142 r152240  
    5858
    5959#if USE(ACCELERATED_COMPOSITING)
    60 void DrawingBuffer::prepareBackBuffer()
    61 {
    62 }
    63 
    64 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
    65 {
    66     return false;
    67 }
    6860
    6961unsigned DrawingBuffer::frontColorBuffer() const
     
    7567{
    7668}
    77 
    78 void DrawingBuffer::clearPlatformLayer()
    79 {
    80 }
    8169#endif
    8270
  • trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp

    r147775 r152240  
    7575
    7676    m_context->makeContextCurrent();
    77 
    78 #if USE(ACCELERATED_COMPOSITING)
    79     clearPlatformLayer();
    80 #endif
    8177
    8278    if (!m_size.isEmpty()) {
  • trunk/Source/WebCore/platform/graphics/gpu/DrawingBuffer.h

    r147888 r152240  
    123123#if USE(ACCELERATED_COMPOSITING)
    124124    PlatformLayer* platformLayer();
    125     void prepareBackBuffer();
    126     bool requiresCopyFromBackToFrontBuffer() const;
    127125    unsigned frontColorBuffer() const;
    128126    void paintCompositedResultsToCanvas(ImageBuffer*);
    129     void clearPlatformLayer();
    130127#endif
    131128
  • trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm

    r149255 r152240  
    101101}
    102102
    103 void DrawingBuffer::prepareBackBuffer()
    104 {
    105 }
    106 
    107 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
    108 {
    109     return false;
    110 }
    111 
    112103unsigned DrawingBuffer::frontColorBuffer() const
    113104{
    114105    return colorBuffer();
    115 }
    116 
    117 void DrawingBuffer::clearPlatformLayer()
    118 {
    119     // Don't need to do anything on this platform.
    120106}
    121107#endif
  • trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp

    r139142 r152240  
    8888}
    8989
    90 void DrawingBuffer::prepareBackBuffer()
    91 {
    92 }
    93 
    94 bool DrawingBuffer::requiresCopyFromBackToFrontBuffer() const
    95 {
    96     return false;
    97 }
    98 
    9990unsigned DrawingBuffer::frontColorBuffer() const
    10091{
     
    10596{
    10697}
    107 
    108 void DrawingBuffer::clearPlatformLayer()
    109 {
    110 }
    11198#endif
    11299
Note: See TracChangeset for help on using the changeset viewer.