summaryrefslogtreecommitdiffstats
path: root/WebCore/html/canvas/WebGLBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/canvas/WebGLBuffer.h')
-rw-r--r--WebCore/html/canvas/WebGLBuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/html/canvas/WebGLBuffer.h b/WebCore/html/canvas/WebGLBuffer.h
index e1fec47..1280cf9 100644
--- a/WebCore/html/canvas/WebGLBuffer.h
+++ b/WebCore/html/canvas/WebGLBuffer.h
@@ -41,7 +41,9 @@ namespace WebCore {
static PassRefPtr<WebGLBuffer> create(WebGLRenderingContext*);
bool associateBufferData(int size);
+ bool associateBufferData(ArrayBuffer* array);
bool associateBufferData(ArrayBufferView* array);
+ bool associateBufferSubData(long offset, ArrayBuffer* array);
bool associateBufferSubData(long offset, ArrayBufferView* array);
unsigned byteLength() const;