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

Unified Diff: gpu/command_buffer/service/texture_manager.cc

Issue 2767063002: 16-bit video upload to float: intermediate R16_EXT and copy to float. (Closed)
Patch Set: Rebase. Comments fix. Thanks kbr@. Created 3 years, 8 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: gpu/command_buffer/service/texture_manager.cc
diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
index 3a655827f75efa7ac3312f866295dc400fda5642..b4fa9fc48bcd7a14fcbc495f263f0eef5a450311 100644
--- a/gpu/command_buffer/service/texture_manager.cc
+++ b/gpu/command_buffer/service/texture_manager.cc
@@ -216,6 +216,9 @@ class FormatTypeValidator {
// Exposed by GL_APPLE_texture_format_BGRA8888 and
// GL_EXT_texture_format_BGRA8888
{GL_BGRA_EXT, GL_BGRA_EXT, GL_UNSIGNED_BYTE},
+
+ // Exposed by GL_EXT_texture_norm16
+ {GL_R16_EXT, GL_RED, GL_UNSIGNED_SHORT},
};
static const FormatType kSupportedFormatTypesES2Only[] = {

Powered by Google App Engine
This is Rietveld 408576698