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

Unified Diff: third_party/WebKit/public/platform/WebDisplayItemList.h

Issue 2525453002: Raster: Allow a RasterSource to specify its color space (Closed)
Patch Set: Only set implied space when color correct rendering is disabled Created 4 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 | « third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebDisplayItemList.h
diff --git a/third_party/WebKit/public/platform/WebDisplayItemList.h b/third_party/WebKit/public/platform/WebDisplayItemList.h
index 61fe14ac515d96da0c6e1507483b8a5277e1e7b0..6df97982d0f99ec0822750186523031f6284957f 100644
--- a/third_party/WebKit/public/platform/WebDisplayItemList.h
+++ b/third_party/WebKit/public/platform/WebDisplayItemList.h
@@ -27,6 +27,10 @@ namespace cc {
class FilterOperations;
}
+namespace gfx {
+class ColorSpace;
+}
+
namespace blink {
// An ordered list of items representing content to be rendered (stored in
@@ -69,6 +73,12 @@ class WebDisplayItemList {
virtual void appendEndScrollItem() {}
virtual void setIsSuitableForGpuRasterization(bool isSuitable) {}
+
+ // Specifies the color space that the inputs of this display list were
+ // pre-converted into. If this is specified, then rasterization must not
+ // perform any color correction, and the result must be interpreted as being
+ // in this color space.
+ virtual void setImpliedColorSpace(const gfx::ColorSpace&) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698