"fix" formatting of auto generated cpp from fp
TBR: egdaniel@google.com Change-Id: I24da4ec120ccc46383f7e8041d78de7ed1e5312c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260900 Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
f64e958e89
commit
60931454f2
@ -111,7 +111,7 @@ GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrAlphaThresholdFragmentProcessor);
|
||||
#if GR_TEST_UTILS
|
||||
std::unique_ptr<GrFragmentProcessor> GrAlphaThresholdFragmentProcessor::TestCreate(
|
||||
GrProcessorTestData* testData) {
|
||||
auto [maskProxy, ct, at] = testData->randomAlphaOnlyProxy();
|
||||
auto[maskProxy, ct, at] = testData->randomAlphaOnlyProxy();
|
||||
// Make the inner and outer thresholds be in (0, 1) exclusive and be sorted correctly.
|
||||
float innerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f;
|
||||
float outerThresh = testData->fRandom->nextUScalar1() * .99f + 0.005f;
|
||||
|
@ -178,7 +178,7 @@ const GrFragmentProcessor::TextureSampler& GrMagnifierEffect::onTextureSampler(i
|
||||
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrMagnifierEffect);
|
||||
#if GR_TEST_UTILS
|
||||
std::unique_ptr<GrFragmentProcessor> GrMagnifierEffect::TestCreate(GrProcessorTestData* d) {
|
||||
auto [proxy, ct, at] = d->randomProxy();
|
||||
auto[proxy, ct, at] = d->randomProxy();
|
||||
const int kMaxWidth = 200;
|
||||
const int kMaxHeight = 200;
|
||||
const SkScalar kMaxInset = 20.0f;
|
||||
|
@ -72,7 +72,7 @@ GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrSimpleTextureEffect);
|
||||
#if GR_TEST_UTILS
|
||||
std::unique_ptr<GrFragmentProcessor> GrSimpleTextureEffect::TestCreate(
|
||||
GrProcessorTestData* testData) {
|
||||
auto [proxy, ct, at] = testData->randomProxy();
|
||||
auto[proxy, ct, at] = testData->randomProxy();
|
||||
GrSamplerState::WrapMode wrapModes[2];
|
||||
GrTest::TestWrapModes(testData->fRandom, wrapModes);
|
||||
if (!testData->caps()->npotTextureTileSupport()) {
|
||||
|
Loading…
Reference in New Issue
Block a user