| Index: ui/accelerated_widget_mac/io_surface_ns_gl_surface.h
|
| diff --git a/ui/accelerated_widget_mac/io_surface_ns_gl_surface.h b/ui/accelerated_widget_mac/io_surface_ns_gl_surface.h
|
| index f18952b2d8088ddce0f77f8861f6e6c2216b02bf..810a891fa1c712cff24236cda613d5599bcb6645 100644
|
| --- a/ui/accelerated_widget_mac/io_surface_ns_gl_surface.h
|
| +++ b/ui/accelerated_widget_mac/io_surface_ns_gl_surface.h
|
| @@ -25,19 +25,25 @@ class IOSurfaceNSGLSurfaceClient {
|
| class IOSurfaceNSGLSurface {
|
| public:
|
| static IOSurfaceNSGLSurface* Create(
|
| - IOSurfaceNSGLSurfaceClient* client, NSView* view);
|
| + IOSurfaceNSGLSurfaceClient* client,
|
| + NSView* view,
|
| + bool needs_gl_finish_workaround);
|
| virtual ~IOSurfaceNSGLSurface();
|
|
|
| - // Called on the UI thread.
|
| + static bool CanUseNSGLSurfaceForView(NSView* view);
|
| +
|
| bool GotFrame(IOSurfaceID io_surface_id,
|
| gfx::Size pixel_size,
|
| float scale_factor,
|
| gfx::Rect pixel_damage_rect);
|
|
|
| + int GetRendererID();
|
| +
|
| private:
|
| explicit IOSurfaceNSGLSurface(
|
| IOSurfaceNSGLSurfaceClient* client,
|
| NSView* view,
|
| + bool needs_gl_finish_workaround,
|
| base::scoped_nsobject<NSOpenGLContext> ns_gl_context,
|
| scoped_refptr<ui::IOSurfaceTexture> iosurface);
|
|
|
|
|