Home
last modified time | relevance | path

Searched refs:texData (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureTest.cpp619 GLubyte texData[4]; in testSamplerArrayDraw() local
620 texData[0] = 0; in testSamplerArrayDraw()
621 texData[1] = 60; in testSamplerArrayDraw()
622 texData[2] = 0; in testSamplerArrayDraw()
623 texData[3] = 255; in testSamplerArrayDraw()
627 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw()
629 texData[1] = 120; in testSamplerArrayDraw()
632 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw()
1454 GLubyte texData[4]; in TEST_P() local
1455 texData[0] = 0; in TEST_P()
[all …]
DGLSLTest.cpp3851 GLubyte texData[] = {0u, 255u, 0u, 255u}; in TEST_P() local
3852 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
3898 GLubyte texData[] = {0u, 255u, 0u, 255u}; in TEST_P() local
3899 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
3948 GLubyte texData[] = {0u, 255u, 0u, 255u}; in TEST_P() local
3949 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
4002 GLubyte texData[] = {0u, 255u, 0u, 255u}; in TEST_P() local
4003 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
4053 GLubyte texData[] = {0u, 255u, 0u, 255u}; in TEST_P() local
4054 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, texData); in TEST_P()
[all …]
DTimerQueriesTest.cpp186 std::vector<GLColor> texData{GLColor::black, GLColor::white, GLColor::white, GLColor::black}; in TEST_P() local
198 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, texData.data()); in TEST_P()
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_pixel_buffer_object.txt338 void *pdrMemory, *texData;
349 texData = getNextImage();
351 while (texData) {
353 memcpy(pdrMemory, texData, texsize);
365 texData = getNextImage();
374 void *pboMemory, *texData;
381 texData = getNextImage();
383 while (texData) {
389 memcpy(pboMemory, texData, texsize);
405 texData = getNextImage();
/third_party/openGLES/extensions/EXT/
DEXT_pixel_buffer_object.txt338 void *pdrMemory, *texData;
349 texData = getNextImage();
351 while (texData) {
353 memcpy(pdrMemory, texData, texsize);
365 texData = getNextImage();
374 void *pboMemory, *texData;
381 texData = getNextImage();
383 while (texData) {
389 memcpy(pboMemory, texData, texsize);
405 texData = getNextImage();
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sSpecialFloatTests.cpp1085 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()
1094texData[(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()
1118texData[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 …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTextureTest.cpp983 GLubyte texData[4]; in testSamplerArrayDraw() local
984 texData[0] = 0; in testSamplerArrayDraw()
985 texData[1] = 60; in testSamplerArrayDraw()
986 texData[2] = 0; in testSamplerArrayDraw()
987 texData[3] = 255; in testSamplerArrayDraw()
991 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw()
993 texData[1] = 120; in testSamplerArrayDraw()
996 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, texData); in testSamplerArrayDraw()
1957 GLubyte texData[4]; in TEST_P() local
1958 texData[0] = 0; in TEST_P()
[all …]
DGLSLTest.cpp4629 GLint texData[2] = {i + 1, j + 1}; in TEST_P() local
4630 glTexImage2D(GL_TEXTURE_2D, 0, GL_RG32I, 1, 1, 0, GL_RG_INTEGER, GL_INT, &texData[0]); in TEST_P()
5096 GLint texData[2] = {i + 1, j + 1}; in TEST_P() local
5097 glTexImage2D(GL_TEXTURE_2D, 0, GL_RG32I, 1, 1, 0, GL_RG_INTEGER, GL_INT, &texData[0]); in TEST_P()
5160 GLint texData[4] = {i + 1, j + 1, k + 1, l + 1}; in TEST_P() local
5162 &texData[0]); in TEST_P()
5246 GLint texData[4] = {i + 1, j + 1, k + 1, l + 1}; in TEST_P() local
5248 &texData[0]); in TEST_P()
5310 GLint texData[4] = {i + 1, j + 1, k + 1, 1}; in TEST_P() local
5317 &texData[0]); in TEST_P()
[all …]
DTimerQueriesTest.cpp192 std::vector<GLColor> texData{GLColor::black, GLColor::white, GLColor::white, GLColor::black}; in TEST_P() local
204 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, texData.data()); in TEST_P()
DWebGLCompatibilityTest.cpp4139 std::vector<GLColor> texData(4 * 4, GLColor::green); in TEST_P() local
4140 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_RGBA, GL_UNSIGNED_BYTE, texData.data()); in TEST_P()
5525 std::vector<GLColor> texData(kTexSize * kTexSize, GLColor::green); in TEST_P() local
5533 texData.data()); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLStreamTest.cpp497 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()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLStreamTest.cpp487 constexpr uint8_t texData[] = {0x10, 0x20, 0x30, 0x40}; in TEST_P() local
489 subres.pSysMem = texData; in TEST_P()
607 constexpr uint8_t texData[] = {0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST_P() local
609 subres.pSysMem = texData; in TEST_P()
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sSpecialFloatTests.cpp1044 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()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fStencilTexturingTests.cpp678 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()
Des31fOpaqueTypeIndexingTests.cpp501 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()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_pixel_buffer_object.txt1450 void *pdrMemory, *texData;
1465 texData = getNextImage();
1467 while (texData) {
1469 memcpy(pdrMemory, texData, texsize);
1481 texData = getNextImage();
1494 void *pboMemory, *texData;
1511 texData = getNextImage();
1513 while (texData) {
1525 memcpy(pboMemory, texData, texsize);
1539 texData = getNextImage();
/third_party/openGLES/extensions/ARB/
DARB_pixel_buffer_object.txt1460 void *pdrMemory, *texData;
1475 texData = getNextImage();
1477 while (texData) {
1479 memcpy(pdrMemory, texData, texsize);
1491 texData = getNextImage();
1504 void *pboMemory, *texData;
1521 texData = getNextImage();
1523 while (texData) {
1535 memcpy(pboMemory, texData, texsize);
1549 texData = getNextImage();
/third_party/openGLES/extensions/NV/
DNV_pixel_buffer_object.txt476 void *pboMemory, *texData;
493 texData = getNextImage();
495 while (texData) {
507 memcpy(pboMemory, texData, texsize);
519 texData = getNextImage();
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_pixel_buffer_object.txt476 void *pboMemory, *texData;
493 texData = getNextImage();
495 while (texData) {
507 memcpy(pboMemory, texData, texsize);
519 texData = getNextImage();
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp689 vector<deUint8> texData (numSamplers * texFormat.getPixelSize()); in iterate() local
690 const tcu::PixelBufferAccess refTexAccess (texFormat, numSamplers, 1, 1, &texData[0]); in iterate()
753 …images.push_back(TestImageSp(new TestImage(m_context, texType, texFormat, &texData[ndx * texFormat… in iterate()