Changeset 90670 in webkit


Ignore:
Timestamp:
Jul 8, 2011 3:32:31 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Make GL context current before updating layer texture using skia-gpu
https://bugs.webkit.org/show_bug.cgi?id=64206

Patch by Brian Salomon <bsalomon@google.com> on 2011-07-08
Reviewed by James Robinson.

Covered by existing tests (when accelerated drawing and compositing are on).

  • platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:

(WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r90668 r90670  
     12011-07-08  Brian Salomon  <bsalomon@google.com>
     2
     3        Make GL context current before updating layer texture using skia-gpu
     4        https://bugs.webkit.org/show_bug.cgi?id=64206
     5
     6        Reviewed by James Robinson.
     7
     8        Covered by existing tests (when accelerated drawing and compositing are on).
     9
     10        * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
     11        (WebCore::LayerTextureUpdaterSkPicture::updateTextureRect):
     12
    1132011-07-08  Tony Chang  <tony@chromium.org>
    214
  • trunk/Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp

    r90498 r90670  
    161161    ASSERT(context()->checkFramebufferStatus(GraphicsContext3D::FRAMEBUFFER) == GraphicsContext3D::FRAMEBUFFER_COMPLETE);
    162162
     163    // Make sure SKIA uses the correct GL context.
     164    context()->makeContextCurrent();
     165
    163166    // Notify SKIA to sync its internal GL state.
    164167    m_skiaContext->resetContext();
Note: See TracChangeset for help on using the changeset viewer.