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

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

Issue 24096029: Moved the majority of WebGL functionality into WebGLRenderingContextBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revamped extension testing, added featureLevel Created 7 years, 3 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/WebGLDrawBuffers.h
diff --git a/Source/core/html/canvas/WebGLDrawBuffers.h b/Source/core/html/canvas/WebGLDrawBuffers.h
index b002f221e2303914d5b79041143ae4166de01111..80ca0374a629c422a6d26ba91d521d85f6dc1afd 100644
--- a/Source/core/html/canvas/WebGLDrawBuffers.h
+++ b/Source/core/html/canvas/WebGLDrawBuffers.h
@@ -34,19 +34,19 @@ namespace WebCore {
class WebGLDrawBuffers : public WebGLExtension, public ScriptWrappable {
public:
- static PassRefPtr<WebGLDrawBuffers> create(WebGLRenderingContext*);
- static bool supported(WebGLRenderingContext*);
+ static PassRefPtr<WebGLDrawBuffers> create(WebGLRenderingContextBase*);
+ static bool supported(WebGLRenderingContextBase*);
static const char* getExtensionName();
virtual ~WebGLDrawBuffers();
- virtual ExtensionName getName() const;
+ virtual WebGLExtensionName getName() const;
void drawBuffersWEBGL(const Vector<GC3Denum>& buffers);
private:
- WebGLDrawBuffers(WebGLRenderingContext*);
+ WebGLDrawBuffers(WebGLRenderingContextBase*);
- static bool satisfiesWebGLRequirements(WebGLRenderingContext*);
+ static bool satisfiesWebGLRequirements(WebGLRenderingContextBase*);
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698