Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5ImagesArrayIndexing.cpp56 , m_texture_width(0) in GPUShader5ImagesArrayIndexing()
79 gl.getIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, &m_texture_width); in initTest()
88 if (m_texture_width * m_texture_height > max_compute_work_group_invocations_value) in initTest()
90 m_texture_width = (max_compute_work_group_invocations_value / m_texture_height); in initTest()
99 local_size_x_stringstream << m_texture_width; in initTest()
126 glw::GLuint dataSize = m_texture_width * m_texture_height * m_texture_n_components; in initTest()
144 gl.texStorage2D(GL_TEXTURE_2D, 1 /* levels */, GL_R32UI, m_texture_width, m_texture_height); in initTest()
146 …gl.texSubImage2D(GL_TEXTURE_2D, 0 /* level */, 0 /* x offset */, 0 /* y offset */, m_texture_width, in initTest()
196 gl.viewport(0, 0, m_texture_width, m_texture_height); in iterate()
200 const glw::GLuint dataSize = m_texture_width * m_texture_height * m_texture_n_components * 4; in iterate()
[all …]
DesextcGPUShader5ImagesArrayIndexing.hpp121 glw::GLint m_texture_width; member in glcts::GPUShader5ImagesArrayIndexing
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderClipping.cpp161 unsigned char buffer[m_texture_width * m_texture_height * m_texture_n_components]; in iterate()
165 const unsigned int row_size = m_texture_width * m_texture_n_components; in iterate()
187 gl.texStorage2D(GL_TEXTURE_2D, m_texture_n_levels, GL_RGBA8, m_texture_width, m_texture_height); in iterate()
205 gl.viewport(0 /* x */, 0 /* y */, m_texture_width /* width */, m_texture_height /* height */); in iterate()
217 …gl.readPixels(0 /* x */, 0 /* y */, m_texture_height /* width */, m_texture_width /* height */, GL… in iterate()
227 for (int x = 0; x < m_texture_width; ++x) in iterate()
DesextcGeometryShaderInput.cpp291 const glw::GLuint GeometryShader_gl_PointSize_ValueTest::m_texture_width = 16; member in glcts::GeometryShader_gl_PointSize_ValueTest
296 const glw::GLuint GeometryShader_gl_Position_ValueTest::m_texture_width = 64; member in glcts::GeometryShader_gl_Position_ValueTest
959 m_texture_width, m_texture_height)) in init()
979 unsigned char result_image[m_texture_width * m_texture_height * m_texture_pixel_size]; in iterate()
1010 …gl.readPixels(0 /* x */, 0 /* y */, m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, … in iterate()
1018 m_texture_width, m_texture_height, m_texture_pixel_size, 255 /* red */, 255 /* green */, in iterate()
1021 …const unsigned int texel_offset = referencePixelCoordinates[1] * m_texture_width * m_texture_pixel… in iterate()
1038 m_texture_width, m_texture_height, m_texture_pixel_size, 255 /* red */, 255 /* green */, in iterate()
1041 …const unsigned int texel_offset = referencePixelCoordinates[1] * m_texture_width * m_texture_pixel… in iterate()
1058 m_texture_width, m_texture_height, m_texture_pixel_size, 0 /* red */, 0 /* green */, in iterate()
[all …]
DesextcGeometryShaderLimits.cpp750 const unsigned int GeometryShaderMaxOutputComponentsSinglePointTest::m_texture_width = m_point_si… member in glcts::GeometryShaderMaxOutputComponentsSinglePointTest
1020 , m_texture_width(0) in GeometryShaderLimitsRenderingBase()
1105 …etFramebufferDetails(m_texture_format, m_texture_read_format, m_texture_read_type, m_texture_width, in initTest()
1115 m_texture_width, m_texture_height)) in initTest()
1137 std::vector<unsigned char> result_image(m_texture_width * m_texture_height * m_texture_pixel_size); in iterate()
1162 …gl.readPixels(0 /* x */, 0 /* y */, m_texture_width, m_texture_height, m_texture_read_format, m_te… in iterate()
1752 , m_texture_width(0) in GeometryShaderMaxOutputComponentsTest()
1799 out_texture_width = m_texture_width; in getFramebufferDetails()
1844 m_texture_width = m_point_size * m_n_output_points; in getShaderParts()
1883 const unsigned int line_size = m_texture_width * m_texture_pixel_size; in verifyResult()
[all …]
DesextcGeometryShaderLimits.hpp180 glw::GLuint m_texture_width; member in glcts::GeometryShaderLimitsRenderingBase
556 glw::GLuint m_texture_width; member in glcts::GeometryShaderMaxOutputComponentsTest
688 static const glw::GLuint m_texture_width; member in glcts::GeometryShaderMaxOutputComponentsSinglePointTest
819 glw::GLuint m_texture_width; member in glcts::GeometryShaderMaxTextureUnitsTest
955 glw::GLuint m_texture_width; member in glcts::GeometryShaderMaxInvocationsTest
1122 glw::GLuint m_texture_width; member in glcts::GeometryShaderMaxCombinedTextureUnitsTest
DesextcGeometryShaderPrimitiveCounter.cpp1143 , m_texture_width(1024) in GeometryShaderPrimitiveIDFromFragmentShader()
1264 gl.texStorage2D(GL_TEXTURE_2D, m_texture_n_levels, GL_RGBA8, m_texture_width, m_texture_height); in iterate()
1292 gl.viewport(0 /* x */, 0 /* y */, m_texture_width, m_texture_height); in iterate()
1309 …glw::GLubyte* resultBuffer = new glw::GLubyte[m_texture_width * m_texture_height * m_texture_n_com… in iterate()
1320 …gl.readPixels(0 /* x */, 0 /* y */, m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, … in iterate()
1333 glw::GLubyte* data_row = resultBuffer + y * m_texture_width * m_texture_n_components; in iterate()
1335 for (glw::GLuint x = 0; x < m_texture_width; ++x) in iterate()
1340 glw::GLuint primitiveID = column + (row * (m_texture_width / m_squareEdgeSize)); in iterate()
DesextcGeometryShaderInput.hpp307 static const glw::GLuint m_texture_width; member in glcts::GeometryShader_gl_PointSize_ValueTest
374 static const glw::GLuint m_texture_width; member in glcts::GeometryShader_gl_Position_ValueTest
DesextcGeometryShaderClipping.hpp84 static const int m_texture_width = 4; member in glcts::GeometryShaderClipping
DesextcGeometryShaderPrimitiveCounter.hpp249 const glw::GLuint m_texture_width; member in glcts::GeometryShaderPrimitiveIDFromFragmentShader
DesextcGeometryShaderAPI.hpp859 const glw::GLuint m_texture_width; member in glcts::GeometryShaderInsufficientEmittedVerticesTest
DesextcGeometryShaderAPI.cpp3367 , m_texture_width(16) in GeometryShaderInsufficientEmittedVerticesTest()
3373 m_pixels = new glw::GLubyte[m_texture_height * m_texture_width * m_number_of_color_components]; in GeometryShaderInsufficientEmittedVerticesTest()
3603 …gl.readPixels(0 /*x*/, 0 /*y*/, m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, m_pi… in iterate()
3606 …for (glw::GLuint pixel = 0; pixel < (m_texture_width * m_texture_height * m_number_of_color_compon… in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayFBOIncompleteness.cpp178 …gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, m_texture_levels, GL_RGBA8, m_texture_width, m_texture_… in iterate()
241 …gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, m_texture_levels, GL_RGBA8, m_texture_width, m_texture_… in iterate()
264 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, m_texture_levels, GL_RGBA8, m_texture_width, m_texture_height, in iterate()
DesextcTextureCubeMapArrayFBOIncompleteness.hpp84 static const glw::GLint m_texture_width = 1; member in glcts::TextureCubeMapArrayFBOIncompleteness
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp6484 , m_texture_width(4) in TextureViewTestViewClasses()
6749 …st<unsigned int>(parent_texture_n_components * sizeof(float) * m_texture_height * m_texture_width + in initBufferObject()
6750 view_texture_n_components * sizeof(float) * m_texture_height * m_texture_width); in initBufferObject()
6764 …st<unsigned int>(parent_texture_n_components * sizeof(float) * m_texture_height * m_texture_width); in initBufferObject()
7016 texture_internalformat, m_texture_width, m_texture_height); in initTextureObject()
7098 internalformat_to_use, type_to_use, m_texture_width, m_texture_height); in initTextureObject()
7291 cached_view_internalformat, m_texture_width, m_texture_height); in initTextureObject()
7298 m_texture_width, m_texture_height, GL_RGB, GL_FLOAT, m_mipmap_data); in initTextureObject()
7317 imageSize_to_use = (unsigned int)ceil((float)m_texture_width / 4.0f) * in initTextureObject()
7328 m_texture_width, m_texture_height, texture_internalformat, imageSize_to_use, in initTextureObject()
[all …]
Dgl4cTextureViewTests.hpp705 const unsigned int m_texture_width; member in gl4cts::TextureViewTestViewClasses
849 const unsigned int m_texture_width; member in gl4cts::TextureViewTestCoherency
920 const unsigned int m_texture_width; member in gl4cts::TextureViewTestBaseAndMaxLevels
1022 const glw::GLuint m_texture_width; member in gl4cts::TextureViewTestReferenceCounting
Dgl4cShaderSubroutineTests.cpp5362 const GLuint FunctionalTest11::m_texture_width = 32; member in gl4cts::ShaderSubroutine::FunctionalTest11
5658 blue_texture.create(m_texture_width, m_texture_height, GL_RGBA8); in iterate()
5659 color_texture.create(m_texture_width, m_texture_height, GL_RGBA8); in iterate()
5660 red_texture.create(m_texture_width, m_texture_height, GL_RGBA8); in iterate()
5664 …framebuffer.attachTexture(GL_COLOR_ATTACHMENT0, color_texture.m_id, m_texture_width, m_texture_hei… in iterate()
5739 texture_data.resize(m_texture_width * m_texture_height * 4); in fillTexture()
5743 const GLuint line_offset = y * m_texture_width * 4; in fillTexture()
5745 for (GLuint x = 0; x < m_texture_width; ++x) in fillTexture()
5756 texture.update(m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in fillTexture()
5811 captured_data.resize(m_texture_width * m_texture_height * 4); in testDraw()
[all …]
Dgl4cShaderSubroutineTests.hpp688 static const glw::GLuint m_texture_width; member in gl4cts::ShaderSubroutine::FunctionalTest11
734 static const glw::GLuint m_texture_width; member in gl4cts::ShaderSubroutine::FunctionalTest12
Dgl4cGPUShaderFP64Tests.hpp528 static const glw::GLuint m_texture_width; member in gl4cts::GPUShaderFP64Test2
Dgl4cGPUShaderFP64Tests.cpp3246 const glw::GLuint GPUShaderFP64Test2::m_texture_width = 32; member in gl4cts::GPUShaderFP64Test2
3247 const glw::GLuint GPUShaderFP64Test2::m_texture_height = m_n_captured_results / m_texture_width;
4287 m_pDispatchCompute(m_texture_width, m_texture_height, 1); in test()
4382 …gl.texSubImage2D(GL_TEXTURE_2D, 0 /* level */, 0 /* x */, 0 /* y */, m_texture_width, m_texture_he… in testBegin()
4393 gl.viewport(0 /* x */, 0 /* y */, m_texture_width, m_texture_height); in testBegin()
4404 …gl.texSubImage2D(GL_TEXTURE_2D, 0 /* level */, 0 /* x */, 0 /* y */, m_texture_width, m_texture_he… in testBegin()
4500 gl.texStorage2D(GL_TEXTURE_2D, 1, GL_R32I, m_texture_width, m_texture_height); in testInit()
4533 image_data.resize(m_texture_width * m_texture_height); in verifyResults()
4542 for (glw::GLuint y = 0; y < m_texture_width; ++y) in verifyResults()
4546 const glw::GLuint offset = y * m_texture_width + x; in verifyResults()