| Index: ui/gl/gl_image_io_surface.h
|
| diff --git a/ui/gl/gl_image_io_surface.h b/ui/gl/gl_image_io_surface.h
|
| index 5774e12fb645be2d61bb8cbd4625c3abc14237b3..48496b741656a53d2cece98de26e48a89b55bfe7 100644
|
| --- a/ui/gl/gl_image_io_surface.h
|
| +++ b/ui/gl/gl_image_io_surface.h
|
| @@ -65,6 +65,10 @@ class GL_EXPORT GLImageIOSurface : public GLImage {
|
| base::ScopedCFTypeRef<IOSurfaceRef> io_surface();
|
| base::ScopedCFTypeRef<CVPixelBufferRef> cv_pixel_buffer();
|
|
|
| + // Whether checking IOSurfaceIsInUse() will actually provide a meaningful
|
| + // signal about whether the Window Server is still using the IOSurface.
|
| + bool CanCheckIOSurfaceIsInUse() const;
|
| +
|
| static unsigned GetInternalFormatForTesting(gfx::BufferFormat format);
|
|
|
| protected:
|
|
|