mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL flips the switch to make Sky use Dart. TBR=eseidel@chromium.org BUG=454613 Review URL: https://codereview.chromium.org/922893002
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
// Copyright 2014 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 SKY_ENGINE_CORE_HTML_CANVAS_WEBGLCOMPRESSEDTEXTUREETC1_H_
|
|
#define SKY_ENGINE_CORE_HTML_CANVAS_WEBGLCOMPRESSEDTEXTUREETC1_H_
|
|
|
|
#include "sky/engine/tonic/dart_wrappable.h"
|
|
#include "sky/engine/core/html/canvas/WebGLExtension.h"
|
|
#include "sky/engine/wtf/PassRefPtr.h"
|
|
|
|
namespace blink {
|
|
|
|
class WebGLTexture;
|
|
|
|
class WebGLCompressedTextureETC1 final : public WebGLExtension, public DartWrappable {
|
|
DEFINE_WRAPPERTYPEINFO();
|
|
public:
|
|
static PassRefPtr<WebGLCompressedTextureETC1> create(WebGLRenderingContextBase*);
|
|
static bool supported(WebGLRenderingContextBase*);
|
|
static const char* extensionName();
|
|
|
|
virtual ~WebGLCompressedTextureETC1();
|
|
virtual WebGLExtensionName name() const override;
|
|
|
|
private:
|
|
explicit WebGLCompressedTextureETC1(WebGLRenderingContextBase*);
|
|
};
|
|
|
|
} // namespace blink
|
|
|
|
#endif // SKY_ENGINE_CORE_HTML_CANVAS_WEBGLCOMPRESSEDTEXTUREETC1_H_
|