| /xsrc/external/mit/xorg-server.old/dist/hw/xnest/ |
| XNPixmap.h | 25 #define xnestPixmapPriv(pPixmap) ((xnestPrivPixmap *) \ 26 dixLookupPrivate(&(pPixmap)->devPrivates, xnestPixmapPrivateKey)) 28 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap) 30 #define xnestSharePixmap(pPixmap) ((pPixmap)->refcnt++) 34 Bool xnestDestroyPixmap(PixmapPtr pPixmap); 35 RegionPtr xnestPixmapToRegion(PixmapPtr pPixmap);
|
| Pixmap.c | 42 PixmapPtr pPixmap; 44 pPixmap = AllocatePixmap(pScreen, 0); 45 if (!pPixmap) 47 pPixmap->drawable.type = DRAWABLE_PIXMAP; 48 pPixmap->drawable.class = 0; 49 pPixmap->drawable.depth = depth; 50 pPixmap->drawable.bitsPerPixel = depth; 51 pPixmap->drawable.id = 0; 52 pPixmap->drawable.x = 0; 53 pPixmap->drawable.y = 0 [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xnest/ |
| XNPixmap.h | 26 #define xnestPixmapPriv(pPixmap) ((xnestPrivPixmap *) \ 27 dixLookupPrivate(&(pPixmap)->devPrivates, xnestPixmapPrivateKey)) 29 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap) 31 #define xnestSharePixmap(pPixmap) ((pPixmap)->refcnt++) 35 Bool xnestDestroyPixmap(PixmapPtr pPixmap); 36 Bool xnestModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth, 38 RegionPtr xnestPixmapToRegion(PixmapPtr pPixmap);
|
| Pixmap.c | 41 PixmapPtr pPixmap; 43 pPixmap = AllocatePixmap(pScreen, 0); 44 if (!pPixmap) 46 pPixmap->drawable.type = DRAWABLE_PIXMAP; 47 pPixmap->drawable.class = 0; 48 pPixmap->drawable.depth = depth; 49 pPixmap->drawable.bitsPerPixel = depth; 50 pPixmap->drawable.id = 0; 51 pPixmap->drawable.x = 0; 52 pPixmap->drawable.y = 0 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| pixmap.c | 56 PixmapPtr pPixmap = pScreen->pScratchPixmap; 58 if (pPixmap) 62 pPixmap = (*pScreen->CreatePixmap)(pScreen, 0, 0, depth, 0); 64 if (pPixmap) { 65 if ((*pScreen->ModifyPixmapHeader)(pPixmap, width, height, depth, 67 return pPixmap; 68 (*pScreen->DestroyPixmap)(pPixmap); 76 FreeScratchPixmapHeader(PixmapPtr pPixmap) 78 if (pPixmap) 80 ScreenPtr pScreen = pPixmap->drawable.pScreen [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winpixmap.c | 63 PixmapPtr pPixmap = NULL; 66 pPixmap = AllocatePixmap (pScreen, 0); 67 if (!pPixmap) 80 pPixmap->drawable.type = DRAWABLE_PIXMAP; 81 pPixmap->drawable.class = 0; 82 pPixmap->drawable.pScreen = pScreen; 83 pPixmap->drawable.depth = iDepth; 84 pPixmap->drawable.bitsPerPixel = BitsPerPixel (iDepth); 85 pPixmap->drawable.id = 0; 86 pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER [all...] |
| /xsrc/external/mit/xorg-server.old/dist/exa/ |
| exa_mixed.c | 52 PixmapPtr pPixmap; 62 pPixmap = pScreen->CreatePixmap(pScreen, 0, 0, depth, usage_hint); 65 if (!pPixmap) 68 pExaPixmap = ExaGetPixmapPriv(pPixmap); 71 bpp = pPixmap->drawable.bitsPerPixel; 78 pPixmap->devPrivate.ptr = NULL; 90 (*pScreen->ModifyPixmapHeader)(pPixmap, w, h, 0, 0, 95 exaCreateDriverPixmap_mixed(pPixmap); 96 pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap); 106 pPixmap->drawable.pScreen [all...] |
| exa_migration_mixed.c | 35 exaCreateDriverPixmap_mixed(PixmapPtr pPixmap) 37 ScreenPtr pScreen = pPixmap->drawable.pScreen; 39 ExaPixmapPriv(pPixmap); 40 int w = pPixmap->drawable.width, h = pPixmap->drawable.height; 41 int depth = pPixmap->drawable.depth, bpp = pPixmap->drawable.bitsPerPixel; 42 int usage_hint = pPixmap->usage_hint; 49 if (exaPixmapIsPinned(pPixmap)) 69 (*pScreen->ModifyPixmapHeader)(pPixmap, w, h, 0, 0 [all...] |
| exa_classic.c | 59 PixmapPtr pPixmap; 69 pPixmap = pScreen->CreatePixmap (pScreen, w, h, depth, usage_hint); 72 if (!pPixmap) 75 pExaPixmap = ExaGetPixmapPriv(pPixmap); 78 bpp = pPixmap->drawable.bitsPerPixel; 89 pExaPixmap->sys_ptr = pPixmap->devPrivate.ptr; 90 pExaPixmap->sys_pitch = pPixmap->devKind; 92 pPixmap->devPrivate.ptr = NULL; 101 pScreen->DestroyPixmap (pPixmap); 109 pScreen, pPixmap); [all...] |
| exa_driver.c | 53 PixmapPtr pPixmap; 63 pPixmap = pScreen->CreatePixmap(pScreen, 0, 0, depth, usage_hint); 66 if (!pPixmap) 69 pExaPixmap = ExaGetPixmapPriv(pPixmap); 72 bpp = pPixmap->drawable.bitsPerPixel; 77 pPixmap->devPrivate.ptr = NULL; 99 pScreen->DestroyPixmap (pPixmap); 110 (*pScreen->ModifyPixmapHeader)(pPixmap, w, h, 0, 0, 118 pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap); 122 exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_AUX_DEST) [all...] |
| exa_migration_classic.c | 49 exaMemcpyBox (PixmapPtr pPixmap, BoxPtr pbox, CARD8 *src, int src_pitch, 52 int i, cpp = pPixmap->drawable.bitsPerPixel / 8; 113 PixmapPtr pPixmap = migrate->pPix; 114 ExaPixmapPriv (pPixmap); 144 ExaScreenPriv (pPixmap->drawable.pScreen); 207 save_pitch = pPixmap->devKind; 209 pPixmap->devKind = pExaPixmap->fb_pitch; 214 pBox->x2 = min(pBox->x2, pPixmap->drawable.width); 215 pBox->y2 = min(pBox->y2, pPixmap->drawable.height); 220 if (!transfer || !transfer (pPixmap, [all...] |
| /xsrc/external/mit/xorg-server/dist/exa/ |
| exa_migration_mixed.c | 35 exaCreateDriverPixmap_mixed(PixmapPtr pPixmap) 37 ScreenPtr pScreen = pPixmap->drawable.pScreen; 40 ExaPixmapPriv(pPixmap); 41 int w = pPixmap->drawable.width, h = pPixmap->drawable.height; 42 int depth = pPixmap->drawable.depth, bpp = pPixmap->drawable.bitsPerPixel; 43 int usage_hint = pPixmap->usage_hint; 50 if (exaPixmapIsPinned(pPixmap)) 75 (*pScreen->ModifyPixmapHeader) (pPixmap, w, h, 0, 0, paddedWidth, NULL) [all...] |
| exa_mixed.c | 52 PixmapPtr pPixmap; 63 pPixmap = pScreen->CreatePixmap(pScreen, 0, 0, depth, usage_hint); 66 if (!pPixmap) 69 pExaPixmap = ExaGetPixmapPriv(pPixmap); 72 bpp = pPixmap->drawable.bitsPerPixel; 79 pPixmap->devPrivate.ptr = NULL; 90 (*pScreen->ModifyPixmapHeader) (pPixmap, w, h, 0, 0, paddedWidth, NULL); 94 exaCreateDriverPixmap_mixed(pPixmap); 95 pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap); 106 pPixmap->drawable.pScreen [all...] |
| exa_classic.c | 59 PixmapPtr pPixmap; 70 pPixmap = pScreen->CreatePixmap(pScreen, w, h, depth, usage_hint); 73 if (!pPixmap) 76 pExaPixmap = ExaGetPixmapPriv(pPixmap); 79 bpp = pPixmap->drawable.bitsPerPixel; 90 pExaPixmap->sys_ptr = pPixmap->devPrivate.ptr; 91 pExaPixmap->sys_pitch = pPixmap->devKind; 93 pPixmap->devPrivate.ptr = NULL; 102 pScreen->DestroyPixmap(pPixmap); 110 pScreen, pPixmap); [all...] |
| exa_driver.c | 53 PixmapPtr pPixmap; 64 pPixmap = pScreen->CreatePixmap(pScreen, 0, 0, depth, usage_hint); 67 if (!pPixmap) 70 pExaPixmap = ExaGetPixmapPriv(pPixmap); 73 bpp = pPixmap->drawable.bitsPerPixel; 78 pPixmap->devPrivate.ptr = NULL; 104 pScreen->DestroyPixmap(pPixmap); 115 (*pScreen->ModifyPixmapHeader) (pPixmap, w, h, 0, 0, paddedWidth, NULL); 121 pExaPixmap->use_gpu_copy = exaPixmapHasGpuCopy(pPixmap); 125 exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_AUX_DEST) [all...] |
| exa_migration_classic.c | 49 exaMemcpyBox(PixmapPtr pPixmap, BoxPtr pbox, CARD8 *src, int src_pitch, 52 int i, cpp = pPixmap->drawable.bitsPerPixel / 8; 113 PixmapPtr pPixmap = migrate->pPix; 115 ExaPixmapPriv(pPixmap); 142 ExaScreenPriv(pPixmap->drawable.pScreen); 207 save_pitch = pPixmap->devKind; 209 pPixmap->devKind = pExaPixmap->fb_pitch; 214 pBox->x2 = min(pBox->x2, pPixmap->drawable.width); 215 pBox->y2 = min(pBox->y2, pPixmap->drawable.height); 220 if (!transfer || !transfer(pPixmap, [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/ |
| dmxpixmap.c | 59 void dmxBECreatePixmap(PixmapPtr pPixmap) 61 ScreenPtr pScreen = pPixmap->drawable.pScreen; 63 dmxPixPrivPtr pPixPriv = DMX_GET_PIXMAP_PRIV(pPixmap); 72 if (pPixmap->drawable.width && pPixmap->drawable.height) { 75 pPixmap->drawable.width, 76 pPixmap->drawable.height, 77 pPixmap->drawable.depth); 88 PixmapPtr pPixmap; 95 ret = pScreen->CreatePixmap(pPixmap); [all...] |
| dmxpixmap.h | 54 extern Bool dmxDestroyPixmap(PixmapPtr pPixmap); 55 extern RegionPtr dmxBitmapToRegion(PixmapPtr pPixmap); 57 extern void dmxBECreatePixmap(PixmapPtr pPixmap); 58 extern Bool dmxBEFreePixmap(PixmapPtr pPixmap);
|
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_window.c | 34 PixmapPtr pPixmap = *ppPixmap; 37 if (pPixmap->drawable.bitsPerPixel != pDrawable->bitsPerPixel) { 38 pixmap_priv = glamor_get_pixmap_private(pPixmap); 40 glamor_fallback("pixmap %p has no fbo\n", pPixmap);
|
| /xsrc/external/mit/xf86-video-vmware/dist/saa/ |
| saa_pixmap.c | 36 PixmapPtr pPixmap; 52 pPixmap = pScreen->CreatePixmap(pScreen, 0, 0, depth, usage_hint); 55 if (!pPixmap) 58 spix = saa_pixmap(pPixmap); 69 spix->pixmap = pPixmap; 70 bpp = pPixmap->drawable.bitsPerPixel; 84 if (!(*pScreen->ModifyPixmapHeader) (pPixmap, w, h, 0, 0, 95 if (!saa_prepare_access_pixmap(pPixmap, SAA_ACCESS_W, NULL)) 101 return pPixmap; 104 driver->destroy_pixmap(driver, pPixmap); [all...] |
| /xsrc/external/mit/xorg-server/dist/mi/ |
| miscrinit.c | 62 miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth, 65 if (!pPixmap) 74 pPixmap->drawable.depth = depth; 75 pPixmap->drawable.bitsPerPixel = bitsPerPixel; 76 pPixmap->drawable.id = 0; 77 pPixmap->drawable.x = 0; 78 pPixmap->drawable.y = 0; 79 pPixmap->drawable.width = width; 80 pPixmap->drawable.height = height; 81 pPixmap->devKind = devKind [all...] |
| /xsrc/external/mit/xorg-server.old/dist/mi/ |
| miscrinit.c | 64 miModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, int depth, 67 if (!pPixmap) 76 pPixmap->drawable.depth = depth; 77 pPixmap->drawable.bitsPerPixel = bitsPerPixel; 78 pPixmap->drawable.id = 0; 79 pPixmap->drawable.x = 0; 80 pPixmap->drawable.y = 0; 81 pPixmap->drawable.width = width; 82 pPixmap->drawable.height = height; 83 pPixmap->devKind = devKind [all...] |
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| fbwindow.c | 126 PixmapPtr pPixmap = fbGetWindowPixmap (pWin); 127 DrawablePtr pDrawable = &pPixmap->drawable; 138 if (pPixmap->screen_x || pPixmap->screen_y) 140 -pPixmap->screen_x, -pPixmap->screen_y); 154 PixmapPtr pPixmap; 160 pPixmap = pWin->background.pixmap; 162 if (pPixmap->drawable.bitsPerPixel != pWin->drawable.bitsPerPixel) 164 pPixmap = fb24_32ReformatTile (pPixmap [all...] |
| /xsrc/external/mit/xorg-server/dist/fb/ |
| fbpixmap.c | 35 PixmapPtr pPixmap; 54 pPixmap = AllocatePixmap(pScreen, datasize); 55 if (!pPixmap) 57 pPixmap->drawable.type = DRAWABLE_PIXMAP; 58 pPixmap->drawable.class = 0; 59 pPixmap->drawable.pScreen = pScreen; 60 pPixmap->drawable.depth = depth; 61 pPixmap->drawable.bitsPerPixel = bpp; 62 pPixmap->drawable.id = 0; 63 pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/ |
| vmwgfx_dri2.c | 55 PixmapPtr pPixmap; 93 PixmapPtr pPixmap; 100 pPixmap = (PixmapPtr) pDraw; 102 pPixmap = (*pScreen->GetWindowPixmap)((WindowPtr) pDraw); 104 vpix = vmwgfx_saa_pixmap(pPixmap); 113 &pPixmap->drawable != pDraw) { 115 pPixmap = (*pScreen->CreatePixmap)(pScreen, 120 if (pPixmap == NullPixmap) 123 private->pPixmap = pPixmap; [all...] |