Skip to content
Snippets Groups Projects
  1. Sep 06, 2010
  2. Sep 02, 2010
    • M. Pihlaja's avatar
      freelist: Separate freelist inlines from the datatype in headers. · a9e055ff
      M. Pihlaja authored
      The cairo-freelist-private.h header has a number of static inline
      functions which call hidden functions in libcairo.  This poses
      a problem on Solaris where the native compiler compiles inline
      functions whether they are used or not, thereby adding the
      link time requirements on hidden functions from whatever code
      that includes cairo-freelist-private.h.  Unfortunately the
      boilerplate code includes cairo-private headers and indirectly
      the freelist header, so linking the boilerplate helper library
      fails on Solaris.
      
      This patch separates the structure definitions from the function
      prototypes and static inlines in cairo-freelist-private.h by moving
      the datatypes to a new cairo-freelist-type-private.h.
      a9e055ff
    • M. Pihlaja's avatar
      build: Remove stray backslash. · f5632d64
      M. Pihlaja authored
      A stray backslash bwetween two assignment lines apparently
      invokes a GNU make extension for conditional assignments.
      This patch fixes the build when using the native Solaris make.
      f5632d64
  3. Sep 01, 2010
  4. Aug 29, 2010
  5. Aug 28, 2010
  6. Aug 27, 2010
  7. Aug 26, 2010
  8. Aug 11, 2010
    • Chris Wilson's avatar
      Mark the context as invalid on the final cairo_destroy() · 8e9c4ea5
      Chris Wilson authored
      We initialise the context to a non-error state upon creation, but after
      destroy there is a window of opportunity where the object is kept alive
      inside the context pool and the user could mistakenly keep on passing
      the zombie context into cairo functions. As all entry points need to
      check error status, flagging the context as an error object upon the
      final unreference prevents such misuse (until such as time as the
      context is reallocated).
      8e9c4ea5
  9. Aug 10, 2010
  10. Aug 09, 2010
    • Benjamin Otte's avatar
      build: Fudge the build system some more so it handles extra libs · df8f9642
      Benjamin Otte authored
      Add NONPKGCONFIG_EXTRA_LIBS that are only put into the generated pc file
      but not used when linking. This is now used to add -lcairo-gobject to
      the cairo-gobject.pc file.
      df8f9642
    • Benjamin Otte's avatar
    • M. Pihlaja's avatar
      script: Fix script backend build. · 8fb91dc3
      M. Pihlaja authored
      The flight data recorders were missing an include
      of cairo-tee.h ever since cairo-tee.h became an optional
      backend.
      8fb91dc3
    • Andrea Canciani's avatar
      perf: Improve calibration · 76683236
      Andrea Canciani authored
      Make the loops count depend on the actual calibration_loops/calibration_time
      instead of calibration_loops/calibration_max_time.
      This avoids having some tests take much less/more than the wanted time per iteration
      (I was having some tests taking about 1 second, other taking about 7 seconds when
      the ms_per_iteration was 2000)
      
      Spend 0.5-1 times the time wanted for each iteration in calibration, increase the
      accuracy of loops count. Just making the loops count be the correct ratio doesn't
      guarantee that the iteration time is accurate. By actually measuring iteration
      times until it gets greater than 1/4 of the wanted time, the total sum is bound
      to be <= the wanted iteration time and last calibration time is between 1/4 and
      1/2 of the wanted time, so it should give a very accurate loop count.
      76683236
Loading