/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_screen.h | 56 __DRIscreen *sPriv; member 79 dri_screen(__DRIscreen * sPriv) in dri_screen() argument 81 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen() 97 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument 99 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format() 109 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument 129 dri_destroy_screen(__DRIscreen * sPriv);
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/common/ |
D | dri_screen.h | 56 __DRIscreen *sPriv; member 79 dri_screen(__DRIscreen * sPriv) in dri_screen() argument 81 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen() 97 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument 99 const __DRIdri2LoaderExtension *loader = sPriv->dri2.loader; in dri_with_format() 109 dri_with_format(__DRIscreen * sPriv) in dri_with_format() argument 129 dri_destroy_screen(__DRIscreen * sPriv);
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/sw/ |
D | drisw.c | 54 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() local 55 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_drawable_info() 65 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() local 66 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image() 76 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image() local 77 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_image() 107 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture() 164 struct dri_context *ctx = dri_get_current(drawable->sPriv); in drisw_flush_frontbuffer() 189 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures() 295 drisw_init_screen(__DRIscreen * sPriv) in drisw_init_screen() argument [all …]
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | drisw.c | 54 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info() local 55 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_drawable_info() 65 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image() local 66 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in put_image() 76 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image() local 77 const __DRIswrastLoaderExtension *loader = sPriv->swrast_loader; in get_image() 107 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture() 164 struct dri_context *ctx = dri_get_current(drawable->sPriv); in drisw_flush_frontbuffer() 189 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures() 295 drisw_init_screen(__DRIscreen * sPriv) in drisw_init_screen() argument [all …]
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri2.c | 88 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers() 96 with_format = dri_with_format(drawable->sPriv); in dri2_drawable_get_buffers() 209 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri2_drawable_process_buffers() 291 dri2_allocate_buffer(__DRIscreen *sPriv, in dri2_allocate_buffer() argument 295 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer() 369 dri2_release_buffer(__DRIscreen *sPriv, __DRIbuffer *bPriv) in dri2_release_buffer() argument 399 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_flush_frontbuffer() 420 __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image() 426 img = loader->lookupEGLImage(screen->sPriv, in dri2_lookup_egl_image() 427 handle, screen->sPriv->loaderPrivate); in dri2_lookup_egl_image() [all …]
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/drm/ |
D | dri2.c | 88 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_drawable_get_buffers() 96 with_format = dri_with_format(drawable->sPriv); in dri2_drawable_get_buffers() 209 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri2_drawable_process_buffers() 291 dri2_allocate_buffer(__DRIscreen *sPriv, in dri2_allocate_buffer() argument 295 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer() 369 dri2_release_buffer(__DRIscreen *sPriv, __DRIbuffer *bPriv) in dri2_release_buffer() argument 399 struct __DRIdri2LoaderExtensionRec *loader = drawable->sPriv->dri2.loader; in dri2_flush_frontbuffer() 420 __DRIimageLookupExtension *loader = screen->sPriv->dri2.image; in dri2_lookup_egl_image() 426 img = loader->lookupEGLImage(screen->sPriv, in dri2_lookup_egl_image() 427 handle, screen->sPriv->loaderPrivate); in dri2_lookup_egl_image() [all …]
|
D | dri_context.c | 68 __DRIscreen *sPriv = cPriv->driScreenPriv; in dri_create_context() local 69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context() 112 ctx->sPriv = sPriv; in dri_create_context() 115 &screen->optionCache, sPriv->myNum, driver_descriptor.name); in dri_create_context() 255 dri_get_current(__DRIscreen *sPriv) in dri_get_current() argument 257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
|
D | dri_drawable.c | 52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate() 119 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument 123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer() 142 drawable->sPriv = sPriv; in dri_create_buffer()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.c | 141 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument 147 if (sPriv->drm_version.major >= 2) { in radeonGetParam() 165 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam() 170 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_GETPARAM, &gp, sizeof(gp)); in radeonGetParam() 483 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument 508 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2() 535 sPriv->extensions = screen->extensions; in radeonCreateScreen2() 537 screen->driScreen = sPriv; in radeonCreateScreen2() 538 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 549 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_screen.c | 141 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument 147 if (sPriv->drm_version.major >= 2) { in radeonGetParam() 165 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam() 170 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_GETPARAM, &gp, sizeof(gp)); in radeonGetParam() 483 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument 508 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2() 535 sPriv->extensions = screen->extensions; in radeonCreateScreen2() 537 screen->driScreen = sPriv; in radeonCreateScreen2() 538 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 549 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
D | radeon_screen.c | 141 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument 147 if (sPriv->drm_version.major >= 2) { in radeonGetParam() 165 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam() 170 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_GETPARAM, &gp, sizeof(gp)); in radeonGetParam() 483 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument 508 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2() 535 sPriv->extensions = screen->extensions; in radeonCreateScreen2() 537 screen->driScreen = sPriv; in radeonCreateScreen2() 538 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 549 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument [all …]
|
D | r200_context.c | 207 __DRIscreen *sPriv = driContextPriv->driScreenPriv; in r200CreateContext() local 208 radeonScreenPtr screen = (radeonScreenPtr)(sPriv->driverPrivate); in r200CreateContext() 258 if ( sPriv->drm_version.major == 1 in r200CreateContext() 260 if ( sPriv->drm_version.minor < 13 ) in r200CreateContext() 262 "disabling.\n", sPriv->drm_version.minor ); in r200CreateContext() 267 if ( sPriv->drm_version.minor >= 15 ) in r200CreateContext()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.c | 141 radeonGetParam(__DRIscreen *sPriv, int param, void *value) in radeonGetParam() argument 147 if (sPriv->drm_version.major >= 2) { in radeonGetParam() 165 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_INFO, &info, sizeof(info)); in radeonGetParam() 170 ret = drmCommandWriteRead(sPriv->fd, DRM_RADEON_GETPARAM, &gp, sizeof(gp)); in radeonGetParam() 483 radeonCreateScreen2(__DRIscreen *sPriv) in radeonCreateScreen2() argument 508 ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id); in radeonCreateScreen2() 535 sPriv->extensions = screen->extensions; in radeonCreateScreen2() 537 screen->driScreen = sPriv; in radeonCreateScreen2() 538 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 549 radeonDestroyScreen( __DRIscreen *sPriv ) in radeonDestroyScreen() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 68 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrastSetTexBuffer2() local 87 sPriv->swrast_loader->getDrawableInfo(dPriv, &x, &y, &w, &h, dPriv->loaderPrivate); in swrastSetTexBuffer2() 97 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2() 222 dri_destroy_screen(__DRIscreen * sPriv) in dri_destroy_screen() argument 225 (void) sPriv; in dri_destroy_screen() 394 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_map_renderbuffer() local 405 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, in swrast_map_renderbuffer() 436 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_unmap_renderbuffer() local 439 sPriv->swrast_loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_DRAW, in swrast_unmap_renderbuffer() 452 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 68 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrastSetTexBuffer2() local 87 sPriv->swrast_loader->getDrawableInfo(dPriv, &x, &y, &w, &h, dPriv->loaderPrivate); in swrastSetTexBuffer2() 97 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, (char *)swImage->Buffer, in swrastSetTexBuffer2() 222 dri_destroy_screen(__DRIscreen * sPriv) in dri_destroy_screen() argument 225 (void) sPriv; in dri_destroy_screen() 394 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_map_renderbuffer() local 405 sPriv->swrast_loader->getImage(dPriv, x, y, w, h, in swrast_map_renderbuffer() 436 __DRIscreen *sPriv = dPriv->driScreenPriv; in swrast_unmap_renderbuffer() local 439 sPriv->swrast_loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_DRAW, in swrast_unmap_renderbuffer() 452 dri_create_buffer(__DRIscreen * sPriv, in dri_create_buffer() argument [all …]
|