| Index: public/platform/WebGraphicsContext3D.h
|
| diff --git a/public/platform/WebGraphicsContext3D.h b/public/platform/WebGraphicsContext3D.h
|
| index 4d50b6dab76a33bf1e5dc0ccb954b241f2a86e9f..fa877dd7e994c1a329f8e1a8ea0b5d21d8a25c2e 100644
|
| --- a/public/platform/WebGraphicsContext3D.h
|
| +++ b/public/platform/WebGraphicsContext3D.h
|
| @@ -64,12 +64,6 @@ typedef WGC3Duint WebGLId;
|
| // GraphicsContext3D in order to implement WebGL. Nearly all of the
|
| // methods exposed on this interface map directly to entry points in
|
| // the OpenGL ES 2.0 API.
|
| -//
|
| -// Creating a WebGraphicsContext does not make it current, or guarantee
|
| -// that the context has been created successfully. Use
|
| -// makeContextCurrent() to complete initialization of the context, treating
|
| -// a false return value as indication that the context could not be created
|
| -// successfully.
|
| class WebGraphicsContext3D : public WebNonCopyable {
|
| public:
|
| // Return value from getActiveUniform and getActiveAttrib.
|
| @@ -144,10 +138,6 @@ public:
|
| // This destructor needs to be public so that using classes can destroy instances if initialization fails.
|
| virtual ~WebGraphicsContext3D() { }
|
|
|
| - // Makes the OpenGL context current on the current thread. Returns true on
|
| - // success.
|
| - virtual bool makeContextCurrent() = 0;
|
| -
|
| // Each flush or finish is assigned an unique ID. The larger
|
| // the ID number, the more recently the context has been flushed.
|
| virtual uint32_t lastFlushID() { return 0; }
|
|
|