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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 10083056: GpuMemoryManager suggests values for renderer Contents Texture Managers' preferred memory limit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 4f0881843804ef595e2d5134e51ad731b03c34ea..712e817915ad202f0f0d8782d715764110ee0ccc 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -146,6 +146,8 @@ class GpuCommandBufferStub
return (surface_state_.get()) ? surface_state_->surface_id : 0;
}
+ bool is_ui_stub() const { return handle_.handle; }
mmocny 2012/04/18 20:43:11 This was a quick solution to a problem. It warren
piman 2012/04/18 22:20:14 nak... this is not true on non-aura (FTM even on a
mmocny 2012/04/20 18:37:55 Yes, ideally incoming allocation hints are suffici
+
// Identifies the various GpuCommandBufferStubs in the GPU process belonging
// to the same renderer process.
int32 route_id() const { return route_id_; }

Powered by Google App Engine
This is Rietveld 408576698