Searched refs:pixmap (Results 1 - 25 of 532) sorted by relevance

1234567891011>>

/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_transfer.h27 glamor_upload_boxes(PixmapPtr pixmap, BoxPtr in_boxes, int in_nbox,
33 glamor_upload_region(PixmapPtr pixmap, RegionPtr region,
38 glamor_upload_pixmap(PixmapPtr pixmap);
41 glamor_download_boxes(PixmapPtr pixmap, BoxPtr in_boxes, int in_nbox,
47 glamor_download_rect(PixmapPtr pixmap, int x, int y, int w, int h, uint8_t *bits);
50 glamor_download_pixmap(PixmapPtr pixmap);
H A Dglamor_egl_stubs.c40 PixmapPtr pixmap,
48 glamor_egl_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds, argument
56 glamor_egl_fd_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, argument
39 glamor_egl_fd_name_from_pixmap(ScreenPtr screen,PixmapPtr pixmap,CARD16 * stride,CARD32 * size) argument
H A Dglamor_prepare.c28 * Make a pixmap ready to draw with fb by
34 glamor_prep_pixmap_box(PixmapPtr pixmap, glamor_access_t access, BoxPtr box) argument
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;
63 * each individual window in a non-composited screen pixmap, or the
65 * pixmap on a composited screen).
80 pixmap->devPrivate.ptr = NULL;
95 pixmap
147 glamor_fini_pixmap(PixmapPtr pixmap) argument
187 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local in function:glamor_prepare_access
204 PixmapPtr pixmap = glamor_get_drawable_pixmap(drawable); local in function:glamor_prepare_access_box
[all...]
H A Dglamor_transfer.c27 * Write a region of bits into a pixmap
30 glamor_upload_boxes(PixmapPtr pixmap, BoxPtr in_boxes, int in_nbox, argument
35 ScreenPtr screen = pixmap->drawable.pScreen;
37 glamor_pixmap_private *priv = glamor_get_pixmap_private(pixmap);
39 int bytes_per_pixel = pixmap->drawable.bitsPerPixel >> 3;
40 const struct glamor_format *f = glamor_format_for_pixmap(pixmap);
100 glamor_upload_region(PixmapPtr pixmap, RegionPtr region, argument
104 glamor_upload_boxes(pixmap, RegionRects(region), RegionNumRects(region),
111 * Take the data in the pixmap and stuff it back into the FBO
114 glamor_upload_pixmap(PixmapPtr pixmap) argument
130 glamor_download_boxes(PixmapPtr pixmap,BoxPtr in_boxes,int in_nbox,int dx_src,int dy_src,int dx_dst,int dy_dst,uint8_t * bits,uint32_t byte_stride) argument
190 glamor_download_rect(PixmapPtr pixmap,int x,int y,int w,int h,uint8_t * bits) argument
207 glamor_download_pixmap(PixmapPtr pixmap) argument
[all...]
H A Dglamor_pixmap.c39 glamor_get_drawable_deltas(DrawablePtr drawable, PixmapPtr pixmap, argument
44 *x = -pixmap->screen_x;
45 *y = -pixmap->screen_y;
78 PixmapPtr pixmap,
83 PIXMAP_PRIV_GET_ACTUAL_SIZE(pixmap, pixmap_priv, w, h);
89 PixmapPtr pixmap,
95 glamor_set_destination_pixmap_priv_nc(glamor_priv, pixmap, pixmap_priv);
100 glamor_set_destination_pixmap(PixmapPtr pixmap) argument
103 glamor_pixmap_private *pixmap_priv = glamor_get_pixmap_private(pixmap);
104 ScreenPtr screen = pixmap
77 glamor_set_destination_pixmap_priv_nc(glamor_screen_private * glamor_priv,PixmapPtr pixmap,glamor_pixmap_private * pixmap_priv) argument
88 glamor_set_destination_pixmap_priv(glamor_screen_private * glamor_priv,PixmapPtr pixmap,glamor_pixmap_private * pixmap_priv) argument
[all...]
H A Dglamor_transform.h42 glamor_set_color(PixmapPtr pixmap, argument
46 glamor_set_color_depth(pixmap->drawable.pScreen,
47 pixmap->drawable.depth, pixel, uniform);
63 glamor_set_solid(PixmapPtr pixmap,
69 glamor_set_tiled(PixmapPtr pixmap,
75 glamor_set_stippled(PixmapPtr pixmap,
82 * Vertex shader bits that transform X coordinates to pixmap
/xsrc/external/mit/ctwm/dist/
H A Dworkspace_config.h13 const char *pixmap);
16 const char *pixmap);
/xsrc/external/mit/libX11/dist/src/
H A DFreePix.c35 Pixmap pixmap)
39 GetResReq(FreePixmap, pixmap, req);
33 XFreePixmap(register Display * dpy,Pixmap pixmap) argument
H A DPmapBgnd.c36 Pixmap pixmap)
43 OneDataCard32 (dpy, NEXTPTR(req,xChangeWindowAttributesReq), pixmap);
33 XSetWindowBackgroundPixmap(register Display * dpy,Window w,Pixmap pixmap) argument
H A DPmapBord.c36 Pixmap pixmap)
43 OneDataCard32 (dpy, NEXTPTR(req,xChangeWindowAttributesReq), pixmap);
33 XSetWindowBorderPixmap(register Display * dpy,Window w,Pixmap pixmap) argument
/xsrc/external/mit/libXmu/dist/src/
H A DCrPixFBit.c35 * XmuCreatePixmapFromBitmap make a pixmap from a 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 in function:XmuCreatePixmapFromBitmap
61 pixmap = XCreatePixmap (dpy, d, width, height, depth);
62 if (pixmap != None) {
74 XCopyPlane (dpy, bitmap, pixmap, gc, 0, 0, width, height, 0, 0, 1);
77 XFreePixmap (dpy, pixmap);
78 pixmap
[all...]
H A DStrToBmap.c91 static Pixmap pixmap; /* static for cvt magic */ local in function:XmuCvtStringToBitmap
103 "String to pixmap conversion needs screen argument",
107 pixmap = None;
108 done(&pixmap, Pixmap);
113 pixmap = ParentRelative;
114 done(&pixmap, Pixmap);
119 pixmap = XmuLocateBitmapFile (screen, name,
121 if (pixmap == None) {
132 pixmap = XCreatePixmapFromBitmapData (dpy,
140 if (pixmap !
[all...]
H A DGrayPixmap.c60 Pixmap pixmap; member in struct:_PixmapCache
75 * Creates a stippled pixmap of specified depth
76 * caches these so that multiple requests share the 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 );
111 cachePtr->pixmap = stippled_pixmap;
120 XmuReleaseStippledPixmap(Screen *screen, Pixmap pixmap) argument
125 if (cachePtr->screen == screen && cachePtr->pixmap
[all...]
/xsrc/external/mit/xf86-video-amdgpu/dist/src/
H A Damdgpu_pixmap.c38 PixmapPtr pixmap; local in function:amdgpu_pixmap_create
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);
94 amdgpu_pixmap_destroy(PixmapPtr pixmap) argument
[all...]
H A Damdgpu_glamor.c138 amdgpu_glamor_create_textured_pixmap(PixmapPtr pixmap, struct amdgpu_buffer *bo) argument
140 ScrnInfoPtr scrn = xf86ScreenToScrn(pixmap->drawable.pScreen);
147 return glamor_egl_create_textured_pixmap_from_gbm_bo(pixmap,
159 return glamor_egl_create_textured_pixmap(pixmap, bo_handle,
160 pixmap->devKind);
164 static Bool amdgpu_glamor_destroy_pixmap(PixmapPtr pixmap) argument
167 ScreenPtr screen = pixmap->drawable.pScreen;
172 if (pixmap->refcnt == 1) {
173 if (pixmap->devPrivate.ptr) {
174 struct amdgpu_buffer *bo = amdgpu_get_pixmap_bo(pixmap);
207 PixmapPtr pixmap, new_pixmap = NULL; local in function:amdgpu_glamor_create_pixmap
308 amdgpu_glamor_set_pixmap_bo(DrawablePtr drawable,PixmapPtr pixmap) argument
356 amdgpu_glamor_share_pixmap_backing(PixmapPtr pixmap,ScreenPtr secondary,void ** handle_p) argument
402 amdgpu_glamor_set_shared_pixmap_backing(PixmapPtr pixmap,void * handle) argument
[all...]
H A Damdgpu_glamor_wrappers.c42 /* Are there any outstanding GPU operations for this pixmap? */
55 PixmapPtr pixmap, struct amdgpu_pixmap *priv,
65 if (!pixmap->devPrivate.ptr) {
74 pixmap->devPrivate.ptr = bo->cpu_ptr;
79 info->glamor.SavedGetImage(&pixmap->drawable, 0, 0, 1, 1,
88 amdgpu_glamor_prepare_access_cpu_ro(ScrnInfoPtr scrn, PixmapPtr pixmap, argument
99 return amdgpu_glamor_prepare_access_cpu(scrn, AMDGPUPTR(scrn), pixmap,
104 amdgpu_glamor_prepare_access_cpu_rw(ScrnInfoPtr scrn, PixmapPtr pixmap, argument
118 return amdgpu_glamor_prepare_access_cpu(scrn, info, pixmap, priv,
123 amdgpu_glamor_finish_access_cpu(PixmapPtr pixmap) argument
54 amdgpu_glamor_prepare_access_cpu(ScrnInfoPtr scrn,AMDGPUInfoPtr info,PixmapPtr pixmap,struct amdgpu_pixmap * priv,Bool need_sync) argument
133 amdgpu_glamor_use_gpu(PixmapPtr pixmap,struct amdgpu_pixmap * priv) argument
209 PixmapPtr pixmap; local in function:amdgpu_glamor_picture_prepare_access_cpu_ro
236 PixmapPtr pixmap; local in function:amdgpu_glamor_picture_prepare_access_cpu_rw
265 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_fill_spans
283 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_set_spans
298 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_put_image
355 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_poly_point
370 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_poly_lines
392 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_poly_segment
415 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_poly_fill_rect
440 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_image_glyph_blt
459 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_poly_glyph_blt
477 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_push_pixels
703 PixmapPtr pixmap = get_drawable_pixmap(&pWin->drawable); local in function:amdgpu_glamor_copy_window
717 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_get_image
731 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:amdgpu_glamor_get_spans
758 PixmapPtr pixmap; local in function:amdgpu_glamor_composite
[all...]
/xsrc/external/mit/libXpm/dist/src/
H A DCrIFrP.c43 Pixmap pixmap,
53 XGetGeometry(display, pixmap, &win, &dummy, &dummy,
56 *ximage_return = XGetImage(display, pixmap, 0, 0, *width, *height,
41 xpmCreateImageFromPixmap(Display * display,Pixmap pixmap,XImage ** ximage_return,unsigned int * width,unsigned int * height) argument
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_dri3.c65 PixmapPtr pixmap; local in function:intel_dri3_pixmap_from_fd
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);
108 intel_dri3_fd_from_pixmap(ScreenPtr screen,PixmapPtr pixmap,CARD16 * stride,CARD32 * size) argument
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_dri3.c65 PixmapPtr pixmap; local in function:intel_dri3_pixmap_from_fd
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);
108 intel_dri3_fd_from_pixmap(ScreenPtr screen,PixmapPtr pixmap,CARD16 * stride,CARD32 * size) argument
[all...]
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Dradeon_glamor.c184 radeon_glamor_create_textured_pixmap(PixmapPtr pixmap, struct radeon_buffer *bo) argument
186 ScrnInfoPtr scrn = xf86ScreenToScrn(pixmap->drawable.pScreen);
193 return glamor_egl_create_textured_pixmap_from_gbm_bo(pixmap,
200 return glamor_egl_create_textured_pixmap(pixmap,
202 pixmap->devKind);
206 static Bool radeon_glamor_destroy_pixmap(PixmapPtr pixmap) argument
209 ScreenPtr screen = pixmap->drawable.pScreen;
214 if (pixmap->refcnt == 1) {
216 glamor_egl_destroy_textured_pixmap(pixmap);
218 radeon_set_pixmap_bo(pixmap, NUL
241 PixmapPtr pixmap, new_pixmap = NULL; local in function:radeon_glamor_create_pixmap
330 radeon_glamor_set_pixmap_bo(DrawablePtr drawable,PixmapPtr pixmap) argument
378 radeon_glamor_share_pixmap_backing(PixmapPtr pixmap,ScreenPtr secondary,void ** handle_p) argument
415 radeon_glamor_set_shared_pixmap_backing(PixmapPtr pixmap,void * handle) argument
[all...]
H A Dradeon_glamor_wrappers.c42 /* Are there any outstanding GPU operations for this pixmap? */
55 PixmapPtr pixmap, struct radeon_pixmap *priv,
61 if (!pixmap->devPrivate.ptr) {
78 pixmap->devPrivate.ptr = bo->bo.radeon->ptr;
88 radeon_glamor_prepare_access_cpu_ro(ScrnInfoPtr scrn, PixmapPtr pixmap, argument
99 return radeon_glamor_prepare_access_cpu(scrn, RADEONPTR(scrn), pixmap,
104 radeon_glamor_prepare_access_cpu_rw(ScrnInfoPtr scrn, PixmapPtr pixmap, argument
118 return radeon_glamor_prepare_access_cpu(scrn, info, pixmap, priv,
123 radeon_glamor_finish_access_cpu(PixmapPtr pixmap) argument
167 priv = radeon_get_pixmap_private(pGC->tile.pixmap);
54 radeon_glamor_prepare_access_cpu(ScrnInfoPtr scrn,RADEONInfoPtr info,PixmapPtr pixmap,struct radeon_pixmap * priv,Bool need_sync) argument
201 PixmapPtr pixmap; local in function:radeon_glamor_picture_prepare_access_cpu_ro
228 PixmapPtr pixmap; local in function:radeon_glamor_picture_prepare_access_cpu_rw
257 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_fill_spans
275 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_set_spans
290 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_put_image
347 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_poly_point
362 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_poly_lines
384 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_poly_segment
407 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_poly_fill_rect
432 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_image_glyph_blt
451 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_poly_glyph_blt
469 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_push_pixels
695 PixmapPtr pixmap = get_drawable_pixmap(&pWin->drawable); local in function:radeon_glamor_copy_window
709 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_get_image
723 PixmapPtr pixmap = get_drawable_pixmap(pDrawable); local in function:radeon_glamor_get_spans
750 PixmapPtr pixmap; local in function:radeon_glamor_composite
[all...]
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Ddfps.c58 static inline dfps_info_t *dfps_get_info (PixmapPtr pixmap) argument
61 return dixGetPrivate(&pixmap->devPrivates, &uxa_pixmap_index);
63 return dixLookupPrivate(&pixmap->devPrivates, &uxa_pixmap_index);
67 static inline void dfps_set_info (PixmapPtr pixmap, dfps_info_t *info) argument
69 dixSetPrivate(&pixmap->devPrivates, &uxa_pixmap_index, info);
113 PixmapPtr pixmap; local in function:dfps_ticker
115 pixmap = qxl->pScrn->pScreen->GetScreenPixmap(qxl->pScrn->pScreen);
116 if (pixmap)
117 info = dfps_get_info(pixmap);
120 qxl_surface_upload_primary_regions(qxl, pixmap,
133 is_main_pixmap(PixmapPtr pixmap) argument
180 dfps_prepare_solid(PixmapPtr pixmap,int alu,Pixel planemask,Pixel fg) argument
202 dfps_solid(PixmapPtr pixmap,int x_1,int y_1,int x_2,int y_2) argument
218 dfps_done_solid(PixmapPtr pixmap) argument
305 dfps_prepare_access(PixmapPtr pixmap,RegionPtr region,uxa_access_t requested_access) argument
321 dfps_finish_access(PixmapPtr pixmap) argument
326 dfps_pixmap_is_offscreen(PixmapPtr pixmap) argument
331 dfps_set_screen_pixmap(PixmapPtr pixmap) argument
336 dfps_clear_pixmap(PixmapPtr pixmap,int w,int h) argument
349 PixmapPtr pixmap; local in function:dfps_create_pixmap
369 dfps_destroy_pixmap(PixmapPtr pixmap) argument
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xnest/
H A DXNPixmap.h22 Pixmap pixmap; member in struct:__anonab7e5dd30108
28 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap)
/xsrc/external/mit/xorg-server/dist/present/
H A Dpresent_vblank.c49 PixmapPtr pixmap,
79 vblank->pixmap = pixmap;
81 if (pixmap) {
83 pixmap->refcnt++;
110 if (pixmap != NULL &&
114 screen_priv->check_flip (target_crtc, window, pixmap, TRUE, valid, x_off, y_off, &reason))
119 screen_priv->check_flip (target_crtc, window, pixmap, FALSE, valid, x_off, y_off, &reason))
138 if (pixmap)
141 vblank->pixmap
47 present_vblank_init(present_vblank_ptr vblank,WindowPtr window,PixmapPtr pixmap,CARD32 serial,RegionPtr valid,RegionPtr update,int16_t x_off,int16_t y_off,RRCrtcPtr target_crtc,SyncFence * wait_fence,SyncFence * idle_fence,uint32_t options,const uint32_t capabilities,present_notify_ptr notifies,int num_notifies,uint64_t target_msc,uint64_t crtc_msc) argument
151 present_vblank_create(WindowPtr window,PixmapPtr pixmap,CARD32 serial,RegionPtr valid,RegionPtr update,int16_t x_off,int16_t y_off,RRCrtcPtr target_crtc,SyncFence * wait_fence,SyncFence * idle_fence,uint32_t options,const uint32_t capabilities,present_notify_ptr notifies,int num_notifies,uint64_t target_msc,uint64_t crtc_msc) argument
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_dri3.c72 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 in function:sna_dri3_pixmap_from_fd
220 pixmap = priv->pixmap;
221 DBG(("%s: imported fd matches existing DRI3 pixmap=%ld\n", __FUNCTION__, pixmap
293 sna_dri3_fd_from_pixmap(ScreenPtr screen,PixmapPtr pixmap,CARD16 * stride,CARD32 * size) argument
[all...]

Completed in 14 milliseconds

1234567891011>>