summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface_aggregator.h
diff options
context:
space:
mode:
authorsky <sky@chromium.org>2014-11-20 20:37:50 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-21 04:39:01 +0000
commit891df4b54f7a7b2dfb5d2a26b8614aecee875608 (patch)
tree0527091ab472cf62d768f143b0523f4ae8969f46 /cc/surfaces/surface_aggregator.h
parent4866abd7d1c6bfeb520ccd74ffb730ed45dd3cf3 (diff)
downloadchromium_src-891df4b54f7a7b2dfb5d2a26b8614aecee875608.zip
chromium_src-891df4b54f7a7b2dfb5d2a26b8614aecee875608.tar.gz
chromium_src-891df4b54f7a7b2dfb5d2a26b8614aecee875608.tar.bz2
Makes SurfaceAggregator properly pass through opacity
BUG=434110 TEST=SurfaceAggregatorValidSurfaceTest.OpacityCopied R=jamesr@chromium.org Review URL: https://codereview.chromium.org/734813002 Cr-Commit-Position: refs/heads/master@{#305164}
Diffstat (limited to 'cc/surfaces/surface_aggregator.h')
-rw-r--r--cc/surfaces/surface_aggregator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/surfaces/surface_aggregator.h b/cc/surfaces/surface_aggregator.h
index aeeb590..6965041 100644
--- a/cc/surfaces/surface_aggregator.h
+++ b/cc/surfaces/surface_aggregator.h
@@ -41,6 +41,7 @@ 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,
@@ -48,6 +49,7 @@ 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);