Changeset 117814 in webkit


Ignore:
Timestamp:
May 21, 2012, 2:01:04 PM (13 years ago)
Author:
zmo@google.com
Message:

Restore WebGL's framebuffer binding after DrawingBuffer's prepareBackBuffer()
https://bugs.webkit.org/show_bug.cgi?id=87032

Reviewed by James Robinson.

  • platform/graphics/chromium/DrawingBufferChromium.cpp:

(WebCore::DrawingBuffer::prepareBackBuffer): restore the user's framebuffer binding if there is one.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117813 r117814  
     12012-05-21  Zhenyao Mo  <zmo@google.com>
     2
     3        Restore WebGL's framebuffer binding after DrawingBuffer's prepareBackBuffer()
     4        https://bugs.webkit.org/show_bug.cgi?id=87032
     5
     6        Reviewed by James Robinson.
     7
     8        * platform/graphics/chromium/DrawingBufferChromium.cpp:
     9        (WebCore::DrawingBuffer::prepareBackBuffer): restore the user's framebuffer binding if there is one.
     10
    1112012-05-21  Ryosuke Niwa  <rniwa@webkit.org>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp

    r117379 r117814  
    133133    }
    134134
    135     if (multisample())
     135    if (multisample() && !m_framebufferBinding)
    136136        bind();
     137    else
     138        restoreFramebufferBinding();
    137139}
    138140
Note: See TracChangeset for help on using the changeset viewer.