Lines Matching refs:cbufs
158 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_begin_rasterization()
161 scene->cbufs[i].stride = 0; in lp_scene_begin_rasterization()
162 scene->cbufs[i].layer_stride = 0; in lp_scene_begin_rasterization()
163 scene->cbufs[i].map = NULL; in lp_scene_begin_rasterization()
168 scene->cbufs[i].stride = llvmpipe_resource_stride(cbuf->texture, in lp_scene_begin_rasterization()
170 scene->cbufs[i].layer_stride = llvmpipe_layer_stride(cbuf->texture, in lp_scene_begin_rasterization()
173 scene->cbufs[i].map = llvmpipe_resource_map(cbuf->texture, in lp_scene_begin_rasterization()
177 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization()
182 scene->cbufs[i].stride = cbuf->texture->width0; in lp_scene_begin_rasterization()
183 scene->cbufs[i].layer_stride = 0; in lp_scene_begin_rasterization()
184 scene->cbufs[i].map = lpr->data; in lp_scene_begin_rasterization()
185 scene->cbufs[i].map += cbuf->u.buf.first_element * pixstride; in lp_scene_begin_rasterization()
186 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization()
216 if (scene->cbufs[i].map) { in lp_scene_end_rasterization()
217 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_end_rasterization()
223 scene->cbufs[i].map = NULL; in lp_scene_end_rasterization()
533 struct pipe_surface *cbuf = scene->fb.cbufs[i]; in lp_scene_begin_binning()