mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-24 05:28:12 +02:00
This commit added two APIs to support the DRI swap buffer. one is glamor_egl_exchange_buffers() which can swap two pixmaps' underlying KHRimages/fbos/texs. The DDX layer should exchange the DRM bos to make them consistent to each other. Another API is glamor_egl_create_textured_screen_ext(), which extent one more parameters to track the DDX layer's back pixmap pointer. This is for the triple buffer support. When using triple buffer, the DDX layer will keep a back pixmap rather then the front pixmap and the pixmap used by the DRI2 client. And during the closing screen stage, we have to dereference all the back pixmap's glamor resources. Thus we have to extent this API to register it when create new screen. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> |
||
|---|---|---|
| .. | ||
| glamor.c | ||
| glamor.h | ||
| glamor_addtraps.c | ||
| glamor_copyarea.c | ||
| glamor_copyplane.c | ||
| glamor_copywindow.c | ||
| glamor_core.c | ||
| glamor_debug.h | ||
| glamor_egl.c | ||
| glamor_eglmodule.c | ||
| glamor_fbo.c | ||
| glamor_fill.c | ||
| glamor_fillspans.c | ||
| glamor_getimage.c | ||
| glamor_getspans.c | ||
| glamor_gl_dispatch.c | ||
| glamor_gl_dispatch.h | ||
| glamor_glext.h | ||
| glamor_glyphblt.c | ||
| glamor_glyphs.c | ||
| glamor_picture.c | ||
| glamor_pixmap.c | ||
| glamor_polyfillrect.c | ||
| glamor_polylines.c | ||
| glamor_polyops.c | ||
| glamor_priv.h | ||
| glamor_putimage.c | ||
| glamor_render.c | ||
| glamor_setspans.c | ||
| glamor_tile.c | ||
| glamor_triangles.c | ||
| glamor_utils.h | ||
| glamor_window.c | ||
| glapi.h | ||
| Makefile.am | ||