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

Unified Diff: cc/quads/texture_draw_quad.h

Issue 1968363002: SurfaceAggregator should check whether output is secure when drawin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/quads/draw_quad_unittest.cc ('k') | cc/quads/texture_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/texture_draw_quad.h
diff --git a/cc/quads/texture_draw_quad.h b/cc/quads/texture_draw_quad.h
index a370fd7232e20928c240100961025faba527562c..c9dd0df01ea94c6e91ee43f6f2b01f7ace3f1883 100644
--- a/cc/quads/texture_draw_quad.h
+++ b/cc/quads/texture_draw_quad.h
@@ -31,7 +31,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
SkColor background_color,
const float vertex_opacity[4],
bool y_flipped,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool secure_output_only);
void SetAll(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
@@ -46,7 +47,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
SkColor background_color,
const float vertex_opacity[4],
bool y_flipped,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool secure_output_only);
bool premultiplied_alpha;
gfx::PointF uv_top_left;
@@ -55,6 +57,7 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad {
float vertex_opacity[4];
bool y_flipped;
bool nearest_neighbor;
+ bool secure_output_only = false;
struct OverlayResources {
OverlayResources();
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/quads/texture_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698