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

Unified Diff: components/exo/buffer.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: components/exo/buffer.cc
diff --git a/components/exo/buffer.cc b/components/exo/buffer.cc
index d2141c9d05025cbcada4f5af62332964581d9922..dfb04528f8848e2a920a23f661ba916213c7d4a8 100644
--- a/components/exo/buffer.cc
+++ b/components/exo/buffer.cc
@@ -46,6 +46,7 @@ GLenum GLInternalFormat(gfx::BufferFormat format) {
GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, // DXT5
GL_ETC1_RGB8_OES, // ETC1
GL_R8_EXT, // R_8
+ GL_R16_EXT, // R_16
GL_RG8_EXT, // RG_88
GL_RGB, // BGR_565
GL_RGBA, // RGBA_4444
« no previous file with comments | « no previous file | content/browser/gpu/gpu_internals_ui.cc » ('j') | gpu/command_buffer/client/gles2_implementation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698