Home
last modified time | relevance | path

Searched refs:st_obj (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c60 struct st_buffer_object *st_obj = ST_CALLOC_STRUCT(st_buffer_object); in st_bufferobj_alloc() local
62 if (!st_obj) in st_bufferobj_alloc()
65 _mesa_initialize_buffer_object(ctx, &st_obj->Base, name); in st_bufferobj_alloc()
67 return &st_obj->Base; in st_bufferobj_alloc()
79 struct st_buffer_object *st_obj = st_buffer_object(obj); in st_bufferobj_free() local
84 if (st_obj->buffer) in st_bufferobj_free()
85 pipe_resource_reference(&st_obj->buffer, NULL); in st_bufferobj_free()
104 struct st_buffer_object *st_obj = st_buffer_object(obj); in st_bufferobj_subdata() local
122 if (!st_obj->buffer) { in st_bufferobj_subdata()
134 st_obj->buffer, in st_bufferobj_subdata()
[all …]
Dst_atom_atomicbuf.c57 struct st_buffer_object *st_obj = in st_bind_atomics() local
61 if (st_obj && st_obj->buffer) { in st_bind_atomics()
62 sb.buffer = st_obj->buffer; in st_bind_atomics()
64 sb.buffer_size = st_obj->buffer->width0 - binding->Offset; in st_bind_atomics()
147 struct st_buffer_object *st_obj = st_buffer_object(binding->BufferObject); in st_bind_hw_atomic_buffers() local
150 if (st_obj && st_obj->buffer) { in st_bind_hw_atomic_buffers()
151 sb->buffer = st_obj->buffer; in st_bind_hw_atomic_buffers()
153 sb->buffer_size = st_obj->buffer->width0 - binding->Offset; in st_bind_hw_atomic_buffers()
Dst_cb_memoryobjects.c40 struct st_memory_object *st_obj = ST_CALLOC_STRUCT(st_memory_object); in st_memoryobj_alloc() local
41 if (!st_obj) in st_memoryobj_alloc()
44 _mesa_initialize_memory_object(ctx, &st_obj->Base, name); in st_memoryobj_alloc()
45 return &st_obj->Base; in st_memoryobj_alloc()
62 struct st_memory_object *st_obj = st_memory_object(obj); in st_import_memoryobj_fd() local
74 st_obj->memory = screen->memobj_create_from_handle(screen, in st_import_memoryobj_fd()
Dst_atom_storagebuf.c60 struct st_buffer_object *st_obj; in st_bind_ssbos() local
65 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ssbos()
67 sb->buffer = st_obj->buffer; in st_bind_ssbos()
Dst_atom_constbuf.c199 struct st_buffer_object *st_obj; in st_bind_ubos() local
203 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ubos()
205 cb.buffer = st_obj->buffer; in st_bind_ubos()