/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 1085 std::vector<deUint32> texData (TEST_TEXTURE_SIZE*TEST_TEXTURE_SIZE*2); in init() local 1086 const deUint32* dataPtr = (m_uploadType == UPLOAD_CLIENT) ? (&texData[0]) : (DE_NULL); in init() 1094 …texData[(x * TEST_TEXTURE_SIZE + y) * 2 + 0] = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats… in init() 1095 texData[(x * TEST_TEXTURE_SIZE + y) * 2 + 1] = 0x3F800000; // one in init() 1099 ….bufferData(GL_PIXEL_UNPACK_BUFFER, (glw::GLsizeiptr)(texData.size() * sizeof(deUint32)), &texData… in init() 1108 std::vector<deUint32> texData (TEST_TEXTURE_SIZE*TEST_TEXTURE_SIZE); in init() local 1109 const deUint32* dataPtr = (m_uploadType == UPLOAD_CLIENT) ? (&texData[0]) : (DE_NULL); in init() 1118 …texData[x * TEST_TEXTURE_SIZE + y] = rnd.choose<deUint32>(DE_ARRAY_BEGIN(s_specialFloats), DE_ARRA… in init() 1121 ….bufferData(GL_PIXEL_UNPACK_BUFFER, (glw::GLsizeiptr)(texData.size() * sizeof(deUint32)), &texData… in init() 1399 std::vector<deUint8> texData (TEST_TEXTURE_SIZE*TEST_TEXTURE_SIZE*4); in init() local [all …]
|
/external/angle/src/tests/gl_tests/ |
D | TextureTest.cpp | 990 GLubyte texData[4]; in testSamplerArrayDraw() local 991 texData[0] = 0; in testSamplerArrayDraw() 992 texData[1] = 60; in testSamplerArrayDraw() 993 texData[2] = 0; in testSamplerArrayDraw() 994 texData[3] = 255; in testSamplerArrayDraw() 998 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw() 1000 texData[1] = 120; in testSamplerArrayDraw() 1003 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw() 2251 GLubyte texData[4]; in TEST_P() local 2252 texData[0] = 0; in TEST_P() [all …]
|
D | GLSLTest.cpp | 4816 GLint texData[2] = {i + 1, j + 1}; in TEST_P() local 4817 glTexImage2D(GL_TEXTURE_2D, 0, GL_RG32I, 1, 1, 0, GL_RG_INTEGER, GL_INT, &texData[0]); in TEST_P() 5531 GLint texData[2] = {i + 1, j + 1}; in TEST_P() local 5532 glTexImage2D(GL_TEXTURE_2D, 0, GL_RG32I, 1, 1, 0, GL_RG_INTEGER, GL_INT, &texData[0]); in TEST_P() 5595 GLint texData[4] = {i + 1, j + 1, k + 1, l + 1}; in TEST_P() local 5597 &texData[0]); in TEST_P() 5681 GLint texData[4] = {i + 1, j + 1, k + 1, l + 1}; in TEST_P() local 5683 &texData[0]); in TEST_P() 5745 GLint texData[4] = {i + 1, j + 1, k + 1, 1}; in TEST_P() local 5752 &texData[0]); in TEST_P() [all …]
|
D | TimerQueriesTest.cpp | 193 std::vector<GLColor> texData{GLColor::black, GLColor::white, GLColor::white, GLColor::black}; in TEST_P() local 205 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, texData.data()); in TEST_P()
|
D | ShaderBinaryTest.cpp | 627 GLubyte texData[] = {255u, 0u, 0u, 255u}; in TEST_P() local 628 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 4135 std::vector<GLColor> texData(4 * 4, GLColor::green); in TEST_P() local 4136 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, texData.data()); in TEST_P() 5754 std::vector<GLColor> texData(kTexSize * kTexSize, GLColor::green); in TEST_P() local 5762 texData.data()); in TEST_P()
|
/external/angle/src/tests/egl_tests/ |
D | EGLStreamTest.cpp | 497 constexpr uint8_t texData[] = {0x10, 0x20, 0x30, 0x40}; in TEST_P() local 499 subres.pSysMem = texData; in TEST_P() 617 constexpr uint8_t texData[] = {0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST_P() local 619 subres.pSysMem = texData; in TEST_P() 934 constexpr uint16_t texData[] = {0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000}; in TEST_P() local 936 subres.pSysMem = texData; in TEST_P()
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 1044 std::vector<deUint8> texData (TEST_TEXTURE_SIZE*TEST_TEXTURE_SIZE*4); in init() local 1053 texData[(x * TEST_TEXTURE_SIZE + y) * 4 + 0] = rnd.getUint32() & 0xFF; in init() 1054 texData[(x * TEST_TEXTURE_SIZE + y) * 4 + 1] = 0xFF; in init() 1055 texData[(x * TEST_TEXTURE_SIZE + y) * 4 + 2] = rnd.getUint32() & 0xFF; in init() 1056 texData[(x * TEST_TEXTURE_SIZE + y) * 4 + 3] = 0xFF; in init() 1064 …E_2D, 0, GL_RGBA, TEST_TEXTURE_SIZE, TEST_TEXTURE_SIZE, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texData[0]); in init() 1076 …TEST_TEXTURE_SIZE >> level, TEST_TEXTURE_SIZE >> level, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texData[0]); in init() 1101 …L_RGBA, TEST_TEXTURE_CUBE_SIZE, TEST_TEXTURE_CUBE_SIZE, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texData[0]); in init()
|
/external/deqp/modules/gles31/functional/ |
D | es31fStencilTexturingTests.cpp | 678 tcu::TextureCube texData (glu::mapGLInternalFormat(m_format), size); in iterate() local 688 texData.allocLevel(face, 0); in iterate() 689 tcu::clearStencil(texData.getLevelFace(0, face), stencilVal); in iterate() 698 …glu::texSubImage2D(renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLeve… in iterate() 732 stencilToUnorm8(texData, redTex); in iterate()
|
D | es31fOpaqueTypeIndexingTests.cpp | 501 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate() local 502 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate() 558 …setupTexture(gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.get… in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 689 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate() local 690 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate() 754 …images.push_back(TestImageSp(new TestImage(m_context, texType, texFormat, &texData[ndx * texFormat… in iterate()
|