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

Unified Diff: content/common/gpu/client/content_gl_context.h

Issue 9702081: Splitting GpuMemoryAllocation into two parts: for renderer and browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding unittests for GpuMemoryAllocation comparison functions since they have become not as trivial. Created 8 years, 9 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 | « content/common/gpu/client/command_buffer_proxy.cc ('k') | content/common/gpu/client/content_gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/content_gl_context.h
diff --git a/content/common/gpu/client/content_gl_context.h b/content/common/gpu/client/content_gl_context.h
index cb552eb70e27a4348c85f2367f2cab9e711a9759..87f4b0704078047472d6ea0a900f6744431d576c 100644
--- a/content/common/gpu/client/content_gl_context.h
+++ b/content/common/gpu/client/content_gl_context.h
@@ -25,7 +25,7 @@
class GpuChannelHost;
class CommandBufferProxy;
class GURL;
-class GpuMemoryAllocation;
+struct GpuMemoryAllocationForRenderer;
namespace gpu {
class TransferBuffer;
@@ -166,7 +166,8 @@ class ContentGLContext : public base::SupportsWeakPtr<ContentGLContext>,
// Register a callback to invoke whenever we recieve a new memory allocation.
void SetMemoryAllocationChangedCallback(
- const base::Callback<void(const GpuMemoryAllocation&)>& callback);
+ const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
+ callback);
// TODO(gman): Remove this
void DisableShaderTranslation();
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy.cc ('k') | content/common/gpu/client/content_gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698