HomeSort by: relevance | last modified time | path
    Searched defs:pixmap (Results 1 - 25 of 248) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /xsrc/external/mit/libXmu/dist/src/
CrPixFBit.c 35 * XmuCreatePixmapFromBitmap make a pixmap from a bitmap
45 Pixmap
46 XmuCreatePixmapFromBitmap(Display *dpy, Drawable d, Pixmap bitmap,
53 * bitmap - single plane pixmap
54 * width, height - dimensions of bitmap and pixmap
55 * depth - depth of pixmap to create
59 Pixmap pixmap; local
61 pixmap = XCreatePixmap (dpy, d, width, height, depth);
62 if (pixmap != None)
    [all...]
StrToBmap.c 63 * creates a depth-1 Pixmap suitable for window manager icons.
91 static Pixmap pixmap; /* static for cvt magic */ local
103 "String to pixmap conversion needs screen argument",
107 pixmap = None;
108 done(&pixmap, Pixmap);
113 pixmap = ParentRelative;
114 done(&pixmap, Pixmap);
    [all...]
GrayPixmap.c 60 Pixmap pixmap; member in struct:_PixmapCache
71 Pixmap
75 * Creates a stippled pixmap of specified depth
76 * caches these so that multiple requests share the pixmap
81 Pixmap stippled_pixmap;
87 * Creates a stippled pixmap of depth DefaultDepth(screen)
88 * caches these so that multiple requests share the pixmap
94 /* see if we already have a pixmap suitable for this screen */
98 return( cachePtr->ref_count++, cachePtr->pixmap );
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xnest/
XNPixmap.h 23 Pixmap pixmap; member in struct:__anon10113
29 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap)
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/
dmxpixmap.h 35 * Interface for pixmap support. \see dmxpixmap.c */
42 /** Pixmap private area. */
44 Pixmap pixmap; member in struct:_dmxPixPriv
60 /** Get pixmap private pointer. */
  /xsrc/external/mit/xorg-server.old/dist/hw/xnest/
XNPixmap.h 22 Pixmap pixmap; member in struct:__anon10713
28 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap)
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
amdgpu_pixmap.c 38 PixmapPtr pixmap; local
41 /* only DRI2 pixmap is supported */
51 pixmap = fbCreatePixmap(screen, 0, 0, depth, usage);
52 if (pixmap == NullPixmap)
53 return pixmap;
67 pixmap->drawable.bitsPerPixel,
72 amdgpu_set_pixmap_private(pixmap, priv);
79 screen->ModifyPixmapHeader(pixmap, w, h, 0, 0, stride,
83 return pixmap;
90 fbDestroyPixmap(pixmap);
    [all...]
amdgpu_dri3.c 160 PixmapPtr pixmap; local
165 pixmap = glamor_pixmap_from_fd(screen, fd, width, height,
167 if (pixmap) {
171 amdgpu_set_pixmap_private(pixmap, priv);
172 pixmap->usage_hint |= AMDGPU_CREATE_PIXMAP_DRI2;
173 return pixmap;
176 screen->DestroyPixmap(pixmap);
194 pixmap = screen->CreatePixmap(screen, 0, 0, depth,
196 if (!pixmap)
199 if (!screen->ModifyPixmapHeader(pixmap, width, height, 0, bpp, stride
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/uxa/
intel_dri3.c 65 PixmapPtr pixmap; local
80 pixmap = fbCreatePixmap(screen, 0, 0, depth, 0);
81 if (!pixmap)
84 if (!screen->ModifyPixmapHeader(pixmap, width, height, 0, 0, stride, NULL))
92 intel_uxa_set_pixmap_bo(pixmap, bo);
95 priv = intel_uxa_get_pixmap_private(pixmap);
101 return pixmap;
104 fbDestroyPixmap(pixmap);
109 PixmapPtr pixmap,
116 priv = intel_uxa_get_pixmap_private(pixmap);
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
intel_dri3.c 65 PixmapPtr pixmap; local
80 pixmap = fbCreatePixmap(screen, 0, 0, depth, 0);
81 if (!pixmap)
84 if (!screen->ModifyPixmapHeader(pixmap, width, height, 0, 0, stride, NULL))
92 intel_uxa_set_pixmap_bo(pixmap, bo);
95 priv = intel_uxa_get_pixmap_private(pixmap);
101 return pixmap;
104 fbDestroyPixmap(pixmap);
109 PixmapPtr pixmap,
116 priv = intel_uxa_get_pixmap_private(pixmap);
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
dri3.c 35 Pixmap dri3_create_pixmap(Display *dpy,
42 xcb_pixmap_t pixmap = xcb_generate_id(c); local
43 xcb_dri3_pixmap_from_buffer(c, pixmap, draw, size, width, height, stride, depth, bpp, fd);
44 return pixmap;
50 Pixmap pixmap,
57 cookie = xcb_dri3_buffer_from_pixmap(c, pixmap);
69 int dri3_create_fence(Display *dpy, Pixmap pixmap, struct dri3_fence *fence)
86 xcb_dri3_fence_from_fd(c, pixmap, f.xid, 0, fd)
    [all...]
shm-test.c 75 Pixmap pixmap, source; local
79 printf("Creating %dx%d SHM pixmap\n", width, height);
103 pixmap = XShmCreatePixmap(dpy, DefaultRootWindow(dpy),
116 gc = XCreateGC(dpy, pixmap, GCGraphicsExposures | GCSubwindowMode | GCFillStyle | GCForeground | GCFunction, &gcv);
118 XCopyArea(dpy, pixmap, source, gc,
123 XCopyArea(dpy, source, pixmap, gc,
  /xsrc/external/mit/xmag/dist/
CutPaste.c 50 Pixmap *pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap)); local
51 *pixmap = XCreatePixmap(XtDisplay(w), XtWindow(w),
55 XPutImage(XtDisplay(w), *pixmap, sw->scale.gc, sw->scale.image, local
58 *value = (XtPointer) pixmap;
66 Xt converts MULTIPLE, and we convert PIXMAP and BITMAP.
97 Pixmap *pixmap; local
104 XGetGeometry(XtDisplay(w), *pixmap, &root, &x, &y, local
    [all...]
  /xsrc/external/mit/xorg-server/dist/glamor/
glamor_trapezoid.c 47 PixmapPtr pixmap; local
60 pixmap = glamor_create_pixmap(screen, 0, 0,
64 if (!pixmap)
66 picture = CreatePicture(0, &pixmap->drawable, pict_format,
68 glamor_destroy_pixmap(pixmap);
88 PixmapPtr pixmap; local
134 pixmap = glamor_get_drawable_pixmap(picture->pDrawable);
136 screen->ModifyPixmapHeader(pixmap, width, height,
glamor_image.c 37 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local
44 pixmap_priv = glamor_get_pixmap_private(pixmap);
70 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y);
79 glamor_upload_region(pixmap, &region, x, y, (uint8_t *) bits, byte_stride);
109 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local
115 pixmap_priv = glamor_get_pixmap_private(pixmap);
122 glamor_get_drawable_deltas(drawable, pixmap, &off_x, &off_y);
127 glamor_download_boxes(pixmap, &box, 1,
glamor_points.c 44 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local
53 pixmap_priv = glamor_get_pixmap_private(pixmap);
70 if (!glamor_use_program(pixmap, gc, prog, NULL))
glamor_prepare.c 28 * Make a pixmap ready to draw with fb by
34 glamor_prep_pixmap_box(PixmapPtr pixmap, glamor_access_t access, BoxPtr box)
36 ScreenPtr screen = pixmap->drawable.pScreen;
38 glamor_pixmap_private *priv = glamor_get_pixmap_private(pixmap);
53 if (pixmap->devPrivate.ptr) {
55 * Someone else has mapped this pixmap;
62 /* In X, multiple Drawables can be stored in the same Pixmap (such as
63 * each individual window in a non-composited screen pixmap, or the
65 * pixmap on a composited screen).
80 pixmap->devPrivate.ptr = NULL
187 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local
204 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local
    [all...]
glamor_compositerects.c 106 PixmapPtr pixmap; local
196 pixmap = glamor_get_drawable_pixmap(dst->pDrawable);
197 priv = glamor_get_pixmap_private(pixmap);
232 glamor_get_drawable_deltas(dst->pDrawable, pixmap, &dst_x, &dst_y);
235 DEBUGF("%s: pixmap +(%d, %d) extents (%d, %d),(%d, %d)\n",
244 glamor_solid_boxes(pixmap, boxes, num_boxes, pixel);
257 NULL, NULL, pixmap,
268 DamageRegionAppend(&pixmap->drawable, &region);
269 DamageRegionProcessPending(&pixmap->drawable);
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
radeon_dri3.c 160 PixmapPtr pixmap; local
165 pixmap = glamor_pixmap_from_fd(screen, fd, width, height,
167 if (pixmap) {
172 radeon_set_pixmap_private(pixmap, priv);
173 pixmap->usage_hint |= RADEON_CREATE_PIXMAP_DRI2;
174 return pixmap;
177 screen->DestroyPixmap(pixmap);
195 pixmap = screen->CreatePixmap(screen, 0, 0, depth, RADEON_CREATE_PIXMAP_DRI2);
196 if (!pixmap)
199 if (!screen->ModifyPixmapHeader(pixmap, width, height, 0, bpp, stride
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/test/
dri3.c 36 Pixmap dri3_create_pixmap(Display *dpy,
43 xcb_pixmap_t pixmap = xcb_generate_id(c); local
44 xcb_dri3_pixmap_from_buffer(c, pixmap, draw, size, width, height, stride, depth, bpp, fd);
45 return pixmap;
51 Pixmap pixmap,
58 cookie = xcb_dri3_buffer_from_pixmap(c, pixmap);
70 int dri3_create_fence(Display *dpy, Pixmap pixmap, struct dri3_fence *fence)
87 xcb_dri3_fence_from_fd(c, pixmap, f.xid, 0, fd)
    [all...]
shm-test.c 75 Pixmap pixmap, source; local
79 printf("Creating %dx%d SHM pixmap\n", width, height);
103 pixmap = XShmCreatePixmap(dpy, DefaultRootWindow(dpy),
116 gc = XCreateGC(dpy, pixmap, GCGraphicsExposures | GCSubwindowMode | GCFillStyle | GCForeground | GCFunction, &gcv);
118 XCopyArea(dpy, pixmap, source, gc,
123 XCopyArea(dpy, source, pixmap, gc,
  /xsrc/external/mit/xf86-video-vmware/dist/saa/
saa_pixmap.c 48 * Create a scratch pixmap without backing storage (w and h are zero)
69 spix->pixmap = pPixmap;
110 LogMessage(X_ERROR, "Failing pixmap creation.\n");
127 LogMessage(X_ERROR, "Fallback pixmap destroyed outside "
193 saa_pixmap_dirty(PixmapPtr pixmap, Bool hw, RegionPtr reg)
195 struct saa_pixmap *spix = saa_pixmap(pixmap);
196 struct saa_screen_priv *sscreen = saa_screen(pixmap->drawable.pScreen);
199 REGION_UNION(pixmap->drawable.pScreen, &spix->dirty_hw,
201 REGION_SUBTRACT(pixmap->drawable.pScreen, &spix->dirty_shadow,
204 REGION_UNION(pixmap->drawable.pScreen, &spix->dirty_shadow
216 PixmapPtr pixmap; local
    [all...]
  /xsrc/external/mit/bitmap/dist/
CutPaste.c 61 Pixmap *pixmap; local
89 pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap));
90 *pixmap = GetPixmap(BW, image);
94 pixmap = (Pixmap *) XtMalloc(sizeof(Pixmap));
95 *pixmap = GetPixmap(BW, BW->bitmap.storage)
156 Pixmap *pixmap; local
    [all...]
  /xsrc/external/mit/ctwm/dist/
image.h 10 Pixmap pixmap; member in struct:Image
11 Pixmap mask;
37 #define TBPM_DOT ":dot" /* name of titlebar pixmap for dot */
39 #define TBPM_RESIZE ":resize" /* name of titlebar pixmap for resize button */
40 #define TBPM_XLOGO ":xlogo" /* name of titlebar pixmap for xlogo */
42 #define TBPM_MENU ":menu" /* name of titlebar pixmap for menus */
43 #define TBPM_QUESTION ":question" /* name of unknown titlebar pixmap */
50 #define TBPM_3DDOT ":xpm:dot" /* name of titlebar pixmap for dot */
51 #define TBPM_3DRESIZE ":xpm:resize" /* name of titlebar pixmap for resize button *
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
sna_dri3.c 72 DBG(("%s(pixmap=%ld)\n", __FUNCTION__, priv->pixmap->drawable.serialNumber));
79 if (sna_pixmap_move_to_gpu(priv->pixmap, MOVE_READ | MOVE_WRITE | MOVE_ASYNC_HINT | __MOVE_FORCE)) {
80 sna_damage_all(&priv->gpu_damage, priv->pixmap);
87 if (sna_pixmap_move_to_cpu(priv->pixmap, MOVE_READ | MOVE_WRITE | MOVE_ASYNC_HINT))
177 PixmapPtr pixmap; local
220 pixmap = priv->pixmap;
221 DBG(("%s: imported fd matches existing DRI3 pixmap=%ld\n", __FUNCTION__, pixmap->drawable.serialNumber))
    [all...]

Completed in 16 milliseconds

1 2 3 4 5 6 7 8 910