Lines Matching defs:pixmap

300     /** There is no storage attached to the pixmap. */
303 * The pixmap has FBO storage attached, but devPrivate.ptr doesn't
319 * @pbo_valid: The pbo has a valid copy of the pixmap's data.
344 * glamor_pixmap_private - glamor pixmap's private structure.
345 * @gl_tex: The pixmap is in a gl texture originally.
348 * @pixmap: The corresponding pixmap's pointer.
352 * and box[i] store the relatively coords in this pixmap
355 * boxes for one pixmap for some special reason.
357 * pixmap
373 * the relatively coords in the fbo of this pixmap:
377 * * pixmap *
384 * Assume the pixmap is at the (100,100) relatively to
388 * Considering large pixmap is not a normal case, to keep
390 * When deal with a large pixmap, it split the working
397 * to aware of it's large pixmap.
399 * Currently, we haven't implemented the atlas pixmap.
428 PixmapPtr pixmap;
440 * @box: current fbo's coords in the whole pixmap.
441 * @block_w: block width of this large pixmap.
442 * @block_h: block height of this large pixmap.
536 * GLAMOR_UPLOAD_DONE: the pixmap has been uploaded successfully.
537 * GLAMOR_UPLOAD_FAILED: fail to upload the pixmap.
563 glamor_get_pixmap_private(PixmapPtr pixmap)
567 priv = dixLookupPrivate(&pixmap->devPrivates, glamor_pixmap_private_key);
569 glamor_set_pixmap_type(pixmap, GLAMOR_MEMORY);
570 priv = dixLookupPrivate(&pixmap->devPrivates,
576 void glamor_set_pixmap_private(PixmapPtr pixmap, glamor_pixmap_private *priv);
596 void glamor_pixmap_attach_fbo(PixmapPtr pixmap, glamor_pixmap_fbo *fbo);
609 Bool glamor_pixmap_fbo_fixup(ScreenPtr screen, PixmapPtr pixmap);
636 void glamor_get_drawable_deltas(DrawablePtr drawable, PixmapPtr pixmap,
638 Bool glamor_stipple(PixmapPtr pixmap, PixmapPtr stipple,
646 void glamor_get_color_4f_from_pixel(PixmapPtr pixmap,
649 int glamor_set_destination_pixmap(PixmapPtr pixmap);
653 /* nc means no check. caller must ensure this pixmap has valid fbo.
665 Bool glamor_set_planemask(PixmapPtr pixmap, unsigned long planemask);
666 RegionPtr glamor_bitmap_to_region(PixmapPtr pixmap);
671 Bool glamor_solid(PixmapPtr pixmap, int x, int y, int width, int height,
674 Bool glamor_solid_boxes(PixmapPtr pixmap,
760 Bool glamor_tile(PixmapPtr pixmap, PixmapPtr tile,
805 * Download a pixmap's texture to cpu memory. If success,
806 * One copy of current pixmap's texture will be put into
807 * the pixmap->devPrivate.ptr. Will use pbo to map to
809 * The pixmap must be a gl texture pixmap. gl_fbo must be GLAMOR_FBO_NORMAL and
813 Bool glamor_download_pixmap_to_cpu(PixmapPtr pixmap, glamor_access_t access);
815 void *glamor_download_sub_pixmap_to_cpu(PixmapPtr pixmap, int x, int y, int w,
820 * Restore a pixmap's data which is downloaded by
824 * The pixmap must originally be a texture -- gl_fbo must be
827 void glamor_restore_pixmap_to_texture(PixmapPtr pixmap);
836 Bool glamor_pixmap_ensure_fbo(PixmapPtr pixmap, GLenum format, int flag);
839 * Upload a pixmap to gl texture. Used by dynamic pixmap
840 * uploading feature. The pixmap must be a software pixmap.
843 enum glamor_pixmap_status glamor_upload_pixmap_to_texture(PixmapPtr pixmap);
845 Bool glamor_upload_sub_pixmap_to_texture(PixmapPtr pixmap, int x, int y, int w,
849 PixmapPtr glamor_get_sub_pixmap(PixmapPtr pixmap, int x, int y,
851 void glamor_put_sub_pixmap(PixmapPtr sub_pixmap, PixmapPtr pixmap, int x, int y,
904 * Upload bits to a pixmap's texture. This function will
908 Bool glamor_upload_bits_to_pixmap_texture(PixmapPtr pixmap, GLenum format,
916 void glamor_destroy_upload_pixmap(PixmapPtr pixmap);
928 /* fixup a fbo to the exact size as the pixmap. */
1036 /* Dynamic pixmap upload to texture if needed.
1037 * Sometimes, the target is a gl texture pixmap/picture,