/third_party/skia/tests/graphite/ |
H A D | CommandBufferTest.cpp | 33 constexpr int kTextureWidth = 1024; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local 44 SkISize textureSize = { kTextureWidth, kTextureHeight }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 178 size_t rowBytes = 4*kTextureWidth; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 183 SkIRect srcRect = { 0, 0, kTextureWidth, kTextureHeight }; in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 192 REPORTER_ASSERT(reporter, pixels[51 + 38*kTextureWidth] == 0xff00ffff); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() 193 REPORTER_ASSERT(reporter, pixels[256 + 192*kTextureWidth] == 0xffff00ff); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
H A D | esextcFragmentShadingRateErrors.cpp | 124 constexpr deUint32 kTextureWidth = 256; in iterate() local 148 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R8UI, kTextureWidth, kTextureHeight); in iterate() 153 gl.texImage2D(GL_TEXTURE_2D, 0, GL_R8, kTextureWidth, kTextureHeight, 0, GL_RED, GL_UNSIGNED_BYTE, nullptr); in iterate()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ComputeShaderTest.cpp | 945 constexpr int kTextureWidth = 1, kTextureHeight = 2; in TEST_P() local 949 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, kTextureWidth, kTextureHeight); in TEST_P() 950 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, in TEST_P() 963 GLuint outputValues[kTextureWidth * kTextureHeight]; in TEST_P() 964 glReadPixels(0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, GL_UNSIGNED_INT, in TEST_P() 969 for (int i = 0; i < kTextureWidth * kTextureHeight; i++) in TEST_P() 1005 constexpr int kTextureWidth = 1, kTextureHeight = 2; in TEST_P() local 1009 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, kTextureWidth, kTextureHeight); in TEST_P() 1010 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, kTextureWidth, kTextureHeight, GL_RED_INTEGER, in TEST_P() 1018 glTexStorage2D(GL_TEXTURE_2D, 1, GL_R32UI, kTextureWidth, kTextureHeigh in TEST_P() [all...] |
H A D | MipmapTest.cpp | 580 constexpr uint32_t kTextureWidth = 3840; in TEST_P() local 583 const std::vector<GLColor> kInitialColor(kTextureWidth * kTextureHeight, in TEST_P() 588 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureWidth, kTextureHeight, 0, GL_RGBA, in TEST_P() 599 verifyAllMips(kTextureWidth, kTextureHeight, kInitialColor[0]); in TEST_P() 613 const uint32_t kTextureWidth = maxTextureWidth - 1; // -1 to make the width NPOT in TEST_P() local 615 const std::vector<GLColor> kInitialColor(kTextureWidth * kTextureHeight, in TEST_P() 620 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureWidth, kTextureHeight, 0, GL_RGBA, in TEST_P() 631 verifyAllMips(kTextureWidth, kTextureHeight, kInitialColor[0]); in TEST_P()
|
H A D | RobustResourceInitTest.cpp | 701 constexpr GLint kTextureWidth = 2; in TEST_P() local 704 constexpr size_t kTextureDataSize = kTextureWidth * kTextureHeight * 4; in TEST_P() 711 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, kTextureWidth, kTextureHeight, 0, GL_RGBA, in TEST_P() 721 glTexStorage3D(GL_TEXTURE_3D, 1, GL_RGBA8, kTextureWidth, kTextureHeight, kTextureDepth); in TEST_P() 722 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, 0, 0, kTextureLayer, 0, 0, kTextureWidth, kTextureHeight); in TEST_P() 726 glReadPixels(0, 0, kTextureWidth, kTextureHeight, GL_RGBA, GL_UNSIGNED_BYTE, pixels.data()); in TEST_P() 947 constexpr int kTextureWidth = 127; in TEST_P() local 953 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, x, y, kTextureWidth, kTextureHeight, 0); in TEST_P()
|
H A D | BufferDataTest.cpp | 1253 constexpr GLsizei kTextureWidth = 4; in TEST_P() local 1255 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, kTextureWidth, kTextureHeight, 0, GL_RGBA, in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLSurfaceTest.cpp | 1062 constexpr UINT kTextureWidth = 100; in TEST_P() local 1065 std::vector<Color<uint8_t>> textureData(kTextureWidth * kTextureHeight, kOpaqueBlack); in TEST_P() 1069 initialData.SysMemPitch = kTextureWidth * sizeof(kOpaqueBlack); in TEST_P() 1073 desc.Width = kTextureWidth; in TEST_P() 1089 kTextureWidth, in TEST_P()
|