Changeset 66787 in webkit
- Timestamp:
- Sep 3, 2010 7:31:10 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r66785 r66787 1 2010-09-03 James Robinson <jamesr@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 [chromium] Text sometimes fails to display in accelerated 2d canvases 6 https://bugs.webkit.org/show_bug.cgi?id=45223 7 8 Calls PlatformContextSkia::prepareForSoftwareDraw() before drawing glyphs 9 using skia to ensure that the backing store state is consistent. 10 11 * platform/graphics/chromium/FontChromiumWin.cpp: 12 (WebCore::Font::drawGlyphs): 13 * platform/graphics/chromium/FontLinux.cpp: 14 (WebCore::Font::drawGlyphs): 15 1 16 2010-09-03 Kenneth Russell <kbr@google.com> 2 17 -
trunk/WebCore/platform/graphics/chromium/FontChromiumWin.cpp
r66082 r66787 373 373 const FloatPoint& point) const 374 374 { 375 gc->platformContext()->prepareForSoftwareDraw(); 376 375 377 SkColor color = graphicsContext->platformContext()->effectiveFillColor(); 376 378 unsigned char alpha = SkColorGetA(color); -
trunk/WebCore/platform/graphics/chromium/FontLinux.cpp
r66689 r66787 101 101 } 102 102 103 gc->platformContext()->prepareForSoftwareDraw(); 104 103 105 SkCanvas* canvas = gc->platformContext()->canvas(); 104 106 int textMode = gc->platformContext()->getTextDrawingMode();
Note: See TracChangeset
for help on using the changeset viewer.