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

Unified Diff: content/common/gpu/client/gpu_memory_buffer_impl_mac.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_mac.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc b/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
index 478d7c97674f9ad67a2848309113dd0eb45171f0..05c6907f1f7ca936edddf89b80308127d8ef9d22 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_mac.cc
@@ -14,8 +14,8 @@ namespace content {
void GpuMemoryBufferImpl::GetSupportedTypes(
std::vector<gfx::GpuMemoryBufferType>* types) {
const gfx::GpuMemoryBufferType supported_types[] = {
- gfx::IO_SURFACE_BUFFER,
- gfx::SHARED_MEMORY_BUFFER
+ gfx::SHARED_MEMORY_BUFFER,
+ gfx::IO_SURFACE_BUFFER
};
types->assign(supported_types, supported_types + arraysize(supported_types));
}

Powered by Google App Engine
This is Rietveld 408576698