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

Unified Diff: cc/output/gl_renderer.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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/layers/tiled_layer_impl.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 25c70968ee8c23648125fe4ad06d30708a6abfc9..01668abb23823b597e1b6af2da4cd1da11769143 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -334,11 +334,13 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
const RenderPassMaskProgram* GetRenderPassMaskProgram(
TexCoordPrecision precision,
SamplerType sampler,
- BlendMode blend_mode);
+ BlendMode blend_mode,
+ bool mask_for_background);
const RenderPassMaskProgramAA* GetRenderPassMaskProgramAA(
TexCoordPrecision precision,
SamplerType sampler,
- BlendMode blend_mode);
+ BlendMode blend_mode,
+ bool mask_for_background);
const RenderPassColorMatrixProgram* GetRenderPassColorMatrixProgram(
TexCoordPrecision precision,
BlendMode blend_mode);
@@ -348,11 +350,13 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
const RenderPassMaskColorMatrixProgram* GetRenderPassMaskColorMatrixProgram(
TexCoordPrecision precision,
SamplerType sampler,
- BlendMode blend_mode);
+ BlendMode blend_mode,
+ bool mask_for_background);
const RenderPassMaskColorMatrixProgramAA*
GetRenderPassMaskColorMatrixProgramAA(TexCoordPrecision precision,
SamplerType sampler,
- BlendMode blend_mode);
+ BlendMode blend_mode,
+ bool mask_for_background);
const TextureProgram* GetTextureProgram(
TexCoordPrecision precision);
@@ -407,12 +411,15 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
RenderPassProgramAA render_pass_program_aa_[LAST_TEX_COORD_PRECISION +
1][LAST_BLEND_MODE + 1];
RenderPassMaskProgram
- render_pass_mask_program_[LAST_TEX_COORD_PRECISION +
- 1][LAST_SAMPLER_TYPE + 1][LAST_BLEND_MODE + 1];
+ render_pass_mask_program_[LAST_TEX_COORD_PRECISION + 1]
+ [LAST_SAMPLER_TYPE + 1]
+ [LAST_BLEND_MODE + 1]
+ [LAST_MASK_VALUE + 1];
RenderPassMaskProgramAA
- render_pass_mask_program_aa_[LAST_TEX_COORD_PRECISION +
- 1][LAST_SAMPLER_TYPE + 1][LAST_BLEND_MODE +
- 1];
+ render_pass_mask_program_aa_[LAST_TEX_COORD_PRECISION + 1]
+ [LAST_SAMPLER_TYPE + 1]
+ [LAST_BLEND_MODE + 1]
+ [LAST_MASK_VALUE + 1];
RenderPassColorMatrixProgram
render_pass_color_matrix_program_[LAST_TEX_COORD_PRECISION +
1][LAST_BLEND_MODE + 1];
@@ -420,13 +427,15 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
render_pass_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION +
1][LAST_BLEND_MODE + 1];
RenderPassMaskColorMatrixProgram
- render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION +
- 1][LAST_SAMPLER_TYPE +
- 1][LAST_BLEND_MODE + 1];
+ render_pass_mask_color_matrix_program_[LAST_TEX_COORD_PRECISION + 1]
+ [LAST_SAMPLER_TYPE + 1]
+ [LAST_BLEND_MODE + 1]
+ [LAST_MASK_VALUE + 1];
RenderPassMaskColorMatrixProgramAA
- render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION +
- 1][LAST_SAMPLER_TYPE +
- 1][LAST_BLEND_MODE + 1];
+ render_pass_mask_color_matrix_program_aa_[LAST_TEX_COORD_PRECISION + 1]
+ [LAST_SAMPLER_TYPE + 1]
+ [LAST_BLEND_MODE + 1]
+ [LAST_MASK_VALUE + 1];
VideoYUVProgram video_yuv_program_[LAST_TEX_COORD_PRECISION + 1];
VideoYUVAProgram video_yuva_program_[LAST_TEX_COORD_PRECISION + 1];
« no previous file with comments | « cc/layers/tiled_layer_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698