Home
last modified time | relevance | path

Searched refs:statts (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/dri/
Ddrisw.c328 const enum st_attachment_type *statts, in drisw_allocate_textures() argument
365 if (drawable->textures[statts[i]]) in drisw_allocate_textures()
368 dri_drawable_get_format(drawable, statts[i], &format, &bind); in drisw_allocate_textures()
371 if (statts[i] != ST_ATTACHMENT_DEPTH_STENCIL && !screen->swrast_no_present) in drisw_allocate_textures()
382 if (statts[i] == ST_ATTACHMENT_FRONT_LEFT && in drisw_allocate_textures()
385 drawable->textures[statts[i]] = in drisw_allocate_textures()
388 drawable->textures[statts[i]] = in drisw_allocate_textures()
396 drawable->msaa_textures[statts[i]] = in drisw_allocate_textures()
400 drawable->msaa_textures[statts[i]], in drisw_allocate_textures()
401 drawable->textures[statts[i]]); in drisw_allocate_textures()
Ddri_drawable.c46 const enum st_attachment_type *statts, in dri_st_framebuffer_validate() argument
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()
Ddri_drawable.h68 const enum st_attachment_type *statts,
Ddri2.c214 const enum st_attachment_type *statts, in dri_image_drawable_get_buffers() argument
225 dri_drawable_get_format(drawable, statts[i], &pf, &bind); in dri_image_drawable_get_buffers()
229 switch (statts[i]) { in dri_image_drawable_get_buffers()
397 const enum st_attachment_type *statts, in dri2_allocate_textures() argument
419 statts, statts_count)) in dri2_allocate_textures()
423 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures()
436 if (statts[i] == ST_ATTACHMENT_DEPTH_STENCIL) { in dri2_allocate_textures()
466 if (i == statts[j]) { in dri2_allocate_textures()
585 enum st_attachment_type statt = statts[i]; in dri2_allocate_textures()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c259 const enum st_attachment_type *statts, in stw_st_framebuffer_validate() argument
268 statt_mask |= 1 << statts[i]; in stw_st_framebuffer_validate()
286 if (statts[i] == ST_ATTACHMENT_FRONT_LEFT) in stw_st_framebuffer_validate()
288 else if (statts[i] == ST_ATTACHMENT_BACK_LEFT) in stw_st_framebuffer_validate()
291 texture = textures[statts[i]]; in stw_st_framebuffer_validate()
/third_party/mesa3d/src/gallium/frontends/hgl/
Dhgl.c158 struct st_framebuffer_iface *stfbi, const enum st_attachment_type *statts, in hgl_st_framebuffer_validate() argument
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()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_st.c205 const enum st_attachment_type *statts, in xmesa_st_framebuffer_validate() argument
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()
/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c420 const enum st_attachment_type *statts, in osmesa_st_framebuffer_validate() argument
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()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c222 if (!stfb->iface->validate(&st->iface, stfb->iface, stfb->statts, in st_framebuffer_validate()
241 idx = attachment_to_buffer_index(stfb->statts[i]); in st_framebuffer_validate()
287 stfb->statts[i] = ST_ATTACHMENT_INVALID; in st_framebuffer_update_attachments()
300 stfb->statts[stfb->num_statts++] = statt; in st_framebuffer_update_attachments()
Dst_context.h438 enum st_attachment_type statts[ST_ATTACHMENT_COUNT]; member
/third_party/mesa3d/src/gallium/include/frontend/
Dapi.h355 const enum st_attachment_type *statts,