Skip to content

Commit

Permalink
xcb: Refresh.
Browse files Browse the repository at this point in the history
Still an experimental backend, it's now a little too late to stabilise
for 1.10, but this should represent a major step forward in its feature
set and an attempt to catch up with all the bug fixes that have been
performed on xlib. Notably not tested yet (and expected to be broken)
are mixed-endian connections and low bitdepth servers (the dithering
support has not been copied over for instance). However, it seems robust
enough for daily use...

Of particular note in this update is that the xcb surface is now capable
of subverting the xlib surface through the ./configure --enable-xlib-xcb
option. This replaces the xlib surface with a proxy that forwards all
operations to an equivalent xcb surface whilst preserving the cairo-xlib
API that is required for compatibility with the existing applications,
for instance GTK+ and Mozilla. Also you can experiment with enabling a
DRM bypass, though you need to be extremely foolhardy to do so.
  • Loading branch information
Chris Wilson committed Jan 22, 2010
1 parent 77afe84 commit 1236c41
Show file tree
Hide file tree
Showing 27 changed files with 11,679 additions and 2,542 deletions.
20 changes: 20 additions & 0 deletions boilerplate/Makefile.win32.features
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_private)
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_sources)
endif

unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
all_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
all_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
all_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)
ifeq ($(CAIRO_HAS_XLIB_XCB_FUNCTIONS),1)
enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xlib_xcb_headers)
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xlib_xcb_private)
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xlib_xcb_sources)
endif

unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
all_cairo_boilerplate_headers += $(cairo_boilerplate_qt_headers)
all_cairo_boilerplate_private += $(cairo_boilerplate_qt_private)
Expand Down Expand Up @@ -159,6 +169,16 @@ enabled_cairo_boilerplate_private += $(cairo_boilerplate_gallium_private)
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_gallium_sources)
endif

unsupported_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)
all_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)
all_cairo_boilerplate_private += $(cairo_boilerplate_xcb_drm_private)
all_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_drm_sources)
ifeq ($(CAIRO_HAS_XCB_DRM_FUNCTIONS),1)
enabled_cairo_boilerplate_headers += $(cairo_boilerplate_xcb_drm_headers)
enabled_cairo_boilerplate_private += $(cairo_boilerplate_xcb_drm_private)
enabled_cairo_boilerplate_sources += $(cairo_boilerplate_xcb_drm_sources)
endif

supported_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
all_cairo_boilerplate_headers += $(cairo_boilerplate_png_headers)
all_cairo_boilerplate_private += $(cairo_boilerplate_png_private)
Expand Down
Loading

0 comments on commit 1236c41

Please sign in to comment.