[OPENGL]
authorJérôme Gardou <jerome.gardou@reactos.org>
Fri, 24 Aug 2012 16:28:09 +0000 (16:28 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Fri, 24 Aug 2012 16:28:09 +0000 (16:28 +0000)
- 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

13 files changed:
reactos/dll/opengl/mesa/CMakeLists.txt
reactos/dll/opengl/opengl32/CMakeLists.txt [moved from reactos/dll/win32/opengl32/CMakeLists.txt with 100% similarity]
reactos/dll/opengl/opengl32/font.c [moved from reactos/dll/win32/opengl32/font.c with 100% similarity]
reactos/dll/opengl/opengl32/gl.c [moved from reactos/dll/win32/opengl32/gl.c with 100% similarity]
reactos/dll/opengl/opengl32/glfuncs.h [moved from reactos/dll/win32/opengl32/glfuncs.h with 100% similarity]
reactos/dll/opengl/opengl32/icdlist.h [moved from reactos/dll/win32/opengl32/icdlist.h with 100% similarity]
reactos/dll/opengl/opengl32/icdtable.h [moved from reactos/dll/win32/opengl32/icdtable.h with 100% similarity]
reactos/dll/opengl/opengl32/opengl32.c [moved from reactos/dll/win32/opengl32/opengl32.c with 100% similarity]
reactos/dll/opengl/opengl32/opengl32.dsp [moved from reactos/dll/win32/opengl32/opengl32.dsp with 100% similarity]
reactos/dll/opengl/opengl32/opengl32.dsw [moved from reactos/dll/win32/opengl32/opengl32.dsw with 100% similarity]
reactos/dll/opengl/opengl32/opengl32.h [moved from reactos/dll/win32/opengl32/opengl32.h with 100% similarity]
reactos/dll/opengl/opengl32/opengl32.spec [moved from reactos/dll/win32/opengl32/opengl32.spec with 100% similarity]
reactos/dll/opengl/opengl32/wgl.c [moved from reactos/dll/win32/opengl32/wgl.c with 99% similarity]

index d83272d..67c461b 100644 (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")
similarity index 99%
rename from reactos/dll/win32/opengl32/wgl.c
rename to reactos/dll/opengl/opengl32/wgl.c
index 613c2b2..f6feeac 100644 (file)
@@ -129,6 +129,8 @@ VOID
 ROSGL_DeleteDCDataForICD( GLDRIVERDATA *icd )
 {
     GLDCDATA *p, **pptr;
+    
+    return;
 
     /* synchronize */
     if (WaitForSingleObject( OPENGL32_processdata.dcdata_mutex, INFINITE ) ==