/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cStencilTexturingTests.cpp | 819 std::vector<GLubyte> texture_data; in prepareDestinationTexture() local 842 texture_data.resize(texture_size); in prepareDestinationTexture() 845 memset(&texture_data[0], 0, texture_size); in prepareDestinationTexture() 849 …ateAndFill2DTexture(m_context, m_width, m_height, internal_format, format, type, &texture_data[0]); in prepareDestinationTexture() 946 const std::vector<glw::GLubyte>& texture_data) in prepareSourceTexture() argument 967 &texture_data[0]); in prepareSourceTexture() 1005 …unctionalTest::prepareSourceTextureData(GLenum internal_format, std::vector<GLubyte>& texture_data) in prepareSourceTextureData() argument 1033 texture_data.resize(texture_size); in prepareSourceTextureData() 1053 GLubyte* pixel_data = &texture_data[0] + line_offset + pixel_offset; in prepareSourceTextureData() 1218 std::vector<GLubyte> texture_data; in test() local [all …]
|
D | gl4cStencilTexturingTests.hpp | 71 const std::vector<glw::GLubyte>& texture_data); 73 …void prepareSourceTextureData(glw::GLenum internal_format, std::vector<glw::GLubyte>& texture_data…
|
D | gl4cShaderImageLoadStoreTests.cpp | 7140 std::vector<GLubyte> texture_data; in Create2DR8UIDestinationTexture() local 7141 texture_data.resize(texture_size); in Create2DR8UIDestinationTexture() 7146 texture_data[i] = 0; in Create2DR8UIDestinationTexture() 7150 return Create2DR8UITexture(width, height, texture_data, out_texture_id); in Create2DR8UIDestinationTexture() 7170 std::vector<GLubyte> texture_data; in Create2DR8UISourceTexture() local 7171 texture_data.resize(texture_size); in Create2DR8UISourceTexture() 7176 texture_data[i] = texel_value++; in Create2DR8UISourceTexture() 7180 return Create2DR8UITexture(width, height, texture_data, out_texture_id); in Create2DR8UISourceTexture() 7192 GLenum Create2DR8UITexture(GLuint width, GLuint height, const std::vector<GLubyte>& texture_data, in Create2DR8UITexture() argument 7217 GL_UNSIGNED_BYTE, &texture_data[0]); in Create2DR8UITexture() [all …]
|
D | gl4cGetTextureSubImageTests.cpp | 1042 glw::GLubyte* texture_data = new glw::GLubyte[size]; in check() local 1044 if (DE_NULL == texture_data) in check() 1053 texture_data); in check() 1058 GL_UNSIGNED_BYTE, size, texture_data); in check() 1090 glw::GLubyte tested_value = texture_data[tested_data_position]; in check() 1105 delete[] texture_data; in check() 1110 delete[] texture_data; in check()
|
D | gl4cShadingLanguage420PackTests.cpp | 1982 std::vector<glw::GLuint> texture_data; in checkResults() local 1984 texture_data.resize(texture_data_size); in checkResults() 1986 color_texture.get(m_color_texture_format, m_color_texture_type, &texture_data[0]); in checkResults() 1990 if (green_color != texture_data[i]) in checkResults() 1993 << std::setfill('0') << std::setw(8) << texture_data[i] in checkResults() 2369 std::vector<GLuint> texture_data; in prepareBuffer() local 2370 texture_data.resize(m_width); in prepareBuffer() 2374 for (GLuint i = 0; i < texture_data.size(); ++i) in prepareBuffer() 2376 texture_data[i] = color; in prepareBuffer() 2379 buffer.update(m_width * sizeof(GLuint), &texture_data[0], GL_STATIC_DRAW); in prepareBuffer() [all …]
|
D | gl4cBufferStorageTests.cpp | 3447 GLubyte texture_data[texture_data_size]; in iterate() local 3606 Texture::GetData(gl, GL_TEXTURE_2D, GL_RGBA, GL_UNSIGNED_BYTE, texture_data); in iterate() 3607 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate() 3616 1 /* depth */, texture_data); in iterate() 3659 Texture::GetData(gl, GL_TEXTURE_2D, GL_RGBA, GL_UNSIGNED_BYTE, texture_data); in iterate() 3660 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate() 3669 1 /* depth */, texture_data); in iterate()
|
D | gl4cShaderSubroutineTests.cpp | 5736 std::vector<GLubyte> texture_data; in fillTexture() local 5739 texture_data.resize(m_texture_width * m_texture_height * 4); in fillTexture() 5749 texture_data[point_offset + 0] = color[0]; /* red */ in fillTexture() 5750 texture_data[point_offset + 1] = color[1]; /* green */ in fillTexture() 5751 texture_data[point_offset + 2] = color[2]; /* blue */ in fillTexture() 5752 texture_data[point_offset + 3] = color[3]; /* alpha */ in fillTexture() 5756 texture.update(m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in fillTexture() 5919 std::vector<GLuint> texture_data; in fillTexture() local 5922 texture_data.resize(m_texture_width * m_texture_height * 4); in fillTexture() 5932 texture_data[point_offset + 0] = color[0]; /* red */ in fillTexture() [all …]
|
D | gl4cComputeShaderTests.cpp | 1009 std::vector<vec4> texture_data(kBufferSize, vec4(123.0f)); in RunIteration() local 1019 glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA32F, kWidth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]); in RunIteration() 1025 …glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]… in RunIteration() 1031 …e3D(GL_TEXTURE_3D, 0, GL_RGBA32F, kWidth, kHeight, kDepth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]); in RunIteration() 1037 …ge2D(GL_TEXTURE_RECTANGLE, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]); in RunIteration() 1043 …age2D(GL_TEXTURE_1D_ARRAY, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]); in RunIteration() 1050 &texture_data[0]); in RunIteration() 1054 glBufferData(GL_TEXTURE_BUFFER, kBufferSize * sizeof(vec4), &texture_data[0], GL_DYNAMIC_DRAW); in RunIteration()
|
D | gl4cEnhancedLayoutsTests.cpp | 6944 std::vector<GLuint> texture_data; in test() local 6945 texture_data.resize(m_width * m_height); in test() 6947 for (GLuint i = 0; i < texture_data.size(); ++i) in test() 6949 texture_data[i] = 0x20406080; in test() 6954 &texture_data[0]); in test() 6974 std::vector<GLuint> texture_data; in test() local 6975 texture_data.resize(m_width * m_height); in test() 6977 for (GLuint i = 0; i < texture_data.size(); ++i) in test() 6979 texture_data[i] = 0x20406080; in test() 6983 &texture_data[0]); in test() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcViewportArrayTests.cpp | 2707 std::vector<GLint> texture_data; in checkResults() local 2708 texture_data.resize(m_width * m_height); in checkResults() 2709 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults() 2715 bool result = checkRegionR32I(x, y, index, &texture_data[0]); in checkResults() 3472 std::vector<GLint> texture_data; in checkResults() local 3473 texture_data.resize(m_width * m_height); in checkResults() 3474 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]); in checkResults() 3486 bool result = checkRegionR32I(x, y, expected_value, &texture_data[0]); in checkResults() 3728 std::vector<GLint> texture_data; in checkResults() local 3729 texture_data.resize(m_width * m_height); in checkResults() [all …]
|
D | glcTextureRepeatModeTests.cpp | 510 void fillTextureWithColor(GLubyte* texture_data, GLsizei tex_width, GLsizei tex_height, 597 void TestClampModeForInternalFormat::fillTextureWithColor(GLubyte* texture_data, GLsizei tex_width,… in fillTextureWithColor() argument 613 deMemcpy(texture_data, red, size); in fillTextureWithColor() 614 texture_data += size; in fillTextureWithColor() 618 deMemcpy(texture_data, green, size); in fillTextureWithColor() 619 texture_data += size; in fillTextureWithColor() 626 deMemcpy(texture_data, blue, size); in fillTextureWithColor() 627 texture_data += size; in fillTextureWithColor() 631 deMemcpy(texture_data, white, size); in fillTextureWithColor() 632 texture_data += size; in fillTextureWithColor()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | resource.cpp | 76 std::string texture_data; in clear() local 77 texture_data.reserve(util_format_get_blocksize(pipe->format)); in clear() 78 util_format_pack_rgba(pipe->format, &texture_data[0], data.data(), 1); in clear() 79 q.pipe->clear_texture(q.pipe, pipe, 0, box(from, region), texture_data.data()); in clear()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5TextureGatherOffset.cpp | 958 std::vector<glw::GLubyte> texture_data; in prepareTexture() local 960 texture_data.resize(m_texture_size * m_texture_size * m_texture_bytes_per_pixel); in prepareTexture() 963 prepareTextureData(&texture_data[0]); in prepareTexture() 971 m_texture_size, 1 /* depth */, m_texture_format, m_texture_type, &texture_data[0]); in prepareTexture() 979 m_texture_format, m_texture_type, &texture_data[0]); in prepareTexture() 1269 glw::GLint* texture_data = (glw::GLint*)data; in prepareTextureData() local 1283 texture_data[pixel_offset + 0] = x; in prepareTextureData() 1284 texture_data[pixel_offset + 1] = y; in prepareTextureData() 1287 texture_data[pixel_offset + 2] = x; in prepareTextureData() 1288 texture_data[pixel_offset + 3] = y; in prepareTextureData() [all …]
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 641 nir_ssa_def *texture_data[5]; in blorp_nir_combine_samples() local 642 texture_data[0] = NULL; /* Avoid maybe-uninitialized warning with GCC 10 */ in blorp_nir_combine_samples() 648 assert(stack_depth < ARRAY_SIZE(texture_data)); in blorp_nir_combine_samples() 653 texture_data[stack_depth++] = blorp_nir_txf_ms(b, v, ms_pos, mcs, dst_type); in blorp_nir_combine_samples() 684 nir_store_var(b, color, texture_data[0], 0xf); in blorp_nir_combine_samples() 694 texture_data[stack_depth - 1] = in blorp_nir_combine_samples() 696 texture_data[stack_depth - 1], in blorp_nir_combine_samples() 697 texture_data[stack_depth], in blorp_nir_combine_samples() 707 texture_data[0] = nir_fmul(b, texture_data[0], in blorp_nir_combine_samples() 711 nir_store_var(b, color, texture_data[0], 0xf); in blorp_nir_combine_samples()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySampling.cpp | 883 std::vector<T> texture_data; in prepareDataForTexture() local 884 texture_data.resize(n_total_componenets); in prepareDataForTexture() 886 fillImage<T, N_Components>(texture_width, texture_height, components, &texture_data[0]); in prepareDataForTexture() 889 texture_height, 1 /* depth */, texture_format, texture_type, &texture_data[0]); in prepareDataForTexture()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cComputeShaderTests.cpp | 988 std::vector<vec4> texture_data(kBufferSize, vec4(123.0f)); in RunIteration() local 996 …glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]… in RunIteration() 1002 …e3D(GL_TEXTURE_3D, 0, GL_RGBA32F, kWidth, kHeight, kDepth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]); in RunIteration() 1009 &texture_data[0]); in RunIteration()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.1.0.rst | 3776 - intel/blorp: Initialize texture_data[0]
|