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

Unified Diff: cc/output/direct_renderer.h

Issue 2799603006: cc: Fix VideoResourceUpdater color conversion (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | cc/output/gl_renderer.cc » ('j') | cc/resources/video_resource_updater.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 30c172d34c92c7e27303c74d8664d061fef1bc01..864c1863b29db381bddfd83ded8ad054f23af6d1 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -93,6 +93,10 @@ class CC_EXPORT DirectRenderer {
DCLayerOverlayList dc_layer_overlay_list;
};
+ void DisableColorChecksForTesting() {
+ disable_color_checks_for_testing_ = true;
+ }
+
protected:
friend class BspWalkActionDrawPolygon;
@@ -203,6 +207,7 @@ class CC_EXPORT DirectRenderer {
RenderPassFilterList render_pass_background_filters_;
bool visible_ = false;
+ bool disable_color_checks_for_testing_ = false;
// For use in coordinate conversion, this stores the output rect, viewport
// rect (= unflipped version of glViewport rect), the size of target
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | cc/resources/video_resource_updater.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698