blob: a405e3c9f3248b043e53ee541b48d7ca67a4281f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
Name: MesaLib
Current version: 7.9
URL: http://www.mesa3d.org/
License File: MesaLib/docs/COPYING
This directory contains a copy of these MesaLib components:
Main Mesa code src/mesa/
Device drivers src/mesa/drivers/*
Ext headers include/GL/glext.h
include/GL/glxext.h
SGI GLU library src/glu/sgi/
The license is in MesaLib/docs/license.html.
Modifications made with initial commit:
- Added the file README.chromium (this file)
Later modifications (see chromium.patch):
- Added OSMesaGetProcAddress to MesaLib/src/mesa/drivers/osmesa/osmesa.def
- Added #pragma optimize('', off) to:
- MesaLib\src\mesa\main\histogram.c
- MesaLib\src\mesa\main\image.c
- MesaLib\src\mesa\main\mipmap.c
- MesaLib\src\mesa\math\m_eval.c
- MesaLib\src\mesa\swrast\s_texcombine.c
- Deleted MesaLib/include/EGL/ - it was conflicting with angle
- Also deleted MesaLib/include/GLES2/ and MesaLib/include/KHR/ for
similar reasons
- Deleted MesaLib/include/GLES/ and MesaLib/include/VG/ because they
were unneeded
- Changed these typedefs in glext.h to be the same as khrplatform.h
typedef signed long int GLintptr;
typedef signed long int GLsizeiptr;
typedef signed long int GLintptrARB;
typedef signed long int GLsizeiptrARB;
- Commented out this in gl.h:
#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
# define PRAGMA_EXPORT_SUPPORTED 1
#endif
- Commented out this in osmesa.h:
#if defined(__BEOS__) || defined(__QUICKDRAW__)
#pragma export on
#endif
- Commented out this in gl.h:
# define GLAPI __declspec(dllimport)
- Added src/glsl/safe_strcmp.[ch] to handle NULL pointers portably.
Changed several files in src/glsl/ to use this new entry point.
- Added src/mesa/drivers/osmesa/empty.cpp to fix linkage of osmesa.so
on Mac OS X.
- Changed glcpp-parse.[cy], glcpp.h, ir_function_inlining.cpp, and
ir_validate.cpp to avoid including inttypes.h on Windows.
- Changed glapi_nop.c to generate custom OpenGL entry points rather
than simply installing NoOpGeneric, because with __stdcall calling
convention it is illegal to have a mismatch in the number of
arguments passed from caller to callee.
- Guarded #define PUBLIC in compiler.h to avoid warnings about macro
redefinitions.
- Changed querymatrix.c to understand availability of fpclassify on
Linux.
- Guarded all usage of EGL_Y_INVERTED_NOK with EGL_NOK_texture_from_pixmap
so that it can be compiled against standard EGL 1.4 headers.
|