effd0aeccd
This reverts commit37c03c8d73
. Reason for revert: using vector<> to avoid skia:13339 Original change's description: > Revert "Remove DSLWrapper helper class." > > This reverts commit3b4f862d05
. > > Reason for revert: might have caused chromium:1326848 > > Original change's description: > > Remove DSLWrapper helper class. > > > > Without an `operator=` on our expressions and variables, we no longer > > need to wrap all our expressions with a helper. > > > > Change-Id: I8110079f61c9ad01997f7c4b376db223dc4b6e17 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541063 > > Commit-Queue: John Stiles <johnstiles@google.com> > > Auto-Submit: John Stiles <johnstiles@google.com> > > Reviewed-by: Brian Osman <brianosman@google.com> > > Change-Id: I7efb3004913f7c85dc551d9740a6b31971de52d2 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541736 > Auto-Submit: John Stiles <johnstiles@google.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Change-Id: If6dd5d3187a4623ae732335b8215f4350e45cd2b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/542137 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
38 lines
753 B
C++
38 lines
753 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/DSLBlock.h"
|
|
#include "include/sksl/DSLCore.h"
|
|
#include "include/sksl/DSLExpression.h"
|
|
#include "include/sksl/DSLFunction.h"
|
|
#include "include/sksl/DSLType.h"
|
|
|
|
namespace SkSL {
|
|
|
|
namespace dsl {
|
|
|
|
using Block = DSLBlock;
|
|
using Case = DSLCase;
|
|
using Expression = DSLExpression;
|
|
using Field = DSLField;
|
|
using Function = DSLFunction;
|
|
using GlobalVar = DSLGlobalVar;
|
|
using Layout = DSLLayout;
|
|
using Modifiers = DSLModifiers;
|
|
using Parameter = DSLParameter;
|
|
using Statement = DSLStatement;
|
|
using Var = DSLVar;
|
|
|
|
} // namespace dsl
|
|
|
|
} // namespace SkSL
|
|
|
|
#endif
|