Home
last modified time | relevance | path

Searched refs:kTextureSize (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DCubeMapTextureTest.cpp142 constexpr GLsizei kTextureSize = 32; in runSampleCoordinateTransformTest() local
148 std::vector<GLColor> faceData(kTextureSize * kTextureSize); in runSampleCoordinateTransformTest()
151 for (size_t row = 0; row < kTextureSize / kCubeFaceSectionCountSqrt; ++row) in runSampleCoordinateTransformTest()
153 for (size_t col = 0; col < kTextureSize / kCubeFaceSectionCountSqrt; ++col) in runSampleCoordinateTransformTest()
159 size_t r = row + srow * kTextureSize / kCubeFaceSectionCountSqrt; in runSampleCoordinateTransformTest()
160 size_t c = col + scol * kTextureSize / kCubeFaceSectionCountSqrt; in runSampleCoordinateTransformTest()
162 faceData[r * kTextureSize + c] = faceColors[face][s]; in runSampleCoordinateTransformTest()
168 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + face, 0, GL_RGBA, kTextureSize, kTextureSize, in runSampleCoordinateTransformTest()
[all...]
H A DGetImageTest.cpp465 constexpr GLsizei kTextureSize = 2; in TEST_P() local
477 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, kTextureSize, kTextureSize, kLayers, 0, GL_RGBA, in TEST_P()
493 constexpr GLsizei kTextureSize = 2; in TEST_P() local
502 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, kTextureSize, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
521 constexpr GLsizei kTextureSize = 1; in TEST_P() local
531 static_cast<size_t>(6 * kTextureSize * kTextureSize * kLayer in TEST_P()
[all...]
H A DIncompleteTextureTest.cpp120 constexpr GLsizei kTextureSize = 2; in TEST_P() local
121 std::vector<GLColor> textureData(kTextureSize * kTextureSize, GLColor::red); in TEST_P()
124 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
140 glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA, kTextureSize >> 1, kTextureSize >> 1, 0, GL_RGBA, in TEST_P()
H A DMipmapTest.cpp535 constexpr uint32_t kTextureSize = 1; in TEST_P() local
537 const std::vector<GLColor> kInitialColor(kTextureSize * kTextureSize, in TEST_P()
542 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
550 verifyAllMips(kTextureSize, kTextureSize, kInitialColor[0]); in TEST_P()
556 constexpr uint32_t kTextureSize = 4096; in TEST_P() local
558 const std::vector<GLColor> kInitialColor(kTextureSize * kTextureSize, in TEST_P()
1644 constexpr GLint kTextureSize = 16; TEST_P() local
[all...]
H A DMemoryBarrierTest.cpp358 static constexpr int kTextureSize = 1; member in __anon20204::MemoryBarrierTestBase
374 glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, kTextureSize, kTextureSize); in createFramebuffer()
375 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTextureSize, kTextureSize, GL_RGBA, GL_UNSIGNED_BYTE, in createFramebuffer()
435 glTexStorage2D(GL_TEXTURE_2D, 1, GL_RGBA8, kTextureSize, kTextureSize); in createStorageImage()
436 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTextureSize, kTextureSize, GL_RGBA, in createStorageImage()
1373 glReadPixels(0, 0, kTextureSize, kTextureSiz in pixelBufferBitBufferWriteThenPack()
[all...]
H A DRobustResourceInitTest.cpp1278 constexpr GLint kTextureSize = 16; in TEST_P() local
1283 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
1312 constexpr GLint kTextureSize = 16; in TEST_P() local
1313 const std::vector<GLColor> kInitData(kTextureSize * kTextureSize, GLColor::blue); in TEST_P()
1318 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
1342 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, in TEST_P()
1365 constexpr GLint kTextureSize = 16; TEST_P() local
[all...]
H A DUniformTest.cpp1455 constexpr GLsizei kTextureSize = 2; in TEST_P() local
1456 std::vector<GLColor> textureData(kTextureSize * kTextureSize, GLColor::green); in TEST_P()
1457 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DFramebufferAttachmentPerfTest.cpp20 constexpr unsigned int kTextureSize = 256; member
34 windowWidth = kTextureSize; in FramebufferAttachmentParams()
35 windowHeight = kTextureSize; in FramebufferAttachmentParams()
92 std::vector<GLubyte> textureData(kTextureSize * kTextureSize * 4); in initTextures()
101 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA, in initTextures()
/third_party/skia/third_party/externals/angle2/samples/multiple_contexts/
H A DMultipleContexts.cpp25 static constexpr GLint kTextureSize = 2; variable
79 for (GLint x = 0; x < kTextureSize; ++x) in UpdateThreadLoop()
81 for (GLint y = 0; y < kTextureSize; ++y) in UpdateThreadLoop()
87 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTextureSize, kTextureSize, GL_RGBA, in UpdateThreadLoop()
121 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureSize, kTextureSize, 0, GL_RGBA,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DSubresourceRenderAttachmentTests.cpp121 constexpr uint32_t kTextureSize = kRTSize << (kMipLevelCount - 1); in DoTest() local
125 renderTargetDesc.size.width = kTextureSize; in DoTest()
126 renderTargetDesc.size.height = kTextureSize; in DoTest()
138 DoSingleTest(type, format, renderTarget, kTextureSize, arrayLayer, mipLevel); in DoTest()
H A DBufferZeroInitTests.cpp872 constexpr wgpu::Extent3D kTextureSize = {16u, 16u, 1u}; in TEST_P() local
876 wgpu::Texture texture = CreateAndInitializeTexture(kTextureSize, kTextureFormat); in TEST_P()
880 const uint32_t rowsPerImage = kTextureSize.height; in TEST_P()
882 kTextureBytesPerRowAlignment, rowsPerImage, kTextureSize, kTextureFormat); in TEST_P()
893 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
896 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
911 buffer, kOffset, kTextureBytesPerRowAlignment, kTextureSize.height); in TEST_P()
914 encoder.CopyBufferToTexture(&imageCopyBuffer, &imageCopyTexture, &kTextureSize); in TEST_P()
927 constexpr wgpu::Extent3D kTextureSize = {64u, 8u, 1u}; in TEST_P() local
933 {kTextureSize, in TEST_P()
966 constexpr wgpu::Extent3D kTextureSize = {64u, 4u, 3u}; TEST_P() local
[all...]
H A DMultisampledSamplingTests.cpp129 static constexpr wgpu::Extent3D kTextureSize = {1, 1, 1}; in TEST_P() local
135 desc.size = kTextureSize; in TEST_P()
145 desc.size = kTextureSize; in TEST_P()
H A DRenderPassLoadOpTests.cpp104 constexpr wgpu::Extent3D kTextureSize = {1, 1, 1}; in TestIntegerClearColor() local
108 textureDescriptor.size = kTextureSize; in TestIntegerClearColor()
130 encoder.CopyTextureToBuffer(&imageCopyTexture, &imageCopyBuffer, &kTextureSize); in TestIntegerClearColor()
H A DCopyTests.cpp626 constexpr wgpu::Extent3D kTextureSize = {kWidth, kHeight, 1}; in GetExpectedTextureData() local
628 defaultTextureSpec.textureSize = kTextureSize; in GetExpectedTextureData()
673 constexpr wgpu::Extent3D kTextureSize = {kWidth, kHeight, 1}; in GetExpectedTextureData() local
675 defaultTextureSpec.textureSize = kTextureSize; in GetExpectedTextureData()
1350 constexpr wgpu::Extent3D kTextureSize = {kWidth, kHeight, 1}; in TEST_P() local
1352 defaultTextureSpec.textureSize = kTextureSize; in TEST_P()
1397 constexpr wgpu::Extent3D kTextureSize = {kWidth, kHeight, 1}; in TEST_P() local
1399 defaultTextureSpec.textureSize = kTextureSize; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
H A DDrawCallPerf.cpp27 constexpr uint32_t kTextureSize = 64; member
285 descriptor.size.width = kTextureSize; in SetUp()
286 descriptor.size.height = kTextureSize; in SetUp()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A Drenderergl_utils.cpp333 constexpr GLsizei kTextureSize = 16; in CheckSizedInternalFormatTextureRenderability() local
334 functions->texImage2D(GL_TEXTURE_2D, 0, texImageFormat.internalFormat, kTextureSize, in CheckSizedInternalFormatTextureRenderability()
335 kTextureSize, 0, texImageFormat.format, texImageFormat.type, nullptr); in CheckSizedInternalFormatTextureRenderability()

Completed in 24 milliseconds