Home
last modified time | relevance | path

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

12345

/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_DEPTH_STENCIL, 1, 1, 1, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_… in init()
2070 …glTexImage3D(GL_TEXTURE_3D, 0, GL_DEPTH_COMPONENT, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_BYT… 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.cpp499 DE_ASSERT(m_unitTypes[unitNdx] == GL_TEXTURE_3D || m_unitTypes[unitNdx] == GL_TEXTURE_2D_ARRAY); in MultiTexShader()
600 …m_transformations[unitNdx] = (m_unitTypes[unitNdx] == GL_TEXTURE_3D ? shrinkScaleMat3d : shrinkSca… in makeSafeLods()
669 … case GL_TEXTURE_3D: m_uniforms[4*unitNdx].sampler.tex3D->sample4(texSamples, coords3D); break; in shadeFragments()
820 …EXTURE_2D : isCubeTex ? GL_TEXTURE_CUBE_MAP : is2dArrayTex ? GL_TEXTURE_2D_ARRAY : GL_TEXTURE_3D; in init()
965 case GL_TEXTURE_3D: samplerTypes.push_back(glu::getSampler3DType(fmt)); break; in init()
1016 …case GL_TEXTURE_3D: texSizes.push_back(IVec3(m_textures3d[texNdxInType]->getWidth(), m_textures… in iterate()
1153 …context.texImage3D(GL_TEXTURE_3D, levelNdx, m_textureParams[texNdx].internalFormat, width, height,… in upload3dTexture()
1185 if (m_textureTypes[texNdx] == GL_TEXTURE_3D) in render()
1196 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.cpp1278 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture()); in iterate()
1279 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, m_wrapS); in iterate()
1280 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, m_wrapT); in iterate()
1281 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, m_wrapR); in iterate()
1282 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, m_minFilter); in iterate()
1283 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, magFilter); in iterate()
2149 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture()); in iterate()
2150 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, wrapS); in iterate()
2151 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, wrapT); in iterate()
2152 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()
1177 glBindTexture(GL_TEXTURE_3D, tex); in createTexture()
1178 …glTexImage3D(GL_TEXTURE_3D, 0, m_internalFormat, m_width, m_height, m_depth, 0, transferFmt.format… in createTexture()
[all …]
/external/deqp/framework/opengl/
DgluStateReset.cpp248 gl.bindTexture(GL_TEXTURE_3D, 0); in resetStateES()
249 gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); in resetStateES()
250 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR); in resetStateES()
251 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in resetStateES()
252 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_REPEAT); in resetStateES()
253 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_REPEAT); in resetStateES()
254 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_REPEAT); in resetStateES()
255 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_R, GL_RED); in resetStateES()
256 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_G, GL_GREEN); in resetStateES()
257 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_SWIZZLE_B, GL_BLUE); in resetStateES()
[all …]
/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_DEPTH_STENCIL, 1, 1, 1, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT… in teximage3d()
2679 …ctx.glTexImage3D(GL_TEXTURE_3D, 0, GL_DEPTH_COMPONENT, 1, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED… in teximage3d()
[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()
Des31fCopyImageTests.cpp173 case GL_TEXTURE_3D: return "texture3d"; in targetToName()
251 case GL_TEXTURE_3D: in getTargetTexDims()
365 DE_ASSERT(m_target == GL_TEXTURE_2D_ARRAY || m_target == GL_TEXTURE_3D || m_size.z() == 1); in ImageInfo()
512 case GL_TEXTURE_3D: result << "Slice" << imageIndex; break; in getTextureImageName()
532 case GL_TEXTURE_3D: result << " and Slice " << imageIndex; break; in getTextureImageDescription()
552 case GL_TEXTURE_3D: in computeQuadTexCoords()
857 if (info.getTarget() == GL_TEXTURE_3D) in genTextureImage()
1368 gl.bindTexture(GL_TEXTURE_3D, name); in renderTexture3DView()
1371 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in renderTexture3DView()
1372 gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in renderTexture3DView()
[all …]
Des31fNegativeBufferApiTests.cpp1566 ctx.glBindTexture (GL_TEXTURE_3D, tex3D); in framebuffer_texture_layer()
1567 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA, 4, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in framebuffer_texture_layer()
1884 ctx.glBindTexture (GL_TEXTURE_3D, texture[2]); in copy_image_sub_data()
1885 ctx.glTexParameteri (GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in copy_image_sub_data()
1886 ctx.glTexParameteri (GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in copy_image_sub_data()
1887 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA8, 32, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in copy_image_sub_data()
1890 ctx.glBindTexture (GL_TEXTURE_3D, texture[3]); in copy_image_sub_data()
1891 ctx.glTexImage3D (GL_TEXTURE_3D, 0, GL_RGBA8, 32, 32, 32, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in copy_image_sub_data()
1944 …ctx.glCopyImageSubData (texture[0], GL_TEXTURE_2D, 0, 0, 0, 0, texture[1], GL_TEXTURE_3D, 0, 0, 0… in copy_image_sub_data()
1948 …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/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp568 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); in InitView()
569 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); in InitView()
570 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE); in InitView()
572 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in InitView()
573 glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in InitView()
793 glBindTexture(GL_TEXTURE_3D, m_uiLUTs[m_iCurrentLUT]); in RenderScene()
801 glBindTexture(GL_TEXTURE_3D, m_uiLUTs[eIdentity]); in RenderScene()
/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()
/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/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv3.cpp636 case GL_TEXTURE_3D: in glTexImage3D()
673 …es2::Texture3D *texture = (target == GL_TEXTURE_3D) ? context->getTexture3D() : context->getTextur… in glTexImage3D()
693 case GL_TEXTURE_3D: in glTexSubImage3D()
719 …es2::Texture3D *texture = (target == GL_TEXTURE_3D) ? context->getTexture3D() : context->getTextur… in glTexSubImage3D()
743 case GL_TEXTURE_3D: in glCopyTexSubImage3D()
779 …es2::Texture3D *texture = (target == GL_TEXTURE_3D) ? context->getTexture3D() : context->getTextur… in glCopyTexSubImage3D()
806 case GL_TEXTURE_3D: in glCompressedTexImage3D()
851 …es2::Texture3D *texture = (target == GL_TEXTURE_3D) ? context->getTexture3D() : context->getTextur… in glCompressedTexImage3D()
871 case GL_TEXTURE_3D: in glCompressedTexSubImage3D()
903 …es2::Texture3D *texture = (target == GL_TEXTURE_3D) ? context->getTexture3D() : context->getTextur… in glCompressedTexSubImage3D()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c82 assert(target != GL_TEXTURE_3D); /* implemented but untested */ in st_render_mipmap()

12345