| Index: Source/core/html/canvas/WebGLSharedResources.idl
|
| diff --git a/Source/core/html/canvas/WebGLCompressedTextureATC.idl b/Source/core/html/canvas/WebGLSharedResources.idl
|
| similarity index 69%
|
| copy from Source/core/html/canvas/WebGLCompressedTextureATC.idl
|
| copy to Source/core/html/canvas/WebGLSharedResources.idl
|
| index e627f217c217fdd3403aa76e4abcdfc78388d075..150a3bc0238437175e7e3cb8952f9103f5e56792 100644
|
| --- a/Source/core/html/canvas/WebGLCompressedTextureATC.idl
|
| +++ b/Source/core/html/canvas/WebGLSharedResources.idl
|
| @@ -23,12 +23,20 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +typedef unsigned long GLenum;
|
| +
|
| [
|
| - NoInterfaceObject,
|
| DoNotCheckConstants
|
| -] interface WebGLCompressedTextureATC {
|
| - /* Compressed Texture Formats */
|
| - const unsigned long COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
|
| - const unsigned long COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
|
| - const unsigned long COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
|
| +] interface WebGLSharedResources {
|
| + const GLenum READ_ONLY = 0x0001;
|
| + const GLenum EXCLUSIVE = 0x0004;
|
| +
|
| + const GLenum READ_FRAMEBUFFER = 0x8CA8;
|
| + const GLenum DRAW_FRAMEBUFFER = 0x8CA9;
|
| +
|
| + readonly attribute WebGLShareGroup group;
|
| +
|
| + [StrictTypeChecking, RaisesException] long acquireSharedResource(WebGLSharedObject object, GLenum mode, WebGLAcquireSharedResourceCallback callback);
|
| + [StrictTypeChecking, RaisesException] void releaseSharedResource(WebGLSharedObject object);
|
| + [StrictTypeChecking] void cancelAcquireSharedResource(long id);
|
| };
|
|
|