Home
last modified time | relevance | path

Searched refs:kTileSize (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/gm/
Dbitmaptiled.cpp24 const int kTileSize = 1 << 10; in draw_tile_bitmap_with_fractional_offset() local
28 const int kBitmapLongEdge = 7 * kTileSize; in draw_tile_bitmap_with_fractional_offset()
29 const int kBitmapShortEdge = 1 * kTileSize; in draw_tile_bitmap_with_fractional_offset()
52 SkRect::MakeXYWH(0, (kTileSize - 50) + offset, 32, 1124.0f), in draw_tile_bitmap_with_fractional_offset()
58 SkRect::MakeXYWH((kTileSize - 50) + offset, 0, 1124, 32), in draw_tile_bitmap_with_fractional_offset()
Drsxtext.cpp87 static constexpr SkISize kTileSize = { 30, 30 }; in make_shader() local
88 auto surface = SkSurface::MakeRasterN32Premul(kTileSize.width(), kTileSize.height()); in make_shader()
95 ->drawRect({0, 0, kTileSize.width()*0.9f, kTileSize.height()*0.9f}, p); in make_shader()
Dgradients.cpp896 SkScalar kTileSize = 80 / sqrtf(2); in __anon2d76562e0302() local
908 recorder.beginRecording(SkRect::MakeWH(kTileSize, kTileSize)); in __anon2d76562e0302()
912 SkPoint pts1[] = { { 0, 0 }, { kTileSize, kTileSize }}; in __anon2d76562e0302()
917 SkPoint pts2[] = { { 0, kTileSize }, { kTileSize, 0 }}; in __anon2d76562e0302()
931 SkScalar kTileSize = 80; in __anon2d76562e0402() local
940 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon2d76562e0402()
943 recorder.beginRecording(SkRect::MakeWH(kTileSize, kTileSize))->drawPaint(p); in __anon2d76562e0402()
/third_party/flutter/skia/gm/
Dbitmaptiled.cpp24 const int kTileSize = 1 << 10; in draw_tile_bitmap_with_fractional_offset() local
28 const int kBitmapLongEdge = 7 * kTileSize; in draw_tile_bitmap_with_fractional_offset()
29 const int kBitmapShortEdge = 1 * kTileSize; in draw_tile_bitmap_with_fractional_offset()
53 canvas->drawBitmapRect(bmp, SkRect::MakeXYWH(0.0f, (kTileSize - 50) + offset, in draw_tile_bitmap_with_fractional_offset()
57 canvas->drawBitmapRect(bmp, SkRect::MakeXYWH((kTileSize - 50) + offset, 0.0f, in draw_tile_bitmap_with_fractional_offset()
Dgradients.cpp896 SkScalar kTileSize = 80 / sqrtf(2); in __anon23747ee30302() local
908 recorder.beginRecording(SkRect::MakeWH(kTileSize, kTileSize)); in __anon23747ee30302()
912 SkPoint pts1[] = { { 0, 0 }, { kTileSize, kTileSize }}; in __anon23747ee30302()
917 SkPoint pts2[] = { { 0, kTileSize }, { kTileSize, 0 }}; in __anon23747ee30302()
931 SkScalar kTileSize = 80; in __anon23747ee30402() local
940 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon23747ee30402()
943 recorder.beginRecording(SkRect::MakeWH(kTileSize, kTileSize))->drawPaint(p); in __anon23747ee30402()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DDrawBaseVertexVariantsTest.cpp29 constexpr std::array<GLfloat, 2> kTileSize = { variable
34 constexpr std::array<GLfloat, 2> kQuadRadius = {0.25f * kTileSize[0], 0.25f * kTileSize[1]};
43 kTileSize[0] * (0.5f + static_cast<GLfloat>(x)), in GetTileCenter()
44 kTileSize[1] * (0.5f + static_cast<GLfloat>(y)), in GetTileCenter()
DDrawBaseVertexBaseInstanceTest.cpp26 constexpr std::array<GLfloat, 2> kTileSize = { variable
31 constexpr std::array<GLfloat, 2> kQuadRadius = {0.25f * kTileSize[0], 0.25f * kTileSize[1]};
39 kTileSize[0] * (0.5f + static_cast<GLfloat>(x)), in getTileCenter()
40 kTileSize[1] * (0.5f + static_cast<GLfloat>(y)), in getTileCenter()
DMultiDrawTest.cpp26 constexpr std::array<GLfloat, 2> kTileSize = { variable
31 constexpr std::array<GLfloat, 2> kQuadRadius = {0.25f * kTileSize[0], 0.25f * kTileSize[1]};
39 kTileSize[0] * (0.5f + static_cast<GLfloat>(x)), in getTileCenter()
40 kTileSize[1] * (0.5f + static_cast<GLfloat>(y)), in getTileCenter()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DShaderRobustnessPerf.cpp20 constexpr uint32_t kTileSize = 32u; variable
486 pass.Dispatch(ceil(float(mDimBOuter) / float(kTileSize)), in Step()
487 ceil(float(mDimAOuter) / float(kTileSize)), 1); in Step()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiDrawTest.cpp25 constexpr std::array<GLfloat, 2> kTileSize = { variable
30 constexpr std::array<GLfloat, 2> kQuadRadius = {0.25f * kTileSize[0], 0.25f * kTileSize[1]};
38 kTileSize[0] * (0.5f + static_cast<GLfloat>(x)), in getTileCenter()
39 kTileSize[1] * (0.5f + static_cast<GLfloat>(y)), in getTileCenter()
/third_party/skia/dm/
DDMSrcSink.h304 inline static constexpr SkScalar kTileSize = kTargetSize / kTileCount; variable
326 inline static constexpr SkScalar kTileSize = kTargetSize / kTileCount; variable
DDMSrcSink.cpp1224 const SkScalar y = frameOrder[i] * kTileSize; in draw()
1227 const SkScalar x = frameOrder[j] * kTileSize; in draw()
1228 SkRect dest = SkRect::MakeXYWH(x, y, kTileSize, kTileSize); in draw()
/third_party/flutter/skia/dm/
DDMSrcSink.cpp1138 const SkScalar y = frameOrder[i] * kTileSize; in draw()
1141 const SkScalar x = frameOrder[j] * kTileSize; in draw()
1142 SkRect dest = SkRect::MakeXYWH(x, y, kTileSize, kTileSize); in draw()
DDMSrcSink.h270 static constexpr SkScalar kTileSize = kTargetSize / kTileCount; variable
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_negative.cpp1621 kTileSize = 256 enumerator
1655 fUnitCell = dng_point (Min_int32 (kTileSize, fImage.Bounds ().H ()), in dng_find_new_raw_image_digest_task()
1656 Min_int32 (kTileSize, fImage.Bounds ().W ())); in dng_find_new_raw_image_digest_task()