OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 typedef unsigned long GLenum; | 5 typedef unsigned long GLenum; |
6 | 6 |
7 [ | 7 [ |
8 DoNotCheckConstants, | 8 DoNotCheckConstants, |
9 NoInterfaceObject, | 9 NoInterfaceObject, |
10 TypeChecking=Interface, | 10 TypeChecking=Interface, |
11 WillBeGarbageCollected, | 11 GarbageCollected, |
12 SetWrapperReferenceFrom=canvas, | 12 SetWrapperReferenceFrom=canvas, |
13 ] interface CHROMIUMSubscribeUniform { | 13 ] interface CHROMIUMSubscribeUniform { |
14 const GLenum SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; | 14 const GLenum SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B; |
15 | 15 |
16 const GLenum MOUSE_POSITION_CHROMIUM = 0x924C; | 16 const GLenum MOUSE_POSITION_CHROMIUM = 0x924C; |
17 | 17 |
18 CHROMIUMValuebuffer createValuebufferCHROMIUM(); | 18 CHROMIUMValuebuffer createValuebufferCHROMIUM(); |
19 void deleteValuebufferCHROMIUM(CHROMIUMValuebuffer? buffer); | 19 void deleteValuebufferCHROMIUM(CHROMIUMValuebuffer? buffer); |
20 boolean isValuebufferCHROMIUM(CHROMIUMValuebuffer? buffer); | 20 boolean isValuebufferCHROMIUM(CHROMIUMValuebuffer? buffer); |
21 void bindValuebufferCHROMIUM(GLenum target, CHROMIUMValuebuffer? buffer); | 21 void bindValuebufferCHROMIUM(GLenum target, CHROMIUMValuebuffer? buffer); |
22 | 22 |
23 void subscribeValueCHROMIUM(GLenum target, GLenum subscriptions); | 23 void subscribeValueCHROMIUM(GLenum target, GLenum subscriptions); |
24 void populateSubscribedValuesCHROMIUM(GLenum target); | 24 void populateSubscribedValuesCHROMIUM(GLenum target); |
25 void uniformValuebufferCHROMIUM(WebGLUniformLocation? location, GLenum targe
t, GLenum subscription); | 25 void uniformValuebufferCHROMIUM(WebGLUniformLocation? location, GLenum targe
t, GLenum subscription); |
26 }; | 26 }; |
OLD | NEW |