Changeset 91093 in webkit


Ignore:
Timestamp:
Jul 15, 2011 12:44:23 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[SKIA] Must make skia's GL context current before drawing in GraphicsContext::clearRect
https://bugs.webkit.org/show_bug.cgi?id=64612

Patch by Brian Salomon <bsalomon@google.com> on 2011-07-15
Reviewed by Stephen White.

Tested by compositing/shadows/shadow-drawing.html

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::clearRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91090 r91093  
     12011-07-15  Brian Salomon  <bsalomon@google.com>
     2
     3        [SKIA] Must make skia's GL context current before drawing in GraphicsContext::clearRect
     4        https://bugs.webkit.org/show_bug.cgi?id=64612
     5
     6        Reviewed by Stephen White.
     7
     8        Tested by compositing/shadows/shadow-drawing.html
     9
     10        * platform/graphics/skia/GraphicsContextSkia.cpp:
     11        (WebCore::GraphicsContext::clearRect):
     12
    1132011-07-15  Ian Henderson  <ianh@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp

    r90872 r91093  
    327327        ClipRectToCanvas(*platformContext()->canvas(), r, &r);
    328328
     329    platformContext()->makeGrContextCurrent();
     330
    329331    SkPaint paint;
    330332    platformContext()->setupPaintForFilling(&paint);
Note: See TracChangeset for help on using the changeset viewer.