| Index: gpu/ipc/service/image_transport_surface_overlay_mac.h
|
| diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.h b/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
| index d8b4fce5690306e65abd8160d9dc42550b1f2984..75264cb179b260863170654b71de4aae1e3733d9 100644
|
| --- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
| +++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
|
| @@ -25,6 +25,10 @@ namespace ui {
|
| class CALayerTreeCoordinator;
|
| }
|
|
|
| +namespace gl {
|
| +class GLFence;
|
| +}
|
| +
|
| namespace gpu {
|
|
|
| class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
|
| @@ -94,6 +98,12 @@ class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
|
| gfx::Size pixel_size_;
|
| float scale_factor_;
|
|
|
| + // A GLFence marking the end of the previous frame. Must only be accessed
|
| + // while in a ScopedSetGLToRealGLApi, and while the associated
|
| + // |previous_frame_context_| is bound.
|
| + std::unique_ptr<gl::GLFence> previous_frame_fence_;
|
| + base::ScopedTypeRef<CGLContextObj> fence_context_obj_;
|
| +
|
| // The renderer ID that all contexts made current to this surface should be
|
| // targeting.
|
| GLint gl_renderer_id_;
|
|
|