public:
virtual ~WebGraphicsContext3DImpl();
- // Must be called before any of the following methods. Permanently binds to
- // the first calling thread. Returns false if the graphics context fails to
- // initialize. Do not call from more than one thread.
- virtual bool InitializeOnCurrentThread() = 0;
-
//----------------------------------------------------------------------
// WebGraphicsContext3D methods
virtual WebGLId createAndConsumeTextureCHROMIUM(WGC3Denum target,
const WGC3Dbyte* mailbox);
+ virtual void genValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids);
+ virtual WebGLId createValuebufferCHROMIUM();
+ virtual void deleteValuebuffersCHROMIUM(WGC3Dsizei count, WebGLId* ids);
+ virtual void deleteValuebufferCHROMIUM(WebGLId);
+ virtual void bindValuebufferCHROMIUM(WGC3Denum target, WebGLId valuebuffer);
+ virtual WGC3Dboolean isValuebufferCHROMIUM(WebGLId renderbuffer);
+ virtual void subscribeValueCHROMIUM(WGC3Denum target, WGC3Denum subscription);
+ virtual void populateSubscribedValuesCHROMIUM(WGC3Denum target);
+ virtual void uniformValuebufferCHROMIUM(WGC3Dint location,
+ WGC3Denum target,
+ WGC3Denum subscription);
+
virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
virtual void popGroupMarkerEXT();
WGC3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount);
virtual void vertexAttribDivisorANGLE(WGC3Duint index, WGC3Duint divisor);
- // GL_CHROMIUM_map_image
- virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width,
- WGC3Dsizei height,
- WGC3Denum internalformat,
- WGC3Denum usage);
+ // GL_CHROMIUM_gpu_memory_buffer_image
+ virtual WGC3Duint createGpuMemoryBufferImageCHROMIUM(WGC3Dsizei width,
+ WGC3Dsizei height,
+ WGC3Denum internalformat,
+ WGC3Denum usage);
virtual void destroyImageCHROMIUM(WGC3Duint image_id);
- virtual void getImageParameterivCHROMIUM(
- WGC3Duint image_id, WGC3Denum pname, WGC3Dint* params);
- virtual void* mapImageCHROMIUM(WGC3Duint image_id);
- virtual void unmapImageCHROMIUM(WGC3Duint image_id);
// GL_EXT_multisampled_render_to_texture
virtual void framebufferTexture2DMultisampleEXT(WGC3Denum target,