Home
last modified time | relevance | path

Searched refs:stfb (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_manager.c221 st_framebuffer_validate(struct gl_framebuffer *stfb, in st_framebuffer_validate() argument
230 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate()
231 if (stfb->iface_stamp == new_stamp) in st_framebuffer_validate()
234 memset(textures, 0, stfb->num_statts * sizeof(textures[0])); in st_framebuffer_validate()
238 if (!stfb->iface->validate(&st->iface, stfb->iface, stfb->statts, in st_framebuffer_validate()
239 stfb->num_statts, textures)) in st_framebuffer_validate()
242 stfb->iface_stamp = new_stamp; in st_framebuffer_validate()
243 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate()
244 } while(stfb->iface_stamp != new_stamp); in st_framebuffer_validate()
246 width = stfb->Width; in st_framebuffer_validate()
[all …]
Dst_context.c919 struct gl_framebuffer *stfb, *next; in st_destroy_context() local
974 LIST_FOR_EACH_ENTRY_SAFE_REV(stfb, next, &st->winsys_buffers, head) { in st_destroy_context()
975 _mesa_reference_framebuffer(&stfb, NULL); in st_destroy_context()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_st.c145 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_validate_locked() argument
149 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_validate_locked()
315 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_validate() argument
320 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_validate()
391 struct st_framebuffer_iface *stfb, in stw_st_flush() argument
394 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_flush()
417 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_present_locked() argument
420 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_present_locked()
440 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_flush_front() argument
443 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_flush_front()
[all …]
Dstw_st.h47 stw_st_destroy_framebuffer_locked(struct st_framebuffer_iface *stfb);
50 stw_st_flush(struct st_context_iface *st, struct st_framebuffer_iface *stfb,
55 struct st_framebuffer_iface *stfb);
58 stw_get_framebuffer_resource(struct st_framebuffer_iface *stfb,
Dstw_framebuffer.h93 struct st_framebuffer_iface *stfb; member
226 stw_st_framebuffer(struct st_framebuffer_iface *stfb) in stw_st_framebuffer() argument
228 return (struct stw_st_framebuffer *) stfb; in stw_st_framebuffer()
Dstw_framebuffer.c118 stw_st_destroy_framebuffer_locked(fb->stfb); in stw_framebuffer_release_locked()
297 fb->stfb = stw_st_create_framebuffer( fb ); in stw_framebuffer_create()
298 if (!fb->stfb) { in stw_framebuffer_create()
372 assert(fb->stfb); in stw_framebuffer_update()
695 stw_get_framebuffer_resource(fb->stfb, ST_ATTACHMENT_BACK_LEFT); in stw_framebuffer_swap_locked()
703 stw_st_flush(ctx->st, fb->stfb, ST_FLUSH_END_OF_FRAME); in stw_framebuffer_swap_locked()
711 return stw_st_swap_framebuffer_locked(hdc, ctx->st, fb->stfb); in stw_framebuffer_swap_locked()
Dstw_context.c480 stw_st_flush(old_ctx->st, old_ctx->current_framebuffer->stfb, in stw_make_current()
490 stw_st_flush(old_ctx->st, old_ctx->current_framebuffer->stfb, in stw_make_current()
528 fb->stfb, fbRead->stfb); in stw_make_current()
644 p_atomic_inc(&fb->stfb->stamp); in stw_notify_current_locked()
/third_party/mesa3d/src/gallium/frontends/osmesa/
Dosmesa.c84 struct st_framebuffer_iface *stfb; member
504 osbuffer->stfb = osmesa_create_st_framebuffer(); in osmesa_create_buffer()
506 osbuffer->stfb->st_manager_private = osbuffer; in osmesa_create_buffer()
507 osbuffer->stfb->visual = &osbuffer->visual; in osmesa_create_buffer()
524 stapi->destroy_drawable(stapi, osbuffer->stfb); in osmesa_destroy_buffer()
526 FREE(osbuffer->stfb); in osmesa_destroy_buffer()
805 stapi->make_current(stapi, osmesa->stctx, osbuffer->stfb, osbuffer->stfb); in OSMesaMakeCurrent()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c552 b->stfb = xmesa_create_st_framebuffer(xmdpy, b); in create_xmesa_buffer()
610 stapi->destroy_drawable(stapi, buffer->stfb); in xmesa_free_buffer()
615 xmesa_destroy_st_framebuffer(buffer->stfb); in xmesa_free_buffer()
1241 p_atomic_inc(&b->stfb->stamp); in xmesa_notify_invalid_buffer()
1302 drawBuffer ? drawBuffer->stfb : NULL, in XMesaMakeCurrent2()
1303 readBuffer ? readBuffer->stfb : NULL); in XMesaMakeCurrent2()
1348 xmesa_get_framebuffer_resource(b->stfb, ST_ATTACHMENT_BACK_LEFT); in XMesaSwapBuffers()
1356 xmesa_swap_st_framebuffer(b->stfb); in XMesaSwapBuffers()
1370 xmesa_copy_st_framebuffer(b->stfb, in XMesaCopySubBuffer()
1474 struct st_framebuffer_iface* stfbi = drawable->stfb; in XMesaBindTexImage()
Dxm_api.h331 struct st_framebuffer_iface *stfb; member
/third_party/mesa3d/docs/relnotes/
D17.1.2.rst142 - st/mesa: remove redundant stfb->iface checks
D7.9.1.rst47 st_context_notify_invalid_framebuffer: Assertion \`stfb &&
48 stfb->iface == stfbi' failed.
D7.10.rst55 st_context_notify_invalid_framebuffer: Assertion \`stfb &&
56 stfb->iface == stfbi' failed.