| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = local in function:nouveau_get_scratch 40 &to_nouveau_context(ctx)->scratch; 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); 46 buf = scratch->buf + scratch->offset; 47 *offset = scratch->offset; 48 scratch 76 struct nouveau_scratch_state *scratch = local in function:nouveau_scratch_init 91 struct nouveau_scratch_state *scratch = local in function:nouveau_scratch_destroy [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/ |
| H A D | nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = local in function:nouveau_get_scratch 40 &to_nouveau_context(ctx)->scratch; 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); 46 buf = scratch->buf + scratch->offset; 47 *offset = scratch->offset; 48 scratch 76 struct nouveau_scratch_state *scratch = local in function:nouveau_scratch_init 91 struct nouveau_scratch_state *scratch = local in function:nouveau_scratch_destroy [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/ |
| H A D | swr_scratch.cpp | 71 /* Copy user_buffer to scratch */ 82 struct swr_scratch_buffers *scratch; local in function:swr_init_scratch_buffers 84 scratch = CALLOC_STRUCT(swr_scratch_buffers); 85 ctx->scratch = scratch; 91 struct swr_scratch_buffers *scratch = ctx->scratch; local in function:swr_destroy_scratch_buffers 93 if (scratch) { 94 AlignedFree(scratch->vs_constants.base); 95 AlignedFree(scratch [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/ |
| H A D | swr_scratch.cpp | 74 /* Copy user_buffer to scratch */ 85 struct swr_scratch_buffers *scratch; local in function:swr_init_scratch_buffers 87 scratch = CALLOC_STRUCT(swr_scratch_buffers); 88 ctx->scratch = scratch; 94 struct swr_scratch_buffers *scratch = ctx->scratch; local in function:swr_destroy_scratch_buffers 96 if (scratch) { 97 AlignedFree(scratch->vs_constants.base); 98 AlignedFree(scratch [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_context.h | 51 } scratch; member in struct:nouveau_context 74 /* This is needed because we don't hold references outside of context::scratch, 81 nv->scratch.wrap = nv->scratch.id; 82 if (unlikely(nv->scratch.runout)) 86 /* Get pointer to scratch buffer. 99 if (ctx->scratch.bo[i]) 100 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
|
| H A D | nouveau_buffer.c | 897 if (!nv->scratch.runout) 901 nv->scratch.runout)) 904 nv->scratch.end = 0; 905 nv->scratch.runout = NULL; 917 if (nv->scratch.runout) 918 n = nv->scratch.runout->nr; 921 nv->scratch.runout = REALLOC(nv->scratch.runout, n == 0 ? 0 : 922 (sizeof(*nv->scratch.runout) + (n + 0) * sizeof(void *)), 923 sizeof(*nv->scratch [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/ |
| H A D | nouveau_context.h | 51 } scratch; member in struct:nouveau_context 74 /* This is needed because we don't hold references outside of context::scratch, 81 nv->scratch.wrap = nv->scratch.id; 82 if (unlikely(nv->scratch.runout)) 86 /* Get pointer to scratch buffer. 99 if (ctx->scratch.bo[i]) 100 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
|
| H A D | nouveau_buffer.c | 964 if (!nv->scratch.runout) 968 nv->scratch.runout)) 971 nv->scratch.end = 0; 972 nv->scratch.runout = NULL; 984 if (nv->scratch.runout) 985 n = nv->scratch.runout->nr; 988 nv->scratch.runout = REALLOC(nv->scratch.runout, n == 0 ? 0 : 989 (sizeof(*nv->scratch.runout) + (n + 0) * sizeof(void *)), 990 sizeof(*nv->scratch [all...] |
| /xsrc/external/mit/xorg-server.old/dist/Xext/ |
| H A D | xres.c | 89 xXResClient scratch; local in function:ProcXResQueryClients 92 scratch.resource_base = clients[current_clients[i]]->clientAsMask; 93 scratch.resource_mask = RESOURCE_ID_MASK; 97 swapl (&scratch.resource_base, n); 98 swapl (&scratch.resource_mask, n); 100 WriteToClient (client, sz_xXResClient, (char *) &scratch); 159 xXResType scratch; local in function:ProcXResQueryClientResources 167 scratch.resource_type = MakeAtom(name, strlen(name), TRUE); 171 scratch.resource_type = MakeAtom(buf, strlen(buf), TRUE); 174 scratch [all...] |
| /xsrc/external/mit/xf86-video-s3/dist/src/ |
| H A D | s3_accel.c | 374 register CARD32 scratch = DashPattern[LINE_PATTERN_START]; 378 scratch |= (scratch >> len); 381 scratch |= (scratch >> len); 382 DashPattern[LINE_PATTERN_START] = scratch; 386 scratch |= scratch >> 2; 388 scratch |= scratch >> [all...] |
| /xsrc/external/mit/xf86-video-nouveau/dist/src/ |
| H A D | nv50_accel.c | 180 pNv->scratch, NOUVEAU_BO_VRAM | 214 PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET) >> 32); 215 PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET)); 218 PUSH_DATA (push, (pNv->scratch->offset + TSC_OFFSET) >> 32); 219 PUSH_DATA (push, (pNv->scratch->offset + TSC_OFFSET)); 226 PUSH_DATAu(push, pNv->scratch, PVP_OFFSET, 30 * 2); 298 PUSH_DATA (push, (pNv->scratch->offset + PVP_OFFSET) >> 32); 299 PUSH_DATA (push, (pNv->scratch->offset + PVP_OFFSET)); 301 PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32); 302 PUSH_DATA (push, (pNv->scratch [all...] |
| H A D | nvc0_accel.c | 68 PUSH_DATAu((pNv)->pushbuf, (pNv)->scratch, (addr), size); \ 98 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET) >> 32); 99 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET)); 103 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET) >> 32); 104 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET)); 108 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET) >> 32); 109 PUSH_DATA (push, (pNv->scratch->offset + SEMA_OFFSET)); 129 PUSH_DATA (push, (pNv->scratch->offset + NTFY_OFFSET) >> 32); 130 PUSH_DATA (push, (pNv->scratch->offset + NTFY_OFFSET)); 231 struct nouveau_bo *bo = pNv->scratch; [all...] |
| H A D | nvc0_xv.c | 73 { pNv->scratch, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR }, 107 PUSH_DATAu(push, pNv->scratch, TIC_OFFSET, 16); 154 PUSH_DATAu(push, pNv->scratch, TSC_OFFSET, 16); 190 PUSH_DATAu(push, pNv->scratch, PVP_DATA, 11); 232 PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32); 233 PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA)); 297 pNv->scratch, NOUVEAU_BO_WR | 303 PUSH_DATA (push, (pNv->scratch->offset + PFP_DATA) >> 32); 304 PUSH_DATA (push, (pNv->scratch->offset + PFP_DATA));
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_trapezoids.c | 282 PixmapPtr scratch; local in function:trapezoids_fallback 332 scratch = sna_pixmap_create_upload(screen, 335 if (!scratch) 344 memset(scratch->devPrivate.ptr, 0, scratch->devKind*height); 347 scratch->devPrivate.ptr, 348 scratch->devKind); 360 scratch->devPrivate.ptr, 361 scratch->devKind); 378 sna_pixmap_destroy(scratch); 750 PixmapPtr scratch; local in function:trap_upload 874 PixmapPtr scratch; local in function:triangles_fallback 991 PixmapPtr scratch; local in function:tristrip_fallback 1127 PixmapPtr scratch; local in function:trifan_fallback [all...] |
| H A D | sna_trapezoids_boxes.c | 501 blt_opacity(PixmapPtr scratch, argument 513 if (x2 > scratch->drawable.width) 514 x2 = scratch->drawable.width; 520 ptr = scratch->devPrivate.ptr; 521 ptr += scratch->devKind * y; 528 ptr += scratch->devKind; 533 blt_unaligned_box_row(PixmapPtr scratch, argument 541 if (y2 > scratch->drawable.height) 542 y2 = scratch->drawable.height; 557 blt_opacity(scratch, 586 lerp32_opacity(PixmapPtr scratch,uint32_t color,int16_t x,int16_t w,int16_t y,int16_t h,uint8_t opacity) argument 635 lerp32_unaligned_box_row(PixmapPtr scratch,uint32_t color,const BoxRec * extents,const xTrapezoid * trap,int16_t dx,int16_t y,int16_t h,uint8_t covered) argument 1265 PixmapPtr scratch; local in function:composite_unaligned_boxes_fallback [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_trapezoids.c | 282 PixmapPtr scratch; local in function:trapezoids_fallback 332 scratch = sna_pixmap_create_upload(screen, 335 if (!scratch) 344 memset(scratch->devPrivate.ptr, 0, scratch->devKind*height); 347 scratch->devPrivate.ptr, 348 scratch->devKind); 360 scratch->devPrivate.ptr, 361 scratch->devKind); 378 sna_pixmap_destroy(scratch); 750 PixmapPtr scratch; local in function:trap_upload 874 PixmapPtr scratch; local in function:triangles_fallback 991 PixmapPtr scratch; local in function:tristrip_fallback 1127 PixmapPtr scratch; local in function:trifan_fallback [all...] |
| H A D | sna_trapezoids_boxes.c | 501 blt_opacity(PixmapPtr scratch, argument 513 if (x2 > scratch->drawable.width) 514 x2 = scratch->drawable.width; 520 ptr = scratch->devPrivate.ptr; 521 ptr += scratch->devKind * y; 528 ptr += scratch->devKind; 533 blt_unaligned_box_row(PixmapPtr scratch, argument 541 if (y2 > scratch->drawable.height) 542 y2 = scratch->drawable.height; 557 blt_opacity(scratch, 586 lerp32_opacity(PixmapPtr scratch,uint32_t color,int16_t x,int16_t w,int16_t y,int16_t h,uint8_t opacity) argument 633 lerp32_unaligned_box_row(PixmapPtr scratch,uint32_t color,const BoxRec * extents,const xTrapezoid * trap,int16_t dx,int16_t y,int16_t h,uint8_t covered) argument 1263 PixmapPtr scratch; local in function:composite_unaligned_boxes_fallback [all...] |
| /xsrc/external/mit/xf86-video-nv/dist/src/ |
| H A D | nv_local.h | 77 volatile CARD8 scratch; \ 79 scratch = (pNv)->FbStart[0]; \
|
| /xsrc/external/mit/xorg-server.old/dist/randr/ |
| H A D | rrxinerama.c | 265 xXineramaScreenInfo scratch; local in function:RRXineramaWriteCrtc 277 scratch.x_org = panned_area.x1; 278 scratch.y_org = panned_area.y1; 279 scratch.width = panned_area.x2 - panned_area.x1; 280 scratch.height = panned_area.y2 - panned_area.y1; 284 scratch.x_org = crtc->x; 285 scratch.y_org = crtc->y; 286 scratch.width = width; 287 scratch.height = height; 291 swaps(&scratch [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/ |
| H A D | pseudoramiX.c | 320 xXineramaScreenInfo scratch; local in function:ProcPseudoramiXQueryScreens 324 scratch.x_org = pseudoramiXScreens[i].x; 325 scratch.y_org = pseudoramiXScreens[i].y; 326 scratch.width = pseudoramiXScreens[i].w; 327 scratch.height = pseudoramiXScreens[i].h; 331 swaps (&scratch.x_org, n); 332 swaps (&scratch.y_org, n); 333 swaps (&scratch.width, n); 334 swaps (&scratch.height, n); 336 WriteToClient (client, sz_XineramaScreenInfo, (char *) &scratch); [all...] |
| /xsrc/external/mit/xorg-server/dist/pseudoramiX/ |
| H A D | pseudoramiX.c | 380 xXineramaScreenInfo scratch; local in function:ProcPseudoramiXQueryScreens 384 scratch.x_org = pseudoramiXScreens[i].x; 385 scratch.y_org = pseudoramiXScreens[i].y; 386 scratch.width = pseudoramiXScreens[i].w; 387 scratch.height = pseudoramiXScreens[i].h; 390 swaps(&scratch.x_org); 391 swaps(&scratch.y_org); 392 swaps(&scratch.width); 393 swaps(&scratch.height); 395 WriteToClient(client, sz_XineramaScreenInfo,&scratch); [all...] |
| /xsrc/external/mit/xorg-server/dist/randr/ |
| H A D | rrxinerama.c | 256 xXineramaScreenInfo scratch; local in function:RRXineramaWriteMonitor 258 scratch.x_org = monitor->geometry.box.x1; 259 scratch.y_org = monitor->geometry.box.y1; 260 scratch.width = monitor->geometry.box.x2 - monitor->geometry.box.x1; 261 scratch.height = monitor->geometry.box.y2 - monitor->geometry.box.y1; 264 swaps(&scratch.x_org); 265 swaps(&scratch.y_org); 266 swaps(&scratch.width); 267 swaps(&scratch.height); 270 WriteToClient(client, sz_XineramaScreenInfo, &scratch); [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_exa_funcs.c | 470 struct radeon_bo *scratch = NULL; local in function:RADEONUploadToScreenCS 504 /* If we know the BO won't be busy, don't bother with a scratch */ 516 scratch = radeon_bo_open(info->bufmgr, 0, size, 0, RADEON_GEM_DOMAIN_GTT, 0); 517 if (scratch == NULL) { 522 radeon_cs_space_add_persistent_bo(info->cs, scratch, RADEON_GEM_DOMAIN_GTT, 0); 527 copy_dst = scratch; 551 if (copy_dst == scratch) { 556 RADEONBlitChunk(pScrn, scratch, driver_priv->bo, datatype, scratch_pitch << 16, 562 if (scratch) 563 radeon_bo_unref(scratch); 573 struct radeon_bo *scratch = NULL; local in function:RADEONDownloadFromScreenCS 685 drmBufPtr scratch; local in function:RADEONDownloadFromScreenCP [all...] |
| /xsrc/external/mit/libXinerama/dist/src/ |
| H A D | Xinerama.c | 309 xXineramaScreenInfo scratch; local in function:XineramaQueryScreens 311 _XRead(dpy, (char*)(&scratch), sz_XineramaScreenInfo); 314 scrnInfo[i].x_org = scratch.x_org; 315 scrnInfo[i].y_org = scratch.y_org; 316 scrnInfo[i].width = scratch.width; 317 scrnInfo[i].height = scratch.height;
|
| /xsrc/external/mit/xf86-video-vmware/dist/src/ |
| H A D | vmwarexinerama.c | 378 xXineramaScreenInfo scratch; local in function:VMwareXineramaQueryScreens 382 scratch.x_org = pVMWARE->xineramaState[i].x_org; 383 scratch.y_org = pVMWARE->xineramaState[i].y_org; 384 scratch.width = pVMWARE->xineramaState[i].width; 385 scratch.height = pVMWARE->xineramaState[i].height; 388 _swaps(&scratch.x_org, n); 389 _swaps(&scratch.y_org, n); 390 _swaps(&scratch.width, n); 391 _swaps(&scratch.height, n); 393 WriteToClient(client, sz_XineramaScreenInfo, (char *)&scratch); [all...] |