Lines Matching refs:imgHandleObj
59 struct gl_image_handle_object *imgHandleObj; in lookup_image_handle() local
62 imgHandleObj = (struct gl_image_handle_object *) in lookup_image_handle()
66 return imgHandleObj; in lookup_image_handle()
170 struct gl_image_handle_object *imgHandleObj, in make_image_handle_resident() argument
174 GLuint64 handle = imgHandleObj->handle; in make_image_handle_resident()
180 imgHandleObj); in make_image_handle_resident()
188 _mesa_reference_texobj(&texObj, imgHandleObj->imgObj.TexObj); in make_image_handle_resident()
199 texObj = imgHandleObj->imgObj.TexObj; in make_image_handle_resident()
285 struct gl_image_handle_object *, imgHandleObj) { in find_imghandleobj()
286 struct gl_image_unit *u = &(*imgHandleObj)->imgObj; in find_imghandleobj()
290 return *imgHandleObj; in find_imghandleobj()
299 struct gl_image_handle_object *imgHandleObj; in get_image_handle() local
311 imgHandleObj = find_imghandleobj(texObj, level, layered, layer, format); in get_image_handle()
312 if (imgHandleObj) { in get_image_handle()
314 return imgHandleObj->handle; in get_image_handle()
341 imgHandleObj = CALLOC_STRUCT(gl_image_handle_object); in get_image_handle()
342 if (!imgHandleObj) { in get_image_handle()
349 memcpy(&imgHandleObj->imgObj, &imgObj, sizeof(struct gl_image_unit)); in get_image_handle()
350 imgHandleObj->handle = handle; in get_image_handle()
352 struct gl_image_handle_object *, imgHandleObj); in get_image_handle()
361 _mesa_hash_table_u64_insert(ctx->Shared->ImageHandles, handle, imgHandleObj); in get_image_handle()
432 struct gl_image_handle_object *, imgHandleObj) { in _mesa_make_texture_handles_non_resident()
433 if (is_image_handle_resident(ctx, (*imgHandleObj)->handle)) in _mesa_make_texture_handles_non_resident()
434 make_image_handle_resident(ctx, *imgHandleObj, GL_READ_ONLY, false); in _mesa_make_texture_handles_non_resident()
462 struct gl_image_handle_object *, imgHandleObj) { in _mesa_delete_texture_handles()
463 delete_image_handle(ctx, (*imgHandleObj)->handle); in _mesa_delete_texture_handles()
464 free(*imgHandleObj); in _mesa_delete_texture_handles()
868 struct gl_image_handle_object *imgHandleObj; in _mesa_MakeImageHandleResidentARB_no_error() local
872 imgHandleObj = lookup_image_handle(ctx, handle); in _mesa_MakeImageHandleResidentARB_no_error()
873 make_image_handle_resident(ctx, imgHandleObj, access, true); in _mesa_MakeImageHandleResidentARB_no_error()
879 struct gl_image_handle_object *imgHandleObj; in _mesa_MakeImageHandleResidentARB() local
904 imgHandleObj = lookup_image_handle(ctx, handle); in _mesa_MakeImageHandleResidentARB()
905 if (!imgHandleObj) { in _mesa_MakeImageHandleResidentARB()
917 make_image_handle_resident(ctx, imgHandleObj, access, true); in _mesa_MakeImageHandleResidentARB()
923 struct gl_image_handle_object *imgHandleObj; in _mesa_MakeImageHandleNonResidentARB_no_error() local
927 imgHandleObj = lookup_image_handle(ctx, handle); in _mesa_MakeImageHandleNonResidentARB_no_error()
928 make_image_handle_resident(ctx, imgHandleObj, GL_READ_ONLY, false); in _mesa_MakeImageHandleNonResidentARB_no_error()
934 struct gl_image_handle_object *imgHandleObj; in _mesa_MakeImageHandleNonResidentARB() local
951 imgHandleObj = lookup_image_handle(ctx, handle); in _mesa_MakeImageHandleNonResidentARB()
952 if (!imgHandleObj) { in _mesa_MakeImageHandleNonResidentARB()
964 make_image_handle_resident(ctx, imgHandleObj, GL_READ_ONLY, false); in _mesa_MakeImageHandleNonResidentARB()