diff options
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLGetInfo.h')
-rw-r--r-- | Source/WebCore/html/canvas/WebGLGetInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/html/canvas/WebGLGetInfo.h b/Source/WebCore/html/canvas/WebGLGetInfo.h index bc2aacc..0303399 100644 --- a/Source/WebCore/html/canvas/WebGLGetInfo.h +++ b/Source/WebCore/html/canvas/WebGLGetInfo.h @@ -1,6 +1,7 @@ /* * Copyright (C) 2009 Apple Inc. All Rights Reserved. * Copyright (C) 2009 Google Inc. All Rights Reserved. + * Copyright (C) 2012 Sony Mobile Communications AB * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -31,6 +32,7 @@ #include "Int32Array.h" #include "PlatformString.h" #include "Uint8Array.h" +#include "Uint32Array.h" #include "WebGLBuffer.h" #include "WebGLFramebuffer.h" #include "WebGLProgram.h" @@ -67,6 +69,7 @@ public: kTypeWebGLRenderbuffer, kTypeWebGLTexture, kTypeWebGLUnsignedByteArray, + kTypeWebGLUnsignedIntArray, kTypeWebGLVertexArrayObjectOES, }; @@ -88,6 +91,7 @@ public: WebGLGetInfo(PassRefPtr<WebGLRenderbuffer> value); WebGLGetInfo(PassRefPtr<WebGLTexture> value); WebGLGetInfo(PassRefPtr<Uint8Array> value); + WebGLGetInfo(PassRefPtr<Uint32Array> value); WebGLGetInfo(PassRefPtr<WebGLVertexArrayObjectOES> value); virtual ~WebGLGetInfo(); @@ -110,6 +114,7 @@ public: PassRefPtr<WebGLRenderbuffer> getWebGLRenderbuffer() const; PassRefPtr<WebGLTexture> getWebGLTexture() const; PassRefPtr<Uint8Array> getWebGLUnsignedByteArray() const; + PassRefPtr<Uint32Array> getWebGLUnsignedIntArray() const; PassRefPtr<WebGLVertexArrayObjectOES> getWebGLVertexArrayObjectOES() const; private: @@ -130,6 +135,7 @@ private: RefPtr<WebGLRenderbuffer> m_webglRenderbuffer; RefPtr<WebGLTexture> m_webglTexture; RefPtr<Uint8Array> m_webglUnsignedByteArray; + RefPtr<Uint32Array> m_webglUnsignedIntArray; RefPtr<WebGLVertexArrayObjectOES> m_webglVertexArrayObject; }; |