Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_3D (Results 1 – 25 of 89) sorted by relevance

1234

/external/deqp/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp169 glBindTexture(GL_TEXTURE_3D, texture[0]); in init()
178 glBindTexture(GL_TEXTURE_3D, texture[1]); in init()
2052 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGBA, 0, 0); in init()
2057 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, 0, GL_UNSIGNED_BYTE, 0); in init()
2063 glTexImage3D(GL_TEXTURE_3D, 0, 0, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init()
2068 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_BYTE, 0); in init()
2070 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, 0); in init()
2075 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in init()
2077 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in init()
2079 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB5_A1, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in init()
[all …]
Des3fSamplerObjectTests.cpp146 { "diff_wrap_t", "Different GL_TEXTURE_WRAP_T", GL_TEXTURE_3D, in init()
150 { "diff_wrap_s", "Different GL_TEXTURE_WRAP_S", GL_TEXTURE_3D, in init()
154 { "diff_wrap_r", "Different GL_TEXTURE_WRAP_R", GL_TEXTURE_3D, in init()
158 { "diff_min_filter", "Different GL_TEXTURE_MIN_FILTER", GL_TEXTURE_3D, in init()
162 { "diff_mag_filter", "Different GL_TEXTURE_MAG_FILTER", GL_TEXTURE_3D, in init()
166 { "diff_max_lod", "Different GL_TEXTURE_MAX_LOD", GL_TEXTURE_3D, in init()
170 { "diff_min_lod", "Different GL_TEXTURE_MIN_LOD", GL_TEXTURE_3D, in init()
184 { "diff_wrap_t", "Different GL_TEXTURE_WRAP_T", GL_TEXTURE_3D, in init()
189 { "diff_wrap_s", "Different GL_TEXTURE_WRAP_S", GL_TEXTURE_3D, in init()
194 { "diff_wrap_r", "Different GL_TEXTURE_WRAP_R", GL_TEXTURE_3D, in init()
[all …]
Des3fFboCompletenessTests.cpp256 const string kindStr = params.textureKind == GL_TEXTURE_3D ? "3d" : "2darr"; in getName()
264 const string kindStr = (params.textureKind == GL_TEXTURE_3D in getDescription()
289 case GL_TEXTURE_3D: in build()
466 { GL_TEXTURE_3D, 1, 0 }, in init()
467 { GL_TEXTURE_3D, 1, 15 }, in init()
468 { GL_TEXTURE_3D, 4, 15 }, in init()
469 { GL_TEXTURE_3D, 64, 15 }, in init()
Des3fFboColorbufferTests.cpp639 glBindTexture(GL_TEXTURE_3D, tex); in render()
640 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in render()
641 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in render()
642 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE); in render()
643 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in render()
644 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in render()
645 …glTexImage3D(GL_TEXTURE_3D, 0, m_format, size.x(), size.y(), size.z(), 0, transferFmt.format, tran… in render()
705 glBindTexture(GL_TEXTURE_3D, tex); in render()
Des3fTextureStateQueryTests.cpp81 { "texture_3d", GL_TEXTURE_3D }, in init()
Des3fTextureMipmapTests.cpp1277 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture()); in iterate()
1278 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, m_wrapS); in iterate()
1279 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, m_wrapT); in iterate()
1280 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, m_wrapR); in iterate()
1281 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, m_minFilter); in iterate()
1282 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, magFilter); in iterate()
2148 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture()); in iterate()
2149 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, wrapS); in iterate()
2150 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, wrapT); in iterate()
2151 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, wrapR); in iterate()
[all …]
Des3fTextureSpecificationTests.cpp578 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_NEAREST); in verifyTexture()
579 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in verifyTexture()
580 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in verifyTexture()
581 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in verifyTexture()
582 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE); in verifyTexture()
583 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture()
804 glBindTexture(GL_TEXTURE_3D, tex); in createTexture()
818 …glTexImage3D(GL_TEXTURE_3D, ndx, m_internalFormat, levelW, levelH, levelD, 0, transferFmt.format, … in createTexture()
1178 glBindTexture(GL_TEXTURE_3D, tex); in createTexture()
1179 …glTexImage3D(GL_TEXTURE_3D, 0, m_internalFormat, m_width, m_height, m_depth, 0, transferFmt.format… in createTexture()
[all …]
/external/deqp/framework/opengl/
DgluStateReset.cpp226 gl.bindTexture(GL_TEXTURE_3D, 0); in resetStateES()
227 gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in resetStateES()
228 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR); in resetStateES()
229 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in resetStateES()
230 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_REPEAT); in resetStateES()
231 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_REPEAT); in resetStateES()
232 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_REPEAT); in resetStateES()
233 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
234 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_G, GL_GREEN); in resetStateES()
235 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_B, GL_BLUE); in resetStateES()
[all …]
DgluTexture.cpp683 gl.bindTexture(GL_TEXTURE_3D, m_glTexture); in upload()
697 …gl.texImage3D(GL_TEXTURE_3D, levelNdx, m_format, access.getWidth(), access.getHeight(), access.get… in upload()
712 gl.bindTexture(GL_TEXTURE_3D, m_glTexture); in loadCompressed()
727 gl.compressedTexImage3D(GL_TEXTURE_3D, levelNdx, compressedFormat, in loadCompressed()
/external/deqp/modules/gles31/functional/
Des31fNegativeTextureApiTests.cpp120 ctx.glBindTexture(GL_TEXTURE_3D, texture[0]); in bindtexture()
129 ctx.glBindTexture(GL_TEXTURE_3D, texture[1]); in bindtexture()
2009 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGBA, 0, 0); in teximage3d()
2014 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, 0, GL_UNSIGNED_BYTE, 0); in teximage3d()
2019 ctx.glTexImage3D(GL_TEXTURE_3D, 0, 0, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in teximage3d()
2024 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_BYTE, 0); in teximage3d()
2026 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, 0); in teximage3d()
2031 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in teximage3d()
2033 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_4_4_4_4, 0); in teximage3d()
2035 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB5_A1, 1, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_5_5_1, 0); in teximage3d()
[all …]
Des31fCopyImageTests.cpp164 case GL_TEXTURE_3D: return "texture3d"; in targetToName()
230 case GL_TEXTURE_3D: in getTargetTexDims()
259 DE_ASSERT(m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D || m_size.z() == 1); in ImageInfo()
612 if (info.getTarget() == GL_TEXTURE_3D) in genTextureImage()
1041 gl.bindTexture(GL_TEXTURE_3D, name); in verifyTexture3DView()
1044 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1045 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1046 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1047 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_NEAREST); in verifyTexture3DView()
1048 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in verifyTexture3DView()
[all …]
Des31fTextureStateQueryTests.cpp120 { "texture_3d", GL_TEXTURE_3D, false, }, in init()
273 …eStates[stateNdx].intTester == TESTER_TEXTURE_WRAP_R_SET_PURE_INT) ? (GL_TEXTURE_3D) : (GL_TEXTURE… in init()
Des31fTextureLevelStateQueryTests.cpp56 case GL_TEXTURE_3D: return true; in textureTypeHasDepth()
74 case GL_TEXTURE_3D: return true; in textureTypeHasHeight()
105 case GL_TEXTURE_3D: in isCoreTextureTarget()
350 if (target == GL_TEXTURE_3D && isDepthFormat(fmt)) in isLegalFormatForTarget()
738 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
752 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
1652 { "texture_3d", GL_TEXTURE_3D, }, in init()
/external/deqp/modules/glshared/
DglsSamplerObjectTest.cpp135 case GL_TEXTURE_3D: in selectVertexShader()
179 case GL_TEXTURE_3D: in selectFragmentShader()
340 case GL_TEXTURE_3D: in render()
416 gl.bindTexture(GL_TEXTURE_3D, texture); in createTexture3D()
419 …gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, refTexture.getWidth(), refTexture.getHeight(), refTextur… in createTexture3D()
422 gl.generateMipmap(GL_TEXTURE_3D); in createTexture3D()
425 gl.bindTexture(GL_TEXTURE_3D, 0); in createTexture3D()
475 case GL_TEXTURE_3D: in createTexture()
647 case GL_TEXTURE_3D: in selectVertexShader()
695 case GL_TEXTURE_3D: in selectFragmentShader()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_layout.c86 case GL_TEXTURE_3D: { in brw_miptree_layout()
132 if (mt->target == GL_TEXTURE_3D) in brw_miptree_layout()
Dintel_tex.c72 case GL_TEXTURE_3D: in intel_alloc_texture_image_buffer()
/external/mesa3d/src/mesa/main/
Dtexobj.c105 target == GL_TEXTURE_3D || in _mesa_initialize_texture_object()
312 case GL_TEXTURE_3D: in valid_texture_object()
511 case GL_TEXTURE_3D: in _mesa_test_texobj_completeness()
753 target = GL_TEXTURE_3D; in _mesa_get_fallback_texture()
1132 case GL_TEXTURE_3D: in target_enum_to_index()
1505 case GL_TEXTURE_3D: in _mesa_InvalidateTexSubImage()
Dtexgetimage.c543 case GL_TEXTURE_3D: in _mesa_get_teximage()
671 case GL_TEXTURE_3D: in legal_getteximage_target()
704 const GLuint dimensions = (target == GL_TEXTURE_3D) ? 3 : 2; in getteximage_error_check()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_tex_layout.c234 case GL_TEXTURE_3D: in i915_miptree_layout()
466 case GL_TEXTURE_3D: in i945_miptree_layout()
Di915_texstate.c266 tObj->Target != GL_TEXTURE_3D) { in i915_update_tex_unit()
304 if (tObj->Target == GL_TEXTURE_3D && in i915_update_tex_unit()
/external/mesa3d/src/mesa/swrast/
Ds_texrender.c95 if (att->Texture->Target == GL_TEXTURE_3D || in update_wrapper()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java425 if (target == GL_TEXTURE_3D){ in uploadTexture()
445 if (target == GL_TEXTURE_3D){ in uploadTexture()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c116 case GL_TEXTURE_3D: in radeonAllocTextureImageBuffer()
730 if (mt->target == GL_TEXTURE_3D) { in radeon_swrast_map_image()
799 (texObj->Target == GL_TEXTURE_3D && depth == 1))) { in radeon_miptree_create_for_teximage()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c116 case GL_TEXTURE_3D: in radeonAllocTextureImageBuffer()
730 if (mt->target == GL_TEXTURE_3D) { in radeon_swrast_map_image()
799 (texObj->Target == GL_TEXTURE_3D && depth == 1))) { in radeon_miptree_create_for_teximage()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c82 assert(target != GL_TEXTURE_3D); /* implemented but untested */ in st_render_mipmap()

1234