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

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

Issue 2786103003: Add half-float IOSurface GpuMemoryBuffer support (Closed)
Patch Set: Re-add software support Created 3 years, 9 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 aefed362e78fa50f9eb65c2443ab51347a0a3478..90c4bac07b5e647c9144c99bb49999228e2cf2a7 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -289,6 +289,8 @@ const char* BufferFormatToString(gfx::BufferFormat format) {
return "BGRX_8888";
case gfx::BufferFormat::BGRA_8888:
return "BGRA_8888";
+ case gfx::BufferFormat::RGBA_F16:
+ return "RGBA_F16";
case gfx::BufferFormat::YVU_420:
return "YVU_420";
case gfx::BufferFormat::YUV_420_BIPLANAR:

Powered by Google App Engine
This is Rietveld 408576698