Home
last modified time | relevance | path

Searched refs:m_texture (Results 1 – 25 of 62) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp846 , m_texture (format, width) in TestTexture1D()
848 allocateLevels(m_texture); in TestTexture1D()
849 TestTexture::populateLevels(getLevelsVector(m_texture)); in TestTexture1D()
854 , m_texture (tcu::getUncompressedFormat(format), width) in TestTexture1D()
856 allocateLevels(m_texture); in TestTexture1D()
857 TestTexture::populateCompressedLevels(format, getLevelsVector(m_texture)); in TestTexture1D()
866 return m_texture.getNumLevels(); in getNumLevels()
873 return m_texture.getLevel(level); in getLevel()
880 return m_texture.getLevel(level); in getLevel()
885 return m_texture; in getTexture()
[all …]
DvktPipelineImageUtil.hpp164 tcu::Texture1D m_texture; member in vkt::pipeline::TestTexture1D
176 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
177 …virtual tcu::UVec3 getTextureDimension (void) const { return tcu::UVec3(m_texture.getWidth()… in getTextureDimension()
185 tcu::Texture1DArray m_texture; member in vkt::pipeline::TestTexture1DArray
198 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
199 …virtual tcu::UVec3 getTextureDimension (void) const { return tcu::UVec3(m_texture.getWidth()… in getTextureDimension()
207 tcu::Texture2D m_texture; member in vkt::pipeline::TestTexture2D
220 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat()
221 …3 getTextureDimension (void) const { return tcu::UVec3(m_texture.getWidth(), m_texture.getHe… in getTextureDimension()
229 tcu::Texture2DArray m_texture; member in vkt::pipeline::TestTexture2DArray
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureFormatTests.cpp105 glu::Texture2D* m_texture; member in deqp::gles3::Functional::Texture2DFormatCase
117 , m_texture (DE_NULL) in Texture2DFormatCase()
130 , m_texture (DE_NULL) in Texture2DFormatCase()
158 m_texture = m_dataType != GL_NONE in init()
163 m_texture->getRefTexture().allocLevel(0); in init()
164 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueM… in init()
169 delete m_texture; in deinit()
170 m_texture = DE_NULL; in deinit()
185 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in iterate()
192 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
[all …]
Des3fTextureSizeTests.cpp74 glu::Texture2D* m_texture; member in deqp::gles3::Functional::Texture2DSizeCase
86 , m_texture (DE_NULL) in Texture2DSizeCase()
98 DE_ASSERT(!m_texture); in init()
99 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
106 m_texture->getRefTexture().allocLevel(levelNdx); in init()
107 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1… in init()
113 delete m_texture; in deinit()
114 m_texture = DE_NULL; in deinit()
144 m_texture->upload(); in iterate()
148 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture()); in iterate()
[all …]
Des3fTextureMipmapTests.cpp162 glu::Texture2D* m_texture; member in deqp::gles3::Functional::Texture2DMipmapCase
190 , m_texture (DE_NULL) in Texture2DMipmapCase()
205 m_texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
218 m_texture->getRefTexture().allocLevel(levelNdx); in init()
219 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init()
225 delete m_texture; in deinit()
226 m_texture = DE_NULL; in deinit()
297 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); in iterate()
326 …sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
331 m_texture->upload(); in iterate()
[all …]
Des3fTextureSwizzleTests.cpp99 glu::Texture2D* m_texture; member in deqp::gles3::Functional::Texture2DSwizzleCase
112 , m_texture (DE_NULL) in Texture2DSwizzleCase()
127m_texture = (m_internalFormat == m_format) ? new glu::Texture2D(m_context.getRenderContext(), m_fo… in init()
130 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in init()
133 m_texture->getRefTexture().allocLevel(0); in init()
134 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueM… in init()
139 delete m_texture; in deinit()
140 m_texture = DE_NULL; in deinit()
149 … (m_context.getRenderContext().getRenderTarget(), m_texture->getRefTexture().getWidth(), m_textu… in iterate()
155 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in iterate()
[all …]
Des3fTextureWrapTests.cpp126 glu::Texture2D* m_texture; member in deqp::gles3::Functional::TextureWrapCase
144 , m_texture (DE_NULL) in TextureWrapCase()
164 , m_texture (DE_NULL) in TextureWrapCase()
183 , m_texture (DE_NULL) in TextureWrapCase()
204m_texture = glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_fi… in init()
205 m_width = m_texture->getRefTexture().getWidth(); in init()
206 m_height = m_texture->getRefTexture().getHeight(); in init()
226 m_texture = new glu::Texture2D(m_renderCtx, m_renderCtxInfo, 1, &compressedTexture); in init()
259m_texture = new glu::Texture2D(m_renderCtx, m_renderCtxInfo, 1, &compressedTexture, tcu::TexDecomp… in init()
266 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp89 glu::Texture2D* m_texture; member in deqp::gles2::Functional::Texture2DFormatCase
100 , m_texture (DE_NULL) in Texture2DFormatCase()
123 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
126 m_texture->getRefTexture().allocLevel(0); in init()
127 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueM… in init()
132 delete m_texture; in deinit()
133 m_texture = DE_NULL; in deinit()
148 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in iterate()
155 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
173 m_texture->upload(); in iterate()
[all …]
Des2fTextureSizeTests.cpp73 glu::Texture2D* m_texture; member in deqp::gles2::Functional::Texture2DSizeCase
85 , m_texture (DE_NULL) in Texture2DSizeCase()
97 DE_ASSERT(!m_texture); in init()
98 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
105 m_texture->getRefTexture().allocLevel(levelNdx); in init()
106 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1… in init()
112 delete m_texture; in deinit()
113 m_texture = DE_NULL; in deinit()
143 m_texture->upload(); in iterate()
147 gl.bindTexture(GL_TEXTURE_2D, m_texture->getGLTexture()); in iterate()
[all …]
Des2fTextureMipmapTests.cpp113 glu::Texture2D* m_texture; member in deqp::gles2::Functional::Texture2DMipmapCase
141 , m_texture (DE_NULL) in Texture2DMipmapCase()
161 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
174 m_texture->getRefTexture().allocLevel(levelNdx); in init()
175 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init()
181 delete m_texture; in deinit()
182 m_texture = DE_NULL; in deinit()
253 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); in iterate()
282 …sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
287 m_texture->upload(); in iterate()
[all …]
Des2fTextureWrapTests.cpp86 glu::Texture2D* m_texture; member in deqp::gles2::Functional::TextureWrapCase
102 , m_texture (DE_NULL) in TextureWrapCase()
120 , m_texture (DE_NULL) in TextureWrapCase()
136m_texture = glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_fi… in init()
137 m_width = m_texture->getRefTexture().getWidth(); in init()
138 m_height = m_texture->getRefTexture().getHeight(); in init()
142 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
145 m_texture->getRefTexture().allocLevel(0); in init()
146 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), tcu::Vec4(-0.5f, -0.5f, -0… in init()
148 m_texture->upload(); in init()
[all …]
/external/deqp/framework/randomshaders/
DrsgSamplers.hpp38 : m_texture (DE_NULL) in Sampler2D()
44 : m_texture (texture) in Sampler2D()
51 return m_texture->sample(m_sampler, s, t, lod); in sample()
55 const tcu::Texture2D* m_texture; member in rsg::Sampler2D
63 : m_texture (DE_NULL) in SamplerCube()
69 : m_texture (texture) in SamplerCube()
76 return m_texture->sample(m_sampler, s, t, r, lod); in sample()
80 const tcu::TextureCube* m_texture; member in rsg::SamplerCube
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp208 return m_texture->getGLTexture(); in getTextureGL()
222 m_texture = de::MovePtr<glu::Texture1D>(new glu::Texture1D(context, format, type, size.x())); in generate()
224 m_texture->getRefTexture().allocLevel(0); in generate()
227 m_texture->getRefTexture().allocLevel(1); in generate()
231 tcu::fillWithGrid(m_texture->getRefTexture().getLevel(0), 4, tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), in generate()
235 m_texture->upload(); in generate()
240 gl.generateTextureMipmap(m_texture->getGLTexture()); in generate()
255 return m_texture->getGLTexture(); in getTextureGL()
271m_texture = de::MovePtr<glu::Texture1DArray>(new glu::Texture1DArray(context, format, type, size.x… in generate()
273 m_texture->getRefTexture().allocLevel(0); in generate()
[all …]
Dgl4cShaderImageSizeTests.cpp427 GLuint m_texture; member in gl4cts::__anon9cff8db00111::ImageSizeMachine
610 glGenTextures(1, &m_texture); in ImageSizeMachine()
619 glDeleteTextures(1, &m_texture); in ~ImageSizeMachine()
692 glBindTexture(GL_TEXTURE_2D, m_texture); in Run()
703 glBindImageTexture(0, m_texture, 0, GL_FALSE, 0, GL_WRITE_ONLY, GL_RGBA32I); in Run()
726 glBindTexture(GL_TEXTURE_2D, m_texture); in Run()
754 GLuint m_texture[7]; member in gl4cts::__anon9cff8db00111::BasicNonMS
759 glGenTextures(7, m_texture); in Setup()
775 glBindTexture(target[i], m_texture[i]); in Run()
785 glBindImageTexture(1, m_texture[i], 1, GL_FALSE, 0, GL_READ_ONLY, TexInternalFormat<T>()); in Run()
[all …]
Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp918 GLuint m_texture; member in gl4cts::es31compatibility::__anonf2ec32580111::BasicAPIBind
922 m_texture = 0; in Setup()
939 glGenTextures(1, &m_texture); in Run()
940 glBindTexture(GL_TEXTURE_2D_ARRAY, m_texture); in Run()
944 glBindImageTexture(0, m_texture, 0, GL_FALSE, 0, GL_READ_WRITE, GL_R32F); in Run()
945 if (!CheckBinding(0, m_texture, 0, GL_FALSE, 0, GL_READ_WRITE, GL_R32F)) in Run()
948 glBindImageTexture(3, m_texture, 1, GL_TRUE, 1, GL_WRITE_ONLY, GL_RGBA8); in Run()
949 if (!CheckBinding(3, m_texture, 1, GL_TRUE, 1, GL_WRITE_ONLY, GL_RGBA8)) in Run()
952 glBindImageTexture(1, m_texture, 3, GL_FALSE, 2, GL_READ_WRITE, GL_RGBA8UI); in Run()
953 if (!CheckBinding(1, m_texture, 3, GL_FALSE, 2, GL_READ_WRITE, GL_RGBA8UI)) in Run()
[all …]
Dgl4cTextureFilterMinmaxTests.hpp119 de::MovePtr<glu::Texture1D> m_texture; member in gl4cts::TextureFilterMinmaxUtils::Texture1D
134 de::MovePtr<glu::Texture1DArray> m_texture; member in gl4cts::TextureFilterMinmaxUtils::Texture1DArray
149 de::MovePtr<glu::Texture2D> m_texture; member in gl4cts::TextureFilterMinmaxUtils::Texture2D
164 de::MovePtr<glu::Texture2DArray> m_texture; member in gl4cts::TextureFilterMinmaxUtils::Texture2DArray
179 de::MovePtr<glu::Texture3D> m_texture; member in gl4cts::TextureFilterMinmaxUtils::Texture3D
194 de::MovePtr<glu::TextureCube> m_texture; member in gl4cts::TextureFilterMinmaxUtils::TextureCube
/external/deqp/modules/gles31/functional/
Des31fTextureFormatTests.cpp118 glu::TextureCubeArray* m_texture; member in deqp::gles31::Functional::TextureCubeArrayFormatCase
132 , m_texture (DE_NULL) in TextureCubeArrayFormatCase()
146 , m_texture (DE_NULL) in TextureCubeArrayFormatCase()
164 m_texture = m_dataType != GL_NONE in init()
168 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in init()
171 m_texture->getRefTexture().allocLevel(0); in init()
172 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueM… in init()
190 delete m_texture; in deinit()
191 m_texture = DE_NULL; in deinit()
206 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in testLayerFace()
[all …]
Des31fShaderTextureSizeTests.cpp101 glw::GLuint m_texture; member in deqp::gles31::Functional::__anondfd734840111::TextureSizeCase
116 , m_texture (0) in TextureSizeCase()
235 if (m_texture) in deinit()
237 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_texture); in deinit()
238 m_texture = 0; in deinit()
403 gl.genTextures(1, &m_texture); in createTexture()
404 gl.bindTexture(getTextureGLTarget(), m_texture); in createTexture()
418 if (m_texture) in deleteTexture()
420 gl.deleteTextures(1, &m_texture); in deleteTexture()
421 m_texture = 0; in deleteTexture()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp332 const Texture m_texture; member in vkt::image::__anonb33f59f20111::StoreTest
345 , m_texture (texture) in StoreTest()
351 DE_ASSERT(m_texture.numLayers() > 1); in StoreTest()
356 const float storeColorScale = computeStoreColorScale(m_format, m_texture.size()); in initPrograms()
360 const std::string xMax = de::toString(m_texture.size().x() - 1); in initPrograms()
361 const std::string yMax = de::toString(m_texture.size().y() - 1); in initPrograms()
372 const int dimension = (m_singleLayerBind ? m_texture.layerDimension() : m_texture.dimension()); in initPrograms()
375 …edImageType = (m_singleLayerBind ? getImageTypeForSingleLayer(m_texture.type()) : m_texture.type()… in initPrograms()
435 const Texture m_texture; member in vkt::image::__anonb33f59f20111::BaseTestInstance
443 , m_texture (texture) in BaseTestInstance()
[all …]
DvktImageSizeTests.cpp173 const Texture m_texture; member in vkt::image::__anon187f24600111::SizeTest
186 , m_texture (texture) in SizeTest()
198 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), m_texture.type()); in initPrograms()
199 const int dimension = m_texture.dimension(); in initPrograms()
220 : dimension == 2 || m_texture.type() == IMAGE_TYPE_CUBE ? // cubes return ivec2 in initPrograms()
262 const Texture m_texture; member in vkt::image::__anon187f24600111::SizeTestInstance
270 , m_texture (texture) in SizeTestInstance()
288 if (m_texture.type() == IMAGE_TYPE_CUBE_ARRAY && !m_context.getDeviceFeatures().imageCubeArray) in checkRequirements()
341 const tcu::IVec3 expectedSize = getExpectedImageSizeResult(m_texture); in iterate()
378 …m_image = de::MovePtr<Image>(new Image(vk, device, allocator, makeImageCreateInfo(m_texture, m_for… in ImageSizeTestInstance()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp113 glu::Texture2D* m_texture; member in deqp::gles2::Accuracy::Texture2DMipmapCase
141 , m_texture (DE_NULL) in Texture2DMipmapCase()
158 m_texture = new Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
171 m_texture->getRefTexture().allocLevel(levelNdx); in init()
172 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init()
178 delete m_texture; in deinit()
179 m_texture = DE_NULL; in deinit()
254 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); in iterate()
286 …sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
292 m_texture->upload(); in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp109 glu::Texture2D* m_texture; member in deqp::gles3::Accuracy::Texture2DMipmapCase
137 , m_texture (DE_NULL) in Texture2DMipmapCase()
149 m_texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height); in init()
162 m_texture->getRefTexture().allocLevel(levelNdx); in init()
163 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init()
169 delete m_texture; in deinit()
170 m_texture = DE_NULL; in deinit()
245 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); in iterate()
278 …sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
284 m_texture->upload(); in iterate()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderImageLoadStoreTests.cpp888 GLuint m_texture; member in glcts::__anon81fbf7530111::BasicAPIBind
892 m_texture = 0; in Setup()
908 glGenTextures(1, &m_texture); in Run()
909 glBindTexture(GL_TEXTURE_2D_ARRAY, m_texture); in Run()
913 glBindImageTexture(0, m_texture, 0, GL_FALSE, 0, GL_READ_WRITE, GL_R32F); in Run()
914 if (!CheckBinding(0, m_texture, 0, GL_FALSE, 0, GL_READ_WRITE, GL_R32F)) in Run()
917 glBindImageTexture(3, m_texture, 1, GL_TRUE, 1, GL_WRITE_ONLY, GL_RGBA8); in Run()
918 if (!CheckBinding(3, m_texture, 1, GL_TRUE, 1, GL_WRITE_ONLY, GL_RGBA8)) in Run()
921 glBindImageTexture(1, m_texture, 3, GL_FALSE, 2, GL_READ_WRITE, GL_RGBA8UI); in Run()
922 if (!CheckBinding(1, m_texture, 3, GL_FALSE, 2, GL_READ_WRITE, GL_RGBA8UI)) in Run()
[all …]
Des31cShaderImageSizeTests.cpp573 GLuint m_texture[4]; member in glcts::__anonb07aa1210111::BasicNonMS
577 glGenTextures(4, m_texture); in Setup()
590 glBindTexture(target[i], m_texture[i]); in Run()
597 glBindImageTexture(0, m_texture[i], 1, GL_FALSE, 0, GL_READ_ONLY, TexInternalFormat<T>()); in Run()
602 glBindImageTexture(1, m_texture[i], 0, GL_TRUE, 0, GL_READ_ONLY, TexInternalFormat<T>()); in Run()
607 glBindImageTexture(2, m_texture[i], 0, GL_TRUE, 0, GL_READ_WRITE, TexInternalFormat<T>()); in Run()
612 glBindImageTexture(3, m_texture[i], 2, GL_TRUE, 0, GL_READ_ONLY, TexInternalFormat<T>()); in Run()
621 glDeleteTextures(4, m_texture); in Cleanup()
631 GLuint m_texture[4]; member in glcts::__anonb07aa1210111::AdvancedNonMS
635 glGenTextures(4, m_texture); in Setup()
[all …]
Des31cFramebufferNoAttachmentsTests.cpp98 GLuint m_texture; member in glcts::FramebufferNoAttachmentsApiCase
103 …ebufferNoAttachmentsBaseCase(context, name, description), m_fbo(0), m_renderbuffer(0), m_texture(0) in FramebufferNoAttachmentsApiCase()
184 gl.deleteTextures(1, &m_texture); in end_fbo()
188 m_texture = 0; in end_fbo()
495 GLuint m_texture; member in glcts::FramebufferNoAttachmentsRenderCase
506 , m_texture(0) in FramebufferNoAttachmentsRenderCase()
517 gl.deleteTextures(1, &m_texture); in deinit()
583 gl.genTextures(1, &m_texture); in iterate()
584 gl.bindTexture(GL_TEXTURE_2D, m_texture); in iterate()
588 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_texture, 0); in iterate()
[all …]

123