Home
last modified time | relevance | path

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

/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp507 deUint32 texTarget = GL_NONE; in setupDefaultInputs() local
528 …case TextureBinding::TYPE_2D: texTarget = GL_TEXTURE_2D; texObj = tex.get2D()->getGLTexture(); … in setupDefaultInputs()
529 …case TextureBinding::TYPE_CUBE_MAP: texTarget = GL_TEXTURE_CUBE_MAP; texObj = tex.getCube()->getGL… in setupDefaultInputs()
530 …case TextureBinding::TYPE_2D_ARRAY: texTarget = GL_TEXTURE_2D_ARRAY; texObj = tex.get2DArray()->ge… in setupDefaultInputs()
531 …case TextureBinding::TYPE_3D: texTarget = GL_TEXTURE_3D; texObj = tex.get3D()->getGLTexture(); … in setupDefaultInputs()
537 gl.bindTexture(texTarget, texObj); in setupDefaultInputs()
538 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(sampler.wrapS)); in setupDefaultInputs()
539 gl.texParameteri(texTarget, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(sampler.wrapT)); in setupDefaultInputs()
540 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(sampler.minFilter)); in setupDefaultInputs()
541 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.cpp740 texAtt.texTarget = GL_TEXTURE_2D; in makeAttachment()
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp267 const deUint32 texTarget = getGLTextureTarget(texType); in setupTexture() local
273 gl.bindTexture(texTarget, texture); in setupTexture()
278 gl.texStorage1D(texTarget, 1, intFormat, 1); in setupTexture()
279 gl.texSubImage1D(texTarget, 0, 0, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
283 gl.texStorage2D(texTarget, 1, intFormat, 1, 1); in setupTexture()
284 gl.texSubImage2D(texTarget, 0, 0, 0, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
289 gl.texStorage3D(texTarget, 1, intFormat, 1, 1, 1); in setupTexture()
290 … gl.texSubImage3D(texTarget, 0, 0, 0, 0, 1, 1, 1, transferFmt.format, transferFmt.dataType, color); in setupTexture()
294 gl.texStorage2D(texTarget, 1, intFormat, 1, 1); in setupTexture()
303 gl.texParameteri(texTarget, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in setupTexture()
[all …]
Des31fInternalFormatQueryTests.cpp51 …FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::G…
417 const glw::GLenum texTarget = textureTargets[groupNdx].target; in init() local
426 …group->addChild(new FormatSamplesCase(m_context, name.c_str(), desc.c_str(), texTarget, internalFo… in init()
Des31fIntegerStateQueryTests.cpp98 …TexBindingCase (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::…
108 …Case (Context& context, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum bin… in TexBindingCase() argument
110 , m_texTarget (texTarget) in TexBindingCase()
/external/mesa3d/src/mesa/program/
Dnvfragparse.c571 GLubyte *texUnit, GLubyte *texTarget) in Parse_TextureImageId() argument
595 *texTarget = TEXTURE_1D_INDEX; in Parse_TextureImageId()
598 *texTarget = TEXTURE_2D_INDEX; in Parse_TextureImageId()
601 *texTarget = TEXTURE_3D_INDEX; in Parse_TextureImageId()
604 *texTarget = TEXTURE_CUBE_INDEX; in Parse_TextureImageId()
607 *texTarget = TEXTURE_RECT_INDEX; in Parse_TextureImageId()
614 parseState->texturesUsed[*texUnit] |= (1 << *texTarget); in Parse_TextureImageId()
Dprogram_parse.y224 %type <integer> texImageUnit texTarget
417 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
476 …P maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
526 texTarget: TEX_1D { $$ = TEXTURE_1D_INDEX; }
/external/mesa3d/src/mesa/main/
Dtexstate.c597 gl_texture_index texTarget; in update_texture_state() local
601 texTarget = (gl_texture_index) (ffs(enabledTargets) - 1); in update_texture_state()
602 texObj = _mesa_get_fallback_texture(ctx, texTarget); in update_texture_state()
611 texUnit->_ReallyEnabled = 1 << texTarget; in update_texture_state()
Dfbobject.h101 GLenum texTarget, GLuint level, GLuint zoffset);
Dff_fragment_shader.cpp919 const GLuint texTarget = p->state->unit[unit].source_index; in load_texture() local
947 switch (texTarget) { in load_texture()
Dfbobject.c333 GLenum texTarget, GLuint level, GLuint zoffset) in _mesa_set_texture_attachment() argument
353 att->CubeMapFace = _mesa_tex_target_to_face(texTarget); in _mesa_set_texture_attachment()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1401 const char *texTarget; in init_blit_depth_pixels() local
1408 texTarget = "RECT"; in init_blit_depth_pixels()
1410 texTarget = "2D"; in init_blit_depth_pixels()
1411 _mesa_snprintf(program2, sizeof(program2), program, texTarget); in init_blit_depth_pixels()
2293 const char *texTarget; in init_draw_stencil_pixels() local
2300 texTarget = "RECT"; in init_draw_stencil_pixels()
2302 texTarget = "2D"; in init_draw_stencil_pixels()
2303 _mesa_snprintf(program2, sizeof(program2), program, texTarget); in init_draw_stencil_pixels()
2327 const char *texTarget; in init_draw_depth_pixels() local
2334 texTarget = "RECT"; in init_draw_depth_pixels()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp455 deUint32 texTarget = m_texType == TEXTURETYPE_2D ? GL_TEXTURE_2D : GL_TEXTURE_CUBE_MAP; in iterate() local
456 …glTexParameteri(texTarget, GL_TEXTURE_MIN_FILTER, (m_flags & MIPMAPS) ? GL_NEAREST_MIPMAP_NEAREST … in iterate()
457 glTexParameteri(texTarget, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in iterate()
458 glTexParameteri(texTarget, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in iterate()
459 glTexParameteri(texTarget, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in iterate()
/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/
DMESA_texture_array.spec488 <texTarget> ::= "1D"