/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MultisampledRenderToTextureTest.cpp | 626 constexpr GLsizei kSize = 6; in colorAttachmentMultisampleDrawTestCommon() local 629 createAndAttachColorAttachment(useRenderbuffer, kSize, GL_COLOR_ATTACHMENT0, nullptr, in colorAttachmentMultisampleDrawTestCommon() 634 glViewport(0, 0, kSize, kSize); in colorAttachmentMultisampleDrawTestCommon() 653 EXPECT_PIXEL_COLOR_EQ(kSize / 2, kSize / 2, GLColor::green); in colorAttachmentMultisampleDrawTestCommon() 669 EXPECT_PIXEL_COLOR_EQ(kSize / 2, kSize / 2, GLColor::red); in colorAttachmentMultisampleDrawTestCommon() 696 constexpr GLsizei kSize = 1024; in TEST_P() local 699 createAndAttachColorAttachment(false, kSize, GL_COLOR_ATTACHMENT in TEST_P() 770 constexpr GLsizei kSize = 1024; TEST_P() local 839 constexpr GLsizei kSize = 6; TEST_P() local 910 constexpr GLsizei kSize = 6; readPixelsTestCommon() local 960 constexpr GLsizei kSize = 16; copyTexImageTestCommon() local 1009 constexpr GLsizei kSize = 16; copyTexSubImageTestCommon() local 1098 constexpr GLsizei kSize = 16; blitFramebufferTestCommon() local 1174 constexpr GLsizei kSize = 64; TEST_P() local 1221 constexpr GLsizei kSize = 64; drawCopyThenBlendCommon() local 1295 constexpr GLsizei kSize = 64; clearDrawCopyThenBlendSameProgramCommon() local 1399 constexpr GLsizei kSize = 64; TEST_P() local 1513 constexpr GLsizei kSize = 64; drawCopyDrawThenMaskedClearCommon() local 1591 constexpr GLsizei kSize = 64; drawCopyDrawAttachInvalidatedThenDrawCommon() local 1697 constexpr GLsizei kSize = 64; drawCopyDrawAttachDepthStencilClearThenDrawCommon() local 1807 constexpr GLsizei kSize = 64; TEST_P() local 1888 constexpr GLsizei kSize = 64; TEST_P() local 1966 constexpr GLsizei kSize = 64; clearThenBlendCommon() local 2028 constexpr GLsizei kSize = 64; depthStencilClearThenDrawCommon() local 2110 constexpr GLsizei kSize = 64; TEST_P() local 2205 constexpr GLsizei kSize = 64; TEST_P() local 2319 constexpr GLsizei kSize = 64; TEST_P() local 2435 constexpr GLsizei kSize = 64; TEST_P() local 2552 constexpr GLsizei kSize = 64; TEST_P() local 2704 constexpr GLsizei kSize = 64; TEST_P() local 2815 constexpr GLsizei kSize = 64; colorAttachment1Common() local 2906 constexpr GLsizei kSize = 64; colorAttachments0And3Common() local 3082 constexpr GLsizei kSize = 64; TEST_P() local 3160 constexpr GLsizei kSize = 16; blitFramebufferAttachment1Common() local 3247 constexpr GLsizei kSize = 16; blitFramebufferMixedColorAndDepthCommon() local 3341 constexpr GLsizei kSize = 64; TEST_P() local 3417 constexpr GLsizei kSize = 64; TEST_P() local 3572 constexpr GLsizei kSize = 64; drawCopyThenBlendAllAttachmentsMixed() local 3685 constexpr GLsizei kSize = 64; renderbufferUnresolveColorAndDepthStencilThenTwoColors() local 3880 constexpr GLsizei kSize = 16; TEST_P() local [all...] |
H A D | VulkanPerformanceCounterTest.cpp | 409 constexpr int kSize = 16; in TEST_P() local 410 glViewport(0, 0, kSize, kSize); in TEST_P() 417 glTexStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, 4, GL_RGBA8, kSize, kSize, false); in TEST_P() 432 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 443 glBlitFramebuffer(0, 0, kSize, kSize, 0, 0, kSize, kSiz in TEST_P() 463 constexpr GLsizei kSize = 4; TEST_P() local 1523 constexpr GLsizei kSize = 64; TEST_P() local 1608 constexpr GLsizei kSize = 64; TEST_P() local 1677 constexpr GLsizei kSize = 64; TEST_P() local 1868 constexpr GLsizei kSize = 6; TEST_P() local 1982 constexpr GLsizei kSize = 6; TEST_P() local 2114 constexpr GLsizei kSize = 6; TEST_P() local 2236 constexpr GLsizei kSize = 6; TEST_P() local 2355 constexpr GLsizei kSize = 6; TEST_P() local 2414 constexpr GLsizei kSize = 64; TEST_P() local 2486 constexpr GLsizei kSize = 64; TEST_P() local 2542 constexpr GLsizei kSize = 6; TEST_P() local 2683 constexpr GLsizei kSize = 16; TEST_P() local [all...] |
H A D | ClearTest.cpp | 660 constexpr GLsizei kSize = 2; in TEST_P() local 663 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 669 glViewport(0, 0, kSize, kSize); in TEST_P() 711 constexpr GLsizei kSize = 2; in TEST_P() local 714 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 722 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, kSize, kSize); in TEST_P() 756 constexpr uint32_t kSize = 16; TEST_P() local 823 constexpr uint32_t kSize = 16; TEST_P() local 896 constexpr uint32_t kSize = 16; TEST_P() local 1002 constexpr uint32_t kSize = 16; TEST_P() local 1067 constexpr uint32_t kSize = 16; TEST_P() local 1192 constexpr uint32_t kSize = 16; TEST_P() local 1866 constexpr GLsizei kSize = 16; TEST_P() local 1893 constexpr GLsizei kSize = 16; TEST_P() local 1935 constexpr GLuint kSize = 16; TEST_P() local 2018 constexpr GLsizei kSize = 16; TEST_P() local 2105 constexpr GLsizei kSize = 16; TEST_P() local 2214 constexpr GLsizei kSize = 16; TEST_P() local 2285 constexpr GLsizei kSize = 16; TEST_P() local 2441 constexpr GLsizei kSize = 16; TEST_P() local 2472 constexpr GLsizei kSize = 16; TEST_P() local 2517 constexpr GLsizei kSize = 16; TEST_P() local [all...] |
H A D | FramebufferTest.cpp | 1869 constexpr int kSize = 16; in TEST_P() local 1870 glViewport(0, 0, kSize, kSize); in TEST_P() 1877 glTexStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, 4, GL_RGBA8, kSize, kSize, false); in TEST_P() 1892 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 1899 glBlitFramebuffer(0, 0, kSize, kSize, 0, 0, kSize, kSiz in TEST_P() 1916 constexpr int kSize = 16; TEST_P() local 1968 constexpr int kSize = 16; TEST_P() local 2029 constexpr int kSize = 16; TEST_P() local 2086 constexpr int kSize = 16; TEST_P() local 2154 constexpr int kSize = 64; TEST_P() local 2213 constexpr int kSize = 16; TEST_P() local 2294 constexpr int kSize = 16; TEST_P() local 2366 constexpr int kSize = 16; TEST_P() local 2426 constexpr int kSize = 16; TEST_P() local 2494 constexpr int kSize = 16; TEST_P() local 2557 constexpr int kSize = 16; TEST_P() local 2786 constexpr GLuint kSize = 2; TEST_P() local 2834 constexpr GLuint kSize = 2; TEST_P() local 2899 constexpr GLuint kSize = 2; TEST_P() local 2987 constexpr GLuint kSize = 16; TEST_P() local 3508 constexpr GLuint kSize = 2; TEST_P() local 3811 constexpr GLuint kSize = 2; TEST_P() local [all...] |
H A D | DepthStencilTest.cpp | 269 constexpr GLsizei kSize = 6; in TEST_P() local 274 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in TEST_P() 278 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH24_STENCIL8, kSize, kSize, 0, GL_DEPTH_STENCIL, in TEST_P() 288 glViewport(0, 0, kSize, kSize); in TEST_P() 312 EXPECT_PIXEL_COLOR_EQ(kSize - 1, 0, GLColor::red); in TEST_P() 313 EXPECT_PIXEL_COLOR_EQ(0, kSize - 1, GLColor::red); in TEST_P() 314 EXPECT_PIXEL_COLOR_EQ(kSize in TEST_P() 542 constexpr GLsizei kSize = 64; TEST_P() local [all...] |
H A D | RobustFragmentShaderOutputTest.cpp | 47 constexpr GLsizei kSize = 2; in TEST_P() local 48 std::vector<GLColor> bluePixels(kSize * kSize, GLColor::blue); in TEST_P() 52 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 58 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kSize, kSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, in TEST_P() 73 glViewport(0, 0, kSize, kSize); in TEST_P()
|
/third_party/skia/gm/ |
H A D | clear_swizzle.cpp | 20 static constexpr int kSize = 64; member 22 DEF_SIMPLE_GPU_GM_CAN_FAIL(clear_swizzle, rContext, canvas, errorMsg, 6*kSize, 2*kSize) { in DEF_SIMPLE_GPU_GM_CAN_FAIL() 55 {{ 0, 0, kSize, kSize}, {1, 0, 0, 1}}, in DEF_SIMPLE_GPU_GM_CAN_FAIL() 56 {{kSize, 0, 2*kSize, kSize}, {0, 1, 0, 1}}, in DEF_SIMPLE_GPU_GM_CAN_FAIL() 57 {{ 0, kSize, kSize, in DEF_SIMPLE_GPU_GM_CAN_FAIL() [all...] |
H A D | xfermodes3.cpp | 71 auto tempSurface(this->makeTempSurface(canvas, kSize, kSize)); 77 {SkPaint::kStroke_Style, SkIntToScalar(kSize) / 2}, 84 SkIntToScalar(y + kSize + 3) + font.getSize(), 93 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get()); 96 x += kSize + 10; 99 y += kSize + 30; 110 this->drawMode(canvas, x, y, kSize, kSize, modePain 215 kSize = 30, global() enumerator [all...] |
H A D | largeclippedpath.cpp | 12 constexpr int kSize = 1000; variable 21 constexpr static float kCellSize = (float)kSize / kGridCount; in draw_clipped_flower() 23 clip.addRect(0, y * kCellSize, kSize, (y + 1) * kCellSize, SkPathDirection(y & 1)); in draw_clipped_flower() 26 clip.addRect(x * kCellSize, 0, (x + 1) * kCellSize, kSize, SkPathDirection(x & 1)); in draw_clipped_flower() 40 canvas->translate(kSize/2.f, kSize/2.f); in draw_clipped_flower() 41 canvas->scale(kSize/3.f, kSize/3.f); in draw_clipped_flower() 48 DEF_SIMPLE_GM(largeclippedpath_winding, canvas, kSize, kSize) { in DEF_SIMPLE_GM() [all...] |
H A D | bigrrectaaeffect.cpp | 138 constexpr int kSize = 700; member 140 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRect(SkRect::MakeIWH(kSize, kSize)), "rect"); ) 141 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize, kSize)), "circle"); ) 142 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize - 1, kSize - 10)), "ellipse"); ) 144 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRectXY(SkRect::MakeIWH(kSize - 1, kSize - 10), kSize/ [all...] |
H A D | bitmapimage.cpp | 36 return SkISize::Make(2*kSize, 2*kSize); 55 SkImageInfo linearInfo = SkImageInfo::MakeN32(2*kSize, kSize, kOpaque_SkAlphaType); 60 legacyCanvas.translate(SkScalar(kSize), 0.0f); 63 canvas->translate(0.0f, SkScalar(kSize)); 66 SkImageInfo srgbInfo = SkImageInfo::MakeS32(2*kSize, kSize, kOpaque_SkAlphaType); 71 srgbCanvas.translate(SkScalar(kSize), 0.0f); 78 inline static constexpr int kSize member in skiagm::BitmapImageGM [all...] |
H A D | xfermodes2.cpp | 48 const SkScalar w = SkIntToScalar(kSize); 49 const SkScalar h = SkIntToScalar(kSize); 116 srcBmp.allocN32Pixels(kSize, kSize); 119 for (int y = 0; y < kSize; ++y) { 122 for (int x = 0; x < kSize; ++x) { 123 pixels[kSize * y + x] = rowColor; 128 dstBmp.allocN32Pixels(kSize, kSize); 131 for (int x = 0; x < kSize; 143 kSize = 256 >> kShift, global() enumerator [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | SizedMRUCache_unittest.cpp | 30 constexpr size_t kSize = 32; in TEST() local 31 SizedMRUCache<std::string, Blob> sizedCache(kSize); in TEST() 33 EXPECT_TRUE(sizedCache.put("test", MakeBlob(kSize), kSize)); in TEST() 37 EXPECT_TRUE(sizedCache.put("test2", MakeBlob(kSize), kSize)); in TEST() 51 constexpr size_t kSize = 32; in TEST() local 52 SizedMRUCache<size_t, size_t> sizedCache(kSize); in TEST() 54 for (size_t value = 0; value < kSize; ++value) in TEST() 71 EXPECT_TRUE(sizedCache.put(kSize, st in TEST() 104 constexpr size_t kSize = 32; TEST() local [all...] |
H A D | BlobCache_unittest.cpp | 49 constexpr size_t kSize = 32; in TEST() local 50 BlobCache blobCache(kSize); in TEST() 52 blobCache.populate(MakeKey(0), MakeBlob(kSize)); in TEST() 56 blobCache.populate(MakeKey(1), MakeBlob(kSize)); in TEST() 71 constexpr size_t kSize = 32; in TEST() local 72 BlobCache blobCache(kSize); in TEST() 74 for (size_t value = 0; value < kSize; ++value) in TEST() 91 blobCache.populate(MakeKey(kSize), MakeBlob(1, kSize)); in TEST() 98 blobCache.populate(MakeKey(kSize in TEST() 124 constexpr size_t kSize = 32; TEST() local [all...] |
H A D | ResourceMap_unittest.cpp | 21 constexpr size_t kSize = 64; in TEST() local 23 std::vector<size_t> objects(kSize, 1); in TEST() 24 for (size_t index = 0; index < kSize; ++index) in TEST() 29 for (size_t index = 0; index < kSize; ++index) in TEST() 42 constexpr size_t kSize = 64; in TEST() local 44 std::vector<size_t> objects(kSize, 1); in TEST() 45 for (size_t index = 0; index < kSize; ++index) in TEST() 57 constexpr size_t kSize = 8; in TEST() local 62 for (size_t index = 0; index < kSize; ++index) in TEST() 89 constexpr size_t kSize in TEST() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | TextureZeroInitTests.cpp | 46 descriptor.size.width = kSize; in CreateTextureDescriptor() 47 descriptor.size.height = kSize; in CreateTextureDescriptor() 116 constexpr static uint32_t kSize = 128; member in TextureZeroInitTest 152 const uint32_t bytesPerRow = utils::GetMinimumBytesPerRow(kColorFormat, kSize); in TEST_P() 153 const uint32_t rowsPerImage = kSize; in TEST_P() 157 {kSize, kSize, kArrayLayers}, kColorFormat); in TEST_P() 161 utils::CreateImageCopyBuffer(buffer, 0, bytesPerRow, kSize); in TEST_P() 164 const wgpu::Extent3D copySize = {kSize, kSize, kArrayLayer in TEST_P() 1867 constexpr static uint32_t kSize = 16; TEST_P() local 1887 constexpr static uint32_t kSize = 60; TEST_P() local 1912 constexpr static uint32_t kSize = 60; TEST_P() local 1936 constexpr static uint32_t kSize = 16; TEST_P() local 1956 constexpr static uint32_t kSize = 16; TEST_P() local [all...] |
H A D | NonzeroBufferCreationTests.cpp | 41 constexpr uint32_t kSize = 32u; in TEST_P() local 44 descriptor.size = kSize; in TEST_P() 49 std::vector<uint8_t> expectedData(kSize, uint8_t(1u)); in TEST_P() 51 kSize / sizeof(uint32_t)); in TEST_P() 57 constexpr uint32_t kSize = 32u; in TEST_P() local 60 descriptor.size = kSize; in TEST_P() 65 std::vector<uint8_t> expectedData(kSize, uint8_t(1u)); in TEST_P() 67 kSize / sizeof(uint32_t)); in TEST_P() 79 constexpr uint32_t kSize = 32u; in TEST_P() local 82 defaultDescriptor.size = kSize; in TEST_P() [all...] |
H A D | ReadOnlyDepthStencilAttachmentTests.cpp | 21 constexpr static uint32_t kSize = 4; variable 120 descriptor.size = {kSize, kSize, 1}; in CreateTexture() 214 const std::vector<RGBA8> kExpectedTopColors(kSize * kSize / 2, {0, 0, 0, 0}); in TEST_P() 217 const std::vector<RGBA8> kExpectedBottomColors(kSize * kSize / 2, in TEST_P() 219 EXPECT_TEXTURE_EQ(kExpectedTopColors.data(), colorTexture, {0, 0}, {kSize, kSize / 2}); in TEST_P() 220 EXPECT_TEXTURE_EQ(kExpectedBottomColors.data(), colorTexture, {0, kSize / in TEST_P() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cShaderImageLoadStoreTests.cpp | 206 bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int layers = 1) in CompareValues() argument 208 for (int i = 0; i < kSize * kSize * layers; ++i) in CompareValues() 221 bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, in CompareValues() argument 225 for (int i = 0; i < kSize * kSize * layers; ++i) in CompareValues() 1116 const int kSize = 11; in Write() local 1117 std::vector<T> data(kSize * kSize); in Write() 1126 glTexStorage2D(GL_TEXTURE_2D, 1, internalformat, kSize, kSiz in Write() 1243 const int kSize = 4; WriteCS() local 1402 const int kSize = 11; Read() local 1542 const int kSize = 4; ReadCS() local 1643 const int kSize = 8; Read() local 1812 const int kSize = 11; Write() local 2051 const int kSize = 11; Write() local 2313 const int kSize = 11; Read() local 2528 const int kSize = 11; Read() local 2738 const int kSize = 11; Atomic() local 2903 const int kSize = 100; Write() local 3166 const int kSize = 100; Atomic() local 3421 const int kSize = 32; Run() local 3511 const int kSize = 10; Run() local 3601 const int kSize = 8; Run() local 3826 const int kSize = 44; Run() local 4080 const int kSize = 32; Run() local 4175 const int kSize = 64; Run() local 4282 const int kSize = 11; Run() local 4403 const int kSize = 4; Run() local 4533 const int kSize = 11; Run() local 4620 const int kSize = 11; Run() local 4715 const int kSize = 11; Run() local 4806 const int kSize = 11; Run() local 4870 const int kSize = 11; Run() local 4961 const int kSize = 11; Run() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cES31CompatibilityShaderImageLoadStoreTests.cpp | 212 bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int layers = 1) in CompareValues() argument 214 for (int i = 0; i < kSize * kSize * layers; ++i) in CompareValues() 227 bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, in CompareValues() argument 231 for (int i = 0; i < kSize * kSize * layers; ++i) in CompareValues() 1150 const int kSize = 11; in Write() local 1151 std::vector<T> data(kSize * kSize); in Write() 1160 glTexStorage2D(GL_TEXTURE_2D, 1, internalformat, kSize, kSiz in Write() 1277 const int kSize = 4; WriteCS() local 1437 const int kSize = 11; Read() local 1577 const int kSize = 4; ReadCS() local 1679 const int kSize = 8; Read() local 1848 const int kSize = 11; Write() local 2090 const int kSize = 11; Write() local 2351 const int kSize = 11; Read() local 2566 const int kSize = 11; Read() local 2773 const int kSize = 11; Atomic() local 2938 const int kSize = 100; Write() local 3202 const int kSize = 100; Atomic() local 3464 const int kSize = 32; Run() local 3558 const int kSize = 10; Run() local 3650 const int kSize = 8; Run() local 3875 const int kSize = 44; Run() local 4130 const int kSize = 32; Run() local 4225 const int kSize = 64; Run() local 4314 const int kSize = 11; Run() local 4435 const int kSize = 4; Run() local 4563 const int kSize = 11; Run() local 4651 const int kSize = 11; Run() local 4747 const int kSize = 11; Run() local 4838 const int kSize = 11; Run() local 4903 const int kSize = 11; Run() local 4995 const int kSize = 11; Run() local [all...] |
/third_party/skia/src/gpu/ |
H A D | GrDirectContextPriv.cpp | 232 static constexpr int kSize = 256; in test_for_preserving_PM_conversions() local 233 SkAutoTMalloc<uint32_t> data(kSize * kSize * 3); in test_for_preserving_PM_conversions() 238 for (int y = 0; y < kSize; ++y) { in test_for_preserving_PM_conversions() 239 for (int x = 0; x < kSize; ++x) { in test_for_preserving_PM_conversions() 240 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize*y + x]); in test_for_preserving_PM_conversions() 249 SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); in test_for_preserving_PM_conversions() 262 bitmap.installPixels(pmII, srcData, 4 * kSize); in test_for_preserving_PM_conversions() 270 uint32_t* firstRead = data.get() + kSize*kSiz in test_for_preserving_PM_conversions() [all...] |
/third_party/skia/tests/ |
H A D | LRUCacheTest.cpp | 31 static const int kSize = 100; in DEF_TEST() local 32 SkLRUCache<int, std::unique_ptr<Value>> test(kSize); in DEF_TEST() 33 for (int i = 1; i < kSize * 2; i++) { in DEF_TEST() 38 if (i > kSize) { in DEF_TEST() 39 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST() 40 REPORTER_ASSERT(r, !test.find(i - kSize)); in DEF_TEST() 55 static const int kSize = 5; in DEF_TEST() local 56 SkLRUCache<int, std::unique_ptr<Value>> test(kSize); in DEF_TEST() 63 REPORTER_ASSERT(r, kSize == instances); in DEF_TEST() 64 REPORTER_ASSERT(r, kSize in DEF_TEST() [all...] |
/third_party/skia/modules/skottie/gm/ |
H A D | SkottieGM.cpp | 51 return SkISize::Make(kSize, kSize); 68 auto dest = SkRect::MakeWH(kSize, kSize); 84 inline static constexpr SkScalar kSize = 800; member in SkottieWebFontGM 106 return SkISize::Make(kSize, kSize); 126 auto dest = SkRect::MakeWH(kSize, kSize); 167 inline static constexpr SkScalar kSize member in SkottieColorizeGM 235 inline static constexpr SkScalar kSize = 800; global() member in SkottieMultiFrameGM [all...] |
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
H A D | torus.h | 16 const GLushort kSize = 60; variable 21 for (GLushort y = 0; y < kSize; y++) in GenerateTorus() 23 for (GLushort x = 0; x < kSize; x++) in GenerateTorus() 25 GLushort a = y * (kSize + 1) + x; in GenerateTorus() 26 GLushort b = y * (kSize + 1) + x + 1; in GenerateTorus() 27 GLushort c = (y + 1) * (kSize + 1) + x; in GenerateTorus() 28 GLushort d = (y + 1) * (kSize + 1) + x + 1; in GenerateTorus() 42 for (uint32_t j = 0; j <= kSize; j++) in GenerateTorus() 44 float angleV = kPi * 2 * j / kSize; in GenerateTorus() 47 for (uint32_t i = 0; i <= kSize; in GenerateTorus() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLPreRotationTest.cpp | 1132 constexpr int kSize = 128; in TEST_P() local 1133 glViewport(0, 0, kSize, kSize); in TEST_P() 1137 glRenderbufferStorageMultisample(GL_RENDERBUFFER, 0, GL_RGBA8, kSize, kSize); in TEST_P() 1141 glRenderbufferStorageMultisample(GL_RENDERBUFFER, 0, GL_DEPTH24_STENCIL8, kSize, kSize); in TEST_P() 1166 glBlitFramebuffer(0, 0, kSize, kSize, kSize, in TEST_P() 1208 constexpr int kSize = 128; TEST_P() local 1289 constexpr int kSize = 128; TEST_P() local 1369 constexpr int kSize = 128; TEST_P() local 1445 constexpr int kSize = 128; TEST_P() local [all...] |