Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/dri/
Ddrisw.c58 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() local
59 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_drawable_info()
69 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() local
70 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image()
81 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image2() local
82 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image2()
92 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image() local
93 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_image()
103 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image2() local
104 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_image2()
[all …]
Ddri_screen.h59 __DRIscreen *sPriv; member
94 dri_screen(__DRIscreen * sPriv) in dri_screen() argument
96 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
120 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument
122 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format()
144 dri_destroy_screen(__DRIscreen * sPriv);
Ddri_screen.c93 const __DRIdri2LoaderExtension *dri2_loader = screen->sPriv->dri2.loader; in dri_loader_get_cap()
94 const __DRIimageLoaderExtension *image_loader = screen->sPriv->image.loader; in dri_loader_get_cap()
98 return dri2_loader->getCapability(screen->sPriv->loaderPrivate, cap); in dri_loader_get_cap()
102 return image_loader->getCapability(screen->sPriv->loaderPrivate, cap); in dri_loader_get_cap()
460 dri_destroy_screen(__DRIscreen * sPriv) in dri_destroy_screen() argument
462 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
469 sPriv->driverPrivate = NULL; in dri_destroy_screen()
470 sPriv->extensions = NULL; in dri_destroy_screen()
490 ctx->sPriv->dri2.backgroundCallable; in dri_set_background_context()
533 &screen->sPriv->max_gl_core_version, in dri_init_screen_helper()
[all …]
Ddri2.c358 const __DRIdri2LoaderExtension *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers()
366 with_format = dri_with_format(drawable->sPriv); in dri2_drawable_get_buffers()
461 __DRIscreen *sPriv = drawable->sPriv; in dri_image_drawable_get_buffers() local
511 return (*sPriv->image.loader->getBuffers) (dPriv, image_format, in dri_image_drawable_get_buffers()
518 dri2_allocate_buffer(__DRIscreen *sPriv, in dri2_allocate_buffer() argument
522 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
604 dri2_release_buffer(__DRIscreen *sPriv, __DRIbuffer *bPriv) in dri2_release_buffer() argument
622 __DRIscreen *sPriv = drawable->sPriv; in dri2_allocate_textures() local
624 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_textures()
628 const __DRIimageLoaderExtension *image = sPriv->image.loader; in dri2_allocate_textures()
[all …]
Ddri_context.c50 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local
51 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
64 screen->sPriv->dri2.backgroundCallable; in dri_create_context()
148 ctx->sPriv = sPriv; in dri_create_context()
306 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument
308 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri_drawable.c56 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
144 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument
148 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
168 drawable->sPriv = sPriv; in dri_create_buffer()
547 if (dri_screen(ctx->sPriv)->throttling_enabled && in dri_flush()
Ddri_drawable.h52 __DRIscreen *sPriv; member
103 dri_create_buffer(__DRIscreen * sPriv,
Ddri_helpers.c237 const __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image()
243 img = loader->lookupEGLImage(screen->sPriv, in dri2_lookup_egl_image()
244 handle, screen->sPriv->loaderPrivate); in dri2_lookup_egl_image()
Ddri_context.h48 __DRIscreen *sPriv; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c128 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument
149 return drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam()
548 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument
571 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2()
587 sPriv->extensions = radeon_screen_extensions; in radeonCreateScreen2()
589 screen->driScreen = sPriv; in radeonCreateScreen2()
590 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2()
601 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument
603 radeonScreenPtr screen = (radeonScreenPtr)sPriv->driverPrivate; in radeonDestroyScreen()
617 sPriv->driverPrivate = NULL; in radeonDestroyScreen()
[all …]
Dr200_context.c181 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in r200CreateContext() local
182 radeonScreenPtr screen = (radeonScreenPtr)(sPriv->driverPrivate); in r200CreateContext()
Dradeon_common_context.c138 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in radeonInitContext() local
139 radeonScreenPtr screen = (radeonScreenPtr) (sPriv->driverPrivate); in radeonInitContext()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c128 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument
149 return drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam()
548 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument
571 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2()
587 sPriv->extensions = radeon_screen_extensions; in radeonCreateScreen2()
589 screen->driScreen = sPriv; in radeonCreateScreen2()
590 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2()
601 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument
603 radeonScreenPtr screen = (radeonScreenPtr)sPriv->driverPrivate; in radeonDestroyScreen()
617 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.c138 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in radeonInitContext() local
139 radeonScreenPtr screen = (radeonScreenPtr) (sPriv->driverPrivate); in radeonInitContext()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c83 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrastSetTexBuffer2() local
100 sPriv->swrast_loader->getDrawableInfo(dPriv, &x, &y, &w, &h, dPriv->loaderPrivate); in swrastSetTexBuffer2()
110 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2()
312 dri_destroy_screen(__DRIscreen * sPriv) in dri_destroy_screen() argument
315 (void) sPriv; in dri_destroy_screen()
485 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_map_renderbuffer() local
496 sPriv->swrast_loader->getImage(dPriv, x, xrb->map_y, w, h, in swrast_map_renderbuffer()
527 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_unmap_renderbuffer() local
530 sPriv->swrast_loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_DRAW, in swrast_unmap_renderbuffer()
543 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c835 intelDestroyScreen(__DRIscreen * sPriv) in intelDestroyScreen() argument
837 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelDestroyScreen()
843 sPriv->driverPrivate = NULL; in intelDestroyScreen()
967 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in intelCreateContext() local
968 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelCreateContext()
Dintel_context.c414 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in intelInitContext() local
415 struct intel_screen *intelScreen = sPriv->driverPrivate; in intelInitContext()
450 sPriv->myNum, "i915"); in intelInitContext()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c1583 intelDestroyScreen(__DRIscreen * sPriv) in intelDestroyScreen() argument
1585 struct intel_screen *screen = sPriv->driverPrivate; in intelDestroyScreen()
1591 sPriv->driverPrivate = NULL; in intelDestroyScreen()