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

Unified Diff: content/browser/gpu/gpu_internals_ui.cc

Issue 2376293003: gpu: support RG_88 GpuMemoryBuffer (Closed)
Patch Set: resolve hubbe's review Created 4 years, 2 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
Index: content/browser/gpu/gpu_internals_ui.cc
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index 23aed354f8d19bb7a764e7c83eeea000b10c9cf6..7d941702756356eb2b7f6c72660ce8d33a6ee59a 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -270,6 +270,8 @@ const char* BufferFormatToString(gfx::BufferFormat format) {
return "ETC1";
case gfx::BufferFormat::R_8:
return "R_8";
+ case gfx::BufferFormat::RG_88:
+ return "RG_88";
case gfx::BufferFormat::BGR_565:
return "BGR_565";
case gfx::BufferFormat::RGBA_4444:
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698