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; |
} |