Searched refs:rsurf (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Dnative_helper.h41 resource_surface_destroy(struct resource_surface *rsurf);
44 resource_surface_set_size(struct resource_surface *rsurf,
48 resource_surface_get_size(struct resource_surface *rsurf,
52 resource_surface_add_resources(struct resource_surface *rsurf,
56 resource_surface_import_resource(struct resource_surface *rsurf,
61 resource_surface_get_resources(struct resource_surface *rsurf,
66 resource_surface_get_single_resource(struct resource_surface *rsurf,
70 resource_surface_swap_buffers(struct resource_surface *rsurf,
76 resource_surface_present(struct resource_surface *rsurf,
85 resource_surface_copy_swap(struct resource_surface *rsurf,
[all...]
H A Dnative_helper.c70 struct resource_surface *rsurf = CALLOC_STRUCT(resource_surface); local
73 if (rsurf) {
74 rsurf->screen = screen;
75 rsurf->format = format;
76 rsurf->bind = bind;
77 rsurf->desired_fences = (swap_fences) ? atoi(swap_fences) :
79 if (rsurf->desired_fences > EGL_SWAP_FENCES_MAX)
80 rsurf->desired_fences = EGL_SWAP_FENCES_MAX;
83 return rsurf;
87 resource_surface_free_resources(struct resource_surface *rsurf) argument
101 resource_surface_destroy(struct resource_surface *rsurf) argument
108 resource_surface_set_size(struct resource_surface *rsurf, uint width, uint height) argument
124 resource_surface_get_size(struct resource_surface *rsurf, uint *width, uint *height) argument
134 resource_surface_add_resources(struct resource_surface *rsurf, uint resource_mask) argument
171 resource_surface_import_resource(struct resource_surface *rsurf, enum native_attachment which, struct pipe_resource *pres) argument
180 resource_surface_get_resources(struct resource_surface *rsurf, struct pipe_resource **resources, uint resource_mask) argument
195 resource_surface_get_single_resource(struct resource_surface *rsurf, enum native_attachment which) argument
212 resource_surface_swap_buffers(struct resource_surface *rsurf, enum native_attachment buf1, enum native_attachment buf2, boolean only_if_exist) argument
238 resource_surface_present(struct resource_surface *rsurf, enum native_attachment which, void *winsys_drawable_handle) argument
258 resource_surface_copy_swap(struct resource_surface *rsurf, struct native_display *ndpy) argument
294 swap_fences_pop_front(struct resource_surface *rsurf) argument
312 swap_fences_push_back(struct resource_surface *rsurf, struct pipe_fence_handle *fence) argument
330 resource_surface_throttle(struct resource_surface *rsurf) argument
345 resource_surface_flush(struct resource_surface *rsurf, struct native_display *ndpy) argument
366 resource_surface_wait(struct resource_surface *rsurf) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Dnative_helper.h41 resource_surface_destroy(struct resource_surface *rsurf);
44 resource_surface_set_size(struct resource_surface *rsurf,
48 resource_surface_get_size(struct resource_surface *rsurf,
52 resource_surface_add_resources(struct resource_surface *rsurf,
56 resource_surface_import_resource(struct resource_surface *rsurf,
61 resource_surface_get_resources(struct resource_surface *rsurf,
66 resource_surface_get_single_resource(struct resource_surface *rsurf,
70 resource_surface_swap_buffers(struct resource_surface *rsurf,
76 resource_surface_present(struct resource_surface *rsurf,
85 resource_surface_copy_swap(struct resource_surface *rsurf,
[all...]
H A Dnative_helper.c70 struct resource_surface *rsurf = CALLOC_STRUCT(resource_surface); local
73 if (rsurf) {
74 rsurf->screen = screen;
75 rsurf->format = format;
76 rsurf->bind = bind;
77 rsurf->desired_fences = (swap_fences) ? atoi(swap_fences) :
79 if (rsurf->desired_fences > EGL_SWAP_FENCES_MAX)
80 rsurf->desired_fences = EGL_SWAP_FENCES_MAX;
83 return rsurf;
87 resource_surface_free_resources(struct resource_surface *rsurf) argument
101 resource_surface_destroy(struct resource_surface *rsurf) argument
108 resource_surface_set_size(struct resource_surface *rsurf, uint width, uint height) argument
124 resource_surface_get_size(struct resource_surface *rsurf, uint *width, uint *height) argument
134 resource_surface_add_resources(struct resource_surface *rsurf, uint resource_mask) argument
171 resource_surface_import_resource(struct resource_surface *rsurf, enum native_attachment which, struct pipe_resource *pres) argument
180 resource_surface_get_resources(struct resource_surface *rsurf, struct pipe_resource **resources, uint resource_mask) argument
195 resource_surface_get_single_resource(struct resource_surface *rsurf, enum native_attachment which) argument
212 resource_surface_swap_buffers(struct resource_surface *rsurf, enum native_attachment buf1, enum native_attachment buf2, boolean only_if_exist) argument
238 resource_surface_present(struct resource_surface *rsurf, enum native_attachment which, void *winsys_drawable_handle) argument
258 resource_surface_copy_swap(struct resource_surface *rsurf, struct native_display *ndpy) argument
294 swap_fences_pop_front(struct resource_surface *rsurf) argument
312 swap_fences_push_back(struct resource_surface *rsurf, struct pipe_fence_handle *fence) argument
330 resource_surface_throttle(struct resource_surface *rsurf) argument
345 resource_surface_flush(struct resource_surface *rsurf, struct native_display *ndpy) argument
366 resource_surface_wait(struct resource_surface *rsurf) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/gdi/
H A Dnative_gdi.c61 struct resource_surface *rsurf; member in struct:gdi_surface
90 if (resource_surface_set_size(gsurf->rsurf, w, h))
107 return resource_surface_add_resources(gsurf->rsurf, buffer_mask);
132 ret = resource_surface_present(gsurf->rsurf,
150 ret = resource_surface_present(gsurf->rsurf,
154 resource_surface_swap_buffers(gsurf->rsurf,
201 resource_surface_get_resources(gsurf->rsurf, textures, attachment_mask);
203 resource_surface_get_size(gsurf->rsurf, &w, &h);
223 resource_surface_destroy(gsurf->rsurf);
243 gsurf->rsurf
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
H A Dnative_gdi.c61 struct resource_surface *rsurf; member in struct:gdi_surface
90 if (resource_surface_set_size(gsurf->rsurf, w, h))
107 return resource_surface_add_resources(gsurf->rsurf, buffer_mask);
132 ret = resource_surface_present(gsurf->rsurf,
150 ret = resource_surface_present(gsurf->rsurf,
154 resource_surface_swap_buffers(gsurf->rsurf,
201 resource_surface_get_resources(gsurf->rsurf, textures, attachment_mask);
203 resource_surface_get_size(gsurf->rsurf, &w, &h);
223 resource_surface_destroy(gsurf->rsurf);
243 gsurf->rsurf
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/
H A Dmodeset.c44 if (!resource_surface_add_resources(drmsurf->rsurf, attachment_mask))
47 resource_surface_get_resources(drmsurf->rsurf, textures, attachment_mask);
87 resource_surface_add_resources(drmsurf->rsurf, 1 << natt);
89 resource_surface_get_single_resource(drmsurf->rsurf, natt);
141 (void) resource_surface_throttle(drmsurf->rsurf);
142 if (!resource_surface_copy_swap(drmsurf->rsurf, &drmdpy->base))
145 (void) resource_surface_flush(drmsurf->rsurf, &drmdpy->base);
185 resource_surface_swap_buffers(drmsurf->rsurf,
227 resource_surface_wait(drmsurf->rsurf);
235 resource_surface_wait(drmsurf->rsurf);
[all...]
H A Dnative_drm.h98 struct resource_surface *rsurf; member in struct:drm_surface
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dmodeset.c44 if (!resource_surface_add_resources(drmsurf->rsurf, attachment_mask))
47 resource_surface_get_resources(drmsurf->rsurf, textures, attachment_mask);
87 resource_surface_add_resources(drmsurf->rsurf, 1 << natt);
89 resource_surface_get_single_resource(drmsurf->rsurf, natt);
141 (void) resource_surface_throttle(drmsurf->rsurf);
142 if (!resource_surface_copy_swap(drmsurf->rsurf, &drmdpy->base))
145 (void) resource_surface_flush(drmsurf->rsurf, &drmdpy->base);
185 resource_surface_swap_buffers(drmsurf->rsurf,
227 resource_surface_wait(drmsurf->rsurf);
235 resource_surface_wait(drmsurf->rsurf);
[all...]
H A Dnative_drm.h98 struct resource_surface *rsurf; member in struct:drm_surface
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/
H A Dnative_wayland.c171 front_resource = resource_surface_get_single_resource(surface->rsurf,
173 if (resource_surface_set_size(surface->rsurf,
212 if (!resource_surface_add_resources(surface->rsurf, attachment_mask |
217 resource_surface_get_resources(surface->rsurf, textures, attachment_mask);
222 resource_surface_get_size(surface->rsurf, (uint *) width, (uint *) height);
269 resource_surface_swap_buffers(surface->rsurf,
283 resource_surface_get_size(surface->rsurf,
336 resource_surface_get_size(surface->rsurf, &width, &height);
364 resource_surface_destroy(surface->rsurf);
398 surface->rsurf
[all...]
H A Dnative_wayland.h80 struct resource_surface *rsurf; member in struct:wayland_surface
H A Dnative_shm.c90 resource = resource_surface_get_single_resource(surface->rsurf, attachment);
91 resource_surface_get_size(surface->rsurf, &width, &height);
H A Dnative_drm.c103 resource = resource_surface_get_single_resource(surface->rsurf, attachment);
104 resource_surface_get_size(surface->rsurf, &width, &height);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c65 struct resource_surface *rsurf; member in struct:ximage_surface
106 if (ok && resource_surface_set_size(xsurf->rsurf, w, h))
123 return resource_surface_add_resources(xsurf->rsurf, buffer_mask);
146 ret = resource_surface_present(xsurf->rsurf,
160 ret = resource_surface_present(xsurf->rsurf,
163 resource_surface_swap_buffers(xsurf->rsurf,
210 resource_surface_get_resources(xsurf->rsurf, textures, attachment_mask);
212 resource_surface_get_size(xsurf->rsurf, &w, &h);
234 resource_surface_destroy(xsurf->rsurf);
255 xsurf->rsurf
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_wayland.c171 front_resource = resource_surface_get_single_resource(surface->rsurf,
173 if (resource_surface_set_size(surface->rsurf,
212 if (!resource_surface_add_resources(surface->rsurf, attachment_mask |
217 resource_surface_get_resources(surface->rsurf, textures, attachment_mask);
222 resource_surface_get_size(surface->rsurf, (uint *) width, (uint *) height);
269 resource_surface_swap_buffers(surface->rsurf,
283 resource_surface_get_size(surface->rsurf,
336 resource_surface_get_size(surface->rsurf, &width, &height);
364 resource_surface_destroy(surface->rsurf);
398 surface->rsurf
[all...]
H A Dnative_wayland.h80 struct resource_surface *rsurf; member in struct:wayland_surface
H A Dnative_shm.c90 resource = resource_surface_get_single_resource(surface->rsurf, attachment);
91 resource_surface_get_size(surface->rsurf, &width, &height);
H A Dnative_drm.c103 resource = resource_surface_get_single_resource(surface->rsurf, attachment);
104 resource_surface_get_size(surface->rsurf, &width, &height);
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c65 struct resource_surface *rsurf; member in struct:ximage_surface
106 if (ok && resource_surface_set_size(xsurf->rsurf, w, h))
123 return resource_surface_add_resources(xsurf->rsurf, buffer_mask);
146 ret = resource_surface_present(xsurf->rsurf,
160 ret = resource_surface_present(xsurf->rsurf,
163 resource_surface_swap_buffers(xsurf->rsurf,
210 resource_surface_get_resources(xsurf->rsurf, textures, attachment_mask);
212 resource_surface_get_size(xsurf->rsurf, &w, &h);
234 resource_surface_destroy(xsurf->rsurf);
255 xsurf->rsurf
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/fbdev/
H A Dnative_fbdev.c77 struct resource_surface *rsurf; member in struct:fbdev_surface
104 if (!resource_surface_add_resources(fbsurf->rsurf, attachment_mask))
107 resource_surface_get_resources(fbsurf->rsurf, textures, attachment_mask);
207 ret = resource_surface_present(fbsurf->rsurf,
214 if (resource_surface_set_size(fbsurf->rsurf,
224 ret = resource_surface_present(fbsurf->rsurf,
242 resource_surface_destroy(fbsurf->rsurf);
285 fbsurf->rsurf = resource_surface_create(fbdpy->base.screen,
289 if (!fbsurf->rsurf) {
294 resource_surface_set_size(fbsurf->rsurf, fbsur
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
H A Dnative_fbdev.c77 struct resource_surface *rsurf; member in struct:fbdev_surface
104 if (!resource_surface_add_resources(fbsurf->rsurf, attachment_mask))
107 resource_surface_get_resources(fbsurf->rsurf, textures, attachment_mask);
207 ret = resource_surface_present(fbsurf->rsurf,
214 if (resource_surface_set_size(fbsurf->rsurf,
224 ret = resource_surface_present(fbsurf->rsurf,
242 resource_surface_destroy(fbsurf->rsurf);
285 fbsurf->rsurf = resource_surface_create(fbdpy->base.screen,
289 if (!fbsurf->rsurf) {
294 resource_surface_set_size(fbsurf->rsurf, fbsur
[all...]
/external/chromium_org/third_party/mesa/src/src/egl/drivers/glx/
H A Degl_glx.c757 _EGLSurface *rsurf, _EGLContext *ctx)
762 struct GLX_egl_surface *GLX_rsurf = GLX_egl_surface(rsurf);
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
796 &GLX_rsurf->Base == rsurf);
799 _eglPutSurface(rsurf);
756 GLX_eglMakeCurrent(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) argument
/external/mesa3d/src/egl/drivers/glx/
H A Degl_glx.c757 _EGLSurface *rsurf, _EGLContext *ctx)
762 struct GLX_egl_surface *GLX_rsurf = GLX_egl_surface(rsurf);
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
796 &GLX_rsurf->Base == rsurf);
799 _eglPutSurface(rsurf);
756 GLX_eglMakeCurrent(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) argument
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
H A Degl_dri2.c886 _EGLSurface *rsurf, _EGLContext *ctx)
891 struct dri2_egl_surface *dri2_rsurf = dri2_egl_surface(rsurf);
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
930 &dri2_rsurf->base == rsurf);
933 _eglPutSurface(rsurf);
885 dri2_make_current(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) argument

Completed in 679 milliseconds

12