| OLD | NEW |
| 1 Name: mesa | 1 Name: mesa |
| 2 Version: 7.9 | 2 Version: 9.0.3 |
| 3 URL: http://www.mesa3d.org/ | 3 URL: http://www.mesa3d.org/ |
| 4 License: MIT and LGPL v2 | 4 License: MIT and LGPL v2 |
| 5 Security Critical: Yes | 5 Security Critical: Yes |
| 6 | 6 |
| 7 Description: | 7 Description: |
| 8 This directory contains a copy of these MesaLib components: | 8 This directory contains a copy of the Mesa sources with minor |
| 9 | 9 modifications to work in Chromium's build infrastructure. |
| 10 Main Mesa code src/mesa/ | |
| 11 Device drivers src/mesa/drivers/* | |
| 12 Ext headers include/GL/glext.h | |
| 13 include/GL/glxext.h | |
| 14 SGI GLU library src/glu/sgi/ | |
| 15 | 10 |
| 16 The license file in this directory is derived from src/docs/license.html | 11 The license file in this directory is derived from src/docs/license.html |
| 17 and src/docs/COPYING. | 12 and src/docs/COPYING. |
| 18 | 13 |
| 19 Modifications made with initial commit: | 14 Modifications made: |
| 20 - Converted to utf-8 with: vim +"argdo write ++enc=utf-8" *.c | |
| 21 | |
| 22 - Added the file README.chromium (this file) | 15 - Added the file README.chromium (this file) |
| 23 | 16 |
| 24 Later modifications (see chromium.patch): | 17 - Disabled optimizations using #pragma optimize('', off) in the |
| 25 - Added OSMesaGetProcAddress to src/src/mesa/drivers/osmesa/osmesa.def | 18 following files: |
| 19 - src/src/mesa/main/mipmap.c |
| 20 - src/src/mesa/main/pack.c |
| 21 - src/src/mesa/math/m_eval.c |
| 22 - src/src/mesa/swrast/s_texcombine.c |
| 26 | 23 |
| 27 - Added #pragma optimize('', off) to: | 24 - Checked in sources normally autogenerated during Mesa's build |
| 28 - src\src\mesa\main\histogram.c | 25 process under src/chromium_gensrc. |
| 29 - src\src\mesa\main\image.c | |
| 30 - src\src\mesa\main\mipmap.c | |
| 31 - src\src\mesa\math\m_eval.c | |
| 32 - src\src\mesa\swrast\s_texcombine.c | |
| 33 | 26 |
| 34 - Deleted src/include/EGL/ - it was conflicting with angle | 27 - Modified _mesa_add_parameter to not read from uninitialized |
| 35 - Also deleted src/include/GLES2/ and src/include/KHR/ for | 28 memory |
| 36 similar reasons | |
| 37 - Deleted src/include/GLES/ and src/include/VG/ because they | |
| 38 were unneeded | |
| 39 | 29 |
| 40 - Changed these typedefs in glext.h to be the same as khrplatform.h | 30 - Added typedefs for EGLNative*Type in eglplatform.h, guarded by an |
| 41 typedef signed long int GLintptr; | 31 __APPLE__ define |
| 42 typedef signed long int GLsizeiptr; | |
| 43 typedef signed long int GLintptrARB; | |
| 44 typedef signed long int GLsizeiptrARB; | |
| 45 | |
| 46 - Commented out this in gl.h: | |
| 47 #if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) | |
| 48 # define PRAGMA_EXPORT_SUPPORTED» » 1 | |
| 49 #endif | |
| 50 | |
| 51 - Commented out this in osmesa.h: | |
| 52 #if defined(__BEOS__) || defined(__QUICKDRAW__) | |
| 53 #pragma export on | |
| 54 #endif | |
| 55 | |
| 56 - Commented out this in gl.h: | |
| 57 # define GLAPI __declspec(dllimport) | |
| 58 | |
| 59 - Added src/glsl/safe_strcmp.[ch] to handle NULL pointers portably. | |
| 60 Changed several files in src/glsl/ to use this new entry point. | |
| 61 | |
| 62 - Added src/mesa/drivers/osmesa/empty.cpp to fix linkage of osmesa.so | |
| 63 on Mac OS X. | |
| 64 | |
| 65 - Changed glcpp-parse.[cy], glcpp.h, ir_function_inlining.cpp, and | |
| 66 ir_validate.cpp to avoid including inttypes.h on Windows. | |
| 67 | |
| 68 - Changed glapi_nop.c to generate custom OpenGL entry points rather | |
| 69 than simply installing NoOpGeneric, because with __stdcall calling | |
| 70 convention it is illegal to have a mismatch in the number of | |
| 71 arguments passed from caller to callee. | |
| 72 | |
| 73 - Guarded #define PUBLIC in compiler.h to avoid warnings about macro | |
| 74 redefinitions. | |
| 75 | |
| 76 - Changed querymatrix.c to understand availability of fpclassify on | |
| 77 Linux. | |
| 78 | |
| 79 - Guarded all usage of EGL_Y_INVERTED_NOK with EGL_NOK_texture_from_pixmap | |
| 80 so that it can be compiled against standard EGL 1.4 headers. | |
| 81 | |
| 82 - Initialized uninitialized mask variable in eglconfig.c line 245. | |
| 83 | |
| 84 - Fixed compiler warning about cast to pointer from integer of different size | |
| 85 in eglapi.c line 276. Replaced void* with EGLNativeDisplayType. | |
| 86 | |
| 87 - Suppressed spurious compiler warning from gcc in eglCompareConfig by | |
| 88 reorganizing the .h a little | |
| 89 | |
| 90 - Corrected the comparison in src/mesa/main/teximage.c line 2801 to check | |
| 91 if width > 0 && height > 0 && depth > 0, instead of checking | |
| 92 width > 0 && height > 0 && height > 0 . See | |
| 93 https://bugs.freedesktop.org/show_bug.cgi?id=37648 | |
| 94 | |
| 95 - Suppressed (accurate) compiler warnings about return type conflicts | |
| 96 from gl_apinop.c. | |
| 97 http://code.google.com/p/chromium/issues/detail?id=92568 | |
| 98 https://bugs.freedesktop.org/show_bug.cgi?id=40028 | |
| 99 | |
| 100 - Merged fix for https://bugs.freedesktop.org/show_bug.cgi?id=51574 | |
| 101 (commit b1802a2115323233352da558430e109ff187b8af) | |
| 102 | |
| 103 - Merged the replacement of memcpy() with memmove() in SHIFT_ARRAY declared in | |
| 104 s_span.c (commit a44d715d2b19dc2f8f48b01144cc38e4e2c5015a) | |
| 105 | |
| 106 - Suppressed the OOB read reported by AddressSanitizer in swizzle_for_size from | |
| 107 ir_to_mesa.cpp | |
| 108 https://code.google.com/p/chromium/issues/detail?id=139772 | |
| 109 https://bugs.freedesktop.org/show_bug.cgi?id=52996 | |
| 110 https://codereview.chromium.org/11549005/ | |
| 111 | |
| 112 - Suppressed the OOB read reported by AddressSanitizer in _mesa_add_parameter | |
| 113 from prog_parameter.c | |
| 114 http://code.google.com/p/chromium/issues/detail?id=142316 | |
| 115 https://codereview.chromium.org/11549005/ | |
| 116 | |
| 117 - Fix the compile errors on Android | |
| 118 | |
| 119 - Added constants for GL_NVX_gpu_memory_info to glext.h | |
| 120 | |
| 121 - Added constants for GL_EXT_discard_framebuffer to glext.h | |
| 122 | |
| 123 - Disabled the IEEE float optimized UNCLAMPED_FLOAT_TO_UBYTE and | |
| 124 CLAMPED_FLOAT_TO_UBYTE (src/mesa/main/macros.h) in chromium version | |
| 125 of mesa. They produce slightly different results than the | |
| 126 un-optimized versions that are used when DEBUG is defined. | |
| 127 | |
| 128 - Cleaned up redundant comparison in nvvertparse.c. | |
| OLD | NEW |