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

Unified Diff: ui/gl/gl_surface_glx.h

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send vsync timebase updates to the browser compositor Created 8 years, 2 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_glx.h
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h
index 644b51ba2b0323a073d91cca3fb1e21a587d8848..995f3ea389b24c78030389aec773dd62edba41a5 100644
--- a/ui/gl/gl_surface_glx.h
+++ b/ui/gl/gl_surface_glx.h
@@ -27,6 +27,7 @@ class GL_EXPORT GLSurfaceGLX : public GLSurface {
static const char* GetGLXExtensions();
static bool HasGLXExtension(const char* name);
static bool IsCreateContextRobustnessSupported();
+ static bool IsOMLSyncControlSupported();
virtual void* GetDisplay() OVERRIDE;
@@ -57,6 +58,9 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX {
virtual std::string GetExtensions() OVERRIDE;
virtual void* GetConfig() OVERRIDE;
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE;
+ virtual bool GetSyncValues(int64_t* systemTime,
+ int64_t* mediaStreamCounter,
+ int64_t* swapBufferCounter) OVERRIDE;
protected:
NativeViewGLSurfaceGLX();

Powered by Google App Engine
This is Rietveld 408576698