- Add some optimizations (GCC) on compilation of libMesa
- Move opengl32 to the opengl directory
- Disable ICD refcounting for now, it does more harm than good.

svn path=/trunk/; revision=57153
This commit is contained in:
Jérôme Gardou 2012-08-24 16:28:09 +00:00
parent 101b6555b7
commit 7306a8ad57
13 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,8 @@ include_directories(
if(NOT MSVC)
add_compile_flags_language("-std=gnu99" "C")
add_compile_flags("-Wno-deprecated-declarations")
# optimizations (builtin memcmp is slow on some gcc versions) used in SConsript files
add_compile_flags("-ffast-math -fno-builtin-memcmp")
else()
include_directories(include/c99)
add_compile_flags("/wd4996")

View file

@ -129,6 +129,8 @@ VOID
ROSGL_DeleteDCDataForICD( GLDRIVERDATA *icd )
{
GLDCDATA *p, **pptr;
return;
/* synchronize */
if (WaitForSingleObject( OPENGL32_processdata.dcdata_mutex, INFINITE ) ==