Lines Matching refs:memobj
1841 struct r600_memory_object *memobj = CALLOC_STRUCT(r600_memory_object); in r600_memobj_from_handle() local
1845 if (!memobj) in r600_memobj_from_handle()
1851 free(memobj); in r600_memobj_from_handle()
1855 memobj->b.dedicated = dedicated; in r600_memobj_from_handle()
1856 memobj->buf = buf; in r600_memobj_from_handle()
1857 memobj->stride = stride; in r600_memobj_from_handle()
1858 memobj->offset = offset; in r600_memobj_from_handle()
1860 return (struct pipe_memory_object *)memobj; in r600_memobj_from_handle()
1868 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_memobj_destroy() local
1870 pb_reference(&memobj->buf, NULL); in r600_memobj_destroy()
1871 free(memobj); in r600_memobj_destroy()
1882 struct r600_memory_object *memobj = (struct r600_memory_object *)_memobj; in r600_texture_from_memobj() local
1890 if (memobj->b.dedicated) { in r600_texture_from_memobj()
1891 rscreen->ws->buffer_get_metadata(memobj->buf, &metadata); in r600_texture_from_memobj()
1923 array_mode, memobj->stride, in r600_texture_from_memobj()
1929 rtex = r600_texture_create_object(screen, templ, memobj->buf, &surface); in r600_texture_from_memobj()
1936 pb_reference(&buf, memobj->buf); in r600_texture_from_memobj()