Commit graph

16 commits

Author SHA1 Message Date
Jérôme Gardou
c3e4b5fec6 [OPENGL32] Fix wglChoosePixelFormat
Not asking for a feature is not asking not to have it.
2019-01-19 14:23:54 +01:00
Jérôme Gardou
5f2bebf7a5 [OPENGL32][MESA] Downgrade Mesa library to version 2.6
With this commit, we now use a forked version of MESA which only supports OpenGL 1.1, like the windows implementation does.
It exposes :
  - The same pixel formats
  - The same set of extensions
  - Nothing more
All of this without taking 10% of your build time.
If you need a more modern option, look at the MESA package from Rapps, which is (and must be) maintained outside of this code tree.
CORE-7499
2019-01-19 14:23:54 +01:00
Bernhard Feichtinger
9cc37704f5 [OPENGL32] Fix wglDescribePixelFormat 2018-11-25 11:29:18 +01:00
Amine Khaldi
00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
Amine Khaldi
2a3392b97d [GLU32] Add a PCH. 2017-11-26 13:24:50 +01:00
Jérôme Gardou
4067eb1454 [OPENGL32]
- Get rid of the TLS based implementation
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou
31acac46a1 [OPENGL32]
- Get rid of the default stub table, use NULL instead
 - Simplify stub code by using the appropriate macros
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou
b060a81d5d [OPENGL]
- Always use the TEB to store opengl data
CORE-14024
2017-11-21 08:22:31 +01:00
Jérôme Gardou
640af3f429 [OPENGL32]
- Fix a trace
2017-11-21 08:22:31 +01:00
Jérôme Gardou
6aaf217b10 [OPENGL32]
- Implement storing thread data into the TEB
CORE-14024
2017-11-21 08:22:31 +01:00
Mark Jansen
64d10228ee [OPENGL32] Allocate thread data in IntMakeCurrent if it is not allocated yet.
CORE-12232
2017-11-17 19:34:06 +01:00
Mark Jansen
fa9ce98d8e [OPENGL32] Do not crash in IntGetCurrentDC if thread data was not allocated.
CORE-12232
2017-11-17 19:34:06 +01:00
Amine Khaldi
9cb62498de [GLU32] Add TrimRegion destructor when compiling with clang-cl. CORE-11799 (#94) 2017-10-28 14:06:01 +01:00
Amine Khaldi
788efd34a8 [OPENGL32] Set the stdcall calling convention for wglGetDHGLRC(). CORE-11799 (#94) 2017-10-28 13:56:32 +01:00
Hermès Bélusca-Maïto
f9b6429468 Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition.
To check that these changes are correct, checkout in a directory (let's call it "ros_svn") the /trunk/reactos/ of our read-only SVN repo r76032 and in /trunk/reactos/modules/, the rosapps, rostests and wallpapers.
In a second directory (let's call it "ros_git"), clone the corresponding Git-converted ReactOS directory.
Before applying this patch (and the previous one that added back the empty directories), you should see additional files in ros_git that are not in ros_svn, corresponding to these files I'm deleting here (plus some .gitignore files),
and you should also see additional files in ros_svn that do not appear in ros_git: these are the empty directories I've restored in my previous patch.

Now, after the application of both the previous patch that restores the empty directories (and deletes the .gitignore files), and this patch that removes the ghost files, you should only see that the only differences
between ros_git and ros_svn are the extra .keep files in the empty directories, and that's all!

Command-line for the tests:
diff --strip-trailing-cr -r ros_svn ros_git > diff_svn2git.txt

"-r" means recursive, and "--strip-trailing-cr" ignores the CR-LF vs. LF (or CR) EOLs.

(*): by "ghost" old(*) files I understand files that existed previously in the far past, that then were deleted long ago in SVN, and that popped out back during the Git migration.
2017-10-04 10:28:36 +02:00
Colin Finck
c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00