Implementation of new API: SyncUpdateDC

This commit is contained in:
Vincent Wei
2018-11-29 12:22:01 +08:00
parent c04c44eefb
commit c643b10bbc
7 changed files with 208 additions and 27 deletions
+10
View File
@@ -102,6 +102,7 @@ use_own_malloc="no"
use_own_pthread="no"
build_adv2dapi="yes"
build_syncupdate="no"
build_minimalgdi="no"
dnl Options for look and feel renderer
@@ -347,6 +348,10 @@ AC_ARG_ENABLE(adv2dapi,
[ --enable-adv2dapi include advanced 2D graphics APIs <default=yes>],
build_adv2dapi=$enableval)
AC_ARG_ENABLE(syncupdate,
[ --enable-syncupdate include implementation of SyncUpdateDC <default=yes>],
build_syncupdate=$enableval)
AC_ARG_ENABLE(minimalgdi,
[ --enable-minimalgdi build a minimal GDI library only <default=no>],
build_minimalgdi=$enableval)
@@ -1655,6 +1660,11 @@ if test "x$build_adv2dapi" = "xyes"; then
[Define if include advanced 2D graphics APIs])
fi
if test "x$build_syncupdate" = "xyes"; then
AC_DEFINE(_MGUSE_SYNC_UPDATE, 1,
[Define if include implementation of SyncUpdateDC])
fi
if test "x$fixed_math" = "xyes"; then
AC_DEFINE(_MGHAVE_FIXED_MATH, 1,
[Define if include fixed math routines])