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

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

Issue 699073004: content: Add command line flag for native GPU memory buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-impl-unittests
Patch Set: rebase and use correct texture target Created 6 years, 1 month 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/client/gpu_memory_buffer_impl_android.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_android.cc b/content/common/gpu/client/gpu_memory_buffer_impl_android.cc
index cc82b06c41d3bd4f8f0d166b316caccd171a0422..93f5558410813a46c3b9cd6b900e504fa50fafcb 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_android.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_android.cc
@@ -14,8 +14,8 @@ namespace content {
void GpuMemoryBufferImpl::GetSupportedTypes(
std::vector<gfx::GpuMemoryBufferType>* types) {
const gfx::GpuMemoryBufferType supported_types[] = {
- gfx::SURFACE_TEXTURE_BUFFER,
- gfx::SHARED_MEMORY_BUFFER
+ gfx::SHARED_MEMORY_BUFFER,
+ gfx::SURFACE_TEXTURE_BUFFER
piman 2014/11/19 02:39:40 I would prefer having the decision about the types
reveman 2014/11/20 00:53:02 I think my other refactor will result in what you'
};
types->assign(supported_types, supported_types + arraysize(supported_types));
}

Powered by Google App Engine
This is Rietveld 408576698