624a529fbd
Change-Id: I305016d305455e2b90fe904d8da93cf7735cc38e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389316 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
34 lines
496 B
C++
34 lines
496 B
C++
/*
|
|
* Copyright 2021 Google LLC.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef SKSL_DSL_RUNTIME_EFFECTS
|
|
#define SKSL_DSL_RUNTIME_EFFECTS
|
|
|
|
#include "include/sksl/DSL.h"
|
|
|
|
class SkRuntimeEffect;
|
|
|
|
namespace SkSL {
|
|
|
|
class Compiler;
|
|
|
|
namespace dsl {
|
|
|
|
#ifndef SKSL_STANDALONE
|
|
|
|
void StartRuntimeShader(SkSL::Compiler* compiler);
|
|
|
|
sk_sp<SkRuntimeEffect> EndRuntimeShader();
|
|
|
|
#endif
|
|
|
|
} // namespace dsl
|
|
|
|
} // namespace SkSL
|
|
|
|
#endif
|