Searched refs:st_obj (Results 1 – 5 of 5) sorted by relevance
60 struct st_buffer_object *st_obj = ST_CALLOC_STRUCT(st_buffer_object); in st_bufferobj_alloc() local62 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() local84 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() local122 if (!st_obj->buffer) { in st_bufferobj_subdata()134 st_obj->buffer, in st_bufferobj_subdata()[all …]
57 struct st_buffer_object *st_obj = in st_bind_atomics() local61 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() local150 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()
40 struct st_memory_object *st_obj = ST_CALLOC_STRUCT(st_memory_object); in st_memoryobj_alloc() local41 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() local74 st_obj->memory = screen->memobj_create_from_handle(screen, in st_import_memoryobj_fd()
60 struct st_buffer_object *st_obj; in st_bind_ssbos() local65 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ssbos()67 sb->buffer = st_obj->buffer; in st_bind_ssbos()
199 struct st_buffer_object *st_obj; in st_bind_ubos() local203 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ubos()205 cb.buffer = st_obj->buffer; in st_bind_ubos()