/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
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 293 struct dri2_egl_surface *dri2_surf = data; local 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...] |
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 = surf->dri_private local 94 struct dri2_egl_surface *dri2_surf; local 154 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 248 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 327 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
platform_android.c | 80 droid_window_dequeue_buffer(struct dri2_egl_surface *dri2_surf) 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) 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 446 struct dri2_egl_surface *dri2_surf = loaderPrivate; local [all...] |
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->bytes_per_pixel = 2 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 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...] |
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); [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
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 293 struct dri2_egl_surface *dri2_surf = data; local 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...] |
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 = surf->dri_private local 94 struct dri2_egl_surface *dri2_surf; local 154 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); local 248 struct dri2_egl_surface *dri2_surf = loaderPrivate; local 327 struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw); local [all...] |
platform_android.c | 80 droid_window_dequeue_buffer(struct dri2_egl_surface *dri2_surf) 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) 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 446 struct dri2_egl_surface *dri2_surf = loaderPrivate; local [all...] |
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->bytes_per_pixel = 2 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 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...] |
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); [all...] |