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

Unified Diff: ui/gl/gl_context.h

Issue 1420533009: Cleanup GpuMemoryManager and helpers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup. Created 5 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 | « gpu/command_buffer/service/gl_context_virtual.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context.h
diff --git a/ui/gl/gl_context.h b/ui/gl/gl_context.h
index d391deb0679c9e61c8c29223bfc5e6b13ab8f929..f7b971d18b68e3c8d771220b27f62e750450690b 100644
--- a/ui/gl/gl_context.h
+++ b/ui/gl/gl_context.h
@@ -74,11 +74,6 @@ class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
// Returns space separated list of extensions. The context must be current.
virtual std::string GetExtensions();
- // Returns in bytes the total amount of GPU memory for the GPU which this
- // context is currently rendering on. Returns false if no extension exists
- // to get the exact amount of GPU memory.
- virtual bool GetTotalGpuMemory(size_t* bytes);
-
// Indicate that it is safe to force this context to switch GPUs, since
// transitioning can cause corruption and hangs (OS X only).
virtual void SetSafeToForceGpuSwitch();
« no previous file with comments | « gpu/command_buffer/service/gl_context_virtual.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698