Lines Matching refs:memobj
2366 struct r600_memory_object *memobj = CALLOC_STRUCT(r600_memory_object); in r600_memobj_from_handle() local
2370 if (!memobj) in r600_memobj_from_handle()
2376 free(memobj); in r600_memobj_from_handle()
2380 memobj->b.dedicated = dedicated; in r600_memobj_from_handle()
2381 memobj->buf = buf; in r600_memobj_from_handle()
2382 memobj->stride = stride; in r600_memobj_from_handle()
2383 memobj->offset = offset; in r600_memobj_from_handle()
2385 return (struct pipe_memory_object *)memobj; in r600_memobj_from_handle()
2393 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_memobj_destroy() local
2395 pb_reference(&memobj->buf, NULL); in r600_memobj_destroy()
2396 free(memobj); in r600_memobj_destroy()
2407 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_texture_from_memobj() local
2415 if (memobj->b.dedicated) { in r600_texture_from_memobj()
2416 sscreen->ws->buffer_get_metadata(memobj->buf, &metadata); in r600_texture_from_memobj()
2448 array_mode, memobj->stride, in r600_texture_from_memobj()
2454 rtex = r600_texture_create_object(screen, templ, memobj->buf, &surface); in r600_texture_from_memobj()
2461 pb_reference(&buf, memobj->buf); in r600_texture_from_memobj()