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

Unified Diff: content/common/gpu/client/command_buffer_proxy.cc

Issue 9581034: Disable the transfer_buffer_ cache by forcing it to be empty; work around (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy.cc
===================================================================
--- content/common/gpu/client/command_buffer_proxy.cc (revision 124003)
+++ content/common/gpu/client/command_buffer_proxy.cc (working copy)
@@ -309,7 +309,12 @@
buffer.ptr = shared_memory->memory();
buffer.size = size;
buffer.shared_memory = shared_memory;
+ // todo(apatrick,nfullagar): re-enable when cache sync issues are solved.
+ // see: http://code.google.com/p/chromium/issues/detail?id=116285
+#define DISABLE_TRANSFER_BUFFER_CACHE
+#ifndef DISABLE_TRANSFER_BUFFER_CACHE
transfer_buffers_[id] = buffer;
piman 2012/03/05 22:55:13 How is the SharedMemory ever destroyed and unmappe
apatrick_chromium 2012/03/05 23:00:38 Good point. Now the shared memory handles won't ge
+#endif
return buffer;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698