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

Side by Side Diff: Source/platform/graphics/GraphicsTypes.cpp

Issue 663313005: Comply Compositing spec [1]; remove 'plus-darker'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mark virtual/display_list_2d_canvas/fast/canvas/canvas-composite NeedsRebaseline Created 5 years, 11 months 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 | « Source/platform/graphics/GraphicsTypes.h ('k') | Source/platform/graphics/skia/SkiaUtils.cpp » ('j') | 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) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2012 Rik Cabanier (cabanier@adobe.com) 3 * Copyright (C) 2012 Rik Cabanier (cabanier@adobe.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 "copy", 37 "copy",
38 "source-over", 38 "source-over",
39 "source-in", 39 "source-in",
40 "source-out", 40 "source-out",
41 "source-atop", 41 "source-atop",
42 "destination-over", 42 "destination-over",
43 "destination-in", 43 "destination-in",
44 "destination-out", 44 "destination-out",
45 "destination-atop", 45 "destination-atop",
46 "xor", 46 "xor",
47 "darker",
48 "lighter" 47 "lighter"
49 }; 48 };
50 49
51 static const char* const blendOperatorNames[] = { 50 static const char* const blendOperatorNames[] = {
52 "normal", 51 "normal",
53 "multiply", 52 "multiply",
54 "screen", 53 "screen",
55 "overlay", 54 "overlay",
56 "darken", 55 "darken",
57 "lighten", 56 "lighten",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 return true; 213 return true;
215 } 214 }
216 if (s == "hanging") { 215 if (s == "hanging") {
217 baseline = HangingTextBaseline; 216 baseline = HangingTextBaseline;
218 return true; 217 return true;
219 } 218 }
220 return false; 219 return false;
221 } 220 }
222 221
223 } // namespace blink 222 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsTypes.h ('k') | Source/platform/graphics/skia/SkiaUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698