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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp

Issue 1518893003: SkPaint::kGenA8FromLCD_Flagis no longer used, so remove references to it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 appendFlagToString(&flagsString, paint.isUnderlineText(), "UnderlinText"); 325 appendFlagToString(&flagsString, paint.isUnderlineText(), "UnderlinText");
326 appendFlagToString(&flagsString, paint.isStrikeThruText(), "StrikeThruText") ; 326 appendFlagToString(&flagsString, paint.isStrikeThruText(), "StrikeThruText") ;
327 appendFlagToString(&flagsString, paint.isFakeBoldText(), "FakeBoldText"); 327 appendFlagToString(&flagsString, paint.isFakeBoldText(), "FakeBoldText");
328 appendFlagToString(&flagsString, paint.isLinearText(), "LinearText"); 328 appendFlagToString(&flagsString, paint.isLinearText(), "LinearText");
329 appendFlagToString(&flagsString, paint.isSubpixelText(), "SubpixelText"); 329 appendFlagToString(&flagsString, paint.isSubpixelText(), "SubpixelText");
330 appendFlagToString(&flagsString, paint.isDevKernText(), "DevKernText"); 330 appendFlagToString(&flagsString, paint.isDevKernText(), "DevKernText");
331 appendFlagToString(&flagsString, paint.isLCDRenderText(), "LCDRenderText"); 331 appendFlagToString(&flagsString, paint.isLCDRenderText(), "LCDRenderText");
332 appendFlagToString(&flagsString, paint.isEmbeddedBitmapText(), "EmbeddedBitm apText"); 332 appendFlagToString(&flagsString, paint.isEmbeddedBitmapText(), "EmbeddedBitm apText");
333 appendFlagToString(&flagsString, paint.isAutohinted(), "Autohinted"); 333 appendFlagToString(&flagsString, paint.isAutohinted(), "Autohinted");
334 appendFlagToString(&flagsString, paint.isVerticalText(), "VerticalText"); 334 appendFlagToString(&flagsString, paint.isVerticalText(), "VerticalText");
335 appendFlagToString(&flagsString, paint.getFlags() & SkPaint::kGenA8FromLCD_F lag, "GenA8FromLCD");
336 return flagsString; 335 return flagsString;
337 } 336 }
338 337
339 String filterQualityName(SkFilterQuality filterQuality) 338 String filterQualityName(SkFilterQuality filterQuality)
340 { 339 {
341 switch (filterQuality) { 340 switch (filterQuality) {
342 case kNone_SkFilterQuality: return "None"; 341 case kNone_SkFilterQuality: return "None";
343 case kLow_SkFilterQuality: return "Low"; 342 case kLow_SkFilterQuality: return "Low";
344 case kMedium_SkFilterQuality: return "Medium"; 343 case kMedium_SkFilterQuality: return "Medium";
345 case kHigh_SkFilterQuality: return "High"; 344 case kHigh_SkFilterQuality: return "High";
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 return pictureAsJSON->toPrettyJSONString(); 873 return pictureAsJSON->toPrettyJSONString();
875 } 874 }
876 875
877 void showSkPicture(const SkPicture* picture) 876 void showSkPicture(const SkPicture* picture)
878 { 877 {
879 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data()); 878 WTFLogAlways("%s\n", pictureAsDebugString(picture).utf8().data());
880 } 879 }
881 #endif 880 #endif
882 881
883 } // namespace blink 882 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/win/FontPlatformDataWin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698