37c03c8d73
This reverts commit 3b4f862d05
.
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>
39 lines
805 B
C++
39 lines
805 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;
|
|
template<typename T> using Wrapper = DSLWrapper<T>;
|
|
|
|
} // namespace dsl
|
|
|
|
} // namespace SkSL
|
|
|
|
#endif
|