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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1251693003: cc: Fix the format of GpuMemoryBuffer for SurfaceTexture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc: Fix the format of GpuMemoryBuffer for SurfaceTexture Created 5 years, 5 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/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index e6df625995260a1880ca0af522c5ceaff11abee8..946faec62ea0e24f1baeb83096e1650be972f021 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1146,7 +1146,11 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
// compositor for each usage.
// crbug.com/490362
BrowserGpuMemoryBufferManager::GetImageTextureTarget(
+#if defined(OS_ANDROID)
+ gfx::GpuMemoryBuffer::RGBA_8888,
+#else
reveman 2015/07/23 07:48:39 Let's get this fixed properly instead. The problem
gfx::GpuMemoryBuffer::BGRA_8888,
+#endif
// TODO(danakj): When one-copy supports partial update, change
// this usage to PERSISTENT_MAP for one-copy.
gfx::GpuMemoryBuffer::MAP)));
« 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