forked from enlightenment/efl
fix --enable-ptrhead and poly render symbol - oops
SVN revision: 27121
This commit is contained in:
parent
4021776111
commit
e99a611e98
|
@ -988,13 +988,13 @@ AM_CONDITIONAL(BUILD_LOADER_SVG, test x$have_svg = xyes)
|
||||||
## PTHREADS
|
## PTHREADS
|
||||||
pthread_cflags=""
|
pthread_cflags=""
|
||||||
pthread_libs=""
|
pthread_libs=""
|
||||||
build_pthreads="no"
|
build_pthreads="yes"
|
||||||
AC_MSG_CHECKING(whether to build pthread code)
|
AC_MSG_CHECKING(whether to build pthread code)
|
||||||
AC_ARG_ENABLE(pthreads,
|
AC_ARG_ENABLE(pthreads,
|
||||||
[ --enable-pthreads enable threaded rendering], [
|
[ --enable-pthreads enable threaded rendering], [
|
||||||
if test x"$enableval" = x"yes" ; then
|
if test x"$enableval" = x"yes" ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(BUILD_SSE, 1, [Build Threaded Rendering])
|
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
|
||||||
build_pthreads="yes"
|
build_pthreads="yes"
|
||||||
pthread_cflags=""
|
pthread_cflags=""
|
||||||
pthread_libs="-lpthread"
|
pthread_libs="-lpthread"
|
||||||
|
|
|
@ -175,7 +175,7 @@ static void
|
||||||
eng_polygon_draw(void *data, void *context, void *surface, void *polygon)
|
eng_polygon_draw(void *data, void *context, void *surface, void *polygon)
|
||||||
{
|
{
|
||||||
#ifdef BUILD_PTHREAD
|
#ifdef BUILD_PTHREAD
|
||||||
evas_common_pipe_polygon_draw(surface, context, polygon);
|
evas_common_pipe_poly_draw(surface, context, polygon);
|
||||||
#else
|
#else
|
||||||
evas_common_polygon_draw(surface, context, polygon);
|
evas_common_polygon_draw(surface, context, polygon);
|
||||||
evas_common_cpu_end_opt();
|
evas_common_cpu_end_opt();
|
||||||
|
|
Loading…
Reference in New Issue