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

Unified Diff: cc/output/gl_renderer.h

Issue 2697253002: color: Add support for shader generation (Closed)
Patch Set: More bits of precision Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/color_lut_cache.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index ea73b6f881e7d7958bedf7afcb51bf3141c0340f..2a0ce1c5e849757b6c803628ba52b1f4102a4f7d 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -298,6 +298,12 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
std::unordered_map<ProgramKey, std::unique_ptr<Program>, ProgramKeyHash>
program_cache_;
+ const gfx::ColorTransform* GetColorTransform(const gfx::ColorSpace& src,
+ const gfx::ColorSpace& dst);
+ std::map<gfx::ColorSpace,
+ std::map<gfx::ColorSpace, std::unique_ptr<gfx::ColorTransform>>>
+ color_transform_cache_;
+
gpu::gles2::GLES2Interface* gl_;
gpu::ContextSupport* context_support_;
std::unique_ptr<ContextCacheController::ScopedVisibility> context_visibility_;
« no previous file with comments | « cc/output/color_lut_cache.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698