Home
last modified time | relevance | path

Searched refs:tObj (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c613 linear_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in linear_mipmap_level() argument
616 return tObj->BaseLevel; in linear_mipmap_level()
617 else if (lambda > tObj->_MaxLambda) in linear_mipmap_level()
618 return (GLint) (tObj->BaseLevel + tObj->_MaxLambda); in linear_mipmap_level()
620 return (GLint) (tObj->BaseLevel + lambda); in linear_mipmap_level()
628 nearest_mipmap_level(const struct gl_texture_object *tObj, GLfloat lambda) in nearest_mipmap_level() argument
634 else if (lambda > tObj->_MaxLambda + 0.4999F) in nearest_mipmap_level()
635 l = tObj->_MaxLambda + 0.4999F; in nearest_mipmap_level()
638 level = (GLint) (tObj->BaseLevel + l + 0.5F); in nearest_mipmap_level()
639 if (level > tObj->_MaxLevel) in nearest_mipmap_level()
[all …]
Ds_texfilter.h38 const struct gl_texture_object *tObj,
Ds_context.h57 const struct gl_texture_object *tObj,
Ds_context.c473 struct gl_texture_object *tObj = ctx->Texture.Unit[u]._Current; in _swrast_update_texture_samplers() local
479 _swrast_choose_texture_sample_func(ctx, tObj, in _swrast_update_texture_samplers()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_validate.c24 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level() local
29 maxlevel = tObj->BaseLevel; in intel_update_max_level()
31 maxlevel = tObj->_MaxLevel; in intel_update_max_level()
46 struct gl_texture_object *tObj = intel->ctx.Texture.Unit[unit]._Current; in intel_finalize_mipmap_tree() local
47 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree()
55 if (tObj->Target == GL_TEXTURE_BUFFER) in intel_finalize_mipmap_tree()
65 if (intelObj->mt && intelObj->mt->first_level != tObj->BaseLevel) in intel_finalize_mipmap_tree()
71 firstImage = intel_texture_image(tObj->Image[0][tObj->BaseLevel]); in intel_finalize_mipmap_tree()
83 intelObj->mt->first_level != tObj->BaseLevel || in intel_finalize_mipmap_tree()
98 width, height, depth, tObj->BaseLevel, intelObj->_MaxLevel); in intel_finalize_mipmap_tree()
[all …]
Di915_texstate.c145 struct gl_texture_object *tObj = tUnit->_Current; in i915_update_tex_unit() local
146 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i915_update_tex_unit()
169 firstImage = tObj->Image[0][tObj->BaseLevel]; in i915_update_tex_unit()
176 tObj->DepthMode); in i915_update_tex_unit()
192 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i915_update_tex_unit()
270 tObj->Target != GL_TEXTURE_3D) { in i915_update_tex_unit()
271 if (tObj->Target == GL_TEXTURE_1D) in i915_update_tex_unit()
298 if (tObj->Target == GL_TEXTURE_1D) in i915_update_tex_unit()
308 if (tObj->Target == GL_TEXTURE_3D && in i915_update_tex_unit()
321 if (tObj->Target == GL_TEXTURE_CUBE_MAP_ARB && in i915_update_tex_unit()
[all …]
Di830_texstate.c120 struct gl_texture_object *tObj = tUnit->_Current; in i830_update_tex_unit() local
121 struct intel_texture_object *intelObj = intel_texture_object(tObj); in i830_update_tex_unit()
144 firstImage = tObj->Image[0][tObj->BaseLevel]; in i830_update_tex_unit()
146 intel_miptree_get_image_offset(intelObj->mt, tObj->BaseLevel, 0, in i830_update_tex_unit()
177 if (tObj->Target == GL_TEXTURE_CUBE_MAP) in i830_update_tex_unit()
265 maxlod = MIN2(sampler->MaxLod, tObj->_MaxLevel - tObj->BaseLevel); in i830_update_tex_unit()
290 if (tObj->Target == GL_TEXTURE_3D) in i830_update_tex_unit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_validate.c45 intel_update_max_level(struct gl_texture_object *tObj, in intel_update_max_level() argument
48 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_update_max_level()
50 if (!tObj->_MipmapComplete || in intel_update_max_level()
51 (tObj->_RenderToTexture && in intel_update_max_level()
54 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
56 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
68 struct gl_texture_object *tObj) in intel_finalize_mipmap_tree() argument
70 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree()
77 if (tObj->Target == GL_TEXTURE_BUFFER) in intel_finalize_mipmap_tree()
81 int validate_first_level = tObj->BaseLevel; in intel_finalize_mipmap_tree()
[all …]
Dbrw_wm_surface_state.c689 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; in brw_update_buffer_texture_surface() local
691 intel_buffer_object(tObj->BufferObject); in brw_update_buffer_texture_surface()
692 const unsigned size = buffer_texture_range_size(brw, tObj); in brw_update_buffer_texture_surface()
694 mesa_format format = tObj->_BufferObjectFormat; in brw_update_buffer_texture_surface()
699 bo = intel_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, in brw_update_buffer_texture_surface()
708 tObj->BufferOffset, in brw_update_buffer_texture_surface()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DHolder.java108 ASN1TaggedObject tObj = ASN1TaggedObject.getInstance(seq in Holder() local
111 switch (tObj.getTagNo()) in Holder()
114 baseCertificateID = IssuerSerial.getInstance(tObj, false); in Holder()
117 entityName = GeneralNames.getInstance(tObj, false); in Holder()
120 objectDigestInfo = ObjectDigestInfo.getInstance(tObj, false); in Holder()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DHolder.java110 ASN1TaggedObject tObj = ASN1TaggedObject.getInstance(seq in Holder() local
113 switch (tObj.getTagNo()) in Holder()
116 baseCertificateID = IssuerSerial.getInstance(tObj, false); in Holder()
119 entityName = GeneralNames.getInstance(tObj, false); in Holder()
122 objectDigestInfo = ObjectDigestInfo.getInstance(tObj, false); in Holder()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DHolder.java110 ASN1TaggedObject tObj = ASN1TaggedObject.getInstance(seq in Holder() local
113 switch (tObj.getTagNo()) in Holder()
116 baseCertificateID = IssuerSerial.getInstance(tObj, false); in Holder()
119 entityName = GeneralNames.getInstance(tObj, false); in Holder()
122 objectDigestInfo = ObjectDigestInfo.getInstance(tObj, false); in Holder()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c243 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, in calculate_min_max_lod() argument
249 switch (tObj->Target) { in calculate_min_max_lod()
257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
261 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
263 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
264 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
278 __func__, tObj, in calculate_min_max_lod()
[all …]
Dr200_tex.c65 struct gl_texture_object *tObj = &t->base; in r200SetTexWrap() local
109 if (tObj->Target != GL_TEXTURE_1D) { in r200SetTexWrap()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c243 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, in calculate_min_max_lod() argument
249 switch (tObj->Target) { in calculate_min_max_lod()
257 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
259 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
260 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
261 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
262 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
263 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
264 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
278 __func__, tObj, in calculate_min_max_lod()
[all …]
/external/llvm/test/CodeGen/ARM/
Dcrash-greedy-v6.ll7 define internal void @sample_nearest_3d(i8* nocapture %tObj, i32 %n, float* nocapture %s, float* no…
42 …tail call fastcc void @sample_3d_nearest(i8* %tObj, i8* undef, float undef, float %tmp12, float un…
/external/llvm-project/llvm/test/CodeGen/ARM/
Dcrash-greedy-v6.ll7 define internal void @sample_nearest_3d(i8* nocapture %tObj, i32 %n, float* nocapture %s, float* no…
42 …tail call fastcc void @sample_3d_nearest(i8* %tObj, i8* undef, float undef, float %tmp12, float un…
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.h51 struct gl_texture_object *tObj,
Dst_cb_texture.c2661 struct gl_texture_object *tObj, in st_finalize_texture() argument
2665 struct st_texture_object *stObj = st_texture_object(tObj); in st_finalize_texture()
2673 if (tObj->Immutable) in st_finalize_texture()
2676 if (tObj->_MipmapComplete) in st_finalize_texture()
2678 else if (tObj->_BaseComplete) in st_finalize_texture()
/external/llvm/test/CodeGen/X86/
D2007-10-04-AvoidEFLAGSCopy.ll6 define fastcc void @sample_3d_linear(%struct.gl_texture_object* %tObj, %struct.gl_texture_image* %i…
/external/llvm-project/llvm/test/CodeGen/X86/
D2007-10-04-AvoidEFLAGSCopy.ll7 define fastcc void @sample_3d_linear(%struct.gl_texture_object* %tObj, %struct.gl_texture_image* %i…
/external/mesa3d/src/mesa/main/
Dteximage.c186 set_tex_image(struct gl_texture_object *tObj, in set_tex_image() argument
192 assert(tObj); in set_tex_image()
197 tObj->Image[face][level] = texImage; in set_tex_image()
200 texImage->TexObject = tObj; in set_tex_image()
Ddd.h359 GLenum target, struct gl_texture_object *tObj );