Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index c7fbf46e2cd6a2c5de4c595550cc87922df6e9a2..9fca48f98d9f9c913d468fab69c3c03715ff7df4 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -184,6 +184,12 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
const gfx::Transform& transform, |
int sorting_content_id, |
unsigned filter); |
+ struct CALayerInUseQuery { |
+ unsigned texture; |
+ GLImage* image; |
piman
2016/06/14 00:58:56
I think you want to take a scoped_refptr<GLImage>
erikchen
2016/06/14 01:47:51
ImageTransportSurfaceOverlayMac holds on to the un
|
+ }; |
+ virtual void ScheduleCALayerInUseQuery( |
+ std::vector<CALayerInUseQuery> queries); |
virtual bool IsSurfaceless() const; |