Home
last modified time | relevance | path

Searched refs:kSteps (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/tests/
DSRGBTest.cpp78 static const int kSteps = 128; in DEF_TEST() local
79 SkColor4f rgba[kSteps]; in DEF_TEST()
82 float scale = 10000.0f / (3*kSteps); in DEF_TEST()
91 for (int i = 0; i < kSteps; i++) { in DEF_TEST()
109 p.run(0,0,kSteps,1); in DEF_TEST()
116 for (int i = 0; i < kSteps; i++) { in DEF_TEST()
/third_party/flutter/skia/tests/
DSRGBTest.cpp84 static const int kSteps = 128; in test_roundtripping() local
85 SkColor4f rgba[kSteps]; in test_roundtripping()
88 float scale = range / (3*kSteps); in test_roundtripping()
97 for (int i = 0; i < kSteps; i++) { in test_roundtripping()
114 p.run(0,0,kSteps,1); in test_roundtripping()
121 for (int i = 0; i < kSteps; i++) { in test_roundtripping()
/third_party/flutter/skia/gm/
Dcolorfilters.cpp135 const auto dh = (std::get<1>(tst.h) - std::get<0>(tst.h)) / (kSteps - 1), in onDraw()
136 ds = (std::get<1>(tst.s) - std::get<0>(tst.s)) / (kSteps - 1), in onDraw()
137 dl = (std::get<1>(tst.l) - std::get<0>(tst.l)) / (kSteps - 1); in onDraw()
143 for (size_t i = 0; i < kSteps; ++i) { in onDraw()
161 static constexpr size_t kSteps = 7; member in HSLColorFilterGM
/third_party/skia/gm/
Dcolorfilters.cpp133 const auto dh = (std::get<1>(tst.h) - std::get<0>(tst.h)) / (kSteps - 1), in onDraw()
134 ds = (std::get<1>(tst.s) - std::get<0>(tst.s)) / (kSteps - 1), in onDraw()
135 dl = (std::get<1>(tst.l) - std::get<0>(tst.l)) / (kSteps - 1); in onDraw()
141 for (size_t i = 0; i < kSteps; ++i) { in onDraw()
159 inline static constexpr size_t kSteps = 7; member in HSLColorFilterGM
Dclip_sierpinski_region.cpp19 static constexpr int kSteps = 4; variable
22 for (int i = 0; i < kSteps; ++i, n*=3, s/=3.f) {
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderTests.cpp48 uint32_t const kSteps = 19; in TEST_P() local
50 wgpu::Buffer buffer = CreateBuffer(kSteps); in TEST_P()
102 EXPECT_BUFFER_U32_RANGE_EQ(expected.data(), buffer, 0, kSteps); in TEST_P()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_lens_correction.cpp891 const uint32 kSteps = 128; in MaxSrcRadiusGap() local
893 const real64 kNorm = kMaxValue / real64 (kSteps - 1); in MaxSrcRadiusGap()
898 for (uint32 i = 0; i < kSteps; i++) in MaxSrcRadiusGap()