/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 44 struct dri2_egl_surface *dri2_surf = surf->dri_private; local 47 if (dri2_surf->current == NULL) { 52 bo = dri2_surf->current->bo; 53 dri2_surf->current->locked = 1; 54 dri2_surf->current = NULL; 63 struct dri2_egl_surface *dri2_surf = surf->dri_private; local 66 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { 67 if (dri2_surf->color_buffers[i].bo == bo) { 68 dri2_surf->color_buffers[i].locked = 0; 77 struct dri2_egl_surface *dri2_surf local 94 struct dri2_egl_surface *dri2_surf; local 154 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 179 get_back_bo(struct dri2_egl_surface *dri2_surf, __DRIbuffer *buffer) argument 220 get_aux_bo(struct dri2_egl_surface *dri2_surf, unsigned int attachment, unsigned int format, __DRIbuffer *buffer) argument 248 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 327 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
H A D | platform_android.c | 80 droid_window_dequeue_buffer(struct dri2_egl_surface *dri2_surf) argument 82 if (dri2_surf->window->dequeueBuffer(dri2_surf->window, &dri2_surf->buffer)) 85 dri2_surf->buffer->common.incRef(&dri2_surf->buffer->common); 86 dri2_surf->window->lockBuffer(dri2_surf->window, dri2_surf->buffer); 92 droid_window_enqueue_buffer(struct dri2_egl_surface *dri2_surf) argument 103 droid_window_cancel_buffer(struct dri2_egl_surface *dri2_surf) argument 110 droid_alloc_local_buffer(struct dri2_egl_surface *dri2_surf, unsigned int att, unsigned int format) argument 129 droid_free_local_buffers(struct dri2_egl_surface *dri2_surf) argument 151 struct dri2_egl_surface *dri2_surf; local 233 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 259 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 386 droid_get_buffers_parse_attachments(struct dri2_egl_surface *dri2_surf, unsigned int *attachments, int count) argument 446 struct dri2_egl_surface *dri2_surf = loaderPrivate; local [all...] |
H A D | platform_wayland.c | 82 struct dri2_egl_surface *dri2_surf = data; local 86 if (dri2_surf->wl_drm_buffer[i] == buffer) 95 dri2_surf->wl_buffer_lock[i] = 0; 106 struct dri2_egl_surface *dri2_surf = data; local 108 dri2_egl_display(dri2_surf->base.Resource.Display); 110 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); 123 struct dri2_egl_surface *dri2_surf; local 128 dri2_surf = malloc(sizeof *dri2_surf); 129 if (!dri2_surf) { 209 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 251 wayland_create_buffer(struct dri2_egl_surface *dri2_surf, __DRIbuffer *buffer) argument 267 dri2_process_back_buffer(struct dri2_egl_surface *dri2_surf, unsigned format) argument 293 struct dri2_egl_surface *dri2_surf = data; local 314 dri2_release_buffers(struct dri2_egl_surface *dri2_surf) argument 360 destroy_third_buffer(struct dri2_egl_surface *dri2_surf) argument 379 swap_wl_buffers(struct dri2_egl_surface *dri2_surf, enum wayland_buffer_type a, enum wayland_buffer_type b) argument 393 swap_back_and_third(struct dri2_egl_surface *dri2_surf) argument 405 dri2_prior_buffer_creation(struct dri2_egl_surface *dri2_surf, unsigned int type) argument 427 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 547 struct dri2_egl_surface *dri2_surf = data; local 564 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
H A D | egl_dri2.c | 959 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(ctx->DrawSurface); local 966 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); 989 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 1000 switch (dri2_surf->base.TextureFormat) { 1011 switch (dri2_surf->base.TextureTarget) { 1021 dri2_surf->dri_drawable); 1032 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 1043 switch (dri2_surf->base.TextureTarget) { 1053 dri2_surf->dri_drawable);
|
H A D | platform_x11.c | 44 struct dri2_egl_surface * dri2_surf, 52 dri2_surf->gc = xcb_generate_id(dri2_dpy->conn); 54 xcb_create_gc(dri2_dpy->conn, dri2_surf->gc, dri2_surf->drawable, mask, &function); 56 dri2_surf->swapgc = xcb_generate_id(dri2_dpy->conn); 60 xcb_create_gc(dri2_dpy->conn, dri2_surf->swapgc, dri2_surf->drawable, mask, valgc); 61 dri2_surf->depth = depth; 65 dri2_surf->bytes_per_pixel = 4; 68 dri2_surf 43 swrastCreateDrawable(struct dri2_egl_display * dri2_dpy, struct dri2_egl_surface * dri2_surf, int depth) argument 82 swrastDestroyDrawable(struct dri2_egl_display * dri2_dpy, struct dri2_egl_surface * dri2_surf) argument 94 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 122 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 148 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 183 struct dri2_egl_surface *dri2_surf; local 300 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 331 dri2_process_buffers(struct dri2_egl_surface *dri2_surf, xcb_dri2_dri2_buffer_t *buffers, unsigned count) argument 377 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 410 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 668 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 702 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 755 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 772 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 813 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 838 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 44 struct dri2_egl_surface *dri2_surf = surf->dri_private; local 47 if (dri2_surf->current == NULL) { 52 bo = dri2_surf->current->bo; 53 dri2_surf->current->locked = 1; 54 dri2_surf->current = NULL; 63 struct dri2_egl_surface *dri2_surf = surf->dri_private; local 66 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { 67 if (dri2_surf->color_buffers[i].bo == bo) { 68 dri2_surf->color_buffers[i].locked = 0; 77 struct dri2_egl_surface *dri2_surf local 94 struct dri2_egl_surface *dri2_surf; local 154 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 179 get_back_bo(struct dri2_egl_surface *dri2_surf, __DRIbuffer *buffer) argument 220 get_aux_bo(struct dri2_egl_surface *dri2_surf, unsigned int attachment, unsigned int format, __DRIbuffer *buffer) argument 248 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 327 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
H A D | platform_android.c | 80 droid_window_dequeue_buffer(struct dri2_egl_surface *dri2_surf) argument 82 if (dri2_surf->window->dequeueBuffer(dri2_surf->window, &dri2_surf->buffer)) 85 dri2_surf->buffer->common.incRef(&dri2_surf->buffer->common); 86 dri2_surf->window->lockBuffer(dri2_surf->window, dri2_surf->buffer); 92 droid_window_enqueue_buffer(struct dri2_egl_surface *dri2_surf) argument 103 droid_window_cancel_buffer(struct dri2_egl_surface *dri2_surf) argument 110 droid_alloc_local_buffer(struct dri2_egl_surface *dri2_surf, unsigned int att, unsigned int format) argument 129 droid_free_local_buffers(struct dri2_egl_surface *dri2_surf) argument 151 struct dri2_egl_surface *dri2_surf; local 233 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 259 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 386 droid_get_buffers_parse_attachments(struct dri2_egl_surface *dri2_surf, unsigned int *attachments, int count) argument 446 struct dri2_egl_surface *dri2_surf = loaderPrivate; local [all...] |
H A D | platform_wayland.c | 82 struct dri2_egl_surface *dri2_surf = data; local 86 if (dri2_surf->wl_drm_buffer[i] == buffer) 95 dri2_surf->wl_buffer_lock[i] = 0; 106 struct dri2_egl_surface *dri2_surf = data; local 108 dri2_egl_display(dri2_surf->base.Resource.Display); 110 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); 123 struct dri2_egl_surface *dri2_surf; local 128 dri2_surf = malloc(sizeof *dri2_surf); 129 if (!dri2_surf) { 209 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 251 wayland_create_buffer(struct dri2_egl_surface *dri2_surf, __DRIbuffer *buffer) argument 267 dri2_process_back_buffer(struct dri2_egl_surface *dri2_surf, unsigned format) argument 293 struct dri2_egl_surface *dri2_surf = data; local 314 dri2_release_buffers(struct dri2_egl_surface *dri2_surf) argument 360 destroy_third_buffer(struct dri2_egl_surface *dri2_surf) argument 379 swap_wl_buffers(struct dri2_egl_surface *dri2_surf, enum wayland_buffer_type a, enum wayland_buffer_type b) argument 393 swap_back_and_third(struct dri2_egl_surface *dri2_surf) argument 405 dri2_prior_buffer_creation(struct dri2_egl_surface *dri2_surf, unsigned int type) argument 427 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 547 struct dri2_egl_surface *dri2_surf = data; local 564 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
H A D | egl_dri2.c | 959 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(ctx->DrawSurface); local 966 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); 989 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 1000 switch (dri2_surf->base.TextureFormat) { 1011 switch (dri2_surf->base.TextureTarget) { 1021 dri2_surf->dri_drawable); 1032 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 1043 switch (dri2_surf->base.TextureTarget) { 1053 dri2_surf->dri_drawable);
|
H A D | platform_x11.c | 44 struct dri2_egl_surface * dri2_surf, 52 dri2_surf->gc = xcb_generate_id(dri2_dpy->conn); 54 xcb_create_gc(dri2_dpy->conn, dri2_surf->gc, dri2_surf->drawable, mask, &function); 56 dri2_surf->swapgc = xcb_generate_id(dri2_dpy->conn); 60 xcb_create_gc(dri2_dpy->conn, dri2_surf->swapgc, dri2_surf->drawable, mask, valgc); 61 dri2_surf->depth = depth; 65 dri2_surf->bytes_per_pixel = 4; 68 dri2_surf 43 swrastCreateDrawable(struct dri2_egl_display * dri2_dpy, struct dri2_egl_surface * dri2_surf, int depth) argument 82 swrastDestroyDrawable(struct dri2_egl_display * dri2_dpy, struct dri2_egl_surface * dri2_surf) argument 94 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 122 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 148 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 183 struct dri2_egl_surface *dri2_surf; local 300 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 331 dri2_process_buffers(struct dri2_egl_surface *dri2_surf, xcb_dri2_dri2_buffer_t *buffers, unsigned count) argument 377 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 410 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 668 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 702 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 755 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 772 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local 813 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 838 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local [all...] |