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

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

Issue 2920793005: gpu: support R16 GPUMemoryBuffer (Closed)
Patch Set: mac fix Created 3 years, 6 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 45f2f6d2745f5092a74d04c79b80a0f0bdbf2171..69f7deadab84450c79187758c1c85cb593970f6e 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::R_16:
+ return "R_16";
case gfx::BufferFormat::RG_88:
return "RG_88";
case gfx::BufferFormat::BGR_565:

Powered by Google App Engine
This is Rietveld 408576698