/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | kopper.c | 216 const enum st_attachment_type *statts, 487 const enum st_attachment_type *statts, in kopper_allocate_textures() 513 statts, statts_count)) in kopper_allocate_textures() 597 attachments |= BITFIELD_BIT(statts[i]); in kopper_allocate_textures() 604 dri_drawable_get_format(drawable, statts[i], &format, &bind); in kopper_allocate_textures() 607 if (!drawable->textures[statts[i]]) { in kopper_allocate_textures() 608 if (statts[i] == ST_ATTACHMENT_BACK_LEFT || in kopper_allocate_textures() 609 statts[i] == ST_ATTACHMENT_DEPTH_STENCIL || in kopper_allocate_textures() 610 (statts[i] == ST_ATTACHMENT_FRONT_LEFT && front_only)) in kopper_allocate_textures() 621 if (statts[ in kopper_allocate_textures() 485 kopper_allocate_textures(struct dri_context *ctx, struct dri_drawable *drawable, const enum st_attachment_type *statts, unsigned statts_count) kopper_allocate_textures() argument [all...] |
H A D | drisw.c | 346 const enum st_attachment_type *statts, in drisw_allocate_textures() 383 if (drawable->textures[statts[i]]) in drisw_allocate_textures() 386 dri_drawable_get_format(drawable, statts[i], &format, &bind); in drisw_allocate_textures() 389 if (statts[i] != ST_ATTACHMENT_DEPTH_STENCIL && !screen->swrast_no_present) in drisw_allocate_textures() 400 if (statts[i] == ST_ATTACHMENT_FRONT_LEFT && in drisw_allocate_textures() 403 drawable->textures[statts[i]] = in drisw_allocate_textures() 406 drawable->textures[statts[i]] = in drisw_allocate_textures() 414 drawable->msaa_textures[statts[i]] = in drisw_allocate_textures() 418 drawable->msaa_textures[statts[i]], in drisw_allocate_textures() 419 drawable->textures[statts[ in drisw_allocate_textures() 344 drisw_allocate_textures(struct dri_context *stctx, struct dri_drawable *drawable, const enum st_attachment_type *statts, unsigned count) drisw_allocate_textures() argument [all...] |
H A D | dri_drawable.c | 46 const enum st_attachment_type *statts, in dri_st_framebuffer_validate() 64 statt_mask |= (1 << statts[i]); in dri_st_framebuffer_validate() 82 drawable->allocate_textures(ctx, drawable, statts, count); in dri_st_framebuffer_validate() 112 pipe_resource_reference(&out[i], textures[statts[i]]); in dri_st_framebuffer_validate() 221 enum st_attachment_type statts[ST_ATTACHMENT_COUNT]; in dri_drawable_validate_att() local 231 statts[count++] = i; in dri_drawable_validate_att() 234 statts[count++] = statt; in dri_drawable_validate_att() 238 drawable->base.validate(ctx->st, &drawable->base, statts, count, NULL); in dri_drawable_validate_att() 44 dri_st_framebuffer_validate(struct st_context_iface *stctx, struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, unsigned count, struct pipe_resource **out) dri_st_framebuffer_validate() argument
|
H A D | dri_drawable.h | 70 const enum st_attachment_type *statts,
|
H A D | dri2.c | 215 const enum st_attachment_type *statts, 220 const enum st_attachment_type *statts, in dri_image_drawable_get_buffers() 231 dri_drawable_get_format(drawable, statts[i], &pf, &bind); in dri_image_drawable_get_buffers() 235 switch (statts[i]) { in dri_image_drawable_get_buffers() 437 const enum st_attachment_type *statts, in dri2_allocate_textures() 459 statts, statts_count)) in dri2_allocate_textures() 463 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures() 476 if (statts[i] == ST_ATTACHMENT_DEPTH_STENCIL) { in dri2_allocate_textures() 506 if (i == statts[j]) { in dri2_allocate_textures() 628 enum st_attachment_type statt = statts[ in dri2_allocate_textures() 218 dri_image_drawable_get_buffers(struct dri_drawable *drawable, struct __DRIimageList *images, const enum st_attachment_type *statts, unsigned statts_count) dri_image_drawable_get_buffers() argument 435 dri2_allocate_textures(struct dri_context *ctx, struct dri_drawable *drawable, const enum st_attachment_type *statts, unsigned statts_count) dri2_allocate_textures() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_st.c | 316 const enum st_attachment_type *statts, in stw_st_framebuffer_validate() 325 statt_mask |= 1 << statts[i]; in stw_st_framebuffer_validate() 343 if (statts[i] == ST_ATTACHMENT_FRONT_LEFT) in stw_st_framebuffer_validate() 345 else if (statts[i] == ST_ATTACHMENT_BACK_LEFT) in stw_st_framebuffer_validate() 348 texture = textures[statts[i]]; in stw_st_framebuffer_validate() 314 stw_st_framebuffer_validate(struct st_context_iface *stctx, struct st_framebuffer_iface *stfb, const enum st_attachment_type *statts, unsigned count, struct pipe_resource **out) stw_st_framebuffer_validate() argument
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | xm_st.c | 198 * \param statts array of framebuffer attachments 199 * \param count number of framebuffer attachments in statts[] 205 const enum st_attachment_type *statts, in xmesa_st_framebuffer_validate() 217 statt_mask |= 1 << statts[i]; in xmesa_st_framebuffer_validate() 254 pipe_resource_reference(&out[i], xstfb->textures[statts[i]]); in xmesa_st_framebuffer_validate() 203 xmesa_st_framebuffer_validate(struct st_context_iface *stctx, struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, unsigned count, struct pipe_resource **out) xmesa_st_framebuffer_validate() argument
|
/third_party/mesa3d/src/gallium/frontends/hgl/ |
H A D | hgl.c | 158 struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, in hgl_st_framebuffer_validate() 175 stAttachmentMask |= 1 << statts[i]; in hgl_st_framebuffer_validate() 195 pipe_resource_reference(&out[i], buffer->textures[statts[i]]); in hgl_st_framebuffer_validate() 157 hgl_st_framebuffer_validate(struct st_context_iface *stctxi, struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, unsigned count, struct pipe_resource **out) hgl_st_framebuffer_validate() argument
|
/third_party/mesa3d/src/gallium/frontends/osmesa/ |
H A D | osmesa.c | 420 const enum st_attachment_type *statts, in osmesa_st_framebuffer_validate() 450 if (statts[i] == ST_ATTACHMENT_FRONT_LEFT) { in osmesa_st_framebuffer_validate() 454 else if (statts[i] == ST_ATTACHMENT_DEPTH_STENCIL) { in osmesa_st_framebuffer_validate() 458 else if (statts[i] == ST_ATTACHMENT_ACCUM) { in osmesa_st_framebuffer_validate() 470 out[i] = osbuffer->textures[statts[i]] = in osmesa_st_framebuffer_validate() 418 osmesa_st_framebuffer_validate(struct st_context_iface *stctx, struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, unsigned count, struct pipe_resource **out) osmesa_st_framebuffer_validate() argument
|
/third_party/mesa3d/src/gallium/include/frontend/ |
H A D | api.h | 367 const enum st_attachment_type *statts,
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_manager.c | 238 if (!stfb->iface->validate(&st->iface, stfb->iface, stfb->statts, in st_framebuffer_validate() 257 idx = attachment_to_buffer_index(stfb->statts[i]); in st_framebuffer_validate() 305 stfb->statts[i] = ST_ATTACHMENT_INVALID; in st_framebuffer_update_attachments() 318 stfb->statts[stfb->num_statts++] = statt; in st_framebuffer_update_attachments()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | mtypes.h | 2769 enum st_attachment_type statts[ST_ATTACHMENT_COUNT]; member
|