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

Unified Diff: content/common/gpu/gpu_channel.cc

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_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 96c3553010c5a84133af5f625ad8c03200a06799..2ef95a71725fd0bff33160553d684b85f999d290 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -128,7 +128,10 @@ void GpuChannel::AppendAllCommandBufferStubs(
std::vector<GpuCommandBufferStubBase*>& stubs) {
for (StubMap::Iterator<GpuCommandBufferStub> it(&stubs_);
!it.IsAtEnd(); it.Advance()) {
- stubs.push_back(it.GetCurrentValue());
+ GpuCommandBufferStub* stub = it.GetCurrentValue();
nduca 2012/04/18 23:16:28 Is the idea here that we shouldnt give management
mmocny 2012/04/20 18:37:55 Yes, until we get allocation hints I didn't want t
+ if (stub->is_ui_stub())
+ continue;
+ stubs.push_back(stub);
}
}
« no previous file with comments | « no previous file | content/common/gpu/gpu_command_buffer_stub.h » ('j') | content/common/gpu/gpu_command_buffer_stub.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698