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

Unified Diff: gpu/ipc/gl_in_process_context.h

Issue 2529703002: Mus: Install SwapBuffersCompleted/VSync callbacks to DirectOutputSurface(Ozone) (Closed)
Patch Set: Grab capabilities from the InProcessCommandBuffer instead of making them up Created 4 years, 1 month 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 | « cc/output/in_process_context_provider.cc ('k') | gpu/ipc/gl_in_process_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/gl_in_process_context.h
diff --git a/gpu/ipc/gl_in_process_context.h b/gpu/ipc/gl_in_process_context.h
index 83aeb09cb1cefc1da022c4af191737f7d86d0d39..916dcf5cc057fc127448026369ff9256f22d5431 100644
--- a/gpu/ipc/gl_in_process_context.h
+++ b/gpu/ipc/gl_in_process_context.h
@@ -59,6 +59,8 @@ class GL_IN_PROCESS_CONTEXT_EXPORT GLInProcessContext {
ImageFactory* image_factory,
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ virtual gpu::Capabilities GetCapabilities() = 0;
+
// Allows direct access to the GLES2 implementation so a GLInProcessContext
// can be used without making it current.
virtual gles2::GLES2Implementation* GetImplementation() = 0;
« no previous file with comments | « cc/output/in_process_context_provider.cc ('k') | gpu/ipc/gl_in_process_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698