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

Unified Diff: ui/gl/gl_context_cgl.h

Issue 10957009: Get real GPU memory values on NV+Linux and OS X (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix GLX build Created 8 years, 3 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_context_cgl.h
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h
index 1e41b520eea3d93124fbe633dafb95fbdce3582e..0a666366aaa06c338fe3dae9fedc63fa3f050ffe 100644
--- a/ui/gl/gl_context_cgl.h
+++ b/ui/gl/gl_context_cgl.h
@@ -27,6 +27,7 @@ class GLContextCGL : public GLContext {
virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
virtual void* GetHandle() OVERRIDE;
virtual void SetSwapInterval(int interval) OVERRIDE;
+ virtual bool GetTotalGpuMemory(size_t& bytes) OVERRIDE;
protected:
virtual ~GLContextCGL();

Powered by Google App Engine
This is Rietveld 408576698