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

Unified Diff: Source/core/platform/graphics/GraphicsContext3D.h

Issue 13842017: Add OES_texture_half_float extension support in WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move test cases to directory LayoutTest/webgl/ Created 7 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: Source/core/platform/graphics/GraphicsContext3D.h
diff --git a/Source/core/platform/graphics/GraphicsContext3D.h b/Source/core/platform/graphics/GraphicsContext3D.h
index 1a391dec27bcaa07d0432ca5c64357ae088df863..2fd3a254c0bec291fa89f3c42ad555d69745eabe 100644
--- a/Source/core/platform/graphics/GraphicsContext3D.h
+++ b/Source/core/platform/graphics/GraphicsContext3D.h
@@ -521,10 +521,12 @@ public:
DataFormatRGBA8 = 0,
DataFormatRGBA16Little,
DataFormatRGBA16Big,
+ DataFormatRGBA16F,
DataFormatRGBA32F,
DataFormatRGB8,
DataFormatRGB16Little,
DataFormatRGB16Big,
+ DataFormatRGB16F,
DataFormatRGB32F,
DataFormatBGR8,
DataFormatBGRA8,
@@ -540,10 +542,12 @@ public:
DataFormatR8,
DataFormatR16Little,
DataFormatR16Big,
+ DataFormatR16F,
DataFormatR32F,
DataFormatRA8,
DataFormatRA16Little,
DataFormatRA16Big,
+ DataFormatRA16F,
DataFormatRA32F,
DataFormatAR8,
DataFormatAR16Little,
@@ -551,6 +555,7 @@ public:
DataFormatA8,
DataFormatA16Little,
DataFormatA16Big,
+ DataFormatA16F,
DataFormatA32F,
DataFormatNumFormats
};
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContext.cpp ('k') | Source/core/platform/graphics/GraphicsContext3D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698