Searched defs:texture (Results 1 - 25 of 241) sorted by path

12345678910

/external/autotest/client/deps/glbench/src/
H A Dfillratetest.cc62 "uniform sampler2D texture;"
65 " gl_FragColor = texture2D(texture, v1.xy);"
117 // Get a fractal looking source texture of size 512x512 and full levels
119 GLuint texture = SetupTexture(9); local
121 GLuint texture_uniform = glGetUniformLocation(program, "texture");
160 glDeleteTextures(1, &texture);
183 // We don't care for tiny texture sizes. And why the 8K*8K reference is
192 // Setup texture for FBO.
215 // Attach texture and check for completeness.
220 // Get a fractal looking source texture o
[all...]
H A Dwindowmanagertest.cc105 GLuint texture = GenerateAndBindTexture(); local
175 glDeleteTextures(1, &texture);
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageLoadStoreTests.cpp70 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format, const VkImageUsageFlags usage, const VkImageCreateFlags flags) argument
76 (isCube(texture) ? (VkImageCreateFlags)VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT : 0u) | flags, // VkImageCreateFlags flags;
77 mapImageType(texture.type()), // VkImageType imageType;
79 makeExtent3D(texture.layerSize()), // VkExtent3D extent;
81 (deUint32)texture.numLayers(), // deUint32 arrayLayers;
93 inline VkBufferImageCopy makeBufferImageCopy (const Texture& texture) argument
95 return image::makeBufferImageCopy(makeExtent3D(texture.layerSize()), texture.numLayers());
148 tcu::ConstPixelBufferAccess getLayerOrSlice (const Texture& texture, const tcu::ConstPixelBufferAccess access, const int layer) argument
150 switch (texture
184 comparePixelBuffers(tcu::TestLog& log, const Texture& texture, const VkFormat format, const tcu::ConstPixelBufferAccess reference, const tcu::ConstPixelBufferAccess result) argument
357 commandImageWriteBarrierBetweenShaderInvocations(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const Texture& texture) argument
382 commandCopyImageToBuffer(Context& context, const VkCommandBuffer cmdBuffer, const VkImage image, const VkBuffer buffer, const VkDeviceSize bufferSizeBytes, const Texture& texture) argument
445 StoreTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Texture& texture, const VkFormat format, const TestFlags flags) argument
538 BaseTestInstance(Context& context, const Texture& texture, const VkFormat format, const bool singleLayerBind) argument
609 StoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const bool singleLayerBind) argument
671 ImageStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const bool singleLayerBind) argument
822 BufferStoreTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
895 LoadStoreTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const TestFlags flags) argument
974 LoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const bool singleLayerBind) argument
1052 ImageLoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const bool singleLayerBind) argument
1213 BufferLoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat) argument
1343 const Texture& texture = s_textures[textureNdx]; local
1367 const Texture& texture = s_textures[textureNdx]; local
1392 const Texture& texture = s_textures[textureNdx]; local
1413 const Texture& texture = getTestTexture(imageType); local
[all...]
H A DvktImageSizeTests.cpp53 //! Get a texture based on image type and suggested size.
86 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format) argument
92 (isCube(texture) ? (VkImageCreateFlags)VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT : 0u), // VkImageCreateFlags flags;
93 mapImageType(texture.type()), // VkImageType imageType;
95 makeExtent3D(texture.layerSize()), // VkExtent3D extent;
97 (deUint32)texture.numLayers(), // deUint32 arrayLayers;
116 tcu::IVec3 getExpectedImageSizeResult (const Texture& texture) argument
124 const tcu::IVec3 size = texture.size();
127 switch (texture.type())
163 const Texture& texture,
177 SizeTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Texture& texture, const VkFormat format, const deUint32 flags) argument
229 getCaseName(const Texture& texture, const deUint32 flags) argument
265 SizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
356 ImageSizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
432 BufferSizeTestInstance(Context& context, const Texture& texture, const VkFormat format) argument
526 const Texture texture = getTexture(s_imageTypes[imageTypeNdx], s_baseImageSizes[imageSizeNdx]); local
[all...]
H A DvktImageTexture.hpp44 tcu::IVec3 size (void) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture)
54 inline bool isCube (const Texture& texture) argument
56 return texture.type() == IMAGE_TYPE_CUBE || texture.type() == IMAGE_TYPE_CUBE_ARRAY;
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageSamplingInstance.cpp68 MovePtr<TestTexture> texture; local
75 texture = MovePtr<TestTexture>(new TestTexture1D(format, size.x()));
77 texture = MovePtr<TestTexture>(new TestTexture1DArray(format, size.x(), layerCount));
84 texture = MovePtr<TestTexture>(new TestTexture2D(format, size.x(), size.y()));
92 texture = MovePtr<TestTexture>(new TestTextureCube(format, size.x()));
98 texture = MovePtr<TestTexture>(new TestTextureCubeArray(format, size.x(), layerCount));
103 texture = MovePtr<TestTexture>(new TestTexture2DArray(format, size.x(), size.y(), layerCount));
110 texture = MovePtr<TestTexture>(new TestTexture3D(format, size.x(), size.y(), size.z()));
117 return texture;
211 const tcu::Texture1D& texture local
216 const tcu::Texture1DArray& texture = dynamic_cast<const TestTexture1DArray&>(testTexture).getTexture(); local
238 const tcu::Texture2D& texture = dynamic_cast<const TestTexture2D&>(testTexture).getTexture(); local
247 const tcu::TextureCube& texture = dynamic_cast<const TestTextureCube&>(testTexture).getTexture(); local
254 const tcu::TextureCubeArray& texture = dynamic_cast<const TestTextureCubeArray&>(testTexture).getTexture(); local
277 const tcu::Texture2DArray& texture = dynamic_cast<const TestTexture2DArray&>(testTexture).getTexture(); local
302 const tcu::Texture3D& texture = dynamic_cast<const TestTexture3D&>(testTexture).getTexture(); local
[all...]
H A DvktPipelineImageUtil.cpp495 void allocateLevels (TcuTextureType& texture) argument
497 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++)
498 texture.allocLevel(levelNdx);
502 std::vector<tcu::PixelBufferAccess> getLevelsVector (const TcuTextureType& texture) argument
504 std::vector<tcu::PixelBufferAccess> levels(texture.getNumLevels());
506 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++)
507 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx));
H A DvktPipelineReferenceRenderer.hpp179 SamplerFragmentShader (const tcu::TextureFormat& colorFormat, const TextureType& texture, const tcu::Sampler& sampler, float lod, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::UVec4& swizzle) argument
183 , m_texture (texture)
202 static tcu::Vec4 sampleTexture (const tcu::Texture1D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
204 return texture.sample(sampler, texCoord.x(), lod);
207 static tcu::Vec4 sampleTexture (const tcu::Texture1DArray& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
209 return texture.sample(sampler, texCoord.x(), texCoord.y(), lod);
212 static tcu::Vec4 sampleTexture (const tcu::Texture2D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
214 return texture.sample(sampler, texCoord.x(), texCoord.y(), lod);
217 static tcu::Vec4 sampleTexture (const tcu::Texture2DArray& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
219 return texture
222 sampleTexture(const tcu::Texture3D& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
227 sampleTexture(const tcu::TextureCube& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
232 sampleTexture(const tcu::TextureCubeArray& texture, const tcu::Sampler& sampler, const tcu::Vec4& texCoord, float lod) argument
273 SamplerProgram(const tcu::TextureFormat& colorFormat, const TextureType& texture, const tcu::Sampler& sampler, float lod, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::UVec4& swizzle) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp269 DE_FATAL("Unsupported texture type");
291 // \todo [2015-10-08 elecro] for some reason we get better when using RGBA texture even in RGB case, this needs to be investigated
292 de::MovePtr<tcu::Texture2D> texture(new tcu::Texture2D(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), level.getWidth(), level.getHeight()));
295 texture->allocLevel(0);
296 tcu::copy(texture->getLevel(0), level.getAccess());
298 return texture;
311 // Fill in texture array.
331 TCU_THROW(InternalError, "Handling of texture binding type not implemented");
746 Move<VkImage> ShaderRenderCaseInstance::createImage2D (const tcu::Texture2D& texture, argument
763 (deUint32)texture
[all...]
/external/deqp/framework/common/
H A DtcuTexLookupVerifier.cpp1313 bool isLookupResultValid (const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument
1324 if (isLevelSampleResultValid(texture.getLevel(0), sampler, sampler.magFilter, prec, coord, 0, result))
1333 const int maxTexLevel = texture.getNumLevels()-1;
1349 if (isMipmapLinearSampleResultValid(texture.getLevel(level), texture.getLevel(level+1), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, Vec2(minF, maxF), result))
1364 if (isLevelSampleResultValid(texture.getLevel(level), sampler, getLevelFilter(sampler.minFilter), prec, coord, 0, result))
1370 if (isLevelSampleResultValid(texture.getLevel(0), sampler, sampler.minFilter, prec, coord, 0, result))
1378 bool isLookupResultValid (const Texture1DView& texture, const Sampler& sampler, const LookupPrecision& prec, const float coord, const Vec2& lodBounds, const Vec4& result) argument
1389 if (isLevelSampleResultValid(texture.getLevel(0), sampler, sampler.magFilter, prec, coord, 0, result))
1398 const int maxTexLevel = texture
1659 getCubeLevelFaces(const TextureCubeView& texture, const int levelNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument
1665 isLookupResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
1768 isLookupResultValid(const Texture1DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, const Vec2& lodBounds, const Vec4& result) argument
1838 isLookupResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
1936 isLookupResultValid(const Texture3DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, const Vec2& lodBounds, const Vec4& result) argument
2001 getCubeArrayLevelFaces(const TextureCubeArrayView& texture, const int levelNdx, const int layerNdx, ConstPixelBufferAccess (&out)[CUBEFACE_LAST]) argument
2013 isLookupResultValid(const TextureCubeArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const IVec4& coordBits, const Vec4& coord, const Vec2& lodBounds, const Vec4& result) argument
2367 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument
2378 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument
2389 isGatherOffsetsResultValid(const Texture2DView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument
2401 is2DArrayGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vector<ScalarType, 4>& result) argument
2418 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const Vec4& result) argument
2429 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const IVec4& result) argument
2440 isGatherOffsetsResultValid(const Texture2DArrayView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const UVec4& result) argument
2452 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const CubeFaceFloatCoords& coords, int componentNdx, const Vector<ScalarType, 4>& result) argument
2509 isCubeGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const Vector<ScalarType, 4>& result) argument
2535 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const LookupPrecision& prec, const Vec3& coord, int componentNdx, const Vec4& result) argument
2545 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const IVec4& result) argument
2555 isGatherResultValid(const TextureCubeView& texture, const Sampler& sampler, const IntLookupPrecision& prec, const Vec3& coord, int componentNdx, const UVec4& result) argument
[all...]
/external/deqp/framework/opengl/
H A DgluTexture.cpp139 TCU_THROW(NotSupportedError, "Compressed texture format not supported");
199 // Decompress to reference texture.
206 // Upload to GL texture in compressed form.
222 // Uncompressed texture.
233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight()); local
238 texture->getRefTexture().allocLevel(0);
239 tcu::copy(texture->getRefTexture().getLevel(0), level.getAccess());
246 texture->getRefTexture().allocLevel(levelNdx);
247 tcu::copy(texture->getRefTexture().getLevel(levelNdx), level.getAccess());
251 texture
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp64 void ContextWrapper::glActiveTexture (deUint32 texture) argument
66 m_curCtx->activeTexture(texture);
69 void ContextWrapper::glBindTexture (deUint32 target, deUint32 texture) argument
71 m_curCtx->bindTexture(target, texture);
189 void ContextWrapper::glFramebufferTexture2D (deUint32 target, deUint32 attachment, deUint32 textarget, deUint32 texture, int level) argument
191 m_curCtx->framebufferTexture2D(target, attachment, textarget, texture, level);
194 void ContextWrapper::glFramebufferTextureLayer (deUint32 target, deUint32 attachment, deUint32 texture, int level, int layer) argument
196 m_curCtx->framebufferTextureLayer(target, attachment, texture, level, layer);
H A DsglrGLContext.cpp148 void GLContext::activeTexture (deUint32 texture) argument
150 m_wrapper->glActiveTexture(texture);
174 void GLContext::bindTexture (deUint32 target, deUint32 texture) argument
176 m_allocatedTextures.insert(texture);
177 m_wrapper->glBindTexture(target, texture);
383 void GLContext::framebufferTexture2D (deUint32 target, deUint32 attachment, deUint32 textarget, deUint32 texture, int level) argument
385 m_wrapper->glFramebufferTexture2D(target, attachment, textarget, texture, level);
388 void GLContext::framebufferTextureLayer (deUint32 target, deUint32 attachment, deUint32 texture, int level, int layer) argument
390 m_wrapper->glFramebufferTextureLayer(target, attachment, texture, level, layer);
H A DsglrReferenceContext.cpp179 TCU_FAIL("Can't map pixel format to texture format");
262 // Limit texture sizes to supported values
388 // Create empty textures to be used when texture objects are incomplete.
494 void ReferenceContext::activeTexture (deUint32 texture) argument
496 if (deInBounds32(texture, GL_TEXTURE0, GL_TEXTURE0 + (deUint32)m_textureUnits.size()))
497 m_activeTexture = texture - GL_TEXTURE0;
502 void ReferenceContext::setTex1DBinding (int unitNdx, Texture1D* texture) argument
510 if (texture)
512 m_textures.acquireReference(texture);
513 m_textureUnits[unitNdx].tex1DBinding = texture;
517 setTex2DBinding(int unitNdx, Texture2D* texture) argument
532 setTexCubeBinding(int unitNdx, TextureCube* texture) argument
547 setTex2DArrayBinding(int unitNdx, Texture2DArray* texture) argument
562 setTex3DBinding(int unitNdx, Texture3D* texture) argument
577 setTexCubeArrayBinding(int unitNdx, TextureCubeArray* texture) argument
592 bindTexture(deUint32 target, deUint32 texture) argument
685 Texture* texture = name ? m_textures.find(name) : DE_NULL; local
692 deleteTexture(Texture* texture) argument
1124 TextureCube* texture = unit.texCubeBinding ? unit.texCubeBinding : &unit.defaultCubeTex; local
1163 Texture2DArray* texture = unit.tex2DArrayBinding ? unit.tex2DArrayBinding : &unit.default2DArrayTex; local
1202 Texture3D* texture = unit.tex3DBinding ? unit.tex3DBinding : &unit.default3DTex; local
1242 TextureCubeArray* texture = unit.texCubeArrayBinding ? unit.texCubeArrayBinding : &unit.defaultCubeArrayTex; local
1345 TextureCube& texture = unit.texCubeBinding ? *unit.texCubeBinding : unit.defaultCubeTex; variable
1365 Texture3D& texture = unit.tex3DBinding ? *unit.tex3DBinding : unit.default3DTex; variable
1384 Texture2DArray& texture = unit.tex2DArrayBinding ? *unit.tex2DArrayBinding : unit.default2DArrayTex; variable
1403 TextureCubeArray& texture = unit.texCubeArrayBinding ? *unit.texCubeArrayBinding : unit.defaultCubeArrayTex; variable
1445 Texture1D* texture = unit.tex1DBinding ? unit.tex1DBinding : &unit.default1DTex; local
[all...]
/external/deqp/framework/randomshaders/
H A DrsgProgramExecutor.cpp178 void ProgramExecutor::setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument
180 m_samplers2D[samplerNdx] = Sampler2D(texture, sampler);
183 void ProgramExecutor::setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument
185 m_samplersCube[samplerNdx] = SamplerCube(texture, sampler);
H A DrsgSamplers.hpp43 Sampler2D (const tcu::Texture2D* texture, const tcu::Sampler& sampler) argument
44 : m_texture (texture)
68 SamplerCube (const tcu::TextureCube* texture, const tcu::Sampler& sampler) argument
69 : m_texture (texture)
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp275 GLuint texture; local
280 gl.genTextures(1, &texture);
282 gl.bindTexture(GL_TEXTURE_2D, texture);
297 return texture;
621 GLuint texture = 0; local
625 m_gl.genTextures(1, &texture);
626 m_gl.bindTexture(GL_TEXTURE_2D, texture);
629 GLU_EXPECT_NO_ERROR(m_gl.getError(), "Creating texture from image");
631 return texture;
635 m_gl.deleteTextures(1, &texture);
[all...]
H A DteglGLES2SharingTests.cpp1154 TestCaseGroup* texture = new TestCaseGroup(m_eglTestCtx, "texture", "Texture creation, destruction and rendering tests"); local
1167 texture->addChild(new GLES2TextureSharingTest(m_eglTestCtx, "create_delete", "Create and delete on shared context", spec));
1180 texture->addChild(new GLES2TextureSharingTest(m_eglTestCtx, "create_delete_mixed", "Create and delete on different contexts", spec));
1193 texture->addChild(new GLES2TextureSharingTest(m_eglTestCtx, "render", "Create, render in two contexts and delete", spec));
1196 gles2->addChild(texture);
H A DteglGLES2SharingThreadedTests.cpp81 void addTexture (SharedPtr<Texture> texture) { m_textures.push_back(texture); } argument
108 SharedPtr<Texture> texture = m_textures[index]; local
112 return texture;
872 GLuint texture; member in class:deqp::egl::GLES2ThreadTest::Texture
882 , texture (0)
890 CreateTexture (SharedPtr<Texture>& texture, bool useSync, bool serverSync);
897 CreateTexture::CreateTexture (SharedPtr<Texture>& texture, bool useSync, bool serverSync) argument
900 texture = SharedPtr<Texture>(new Texture(getEvent(), getSync()));
901 m_texture = texture;
926 DeleteTexture(SharedPtr<Texture> texture, bool useSync, bool serverSync) argument
961 TexImage2D(SharedPtr<Texture> texture, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, bool useSync, bool serverSync) argument
1013 TexSubImage2D(SharedPtr<Texture> texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, bool useSync, bool serverSync) argument
1065 CopyTexImage2D(SharedPtr<Texture> texture, GLint level, GLint internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border, bool useSync, bool serverSync) argument
1117 CopyTexSubImage2D(SharedPtr<Texture> texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height, bool useSync, bool serverSync) argument
1744 RenderTexture(SharedPtr<Program> program, SharedPtr<Texture> texture, bool useSync, bool serverSync) argument
1890 CreateImageFromTexture(SharedPtr<EGLImage>& image, SharedPtr<Texture> texture, bool useSync, bool serverSync) argument
1982 DefineTextureFromImage(SharedPtr<Texture> texture, SharedPtr<EGLImage> image, bool useSync, bool serverSync) argument
2352 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getTexture(textureNdx); local
2637 SharedPtr<GLES2ThreadTest::Texture> texture; local
2649 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local
2657 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local
2665 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local
2673 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); local
2773 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(nonSiblingTextureNdx); local
2792 SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); local
3258 SharedPtr<GLES2ThreadTest::Texture> texture; local
3366 SharedPtr<GLES2ThreadTest::Texture> texture; local
[all...]
H A DteglImageUtil.cpp235 const GLuint texture = clientBuffer->getName(); local
238 GLU_CHECK_GLW_CALL(gl, bindTexture(target, texture));
243 // Set minification filter to linear. This makes the texture complete.
/external/deqp/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp1833 GLuint texture = 0; local
1834 gl.glGenTextures(1, &texture);
1837 gl.glBindTexture(m_textureType, texture);
1840 verifyStateInteger(result, gl, m_testBindingName, texture, m_type);
1842 gl.glDeleteTextures(1, &texture);
H A Des2fShaderTextureFunctionTests.cpp51 FUNCTION_TEXTURE = 0, //!< texture(), textureOffset()
223 ShaderTextureFunctionCase (Context& context, const char* name, const char* desc, const TextureLookupSpec& lookup, const TextureSpec& texture, TexEvalFunc evalFunc, bool isVertexCase);
246 ShaderTextureFunctionCase::ShaderTextureFunctionCase (Context& context, const char* name, const char* desc, const TextureLookupSpec& lookup, const TextureSpec& texture, TexEvalFunc evalFunc, bool isVertexCase) argument
249 , m_textureSpec (texture)
270 throw tcu::NotSupportedError("Vertex shader texture access is not supported");
356 // Append to texture list.
624 tcu::TestCaseGroup* group = new tcu::TestCaseGroup(m_testCtx, "invalid", "Invalid texture function usage", negativeCases);
H A Des2fTextureCompletenessTests.cpp272 GLuint texture; local
273 glGenTextures (1, &texture);
275 glBindTexture (GL_TEXTURE_2D, texture);
341 GLuint texture; local
342 glGenTextures (1, &texture);
344 glBindTexture (GL_TEXTURE_2D, texture);
394 GLuint texture; local
395 glGenTextures (1, &texture);
397 glBindTexture (GL_TEXTURE_2D, texture);
452 GLuint texture; local
500 GLuint texture; local
550 GLuint texture; local
604 GLuint texture; local
676 GLuint texture; local
745 GLuint texture; local
809 GLuint texture; local
858 GLuint texture; local
911 GLuint texture; local
[all...]
H A Des2fTextureFilteringTests.cpp92 const glu::Texture2D* texture; member in struct:deqp::gles2::Functional::Texture2DFilteringCase::FilterCase
97 : texture(DE_NULL)
102 : texture (tex_)
179 // Fill first gradient texture.
189 // Fill second with grid texture.
283 // Compute texture coordinates.
287 gl.bindTexture (GL_TEXTURE_2D, curCase.texture->getGLTexture());
311 const bool isOk = verifyTextureResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(),
355 const glu::TextureCube* texture; member in struct:deqp::gles2::Functional::TextureCubeFilteringCase::FilterCase
360 : texture(DE_NUL
[all...]
H A Des2fTextureUnitTests.cpp68 // \note Cube map texture size is larger in order to make minifications possible - otherwise would need to display different faces at same time.
246 void makeSafeLods (const vector<IVec2>& textureSizes, const IVec2& viewportSize); // Modifies texture coordinates so that LODs aren't too close to x.5 or 0.0 .
568 int m_numTextures; //!< \note Needed in addition to m_numUnits since same texture may be bound to many texture units.
575 vector<int> m_unitTextures; //!< Which texture is used in a particular unit.
576 vector<int> m_ndx2dOrCube; //!< Index of a texture in either m_textures2d or m_texturesCube, depending on texture type.
620 m_numTextures = m_numUnits; // In most cases use one unit per texture.
622 m_numTextures = rnd.getInt(deMax32(1, m_numUnits - 2), m_numUnits); // Sometimes assign same texture to multiple units.
624 log << tcu::TestLog::Message << ("Using " + de::toString(m_numUnits) + " texture uni
852 const tcu::Texture2D* texture = m_textures2d[ndx2d]; local
874 const tcu::TextureCube* texture = m_texturesCube[ndxCube]; local
[all...]

Completed in 816 milliseconds

12345678910