Searched refs:cbufs (Results 1 - 25 of 348) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_job.c66 struct pipe_surface **cbufs, struct pipe_surface *zsbuf)
71 .cbufs = {
72 cbufs[0],
73 cbufs[1],
74 cbufs[2],
75 cbufs[3],
109 struct pipe_surface **cbufs = ctx->pipe_framebuffer.cbufs; local in function:panfrost_get_job_for_fbo
111 struct panfrost_job *job = panfrost_get_job(ctx, cbufs, zsbuf);
65 panfrost_get_job(struct panfrost_context * ctx,struct pipe_surface ** cbufs,struct pipe_surface * zsbuf) argument
H A Dpan_job.h32 struct pipe_surface *cbufs[4]; member in struct:panfrost_job_key
72 struct pipe_surface **cbufs, struct pipe_surface *zsbuf);
H A Dpan_mfbd.c177 unsigned cbufs)
189 sizeof(struct bifrost_render_target) * cbufs;
201 for (unsigned c = 0; c < cbufs; ++c) {
230 struct pipe_surface *surf = ctx->pipe_framebuffer.cbufs[cb];
277 struct panfrost_resource *rsrc = (struct panfrost_resource *) ctx->pipe_framebuffer.cbufs[0]->texture;
288 unsigned cbufs = MAX2(ctx->pipe_framebuffer.nr_cbufs, 1); local in function:panfrost_mfbd_fragment
290 return panfrost_mfbd_upload(ctx, &fb, &fbx, rts, cbufs);
172 panfrost_mfbd_upload(struct panfrost_context * ctx,struct bifrost_framebuffer * fb,struct bifrost_fb_extra * fbx,struct bifrost_render_target * rts,unsigned cbufs) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_framebuffer.c67 if (dst->cbufs[i] != src->cbufs[i]) {
97 pipe_surface_reference(&dst->cbufs[i], src->cbufs[i]);
100 for ( ; i < ARRAY_SIZE(dst->cbufs); i++)
101 pipe_surface_reference(&dst->cbufs[i], NULL);
113 for (i = 0 ; i < ARRAY_SIZE(dst->cbufs); i++)
114 pipe_surface_reference(&dst->cbufs[i], NULL);
129 pipe_surface_reference(&fb->cbufs[i], NULL);
153 if (!fb->cbufs[
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_framebuffer.c67 if (dst->cbufs[i] != src->cbufs[i]) {
97 pipe_surface_reference(&dst->cbufs[i], src->cbufs[i]);
100 for ( ; i < ARRAY_SIZE(dst->cbufs); i++)
101 pipe_surface_reference(&dst->cbufs[i], NULL);
113 for (i = 0 ; i < ARRAY_SIZE(dst->cbufs); i++)
114 pipe_surface_reference(&dst->cbufs[i], NULL);
129 pipe_surface_reference(&fb->cbufs[i], NULL);
153 if (!fb->cbufs[
[all...]
H A Du_trace_gallium.c85 if (pfb->cbufs[i]) {
86 trace_surface(ut, cs, pfb->cbufs[i]);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_job.c59 if (job->cbufs[i]) {
61 job->cbufs[i]->texture);
62 pipe_surface_reference(&job->cbufs[i], NULL);
196 if (job->cbufs[3] || job->cbufs[2])
198 else if (job->cbufs[1])
203 if (job->cbufs[i]) {
204 struct v3d_surface *surf = v3d_surface(job->cbufs[i]);
227 struct pipe_surface **cbufs, struct pipe_surface *zsbuf)
231 .cbufs
226 v3d_get_job(struct v3d_context * v3d,struct pipe_surface ** cbufs,struct pipe_surface * zsbuf) argument
295 struct pipe_surface **cbufs = v3d->framebuffer.cbufs; local in function:v3d_get_job_for_fbo
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_surface.c57 struct pipe_surface *cb = i < fb->nr_cbufs ? fb->cbufs[i] : NULL;
60 if (sp->framebuffer.cbufs[i] != cb) {
65 pipe_surface_reference(&sp->framebuffer.cbufs[i], cb);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_state_surface.c57 struct pipe_surface *cb = i < fb->nr_cbufs ? fb->cbufs[i] : NULL;
60 if (sp->framebuffer.cbufs[i] != cb) {
65 pipe_surface_reference(&sp->framebuffer.cbufs[i], cb);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.c120 if (pfb->cbufs[0] &&
121 translate_rs_format_rb_swap(pfb->cbufs[0]->format)) {
135 if (pfb->cbufs[0])
136 desc = util_format_description(pfb->cbufs[0]->format);
137 bool full_overwrite = !pfb->cbufs[0] || ((blend->fo_allowed &&
163 if (pfb->cbufs[0] &&
164 translate_rs_format_rb_swap(pfb->cbufs[0]->format)) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.c132 if (pfb->cbufs[0] &&
133 translate_pe_format_rb_swap(pfb->cbufs[0]->format)) {
147 if (pfb->cbufs[0])
148 desc = util_format_description(pfb->cbufs[0]->format);
149 bool full_overwrite = !pfb->cbufs[0] || ((blend->fo_allowed &&
174 bool rb_swap = (pfb->cbufs[0] && translate_pe_format_rb_swap(pfb->cbufs[0]->format));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_fastpath.c53 uint8_t **cbufs,
122 opaque_color(uint8_t **cbufs, unsigned *strides, argument
126 __m128i *cbuf = (__m128i *)cbufs[0];
151 uint8_t **cbufs,
160 opaque_color(cbufs, strides, int_mask, 0xffff0000);
178 uint8_t **cbufs,
187 opaque_color(cbufs, strides, int_mask, 0xff00ff00);
46 no_op(const struct lp_jit_context * context,uint32_t x,uint32_t y,uint32_t facing,const void * a0,const void * dadx,const void * dady,uint8_t ** cbufs,uint8_t * depth,uint64_t mask,struct lp_jit_thread_data * thread_data,unsigned * strides,unsigned depth_stride,unsigned * color_sample_stride,unsigned depth_sample_stride) argument
144 red(const struct lp_jit_context * context,uint32_t x,uint32_t y,uint32_t facing,const void * a0,const void * dadx,const void * dady,uint8_t ** cbufs,uint8_t * depth,uint64_t int_mask,struct lp_jit_thread_data * thread_data,unsigned * strides,unsigned depth_stride,unsigned * sample_stride,unsigned depth_sample_stride) argument
171 green(const struct lp_jit_context * context,uint32_t x,uint32_t y,uint32_t facing,const void * a0,const void * dadx,const void * dady,uint8_t ** cbufs,uint8_t * depth,uint64_t int_mask,struct lp_jit_thread_data * thread_data,unsigned * strides,unsigned depth_stride,unsigned * sample_stride,unsigned depth_sample_stride) argument
H A Dlp_rast_linear.c56 util_fill_rect(scene->cbufs[0].map,
58 scene->cbufs[0].stride,
98 scene->cbufs[0].map,
99 scene->cbufs[0].stride))
113 scene->cbufs[0].map,
114 scene->cbufs[0].stride))
170 scene->cbufs[0].map,
171 scene->cbufs[0].stride))
183 scene->cbufs[0].map,
184 scene->cbufs[
[all...]
H A Dlp_rast_linear_fallback.c102 uint8_t *color = scene->cbufs[0].map;
103 unsigned stride = scene->cbufs[0].stride;
104 uint8_t *cbufs[1]; local in function:shade_quads_all
109 cbufs[0] = color;
122 cbufs,
139 uint8_t *color = scene->cbufs[0].map;
140 unsigned stride = scene->cbufs[0].stride;
141 uint8_t *cbufs[1]; local in function:shade_quads_mask
146 cbufs[0] = color;
162 cbufs,
[all...]
H A Dlp_state_surface.c75 if (lp->framebuffer.cbufs[i] &&
76 lp->framebuffer.cbufs[i]->context != pipe) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_scene.c158 struct pipe_surface *cbuf = scene->fb.cbufs[i];
161 scene->cbufs[i].stride = 0;
162 scene->cbufs[i].layer_stride = 0;
163 scene->cbufs[i].map = NULL;
168 scene->cbufs[i].stride = llvmpipe_resource_stride(cbuf->texture,
170 scene->cbufs[i].layer_stride = llvmpipe_layer_stride(cbuf->texture,
173 scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture,
177 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format);
182 scene->cbufs[i].stride = cbuf->texture->width0;
183 scene->cbufs[
[all...]
H A Dlp_state_surface.c75 if (lp->framebuffer.cbufs[i] &&
76 lp->framebuffer.cbufs[i]->context != pipe) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_framebuffer.c144 framebuffer.cbufs[i] = NULL;
155 framebuffer.cbufs[i] = strb->surface;
163 framebuffer.cbufs[i] = NULL;
168 !framebuffer.cbufs[framebuffer.nr_cbufs-1]) {
194 assert(!framebuffer.cbufs[i] ||
195 framebuffer.cbufs[i]->texture->bind & PIPE_BIND_RENDER_TARGET);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_framebuffer.c144 framebuffer.cbufs[i] = NULL;
158 framebuffer.cbufs[i] = strb->surface;
166 framebuffer.cbufs[i] = NULL;
171 !framebuffer.cbufs[framebuffer.nr_cbufs-1]) {
200 assert(!framebuffer.cbufs[i] ||
201 framebuffer.cbufs[i]->texture->bind & PIPE_BIND_RENDER_TARGET);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_clear.cpp48 if (fb->cbufs[i] && (buffers & (PIPE_CLEAR_COLOR0 << i))) {
50 layers = std::max(layers, fb->cbufs[i]->u.tex.last_layer -
51 fb->cbufs[i]->u.tex.first_layer + 1u);
89 const struct pipe_surface *sf = fb->cbufs[c];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_job.c59 if (job->cbufs[i]) {
61 job->cbufs[i]->texture);
62 pipe_surface_reference(&job->cbufs[i], NULL);
290 struct pipe_surface **cbufs,
296 .cbufs = {
297 cbufs[0],
298 cbufs[1],
299 cbufs[2],
300 cbufs[3],
317 if (cbufs[
288 v3d_get_job(struct v3d_context * v3d,uint32_t nr_cbufs,struct pipe_surface ** cbufs,struct pipe_surface * zsbuf,struct pipe_surface * bbuf) argument
374 struct pipe_surface **cbufs = v3d->framebuffer.cbufs; local in function:v3d_get_job_for_fbo
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c71 if ((curr->cbufs[i] != hw->cbufs[i]) || (reemit && hw->cbufs[i])) {
76 if (hw->cbufs[i] && svga_surface_needs_propagation(hw->cbufs[i]))
77 svga_propagate_surface(svga, hw->cbufs[i], TRUE);
80 curr->cbufs[i]);
84 pipe_surface_reference(&hw->cbufs[i], curr->cbufs[i]);
88 struct pipe_surface *s = curr->cbufs[
[all...]
H A Dsvga_pipe_misc.c93 pipe_surface_reference(&curr->cbufs[i], NULL);
94 pipe_surface_reference(&hw->cbufs[i], NULL);
135 if (fb->cbufs[i]) {
137 if (fb->cbufs[i]->width != width ||
138 fb->cbufs[i]->height != height) {
144 width = fb->cbufs[i]->width;
145 height = fb->cbufs[i]->height;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_misc.c100 pipe_surface_reference(&curr->cbufs[i], NULL);
101 pipe_surface_reference(&hw->cbufs[i], NULL);
142 if (fb->cbufs[i]) {
144 if (fb->cbufs[i]->width != width ||
145 fb->cbufs[i]->height != height) {
151 width = fb->cbufs[i]->width;
152 height = fb->cbufs[i]->height;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_clear.cpp47 if (fb->cbufs[i] && (buffers & (PIPE_CLEAR_COLOR0 << i))) {
49 layers = std::max(layers, fb->cbufs[i]->u.tex.last_layer -
50 fb->cbufs[i]->u.tex.first_layer + 1u);
90 const struct pipe_surface *sf = fb->cbufs[c];

Completed in 12 milliseconds

1234567891011>>