| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMIUMSubscribeUniform_h | |
| 6 #define CHROMIUMSubscribeUniform_h | |
| 7 | |
| 8 #include "modules/webgl/WebGLExtension.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class CHROMIUMValuebuffer; | |
| 13 | |
| 14 class CHROMIUMSubscribeUniform final : public WebGLExtension { | |
| 15 DEFINE_WRAPPERTYPEINFO(); | |
| 16 public: | |
| 17 static CHROMIUMSubscribeUniform* create(WebGLRenderingContextBase*); | |
| 18 static bool supported(WebGLRenderingContextBase*); | |
| 19 static const char* extensionName(); | |
| 20 | |
| 21 ~CHROMIUMSubscribeUniform() override; | |
| 22 WebGLExtensionName name() const override; | |
| 23 | |
| 24 CHROMIUMValuebuffer* createValuebufferCHROMIUM(); | |
| 25 void deleteValuebufferCHROMIUM(CHROMIUMValuebuffer*); | |
| 26 GLboolean isValuebufferCHROMIUM(CHROMIUMValuebuffer*); | |
| 27 void bindValuebufferCHROMIUM(GLenum target, CHROMIUMValuebuffer*); | |
| 28 | |
| 29 void subscribeValueCHROMIUM(GLenum target, GLenum subscription); | |
| 30 void populateSubscribedValuesCHROMIUM(GLenum target); | |
| 31 void uniformValuebufferCHROMIUM(const WebGLUniformLocation*, GLenum target,
GLenum subscription); | |
| 32 | |
| 33 private: | |
| 34 explicit CHROMIUMSubscribeUniform(WebGLRenderingContextBase*); | |
| 35 }; | |
| 36 | |
| 37 } // namespace blink | |
| 38 | |
| 39 #endif // CHROMIUMSubscribeUniform_h | |
| OLD | NEW |