Home
last modified time | relevance | path

Searched refs:texTarget (Results 1 – 19 of 19) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp535 deUint32 texTarget = GL_NONE; in setupDefaultInputs() local
557 texTarget = GL_TEXTURE_2D; in setupDefaultInputs()
561 texTarget = GL_TEXTURE_CUBE_MAP; in setupDefaultInputs()
565 texTarget = GL_TEXTURE_2D_ARRAY; in setupDefaultInputs()
569 texTarget = GL_TEXTURE_3D; in setupDefaultInputs()
577 gl.bindTexture(texTarget, texObj); in setupDefaultInputs()
578 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(sampler.wrapS)); in setupDefaultInputs()
579 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(sampler.wrapT)); in setupDefaultInputs()
580 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(sampler.minFilter)); in setupDefaultInputs()
581 gl.texParameteri(texTarget, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(sampler.magFilter)); in setupDefaultInputs()
[all …]
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp491 deUint32 texTarget = GL_NONE; in setupDefaultInputs() local
512 …case TextureBinding::TYPE_2D: texTarget = GL_TEXTURE_2D; texObj = tex.get2D()->getGLTexture(); … in setupDefaultInputs()
513 …case TextureBinding::TYPE_CUBE_MAP: texTarget = GL_TEXTURE_CUBE_MAP; texObj = tex.getCube()->getGL… in setupDefaultInputs()
514 …case TextureBinding::TYPE_2D_ARRAY: texTarget = GL_TEXTURE_2D_ARRAY; texObj = tex.get2DArray()->ge… in setupDefaultInputs()
515 …case TextureBinding::TYPE_3D: texTarget = GL_TEXTURE_3D; texObj = tex.get3D()->getGLTexture(); … in setupDefaultInputs()
521 gl.bindTexture(texTarget, texObj); in setupDefaultInputs()
522 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(sampler.wrapS)); in setupDefaultInputs()
523 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(sampler.wrapT)); in setupDefaultInputs()
524 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(sampler.minFilter)); in setupDefaultInputs()
525 gl.texParameteri(texTarget, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(sampler.magFilter)); in setupDefaultInputs()
[all …]
DglsFboUtil.hpp287 TextureFlatAttachment (void) : texTarget(GL_NONE) {} in TextureFlatAttachment()
289 glw::GLenum texTarget; member
DglsFboUtil.cpp438 fAtt->texTarget, fAtt->imageName, fAtt->level); in attachAttachment()
725 logField(log, "Texture Target", getTextureTargetName(fAtt->texTarget)); in logAttachment()
DglsFboCompletenessTests.cpp751 texAtt.texTarget = GL_TEXTURE_2D; in makeAttachment()
/external/mesa3d/src/mesa/state_tracker/
Dst_copytex.c50 GLenum texTarget, GLint texLevel, in st_copy_framebuffer_to_texture() argument
66 switch (texTarget) { in st_copy_framebuffer_to_texture()
Dst_copytex.h32 GLenum texTarget, GLint texLevel,
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp280 const deUint32 texTarget = getGLTextureTarget(texType); in setupTexture() local
286 gl.bindTexture(texTarget, texture); in setupTexture()
291 gl.texStorage1D(texTarget, 1, intFormat, 1); in setupTexture()
292 gl.texSubImage1D(texTarget, 0, 0, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
296 gl.texStorage2D(texTarget, 1, intFormat, 1, 1); in setupTexture()
297 gl.texSubImage2D(texTarget, 0, 0, 0, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
302 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 1); in setupTexture()
303 … gl.texSubImage3D(texTarget, 0, 0, 0, 0, 1, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
307 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 6); in setupTexture()
310 …gl.texSubImage3D(texTarget, 0, 0, 0, zoffset, 1, 1, 1, transferFmt.format, transferFmt.dataType, c… in setupTexture()
[all …]
Des31fInternalFormatQueryTests.cpp51 …FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::G…
445 const glw::GLenum texTarget = textureTargets[groupNdx].target; in init() local
454 …group->addChild(new FormatSamplesCase(m_context, name.c_str(), desc.c_str(), texTarget, internalFo… in init()
Des31fIntegerStateQueryTests.cpp102 …TexBindingCase (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::…
112 …Case (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum bin… in TexBindingCase() argument
114 , m_texTarget (texTarget) in TexBindingCase()
/external/deqp/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.cpp945 glw::GLint texTarget = 0; in bind() local
951 texTarget = GL_TEXTURE_2D; in bind()
955 texTarget = GL_TEXTURE_2D_ARRAY; in bind()
959 texTarget = GL_TEXTURE_3D; in bind()
971 gl().bindTexture(texTarget, texName); in bind()
972 … gl().texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(tcu::Sampler::CLAMP_TO_EDGE)); in bind()
973 … gl().texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(tcu::Sampler::CLAMP_TO_EDGE)); in bind()
974 … gl().texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(tcu::Sampler::NEAREST)); in bind()
975 … gl().texParameteri(texTarget, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(tcu::Sampler::NEAREST)); in bind()
988 glw::GLint texTarget = 0; in unbind() local
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c119 const GLenum texTarget = texObj->Target == GL_TEXTURE_CUBE_MAP in _mesa_meta_framebuffer_texture_image() local
127 _mesa_framebuffer_texture(ctx, fb, attachment, att, texObj, texTarget, in _mesa_meta_framebuffer_texture_image()
2043 const char *texTarget; in init_draw_stencil_pixels() local
2050 texTarget = "RECT"; in init_draw_stencil_pixels()
2052 texTarget = "2D"; in init_draw_stencil_pixels()
2053 _mesa_snprintf(program2, sizeof(program2), program, texTarget); in init_draw_stencil_pixels()
2077 const char *texTarget; in init_draw_depth_pixels() local
2084 texTarget = "RECT"; in init_draw_depth_pixels()
2086 texTarget = "2D"; in init_draw_depth_pixels()
2087 _mesa_snprintf(program2, sizeof(program2), program, texTarget); in init_draw_depth_pixels()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y221 %type <integer> texImageUnit texTarget
420 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
471 …P maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
521 texTarget: TEX_1D { $$ = TEXTURE_1D_INDEX; }
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp459 deUint32 texTarget = m_texType == TEXTURETYPE_2D ? GL_TEXTURE_2D : GL_TEXTURE_CUBE_MAP; in iterate() local
460 …glTexParameteri(texTarget, GL_TEXTURE_MIN_FILTER, (m_flags & MIPMAPS) ? GL_NEAREST_MIPMAP_NEAREST … in iterate()
461 glTexParameteri(texTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate()
462 glTexParameteri(texTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in iterate()
463 glTexParameteri(texTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in iterate()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp726 const GLuint texTarget = p->state->unit[unit].source_index; in load_texture() local
754 switch (texTarget) { in load_texture()
Dfbobject.c498 GLenum texTarget, GLuint level, GLuint layer, in set_texture_attachment() argument
521 att->CubeMapFace = _mesa_tex_target_to_face(texTarget); in set_texture_attachment()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp366 TexTarget texTarget; member
373 , texTarget (TEXTARGET_LAST) in Attachment()
DsglrReferenceContext.cpp2022 fboAttachment.texTarget = fboTexTarget; in framebufferTexture2D()
2089 fboAttachment.texTarget = texLayeredTypeToTarget(texObj->getType()); in framebufferTextureLayer()
2093 DE_ASSERT(fboAttachment.texTarget != Framebuffer::TEXTARGET_LAST); in framebufferTextureLayer()
2183 if (attachment.texTarget == Framebuffer::TEXTARGET_2D) in checkFramebufferStatus()
2191 else if (deInRange32(attachment.texTarget, Framebuffer::TEXTARGET_CUBE_MAP_POSITIVE_X, in checkFramebufferStatus()
2197 const tcu::CubeFace face = texTargetToFace(attachment.texTarget); in checkFramebufferStatus()
2203 else if (attachment.texTarget == Framebuffer::TEXTARGET_2D_ARRAY) in checkFramebufferStatus()
2211 else if (attachment.texTarget == Framebuffer::TEXTARGET_3D) in checkFramebufferStatus()
2219 else if (attachment.texTarget == Framebuffer::TEXTARGET_CUBE_MAP_ARRAY) in checkFramebufferStatus()
2344 …amic_cast<TextureCube*>(texture)->getFace(attachment.level, texTargetToFace(attachment.texTarget)); in getFboAttachment()
/external/mesa3d/docs/specs/
DMESA_texture_array.spec488 <texTarget> ::= "1D"