Home
last modified time | relevance | path

Searched refs:kTestPad (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/gm/
Dtexelsubset.cpp75 int w = kTestPad + 2*kN*(kImageSize.width() + 2*kDrawPad + kTestPad); in onISize()
76 int h = kTestPad + 2*kN*(kImageSize.height() + 2*kDrawPad + kTestPad); in onISize()
138 SkScalar y = kDrawPad + kTestPad; in onDraw()
142 SkScalar x = kDrawPad + kTestPad; in onDraw()
175 x += localRect.width() + kTestPad; in onDraw()
195 SkScalarFloorToScalar(drawRect.right() + kTestPad/2.f) + 0.5f; in onDraw()
198 x += localRect.width() + kTestPad; in onDraw()
201 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw()
204 y += localRect.height() + kTestPad; in onDraw()
209 SkScalar midY = SkScalarFloorToScalar(drawRect.bottom() + kTestPad/2.f) + 0.5f; in onDraw()
[all …]
Dyuvtorgbsubset.cpp132 SkScalar y = kTestPad; in onDraw()
135 SkScalar x = kTestPad; in onDraw()
158 x += rect.width() + kTestPad; in onDraw()
161 y += rect.height() + kTestPad; in onDraw()
171 inline static constexpr SkScalar kTestPad = 10.f; member in skiagm::YUVtoRGBSubsetEffect
/third_party/flutter/skia/gm/
Dyuvtorgbeffect.cpp116 SkScalar y = kDrawPad + kTestPad + space * kColorSpaceOffset; in onDraw()
117 SkScalar x = kDrawPad + kTestPad; in onDraw()
144 x += renderRect.width() + kTestPad; in onDraw()
154 static constexpr SkScalar kTestPad = 10.f; member in skiagm::YUVtoRGBEffect
242 SkScalar y = kDrawPad + kTestPad + space * kColorSpaceOffset; in onDraw()
243 SkScalar x = kDrawPad + kTestPad; in onDraw()
266 static constexpr SkScalar kTestPad = 10.f; member in skiagm::YUVNV12toRGBEffect
291 return SkISize::Make((YSIZE + kTestPad) * 3 + kDrawPad, (YSIZE + kTestPad) * 2 + kDrawPad); in onISize()
341 SkScalar y = kDrawPad + kTestPad; in onDraw()
343 SkScalar x = kDrawPad + kTestPad; in onDraw()
[all …]
Dtexturedomaineffect.cpp71 kTestPad * GrTextureDomain::kModeCount; in onISize()
130 SkScalar y = kDrawPad + kTestPad; in onDraw()
133 SkScalar x = kDrawPad + kTestPad; in onDraw()
157 x += renderRect.width() + kTestPad; in onDraw()
159 y += renderRect.height() + kTestPad; in onDraw()
167 static constexpr SkScalar kTestPad = 10.f; member in skiagm::TextureDomainEffect