[cairo] [PATCH 00/51] DRM fixes - take 4
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Fri Dec 18 05:28:39 PST 2015
Hi folks,
here's the 4th take of my DRM fixes for review.
Added some more core patches and cleanups in the DRM backend patches.
--mtx
Enrico Weigelt, metux IT consult (51):
core: some helper macros for easier access to box dimensions
core: reintroduce bot-scan-converter functions
core: allow NULL parameter for _cairo_path_fixed_is_box()
core: fix compiler warnings
core: helper function for converting cairo_status_t to human-readable
text (like strerror)
core: updated .gitignore
core: helper inline for rect->box conversion
core: some in-code documentation
core: dropped actually unused parameter of _cairo_boxes_to_array()
core: fixed code duplication
core: dropped unnecessary local variable in
_cairo_composite_rectangles_intersect()
core: changed retval of _cairo_composite_rectangles_intersect() to
cairo_bool_t
drm: use typedefs and defines from drm.h instead of redundant own
definitions
drm: add helper for typecasting from abstract surface to drm surface
type
drm: fixed missing includes
drm: fixed cairo_status_t vs cairo_int_status_t mixup
drm: fixed const constraints
drm: allow CAIRO_FORMAT_RGB30
drm: fixed missing antialiasing mode parameters
drm: fixed call to _cairo_composite_rectangles_init_for_*()
drm: fixed prototype of surface_backend => show_glyphs() operations
drm: fixed surface backend ops vectors
drm: fixed calls to _cairo_botor_scan_converter_add_polygon()
drm: fixed handling of private pointers in scaled_font objects
drm: fixed test for whether path is a box
drm: add helper for typecasting from abstract device to drm device
type
drm: fixed return value of _device_flush()
drm: made various drm-backends optional (buildtime)
drm: fixed call to _cairo_atomic_ptr_cmpxchg()
drm: cleaned up device probing / initialization
drm: fixed surface backend ops vectors
drm: fixed calls to surface backend flush() operations
drm: fixed prototypes of surface_backend => show_glyphs() operations
drm: fixed calls to _cairo_surface_init()
drm/intel: consolidated INTEL_GLYPH_CACHE_* with GLYPH_CACHE_*
drm/intel: renamed intel_glyph_cache_add_glyph()::glyph to
glyph_private
drm/intel: intel_scaled_glyph_fini(): renamed local priv variable for
better consistency
drm/intel: fixed prototyp of intel_scaled_glyph_fini()
drm/intel: store scaled_glyph pointer in intel_glyph structure
drm/intel: make struct _intel_glyph container of
cairo_scaled_glyph_private_t
drm/intel: destructor for glyph cache node
drm/intel: fix font cleanup
drm/i915: fixed calls to _cairo_clip_get_region()
drm/i915: fixup call to _cairo_boxes_extents()
drm/i915: split image_caches array into struct for better readability
drm: fixed _cairo_clip_*() calls
drm: replace use of _cairo_clip_to_boxes()
drm/i915: fixed call to _cairo_pattern_sampled_area()
qt: replaced calls to _cairo_clip_init_copy() by _cairo_clip_copy()
core: changed retval of _cairo_composite_rectangles_init_for_mask() to
cairo_bool_t
core: changed retval of _cairo_composite_rectangles_init_for_paint()
to cairo_bool_t
.gitignore | 4 +
configure.ac | 26 +++
src/Makefile.sources | 54 +++--
src/cairo-botor-scan-converter.c | 38 +++-
src/cairo-box-inline.h | 13 ++
src/cairo-boxes-private.h | 3 +-
src/cairo-boxes.c | 31 ++-
src/cairo-clip-boxes.c | 59 +++---
src/cairo-cogl-surface.c | 17 +-
src/cairo-composite-rectangles-private.h | 4 +-
src/cairo-composite-rectangles.c | 56 ++---
src/cairo-compositor.c | 14 +-
src/cairo-error.c | 50 +++++
src/cairo-line.c | 8 +-
src/cairo-path-fixed.c | 3 +-
src/cairo-pdf-surface.c | 14 +-
src/cairo-polygon-intersect.c | 2 +-
src/cairo-polygon-reduce.c | 2 +-
src/cairo-ps-surface.c | 14 +-
src/cairo-qt-surface.cpp | 2 +-
src/cairo-recording-surface.c | 14 +-
src/cairo-spans-private.h | 4 +
src/cairo-surface-observer.c | 8 +-
src/cairo.h | 2 +
src/drm/cairo-drm-bo.c | 30 +--
src/drm/cairo-drm-gallium-surface.c | 2 +-
src/drm/cairo-drm-i915-glyphs.c | 95 +++++----
src/drm/cairo-drm-i915-private.h | 29 ++-
src/drm/cairo-drm-i915-shader.c | 7 +-
src/drm/cairo-drm-i915-spans.c | 9 +-
src/drm/cairo-drm-i915-surface.c | 340 +++++++++++++------------------
src/drm/cairo-drm-i965-glyphs.c | 76 ++++---
src/drm/cairo-drm-i965-private.h | 24 ++-
src/drm/cairo-drm-i965-shader.c | 2 +-
src/drm/cairo-drm-i965-spans.c | 2 +-
src/drm/cairo-drm-i965-surface.c | 264 ++++++++----------------
src/drm/cairo-drm-intel-private.h | 26 ++-
src/drm/cairo-drm-intel-surface.c | 83 ++++----
src/drm/cairo-drm-intel.c | 113 ++++++----
src/drm/cairo-drm-private.h | 17 +-
src/drm/cairo-drm-radeon-surface.c | 72 +++----
src/drm/cairo-drm-radeon.c | 1 +
src/drm/cairo-drm-surface.c | 4 +-
src/drm/cairo-drm.c | 201 +++++++++---------
src/win32/cairo-win32-printing-surface.c | 7 +-
45 files changed, 974 insertions(+), 872 deletions(-)
--
2.6.4.442.g545299f
More information about the cairo
mailing list