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

Unified Diff: cc/playback/raster_source.cc

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 | « cc/playback/raster_source.h ('k') | cc/raster/bitmap_raster_buffer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.cc
diff --git a/cc/playback/raster_source.cc b/cc/playback/raster_source.cc
index 6a051e2d0d79ac5ab325727915c2fcd6555dc1cf..60f3ac7525873ea0b83ec8d70d16a933aab0f93e 100644
--- a/cc/playback/raster_source.cc
+++ b/cc/playback/raster_source.cc
@@ -254,6 +254,14 @@ gfx::Size RasterSource::GetSize() const {
return size_;
}
+bool RasterSource::HasImpliedColorSpace() const {
+ return display_list_->HasImpliedColorSpace();
+}
+
+const gfx::ColorSpace& RasterSource::GetImpliedColorSpace() const {
+ return display_list_->GetImpliedColorSpace();
+}
+
bool RasterSource::IsSolidColor() const {
return is_solid_color_;
}
« no previous file with comments | « cc/playback/raster_source.h ('k') | cc/raster/bitmap_raster_buffer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698