Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebGraphicsContext3D.h
index 4d50b6d..fa877dd 100644 (file)
@@ -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; }