Home
last modified time | relevance | path

Searched refs:GL_TEXTURE_3D (Results 1 – 25 of 92) 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()
Des3fTextureUnitTests.cpp498 DE_ASSERT(m_unitTypes[unitNdx] == GL_TEXTURE_3D || m_unitTypes[unitNdx] == GL_TEXTURE_2D_ARRAY); in MultiTexShader()
599 …m_transformations[unitNdx] = (m_unitTypes[unitNdx] == GL_TEXTURE_3D ? shrinkScaleMat3d : shrinkSca… in makeSafeLods()
668 … case GL_TEXTURE_3D: m_uniforms[4*unitNdx].sampler.tex3D->sample4(texSamples, coords3D); break; in shadeFragments()
819 …EXTURE_2D : isCubeTex ? GL_TEXTURE_CUBE_MAP : is2dArrayTex ? GL_TEXTURE_2D_ARRAY : GL_TEXTURE_3D; in init()
964 case GL_TEXTURE_3D: samplerTypes.push_back(glu::getSampler3DType(fmt)); break; in init()
1015 …case GL_TEXTURE_3D: texSizes.push_back(IVec3(m_textures3d[texNdxInType]->getWidth(), m_textures… in iterate()
1152 …context.texImage3D(GL_TEXTURE_3D, levelNdx, m_textureParams[texNdx].internalFormat, width, height,… in upload3dTexture()
1184 if (m_textureTypes[texNdx] == GL_TEXTURE_3D) in render()
1195 case GL_TEXTURE_3D: upload3dTexture(texNdx, context); break; in render()
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()
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 …]
Des3fTextureStateQueryTests.cpp81 { "texture_3d", GL_TEXTURE_3D }, in init()
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.cpp246 gl.bindTexture(GL_TEXTURE_3D, 0); in resetStateES()
247 gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in resetStateES()
248 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR); in resetStateES()
249 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in resetStateES()
250 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_REPEAT); in resetStateES()
251 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_REPEAT); in resetStateES()
252 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_REPEAT); in resetStateES()
253 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
254 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_G, GL_GREEN); in resetStateES()
255 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.cpp121 ctx.glBindTexture(GL_TEXTURE_3D, texture[0]); in bindtexture()
130 ctx.glBindTexture(GL_TEXTURE_3D, texture[1]); in bindtexture()
135 ctx.glBindTexture(GL_TEXTURE_3D, texture[2]); in bindtexture()
150 ctx.glBindTexture(GL_TEXTURE_3D, texture[3]); in bindtexture()
169 ctx.glBindTexture(GL_TEXTURE_3D, texture[4]); in bindtexture()
2662 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_RGBA, 0, 0); in teximage3d()
2667 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, 0, GL_UNSIGNED_BYTE, 0); in teximage3d()
2672 ctx.glTexImage3D(GL_TEXTURE_3D, 0, 0, 1, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); in teximage3d()
2677 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_BYTE, 0); in teximage3d()
2679 ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYTE, 0); in teximage3d()
[all …]
Des31fCopyImageTests.cpp164 case GL_TEXTURE_3D: return "texture3d"; in targetToName()
242 case GL_TEXTURE_3D: in getTargetTexDims()
271 DE_ASSERT(m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D || m_size.z() == 1); in ImageInfo()
624 if (info.getTarget() == GL_TEXTURE_3D) in genTextureImage()
1072 gl.bindTexture(GL_TEXTURE_3D, name); in verifyTexture3DView()
1075 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1076 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1077 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE); in verifyTexture3DView()
1078 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_NEAREST); in verifyTexture3DView()
1079 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()
Des31fNegativeBufferApiTests.cpp1577 ctx.glBindTexture (GL_TEXTURE_3D, tex3D); in framebuffer_texture_layer()
1578 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in framebuffer_texture_layer()
1894 ctx.glBindTexture (GL_TEXTURE_3D, texture[2]); in copy_image_sub_data()
1895 ctx.glTexParameteri (GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in copy_image_sub_data()
1896 ctx.glTexParameteri (GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in copy_image_sub_data()
1897 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA8, 32, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in copy_image_sub_data()
1900 ctx.glBindTexture (GL_TEXTURE_3D, texture[3]); in copy_image_sub_data()
1901 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA8, 32, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in copy_image_sub_data()
1954 …ctx.glCopyImageSubData (texture[0], GL_TEXTURE_2D, 0, 0, 0, 0, texture[1], GL_TEXTURE_3D, 0, 0, 0… in copy_image_sub_data()
1958 …ctx.glCopyImageSubData (texture[0], GL_TEXTURE_3D, 0, 0, 0, 0, texture[1], GL_TEXTURE_2D, 0, 0, 0… in copy_image_sub_data()
[all …]
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()
355 if (target == GL_TEXTURE_3D && isDepthFormat(fmt)) in isLegalFormatForTarget()
743 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
757 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
1660 { "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()
/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/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