• Home
  • Raw
  • Download

Lines Matching refs:sampObj

123    struct gl_sampler_object *sampObj = NULL;  in make_texture_handle_resident()  local
140 if (texHandleObj->sampObj) in make_texture_handle_resident()
141 _mesa_reference_sampler_object(ctx, &sampObj, texHandleObj->sampObj); in make_texture_handle_resident()
158 if (texHandleObj->sampObj) { in make_texture_handle_resident()
159 sampObj = texHandleObj->sampObj; in make_texture_handle_resident()
160 _mesa_reference_sampler_object(ctx, &sampObj, NULL); in make_texture_handle_resident()
206 struct gl_sampler_object *sampObj) in find_texhandleobj() argument
210 if ((*texHandleObj)->sampObj == sampObj) in find_texhandleobj()
218 struct gl_sampler_object *sampObj) in get_texture_handle() argument
220 bool separate_sampler = &texObj->Sampler != sampObj; in get_texture_handle()
232 texHandleObj = find_texhandleobj(texObj, separate_sampler ? sampObj : NULL); in get_texture_handle()
239 handle = ctx->Driver.NewTextureHandle(ctx, texObj, sampObj); in get_texture_handle()
255 texHandleObj->sampObj = separate_sampler ? sampObj : NULL; in get_texture_handle()
262 util_dynarray_append(&sampObj->Handles, in get_texture_handle()
270 sampObj->HandleAllocated = true; in get_texture_handle()
447 struct gl_sampler_object *sampObj = (*texHandleObj)->sampObj; in _mesa_delete_texture_handles() local
449 if (sampObj) { in _mesa_delete_texture_handles()
451 util_dynarray_delete_unordered(&sampObj->Handles, in _mesa_delete_texture_handles()
473 _mesa_init_sampler_handles(struct gl_sampler_object *sampObj) in _mesa_init_sampler_handles() argument
475 util_dynarray_init(&sampObj->Handles, NULL); in _mesa_init_sampler_handles()
480 struct gl_sampler_object *sampObj) in _mesa_delete_sampler_handles() argument
482 util_dynarray_foreach(&sampObj->Handles, in _mesa_delete_sampler_handles()
494 util_dynarray_fini(&sampObj->Handles); in _mesa_delete_sampler_handles()
609 struct gl_sampler_object *sampObj; in _mesa_GetTextureSamplerHandleARB_no_error() local
614 sampObj = _mesa_lookup_samplerobj(ctx, sampler); in _mesa_GetTextureSamplerHandleARB_no_error()
616 if (!_mesa_is_texture_complete(texObj, sampObj)) in _mesa_GetTextureSamplerHandleARB_no_error()
619 return get_texture_handle(ctx, texObj, sampObj); in _mesa_GetTextureSamplerHandleARB_no_error()
626 struct gl_sampler_object *sampObj; in _mesa_GetTextureSamplerHandleARB() local
656 sampObj = _mesa_lookup_samplerobj(ctx, sampler); in _mesa_GetTextureSamplerHandleARB()
657 if (!sampObj) { in _mesa_GetTextureSamplerHandleARB()
669 if (!_mesa_is_texture_complete(texObj, sampObj)) { in _mesa_GetTextureSamplerHandleARB()
671 if (!_mesa_is_texture_complete(texObj, sampObj)) { in _mesa_GetTextureSamplerHandleARB()
678 if (!is_sampler_border_color_valid(sampObj)) { in _mesa_GetTextureSamplerHandleARB()
684 return get_texture_handle(ctx, texObj, sampObj); in _mesa_GetTextureSamplerHandleARB()