skia2/include/sksl/DSL.h
Ethan Nicholas b22fcaf627 Added DSL layout() support
Change-Id: I698dd607ff4676b6fb29be0a718c6073b66dc7c7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/406336
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2021-05-11 19:52:59 +00:00

33 lines
594 B
C++

/*
* Copyright 2020 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
#define SKSL_DSL
#include "include/sksl/DSLCore.h"
namespace SkSL {
namespace dsl {
using Block = DSLBlock;
using Case = DSLCase;
using Expression = DSLExpression;
using Field = DSLField;
using Function = DSLFunction;
using Layout = DSLLayout;
using Modifiers = DSLModifiers;
using Statement = DSLStatement;
using Var = DSLVar;
template<typename T> using Wrapper = DSLWrapper<T>;
} // namespace dsl
} // namespace SkSL
#endif