Home
last modified time | relevance | path

Searched refs:tObj (Results 1 – 24 of 24) 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.h56 const struct gl_texture_object *tObj,
Ds_context.c478 struct gl_texture_object *tObj = ctx->Texture.Unit[u]._Current; in _swrast_update_texture_samplers() local
484 _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.c49 struct gl_texture_object *tObj = &intelObj->base; in intel_update_max_level() local
51 if (!tObj->_MipmapComplete || in intel_update_max_level()
52 (tObj->_RenderToTexture && in intel_update_max_level()
55 intelObj->_MaxLevel = tObj->BaseLevel; in intel_update_max_level()
57 intelObj->_MaxLevel = tObj->_MaxLevel; in intel_update_max_level()
71 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; in intel_finalize_mipmap_tree() local
72 struct intel_texture_object *intelObj = intel_texture_object(tObj); in intel_finalize_mipmap_tree()
80 if (tObj->Target == GL_TEXTURE_BUFFER) in intel_finalize_mipmap_tree()
91 int validate_first_level = tObj->BaseLevel; in intel_finalize_mipmap_tree()
114 assert(!tObj->Immutable || brw->screen->devinfo.gen < 6); in intel_finalize_mipmap_tree()
[all …]
Dbrw_wm_surface_state.c611 struct gl_texture_object *tObj = ctx->Texture.Unit[unit]._Current; in brw_update_buffer_texture_surface() local
613 intel_buffer_object(tObj->BufferObject); in brw_update_buffer_texture_surface()
614 uint32_t size = tObj->BufferSize; in brw_update_buffer_texture_surface()
616 mesa_format format = tObj->_BufferObjectFormat; in brw_update_buffer_texture_surface()
622 bo = intel_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, in brw_update_buffer_texture_surface()
650 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/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/radeon/
Dradeon_mipmap_tree.c242 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, in calculate_min_max_lod() argument
248 switch (tObj->Target) { in calculate_min_max_lod()
256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
258 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
259 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
260 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
262 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
277 __func__, tObj, in calculate_min_max_lod()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c242 static void calculate_min_max_lod(struct gl_sampler_object *samp, struct gl_texture_object *tObj, in calculate_min_max_lod() argument
248 switch (tObj->Target) { in calculate_min_max_lod()
256 minLod = maxLod = tObj->BaseLevel; in calculate_min_max_lod()
258 minLod = tObj->BaseLevel + (GLint)(samp->MinLod); in calculate_min_max_lod()
259 minLod = MAX2(minLod, tObj->BaseLevel); in calculate_min_max_lod()
260 minLod = MIN2(minLod, tObj->MaxLevel); in calculate_min_max_lod()
261 maxLod = tObj->BaseLevel + (GLint)(samp->MaxLod + 0.5); in calculate_min_max_lod()
262 maxLod = MIN2(maxLod, tObj->MaxLevel); in calculate_min_max_lod()
263 maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxNumLevels - 1 + minLod); in calculate_min_max_lod()
277 __func__, tObj, in calculate_min_max_lod()
[all …]
Dr200_tex.c64 struct gl_texture_object *tObj = &t->base; in r200SetTexWrap() local
108 if (tObj->Target != GL_TEXTURE_1D) { in r200SetTexWrap()
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dcrash-greedy-v6.ll6 define internal void @sample_nearest_3d(i8* nocapture %tObj, i32 %n, float* nocapture %s, float* no…
22 …tail call fastcc void @sample_3d_nearest(i8* %tObj, i8* undef, float undef, float %tmp12, float un…
/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/swiftshader/third_party/llvm-7.0/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.c2459 struct gl_texture_object *tObj, in st_finalize_texture() argument
2463 struct st_texture_object *stObj = st_texture_object(tObj); in st_finalize_texture()
2471 if (tObj->Immutable) in st_finalize_texture()
2474 if (_mesa_is_texture_complete(tObj, &tObj->Sampler)) { in st_finalize_texture()
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/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/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/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.h351 GLenum target, struct gl_texture_object *tObj );