Home
last modified time | relevance | path

Searched refs:sPriv (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/dri/
Ddrisw.c49 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() local
50 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_drawable_info()
60 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() local
61 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image()
72 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image2() local
73 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image2()
85 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image_shm() local
86 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image_shm()
102 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image() local
103 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_image()
[all …]
Ddri_screen.h59 __DRIscreen *sPriv; member
104 dri_screen(__DRIscreen * sPriv) in dri_screen() argument
106 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
131 __DRIscreen *sPriv; member
135 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument
137 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format()
160 dri_destroy_screen(__DRIscreen * sPriv);
Ddri_screen.c74 const __DRIdri2LoaderExtension *dri2_loader = screen->sPriv->dri2.loader; in dri_loader_get_cap()
75 const __DRIimageLoaderExtension *image_loader = screen->sPriv->image.loader; in dri_loader_get_cap()
79 return dri2_loader->getCapability(screen->sPriv->loaderPrivate, cap); in dri_loader_get_cap()
83 return image_loader->getCapability(screen->sPriv->loaderPrivate, cap); in dri_loader_get_cap()
503 dri_destroy_screen(__DRIscreen * sPriv) in dri_destroy_screen() argument
505 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
516 sPriv->driverPrivate = NULL; in dri_destroy_screen()
517 sPriv->extensions = NULL; in dri_destroy_screen()
537 ctx->sPriv->dri2.backgroundCallable; in dri_set_background_context()
575 &screen->sPriv->max_gl_core_version, in dri_init_screen_helper()
[all …]
Ddri2.c106 const __DRIdri2LoaderExtension *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers()
115 with_format = dri_with_format(drawable->sPriv); in dri2_drawable_get_buffers()
218 __DRIscreen *sPriv = drawable->sPriv; in dri_image_drawable_get_buffers() local
283 return (*sPriv->image.loader->getBuffers) (dPriv, image_format, in dri_image_drawable_get_buffers()
290 dri2_allocate_buffer(__DRIscreen *sPriv, in dri2_allocate_buffer() argument
294 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
382 dri2_release_buffer(__DRIscreen *sPriv, __DRIbuffer *bPriv) in dri2_release_buffer() argument
400 __DRIscreen *sPriv = drawable->sPriv; in dri2_allocate_textures() local
402 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_textures()
406 const __DRIimageLoaderExtension *image = sPriv->image.loader; in dri2_allocate_textures()
[all …]
Ddri_context.c52 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local
53 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
66 screen->sPriv->dri2.backgroundCallable; in dri_create_context()
156 ctx->sPriv = sPriv; in dri_create_context()
317 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument
319 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri_helpers.c244 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image()
250 img = loader->lookupEGLImage(screen->sPriv, in dri2_lookup_egl_image()
251 handle, screen->sPriv->loaderPrivate); in dri2_lookup_egl_image()
259 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_validate_egl_image()
261 return loader->validateEGLImage(handle, screen->sPriv->loaderPrivate); in dri2_validate_egl_image()
267 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image_validated()
269 return loader->lookupEGLImageValidated(handle, screen->sPriv->loaderPrivate); in dri2_lookup_egl_image_validated()
317 img->sPriv = context->driScreenPriv; in dri2_create_image_from_renderbuffer2()
345 const __DRIimageLoaderExtension *imgLoader = img->sPriv->image.loader; in dri2_destroy_image()
346 const __DRIdri2LoaderExtension *dri2Loader = img->sPriv->dri2.loader; in dri2_destroy_image()
[all …]
Ddri_drawable.c53 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
151 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument
155 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
175 drawable->sPriv = sPriv; in dri_create_buffer()
514 if (dri_screen(ctx->sPriv)->throttle && in dri_flush()
Ddri_drawable.h48 __DRIscreen *sPriv; member
95 dri_create_buffer(__DRIscreen * sPriv,
Ddri_context.h48 __DRIscreen *sPriv; member
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c147 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument
168 return drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam()
567 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument
591 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2()
607 sPriv->extensions = radeon_screen_extensions; in radeonCreateScreen2()
609 screen->driScreen = sPriv; in radeonCreateScreen2()
610 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2()
621 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument
623 radeonScreenPtr screen = (radeonScreenPtr)sPriv->driverPrivate; in radeonDestroyScreen()
637 sPriv->driverPrivate = NULL; in radeonDestroyScreen()
[all …]
Dradeon_context.c147 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in r100CreateContext() local
148 radeonScreenPtr screen = (radeonScreenPtr)(sPriv->driverPrivate); in r100CreateContext()
Dradeon_common_context.c139 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in radeonInitContext() local
140 radeonScreenPtr screen = (radeonScreenPtr) (sPriv->driverPrivate); in radeonInitContext()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c147 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument
168 return drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam()
567 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument
591 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2()
607 sPriv->extensions = radeon_screen_extensions; in radeonCreateScreen2()
609 screen->driScreen = sPriv; in radeonCreateScreen2()
610 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2()
621 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument
623 radeonScreenPtr screen = (radeonScreenPtr)sPriv->driverPrivate; in radeonDestroyScreen()
637 sPriv->driverPrivate = NULL; in radeonDestroyScreen()
[all …]
Dr200_context.c182 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in r200CreateContext() local
183 radeonScreenPtr screen = (radeonScreenPtr)(sPriv->driverPrivate); in r200CreateContext()
Dradeon_common_context.c139 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in radeonInitContext() local
140 radeonScreenPtr screen = (radeonScreenPtr) (sPriv->driverPrivate); in radeonInitContext()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c850 intelDestroyScreen(__DRIscreen * sPriv) in intelDestroyScreen() argument
852 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelDestroyScreen()
858 sPriv->driverPrivate = NULL; in intelDestroyScreen()
981 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in intelCreateContext() local
982 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelCreateContext()
Dintel_context.c416 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in intelInitContext() local
417 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelInitContext()
450 sPriv->myNum, "i915", NULL, NULL, NULL, 0, NULL, 0); in intelInitContext()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_screen.c1740 brw_destroy_screen(__DRIscreen *sPriv) in brw_destroy_screen() argument
1742 struct brw_screen *screen = sPriv->driverPrivate; in brw_destroy_screen()
1750 sPriv->driverPrivate = NULL; in brw_destroy_screen()