Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: src/gpu/SkGrFontScaler.cpp

Issue 88993003: Minimal changes to not crash GPU with color fonts. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/fonts/SkGScalerContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGrFontScaler.cpp
===================================================================
--- src/gpu/SkGrFontScaler.cpp (revision 12394)
+++ src/gpu/SkGrFontScaler.cpp (working copy)
@@ -85,6 +85,7 @@
return kA8_GrMaskFormat;
case SkMask::kLCD16_Format:
return kA565_GrMaskFormat;
+ case SkMask::kARGB32_Format:
reed1 2013/11/26 19:58:03 This may have us not crash, but its not logically
bungeman-skia 2013/11/26 20:43:43 Done. Added comment that this is temporary. These
case SkMask::kLCD32_Format:
return kA888_GrMaskFormat;
default:
« no previous file with comments | « src/fonts/SkGScalerContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698