summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface_aggregator.h
diff options
context:
space:
mode:
authorjbauman <jbauman@chromium.org>2014-12-15 20:12:30 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-16 04:12:49 +0000
commitc46c13ea3a2a76b5f3c71646ecef1dc4b7f80222 (patch)
treec5eeb40a8b8ef2ef4bb2b9f6f179b113141c46dc /cc/surfaces/surface_aggregator.h
parentdf24b36701f79110f75b91a75220f657e40612f8 (diff)
downloadchromium_src-c46c13ea3a2a76b5f3c71646ecef1dc4b7f80222.zip
chromium_src-c46c13ea3a2a76b5f3c71646ecef1dc4b7f80222.tar.gz
chromium_src-c46c13ea3a2a76b5f3c71646ecef1dc4b7f80222.tar.bz2
Avoid merging non-opaque Surface renderpasses.
If a surface has overlapping quads then its will render incorrectly if its transparency is moved to its quads. Instead force all non-opaque Surfaces to use their own renderpasses. Review URL: https://codereview.chromium.org/811623003 Cr-Commit-Position: refs/heads/master@{#308526}
Diffstat (limited to 'cc/surfaces/surface_aggregator.h')
-rw-r--r--cc/surfaces/surface_aggregator.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
index 9cb0578..051b10b 100644
--- a/cc/surfaces/surface_aggregator.h
+++ b/cc/surfaces/surface_aggregator.h
@@ -42,7 +42,6 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
SurfaceId surface_id);
void HandleSurfaceQuad(const SurfaceDrawQuad* surface_quad,
- float opacity,
RenderPass* dest_pass);
void CopySharedQuadState(const SharedQuadState* source_sqs,
const gfx::Transform& content_to_target_transform,
@@ -50,7 +49,6 @@ class CC_SURFACES_EXPORT SurfaceAggregator {
void CopyQuadsToPass(const QuadList& source_quad_list,
const SharedQuadStateList& source_shared_quad_state_list,
const gfx::Transform& content_to_target_transform,
- float opacity,
RenderPass* dest_pass,
SurfaceId surface_id);
void CopyPasses(const DelegatedFrameData* frame_data, Surface* surface);