Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c184 st_framebuffer_validate(struct st_framebuffer *stfb, in st_framebuffer_validate() argument
193 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate()
194 if (stfb->iface_stamp == new_stamp) in st_framebuffer_validate()
197 memset(textures, 0, stfb->num_statts * sizeof(textures[0])); in st_framebuffer_validate()
201 if (!stfb->iface->validate(&st->iface, stfb->iface, stfb->statts, in st_framebuffer_validate()
202 stfb->num_statts, textures)) in st_framebuffer_validate()
205 stfb->iface_stamp = new_stamp; in st_framebuffer_validate()
206 new_stamp = p_atomic_read(&stfb->iface->stamp); in st_framebuffer_validate()
207 } while(stfb->iface_stamp != new_stamp); in st_framebuffer_validate()
209 width = stfb->Base.Width; in st_framebuffer_validate()
[all …]
Dst_manager.h51 struct st_framebuffer *stfb);
Dst_context.c623 struct st_framebuffer *stfb, *next; in st_destroy_context() local
648 LIST_FOR_EACH_ENTRY_SAFE_REV(stfb, next, &st->winsys_buffers, head) { in st_destroy_context()
649 st_framebuffer_reference(&stfb, NULL); in st_destroy_context()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_st.c76 stw_st_framebuffer_validate_locked(struct st_framebuffer_iface *stfb, in stw_st_framebuffer_validate_locked() argument
80 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_validate_locked()
144 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_validate() argument
149 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_validate()
177 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_present_locked() argument
180 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_present_locked()
200 struct st_framebuffer_iface *stfb, in stw_st_framebuffer_flush_front() argument
203 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_framebuffer_flush_front()
250 stw_st_destroy_framebuffer_locked(struct st_framebuffer_iface *stfb) in stw_st_destroy_framebuffer_locked() argument
252 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in stw_st_destroy_framebuffer_locked()
[all …]
Dstw_st.h47 stw_st_destroy_framebuffer_locked(struct st_framebuffer_iface *stfb);
50 stw_st_swap_framebuffer_locked(HDC hdc, struct st_framebuffer_iface *stfb);
53 stw_get_framebuffer_resource(struct st_framebuffer_iface *stfb,
Dstw_framebuffer.h75 struct st_framebuffer_iface *stfb; member
214 stw_st_framebuffer(struct st_framebuffer_iface *stfb) in stw_st_framebuffer() argument
216 return (struct stw_st_framebuffer *) stfb; in stw_st_framebuffer()
Dstw_framebuffer.c102 stw_st_destroy_framebuffer_locked(fb->stfb); in stw_framebuffer_release_locked()
278 fb->stfb = stw_st_create_framebuffer( fb ); in stw_framebuffer_create()
279 if (!fb->stfb) { in stw_framebuffer_create()
324 assert(fb->stfb); in stw_framebuffer_update()
642 stw_get_framebuffer_resource(fb->stfb, ST_ATTACHMENT_BACK_LEFT); in DrvSwapBuffers()
658 return stw_st_swap_framebuffer_locked(hdc, fb->stfb); in DrvSwapBuffers()
Dstw_context.c535 fb->stfb, fbRead->stfb); in stw_make_current()
543 fb->stfb, fb->stfb); in stw_make_current()
593 p_atomic_inc(&fb->stfb->stamp); in stw_notify_current_locked()
/external/mesa3d/src/gallium/state_trackers/osmesa/
Dosmesa.c83 struct st_framebuffer_iface *stfb; member
471 osbuffer->stfb = osmesa_create_st_framebuffer(); in osmesa_create_buffer()
473 osbuffer->stfb->st_manager_private = osbuffer; in osmesa_create_buffer()
474 osbuffer->stfb->visual = &osbuffer->visual; in osmesa_create_buffer()
522 stapi->destroy_drawable(stapi, osbuffer->stfb); in osmesa_destroy_buffer()
524 FREE(osbuffer->stfb); in osmesa_destroy_buffer()
799 stapi->make_current(stapi, osmesa->stctx, osbuffer->stfb, osbuffer->stfb); in OSMesaMakeCurrent()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c546 b->stfb = xmesa_create_st_framebuffer(xmdpy, b); in create_xmesa_buffer()
604 stapi->destroy_drawable(stapi, buffer->stfb); in xmesa_free_buffer()
609 xmesa_destroy_st_framebuffer(buffer->stfb); in xmesa_free_buffer()
1259 p_atomic_inc(&b->stfb->stamp); in xmesa_notify_invalid_buffer()
1315 stapi->make_current(stapi, c->st, drawBuffer->stfb, readBuffer->stfb); in XMesaMakeCurrent2()
1359 xmesa_get_framebuffer_resource(b->stfb, ST_ATTACHMENT_BACK_LEFT); in XMesaSwapBuffers()
1367 xmesa_swap_st_framebuffer(b->stfb); in XMesaSwapBuffers()
1381 xmesa_copy_st_framebuffer(b->stfb, in XMesaCopySubBuffer()
1485 struct st_framebuffer_iface* stfbi = drawable->stfb; in XMesaBindTexImage()
Dxm_api.h330 struct st_framebuffer_iface *stfb; member
/external/mesa3d/src/gallium/state_trackers/hgl/
Dhgl.c68 struct stw_st_framebuffer *stwfb = stw_st_framebuffer(stfb); in hgl_st_framebuffer_flush_front()