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

Unified Diff: Source/core/html/canvas/OESTextureFloatLinear.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/OESTextureFloatLinear.h
diff --git a/Source/core/html/canvas/WebGLDepthTexture.h b/Source/core/html/canvas/OESTextureFloatLinear.h
similarity index 82%
copy from Source/core/html/canvas/WebGLDepthTexture.h
copy to Source/core/html/canvas/OESTextureFloatLinear.h
index 7573b1a76789df034ab996344d57e2a0986898d0..7d9145d0948232b158d4d5de7bae7cc8597bbc1e 100644
--- a/Source/core/html/canvas/WebGLDepthTexture.h
+++ b/Source/core/html/canvas/OESTextureFloatLinear.h
@@ -23,27 +23,27 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebGLDepthTexture_h
-#define WebGLDepthTexture_h
+#ifndef OESTextureFloatLinear_h
+#define OESTextureFloatLinear_h
#include "core/html/canvas/WebGLExtension.h"
-#include <wtf/PassOwnPtr.h>
+#include "wtf/PassOwnPtr.h"
namespace WebCore {
-class WebGLDepthTexture : public WebGLExtension {
+class OESTextureFloatLinear : public WebGLExtension {
public:
- static PassOwnPtr<WebGLDepthTexture> create(WebGLRenderingContext*);
+ static PassOwnPtr<OESTextureFloatLinear> create(WebGLRenderingContext*);
static bool supported(WebGLRenderingContext*);
static const char* getExtensionName();
- virtual ~WebGLDepthTexture();
+ virtual ~OESTextureFloatLinear();
virtual ExtensionName getName() const;
private:
- WebGLDepthTexture(WebGLRenderingContext*);
+ OESTextureFloatLinear(WebGLRenderingContext*);
};
} // namespace WebCore
-#endif // WebGLDepthTexture_h
+#endif // OESTextureFloatLinear_h

Powered by Google App Engine
This is Rietveld 408576698