Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c62 struct st_buffer_object *st_obj = ST_CALLOC_STRUCT(st_buffer_object); in st_bufferobj_alloc() local
64 if (!st_obj) in st_bufferobj_alloc()
67 _mesa_initialize_buffer_object(ctx, &st_obj->Base, name); in st_bufferobj_alloc()
69 return &st_obj->Base; in st_bufferobj_alloc()
81 struct st_buffer_object *st_obj = st_buffer_object(obj); in st_bufferobj_free() local
86 if (st_obj->buffer) in st_bufferobj_free()
87 pipe_resource_reference(&st_obj->buffer, NULL); in st_bufferobj_free()
106 struct st_buffer_object *st_obj = st_buffer_object(obj); in st_bufferobj_subdata() local
124 if (!st_obj->buffer) { in st_bufferobj_subdata()
140 pipe->buffer_subdata(pipe, st_obj->buffer, in st_bufferobj_subdata()
[all …]
Dst_cb_memoryobjects.c45 struct st_memory_object *st_obj = ST_CALLOC_STRUCT(st_memory_object); in st_memoryobj_alloc() local
46 if (!st_obj) in st_memoryobj_alloc()
49 _mesa_initialize_memory_object(ctx, &st_obj->Base, name); in st_memoryobj_alloc()
50 return &st_obj->Base; in st_memoryobj_alloc()
57 struct st_memory_object *st_obj = st_memory_object(obj); in st_memoryobj_free() local
62 if (st_obj->memory) in st_memoryobj_free()
63 screen->memobj_destroy(screen, st_obj->memory); in st_memoryobj_free()
74 struct st_memory_object *st_obj = st_memory_object(obj); in st_import_memoryobj_fd() local
86 st_obj->memory = screen->memobj_create_from_handle(screen, in st_import_memoryobj_fd()
Dst_cb_semaphoreobjects.c44 struct st_semaphore_object *st_obj = ST_CALLOC_STRUCT(st_semaphore_object); in st_semaphoreobj_alloc() local
45 if (!st_obj) in st_semaphoreobj_alloc()
48 _mesa_initialize_semaphore_object(ctx, &st_obj->Base, name); in st_semaphoreobj_alloc()
49 return &st_obj->Base; in st_semaphoreobj_alloc()
65 struct st_semaphore_object *st_obj = st_semaphore_object(semObj); in st_import_semaphoreobj_fd() local
69 pipe->create_fence_fd(pipe, &st_obj->fence, fd, PIPE_FD_TYPE_SYNCOBJ); in st_import_semaphoreobj_fd()
86 struct st_semaphore_object *st_obj = st_semaphore_object(semObj); in st_server_wait_semaphore() local
94 pipe->fence_server_sync(pipe, st_obj->fence); in st_server_wait_semaphore()
135 struct st_semaphore_object *st_obj = st_semaphore_object(semObj); in st_server_signal_semaphore() local
161 pipe->fence_server_signal(pipe, st_obj->fence); in st_server_signal_semaphore()
Dst_atom_atomicbuf.c47 struct st_buffer_object *st_obj = in st_binding_to_sb() local
50 if (st_obj && st_obj->buffer) { in st_binding_to_sb()
51 sb->buffer = st_obj->buffer; in st_binding_to_sb()
53 sb->buffer_size = st_obj->buffer->width0 - binding->Offset; in st_binding_to_sb()
Dst_atom_storagebuf.c54 struct st_buffer_object *st_obj; in st_bind_ssbos() local
59 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ssbos()
61 sb->buffer = st_obj ? st_obj->buffer : NULL; in st_bind_ssbos()
Dst_atom_constbuf.c224 struct st_buffer_object *st_obj; in st_bind_ubos() local
228 st_obj = st_buffer_object(binding->BufferObject); in st_bind_ubos()
230 cb.buffer = st_obj ? st_obj->buffer : NULL; in st_bind_ubos()
Dst_draw_feedback.c238 struct st_buffer_object *st_obj = st_buffer_object(binding->BufferObject); in st_feedback_draw_vbo() local
239 struct pipe_resource *buf = st_obj->buffer; in st_feedback_draw_vbo()
268 struct st_buffer_object *st_obj = st_buffer_object(binding->BufferObject); in st_feedback_draw_vbo() local
269 struct pipe_resource *buf = st_obj->buffer; in st_feedback_draw_vbo()