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

Unified Diff: ui/gl/gl_surface.cc

Issue 2067503003: Add a new command buffer function glScheduleCALayerInUseQueryCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include gl_image.h 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
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index 6d10b72d63d2f883211fc48d2ca2eda9dfcfb1e8..6794a3131e0816d9d4ce073122dd30ec354518d2 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -14,6 +14,7 @@
#include "base/trace_event/trace_event.h"
#include "ui/gfx/swap_result.h"
#include "ui/gl/gl_context.h"
+#include "ui/gl/gl_image.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_switches.h"
@@ -151,6 +152,11 @@ bool GLSurface::ScheduleCALayer(GLImage* contents_image,
return false;
}
+void GLSurface::ScheduleCALayerInUseQuery(
+ std::vector<CALayerInUseQuery> queries) {
+ NOTIMPLEMENTED();
+}
+
bool GLSurface::IsSurfaceless() const {
return false;
}
@@ -339,4 +345,9 @@ scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) {
return surface;
}
+GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default;
+GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) =
+ default;
+GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default;
+
} // namespace gl
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698