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

Unified Diff: ui/gfx/gpu_memory_buffer.h

Issue 1051503003: Add R_8 GPU memory buffers format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix validation problem in StrideInBytes. Deals with GL_RED/GL_LUMINANCE. Created 5 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: ui/gfx/gpu_memory_buffer.h
diff --git a/ui/gfx/gpu_memory_buffer.h b/ui/gfx/gpu_memory_buffer.h
index e56009f45d075dc8468dbe6b13be881ea72a14a3..b0e66ac67140bf88963f9793202cf8dd7280e7da 100644
--- a/ui/gfx/gpu_memory_buffer.h
+++ b/ui/gfx/gpu_memory_buffer.h
@@ -48,6 +48,7 @@ class GFX_EXPORT GpuMemoryBuffer {
DXT1,
DXT5,
ETC1,
+ R_8,
RGBA_8888,
RGBX_8888,
BGRA_8888,

Powered by Google App Engine
This is Rietveld 408576698