lp:pixman

Created by Christian Reis on 2010-06-12 and last modified on 2019-11-18
Get this branch:
bzr branch lp:pixman

Related bugs

Related blueprints

Branch information

Owner:
Christian Reis
Project:
Pixman
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/git/pixman.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on alnitak and finished 2 hours ago taking 20 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 20 seconds — see the log
Import started 14 hours ago on izar and finished 14 hours ago taking 20 seconds — see the log
Import started 20 hours ago on alnitak and finished 20 hours ago taking 25 seconds — see the log
Import started on 2019-12-13 on izar and finished on 2019-12-13 taking 20 seconds — see the log
Import started on 2019-12-13 on izar and finished on 2019-12-13 taking 20 seconds — see the log
Import started on 2019-12-13 on alnitak and finished on 2019-12-13 taking 20 seconds — see the log
Import started on 2019-12-12 on izar and finished on 2019-12-12 taking 20 seconds — see the log
Import started on 2019-12-12 on alnitak and finished on 2019-12-12 taking 20 seconds — see the log
Import started on 2019-12-12 on alnitak and finished on 2019-12-12 taking 20 seconds — see the log

Recent revisions

2129. By Chun-wei Fan <email address hidden> on 2019-11-18

thread-test.c: Use Windows Threading API on Windows

...When we don't have a pthreads implementation available, which is
normally the case on Windows. This attempts to make it easier for people
on Windows to verify whether their builds of Pixman (and Cairo component,
if applicable) are thread-safe. Also, make the number of threads
a #define, so if we need to change it at some point, it's easier.

This re-enables the thread-test program on Windows in Meson builds.

2128. By Chun-wei Fan <email address hidden> on 2019-11-18

demos: Define _USE_MATH_DEFINES on MSVC-style compilers

This is required for the use of M_PI.

2127. By Chun-wei Fan <email address hidden> on 2019-11-18

test/solid-test.c: Include stdint.h

We need that to make sure we have UINT16_MAX.

2126. By Chun-wei Fan <email address hidden> on 2019-11-18

pixman/meson.build: Define PIXMAN_API on MSVC-style compilers

This will make the public APIs exported from the DLL, so that we have an
import libary that we can use.

2125. By Chun-wei Fan <email address hidden> on 2019-11-18

pixman-[compiler|private].h: Export symbols for tests

Define the existing PIXMAN_EXPORT to be PIXMAN_API, which can overriden
to be __declspec(dllexport) during the build of the pixman DLL on MSVC
builds, which will be in the next patch.

Also, export more private symbols as they are needed for the test
programs.

2124. By Chun-wei Fan <email address hidden> on 2019-11-18

pixman/pixman.h: Mark public APIs with PIXMAN_API

We can override PIXMAN_API with a CFLAG or config.h define to export
the symbols with compiler directives, if needed.

2123. By Chun-wei Fan <email address hidden> on 2019-11-18

pixman/pixman-version.h.in: Add a PIXMAN_API macro

This prepares to mark the public APIs that we have in pixman.h so that
we can use compiler directives such as __declspec(dllexport) to export
those symbols.

2122. By Chun-wei Fan <email address hidden> on 2019-11-18

meson.build: Improve libpng search on MSVC

The build system for libpng for MSVC does not generate a pkg-config file
for us, and CMake support in Meson does not work very well. So, look
for libpng manually on MSVC builds if depedency discovery did not work
out via pkg-config or the CMake config files.

2121. By Chun-wei Fan <email address hidden> on 2019-11-18

build: Don't assume PThreads if threading support is found

Look also for pthread.h if threading support is found by Meson, as the
underlying threading support may not be PThreads, depending on platform.

For now, disable the thread-test test program if pthread.h and if
necessary, the PThreads library, cannot be found, as the current
implementation assumes the use of PThreads.

Also bump the required Meson version to 0.50.0 since we need it for
-cc.get_argument_syntax()
-For a later commit, the has_headers sub-method for cc.find_library()

2120. By Chun-wei Fan <email address hidden> on 2019-11-18

meson.build: Disable OpenMP on MSVC builds

The implementation of OpenMP is not compliant for our uses, so disable
it for now by just not checking for it on MSVC builds, as we implicitly
add an /openmp switch to the build, which will cause linking the tests
programs to fail, as the OpenMP implementation is not enough.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers