| Index: cc/output/gl_renderer.h
|
| diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
|
| index 6df1fdf041075baa9143bc1691df12be4d6e6547..ba6c7d3bcc7b11117afe6808fba113b70cb2f93c 100644
|
| --- a/cc/output/gl_renderer.h
|
| +++ b/cc/output/gl_renderer.h
|
| @@ -66,6 +66,9 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
| void SwapBuffers(const CompositorFrameMetadata& metadata) override;
|
| void SwapBuffersComplete() override;
|
|
|
| + void DidReceiveTextureInUseResponses(
|
| + const gpu::TextureInUseResponses& responses) override;
|
| +
|
| virtual bool IsContextLost();
|
|
|
| protected:
|
| @@ -271,9 +274,9 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
|
| // Resources that should be shortly swapped by the GPU process.
|
| std::deque<OverlayResourceLockList> swapping_overlay_resources_;
|
|
|
| - // Resources that the GPU process has finished swapping.
|
| - std::map<ResourceId, OverlayResourceLock>
|
| - swapped_and_acked_overlay_resources_;
|
| + // Resources that the GPU process has finished swapping. The key is the
|
| + // texture id of the resource.
|
| + std::map<unsigned, OverlayResourceLock> swapped_and_acked_overlay_resources_;
|
|
|
| RendererCapabilitiesImpl capabilities_;
|
|
|
|
|