Searched refs:space (Results 1 - 25 of 609) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_scratch.cpp33 struct swr_scratch_space *space,
38 assert(space);
44 /* Need to grow space */
45 if (max_size_in_flight > space->current_size) {
46 space->current_size = max_size_in_flight;
48 if (space->base) {
51 swr_fence_work_free(screen->flush_fence, space->base, true);
52 space->base = NULL;
55 if (!space->base) {
56 space
32 swr_copy_to_scratch_space(struct swr_context * ctx,struct swr_scratch_space * space,const void * user_buffer,unsigned int size) argument
[all...]
H A Dswr_scratch.h50 * space ptr to scratch pool (vs_constants, fs_constants)
51 * user_buffer, data to copy into scratch space
54 * pointer to data copied to scratch space.
57 struct swr_scratch_space *space,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_scratch.cpp34 struct swr_scratch_space *space,
39 assert(space);
45 /* Need to grow space */
46 if (max_size_in_flight > space->current_size) {
47 space->current_size = max_size_in_flight;
49 if (space->base) {
54 swr_fence_work_free(screen->flush_fence, space->base, true);
55 space->base = NULL;
58 if (!space->base) {
59 space
33 swr_copy_to_scratch_space(struct swr_context * ctx,struct swr_scratch_space * space,const void * user_buffer,unsigned int size) argument
[all...]
H A Dswr_scratch.h52 * space ptr to scratch pool (vs_constants, fs_constants)
53 * user_buffer, data to copy into scratch space
56 * pointer to data copied to scratch space.
59 struct swr_scratch_space *space,
/xsrc/external/mit/MesaLib/dist/src/panfrost/util/
H A Dpan_ir.c44 unsigned space = local in function:pan_to_bytemask
54 return space | (space << 1);
58 unsigned space = local in function:pan_to_bytemask
64 return space | (space << 1) | (space << 2) | (space << 3);
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_cl.c59 cl_alloc_bo(struct v3dv_cl *cl, uint32_t space, bool use_branch) argument
61 struct v3dv_bo *bo = v3dv_bo_alloc(cl->job->device, space, "CL", true);
95 v3dv_cl_ensure_space(struct v3dv_cl *cl, uint32_t space, uint32_t alignment) argument
99 if (offset + space <= cl->size) {
104 cl_alloc_bo(cl, space, false);
109 v3dv_cl_ensure_space_with_branch(struct v3dv_cl *cl, uint32_t space) argument
120 space += cl_packet_length(RETURN_FROM_SUB_LIST);
123 space += cl_packet_length(BRANCH);
126 if (v3dv_cl_offset(cl) + space <= cl->size)
132 cl_alloc_bo(cl, space, !needs_return_from_sub_lis
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_cl.c45 v3d_cl_ensure_space(struct v3d_cl *cl, uint32_t space, uint32_t alignment) argument
49 if (offset + space <= cl->size) {
55 cl->bo = v3d_bo_alloc(cl->job->v3d->screen, align(space, 4096), "CL");
64 v3d_cl_ensure_space_with_branch(struct v3d_cl *cl, uint32_t space) argument
66 if (cl_offset(cl) + space + cl_packet_length(BRANCH) <= cl->size)
69 struct v3d_bo *new_bo = v3d_bo_alloc(cl->job->v3d->screen, space, "CL");
70 assert(space <= new_bo->size);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_cl.c42 v3d_cl_ensure_space(struct v3d_cl *cl, uint32_t space, uint32_t alignment) argument
46 if (offset + space <= cl->size) {
52 cl->bo = v3d_bo_alloc(cl->job->v3d->screen, align(space, 4096), "CL");
61 v3d_cl_ensure_space_with_branch(struct v3d_cl *cl, uint32_t space) argument
63 if (cl_offset(cl) + space + cl_packet_length(BRANCH) <= cl->size)
67 assert(space <= new_bo->size);
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_acpi.c80 /* We will get '0' if we run out of space whilst reading
112 char *space = sna->acpi.event; local in function:_sna_acpi_wakeup
117 space = strchr(space, ' ');
118 if (space)
119 space = strchr(space + 1, ' ');
120 if (space)
121 space = strchr(space
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_acpi.c80 /* We will get '0' if we run out of space whilst reading
116 char *space = sna->acpi.event; local in function:_sna_acpi_wakeup
121 space = strchr(space, ' ');
122 if (space)
123 space = strchr(space + 1, ' ');
124 if (space)
125 space = strchr(space
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/xvmc/
H A Dintel_batchbuffer.h13 assert(xvmc_driver->batch.space >= (n) *4); \
14 if (xvmc_driver->batch.space < (n)*4) \
45 xvmc_driver->batch.space -= (batch_ptr - xvmc_driver->batch.ptr);\
47 assert(xvmc_driver->batch.space >= 0); \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dnine_queue.h40 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space);
H A Dnine_queue.c43 * The queue is flushed automatically on insufficient space or once the
48 * nine_queue_alloc returns NULL on insufficent space.
173 /* Gets a a pointer to slice of memory with size @space.
175 * Returns NULL on @space > NINE_QUEUE_SIZE. */
177 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space) argument
182 if (space > NINE_QUEUE_SIZE)
187 if ((cmdbuf->offset + space > NINE_QUEUE_SIZE) ||
195 DBG("cmdbuf=%p space=%d\n", cmdbuf, space);
197 /* at this pointer there's always a free queue with sufficient space availabl
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dnine_queue.h40 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space);
H A Dnine_queue.c43 * The queue is flushed automatically on insufficient space or once the
48 * nine_queue_alloc returns NULL on insufficent space.
173 /* Gets a a pointer to slice of memory with size @space.
175 * Returns NULL on @space > NINE_QUEUE_SIZE. */
177 nine_queue_alloc(struct nine_queue_pool* ctx, unsigned space) argument
182 if (space > NINE_QUEUE_SIZE)
187 if ((cmdbuf->offset + space > NINE_QUEUE_SIZE) ||
195 DBG("cmdbuf=%p space=%d\n", cmdbuf, space);
197 /* at this pointer there's always a free queue with sufficient space availabl
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di830_accel.c91 while (ring->space < n) {
93 ring->space = ring->head - (ring->tail + 8);
95 if (ring->space < 0)
96 ring->space += ring->mem->size;
103 ErrorF("space: %d wanted %d\n", ring->space, n);
113 ErrorF("space: %d wanted %d\n", ring->space, n);
125 ErrorF("space: %d wanted %d\n", ring->space,
[all...]
/xsrc/external/mit/xf86-video-intel/dist/xvmc/
H A Dintel_batchbuffer.h13 assert(xvmc_driver->batch.space >= (n) *4); \
43 xvmc_driver->batch.space -= (batch_ptr - xvmc_driver->batch.ptr);\
/xsrc/external/mit/xf86-video-intel-2014/dist/xvmc/
H A Dintel_batchbuffer.h13 assert(xvmc_driver->batch.space >= (n) *4); \
43 xvmc_driver->batch.space -= (batch_ptr - xvmc_driver->batch.ptr);\
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_cl.c38 cl_ensure_space(struct vc4_cl *cl, uint32_t space) argument
42 if (offset + space <= cl->size)
45 uint32_t size = MAX2(cl->size + space, cl->size * 2);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_cl.c38 cl_ensure_space(struct vc4_cl *cl, uint32_t space) argument
42 if (offset + space <= cl->size)
45 uint32_t size = MAX2(cl->size + space, cl->size * 2);
/xsrc/external/mit/xf86-video-intel/dist/src/legacy/i810/
H A Di810_accel.c104 while (ring->space < n) {
106 ring->space = ring->head - (ring->tail + 8);
108 if (ring->space < 0)
109 ring->space += ring->mem.Size;
116 ErrorF("space: %d wanted %d\n", ring->space, n);
123 ErrorF("space: %d wanted %d\n", ring->space, n);
143 ErrorF("space: %d wanted %d\n", ring->space,
[all...]
H A Di810_ring.h50 pI810->LpRing->space -= ringused; \
82 if (pI810->LpRing->space < needed) \
/xsrc/external/mit/xf86-video-intel-2014/dist/src/legacy/i810/
H A Di810_accel.c104 while (ring->space < n) {
106 ring->space = ring->head - (ring->tail + 8);
108 if (ring->space < 0)
109 ring->space += ring->mem.Size;
116 ErrorF("space: %d wanted %d\n", ring->space, n);
123 ErrorF("space: %d wanted %d\n", ring->space, n);
143 ErrorF("space: %d wanted %d\n", ring->space,
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_disasm.c447 static void control(FILE *file, const char *name, const char *ctrl[], unsigned id, int *space) argument
455 if (space && *space)
458 if (space)
459 *space = 1;
836 int space = 0; local in function:brw_disasm
914 space = 0;
918 target, &space);
921 target, &space);
927 inst->bits3.math.function, &space);
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_disasm.c447 static void control(FILE *file, const char *name, const char *ctrl[], unsigned id, int *space) argument
455 if (space && *space)
458 if (space)
459 *space = 1;
836 int space = 0; local in function:brw_disasm
914 space = 0;
918 target, &space);
921 target, &space);
927 inst->bits3.math.function, &space);
[all...]

Completed in 649 milliseconds

1234567891011>>