Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: ui/gl/gl_surface.h

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698