| // Copyright 2015 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_SAMPLER_H_ |
| #define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_SAMPLER_H_ |
| |
| #include "third_party/blink/renderer/modules/webgl/webgl_object.h" |
| |
| namespace blink { |
| |
| class WebGLSampler : public WebGLObject { |
| DEFINE_WRAPPERTYPEINFO(); |
| |
| public: |
| explicit WebGLSampler(WebGLContextObjectSupport*); |
| ~WebGLSampler() override; |
| |
| protected: |
| void DeleteObjectImpl(gpu::gles2::GLES2Interface*) override; |
| }; |
| |
| } // namespace blink |
| |
| #endif // THIRD_PARTY_BLINK_RENDERER_MODULES_WEBGL_WEBGL_SAMPLER_H_ |