| Index: Source/core/html/canvas/WebGLSampler.h
|
| diff --git a/Source/core/html/canvas/WebGLSampler.h b/Source/core/html/canvas/WebGLSampler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..25ff6a6fe25158355e6c0f28841b94ceb000b8f0
|
| --- /dev/null
|
| +++ b/Source/core/html/canvas/WebGLSampler.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebGLSampler_h
|
| +#define WebGLSampler_h
|
| +
|
| +#include "core/html/canvas/WebGLSharedObject.h"
|
| +#include "wtf/PassRefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebGL2RenderingContextBase;
|
| +
|
| +class WebGLSampler : public WebGLSharedObject {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +public:
|
| + virtual ~WebGLSampler();
|
| +
|
| + static PassRefPtrWillBeRawPtr<WebGLSampler> create(WebGL2RenderingContextBase*);
|
| +
|
| +protected:
|
| + WebGLSampler(WebGL2RenderingContextBase*);
|
| +
|
| + virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, Platform3DObject);
|
| +
|
| +private:
|
| + virtual bool isSampler() const { return true; }
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebGLSampler_h
|
|
|