| Index: cc/output/gl_renderer.h
|
| diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
|
| index 4261f10814e206e944cb84fc327cd1c658ecd5b0..465935ee65a042d1aab30aa837f68f123b892983 100644
|
| --- a/cc/output/gl_renderer.h
|
| +++ b/cc/output/gl_renderer.h
|
| @@ -274,6 +274,15 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
| // |resource|. The resource is allocated from |overlay_resource_pool_|.
|
| void CopyRenderPassToOverlayResource(const RenderPassId& render_pass_id,
|
| Resource** resource);
|
| + // Copies the contents of the render pass draw quad, including filter effects,
|
| + // to an overlay resource, returned in |resource|. The resource is allocated
|
| + // from |overlay_resource_pool_|.
|
| + // The resulting Resource may be larger than the original quad, so this
|
| + // function may also modify properties of CALayerOverlay, including
|
| + // |shared_state|.
|
| + void CopyRenderPassDrawQuadToOverlayResource(CALayerOverlay* ca_layer_overlay,
|
| + Resource** resource,
|
| + DrawingFrame* frame);
|
|
|
| using OverlayResourceLock =
|
| std::unique_ptr<ResourceProvider::ScopedReadLockGL>;
|
| @@ -537,6 +546,13 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
| // overlay resource. This means the GLRenderer needs its own ResourcePool.
|
| std::unique_ptr<ResourcePool> overlay_resource_pool_;
|
|
|
| + // The method FlippedFramebuffer determines whether the framebuffer associated
|
| + // with a DrawingFrame is flipped. It makes the assumption that the
|
| + // DrawingFrame is being used as part of a render pass. If a DrawingFrame is
|
| + // not being used as part of a render pass, setting it here forces
|
| + // FlippedFramebuffer to return |true|.
|
| + const DrawingFrame* force_drawing_frame_framebuffer_flipped_;
|
| +
|
| BoundGeometry bound_geometry_;
|
| DISALLOW_COPY_AND_ASSIGN(GLRenderer);
|
| };
|
|
|