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

Unified Diff: Source/core/html/canvas/WebGLRenderingContext.h

Issue 14860016: Implement OES_texture_float_linear and OES_texture_half_float_linear extensions in WebGL. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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/html/canvas/WebGLRenderingContext.h
diff --git a/Source/core/html/canvas/WebGLRenderingContext.h b/Source/core/html/canvas/WebGLRenderingContext.h
index 5314306c138a2396bd33bbcb2c1fd2d21cfa6209..04269b1c394ede037cf02e4257a9f5504120d3a3 100644
--- a/Source/core/html/canvas/WebGLRenderingContext.h
+++ b/Source/core/html/canvas/WebGLRenderingContext.h
@@ -52,6 +52,8 @@ class IntSize;
class OESStandardDerivatives;
class OESTextureFloat;
class OESTextureHalfFloat;
+class OESTextureFloatLinear;
+class OESTextureHalfFloatLinear;
class OESVertexArrayObject;
class OESElementIndexUint;
class WebGLActiveInfo;
@@ -518,7 +520,9 @@ public:
OwnPtr<EXTDrawBuffers> m_extDrawBuffers;
OwnPtr<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic;
OwnPtr<OESTextureFloat> m_oesTextureFloat;
+ OwnPtr<OESTextureFloatLinear> m_oesTextureFloatLinear;
OwnPtr<OESTextureHalfFloat> m_oesTextureHalfFloat;
+ OwnPtr<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinear;
OwnPtr<OESStandardDerivatives> m_oesStandardDerivatives;
OwnPtr<OESVertexArrayObject> m_oesVertexArrayObject;
OwnPtr<OESElementIndexUint> m_oesElementIndexUint;
@@ -555,8 +559,7 @@ public:
void texSubImage2DBase(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint yoffset, GC3Dsizei width, GC3Dsizei height, GC3Denum format, GC3Denum type, const void* pixels, ExceptionCode&);
void texSubImage2DImpl(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint yoffset, GC3Denum format, GC3Denum type, Image*, GraphicsContext3D::ImageHtmlDomSource, bool flipY, bool premultiplyAlpha, ExceptionCode&);
- void handleNPOTTextures(const char*, bool);
-
+ void handleTexturesCompleteness(const char*, bool);
Ken Russell (switch to Gerrit) 2013/05/13 20:00:35 Grammar: handleTextureCompleteness.
void createFallbackBlackTextures1x1();
// Helper function for copyTex{Sub}Image, check whether the internalformat

Powered by Google App Engine
This is Rietveld 408576698