Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Move src/mesa/glapi/dispatch.h to mesa. | Chia-I Wu | 2010-02-25 | 23 | -23/+60 |
| | | | | | | glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table. | ||||
* | glapi: Move src/mesa/main/dispatch.c to glapi and rename. | Chia-I Wu | 2010-02-25 | 2 | -99/+0 |
| | | | | | | main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c. | ||||
* | mesa: Remove unused Makefile.{ugl,win}. | Chia-I Wu | 2010-02-25 | 2 | -572/+0 |
| | |||||
* | mesa: Remove dead error condition. | Vinson Lee | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | mesa: Fix SCons build. | Vinson Lee | 2010-02-24 | 1 | -2/+2 |
| | |||||
* | mesa: put declaration before code | Brian Paul | 2010-02-24 | 1 | -1/+1 |
| | |||||
* | core: Implement GL_OES_EGL_image entry points | Kristian Høgsberg | 2010-02-24 | 6 | -0/+83 |
| | |||||
* | glapi: GL_OES_EGL_image autogenerated files | Kristian Høgsberg | 2010-02-24 | 1 | -1150/+1167 |
| | |||||
* | mesa: Assert that array index is not negative. | Vinson Lee | 2010-02-23 | 1 | -0/+1 |
| | |||||
* | mesa: Add assert to check for null pointer dereference. | Vinson Lee | 2010-02-21 | 1 | -2/+6 |
| | |||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 3 | -4/+20 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | mesa: casts to silence new warnings from printf() | Brian Paul | 2010-02-19 | 1 | -2/+2 |
| | |||||
* | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | 2010-02-19 | 1 | -11/+0 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 20 | -262/+185 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 31 | -227/+197 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 7 | -22/+8 |
| | |||||
* | mesa: replace old MEMSET macro with memset | Brian Paul | 2010-02-19 | 3 | -6/+3 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 7 | -64/+62 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 4 | -17/+3 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memset in favor of plain memset. | Kenneth Graunke | 2010-02-19 | 7 | -23/+9 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 15 | -76/+62 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_atoi in favor of plain atoi. | Kenneth Graunke | 2010-02-19 | 2 | -11/+1 |
| | |||||
* | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | 2010-02-19 | 2 | -10/+0 |
| | |||||
* | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | 2010-02-19 | 4 | -13/+3 |
| | |||||
* | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | 2010-02-19 | 5 | -18/+8 |
| | |||||
* | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | 2010-02-19 | 3 | -11/+1 |
| | |||||
* | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | 2010-02-19 | 2 | -12/+2 |
| | |||||
* | Remove _mesa_strncat in favor of plain strncat. | Kenneth Graunke | 2010-02-19 | 2 | -10/+0 |
| | |||||
* | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | 2010-02-19 | 3 | -14/+4 |
| | |||||
* | mesa: Lock mutex around _mesa_HashLookup linked list chase. | Brian Paul | 2010-02-16 | 2 | -3/+6 |
| | | | | | | | | | Remove const qualifier from _mesa_HashLookup() table parameter to avoid LOCK/UNLOCK warnings in the function body. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a) | ||||
* | mesa: Test for failed malloc in _mesa_HashInsert. | Brian Paul | 2010-02-16 | 1 | -4/+6 |
| | | | | | | Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 7c7247ddbf6e3f7f93e44c1cb52490044f1a2215) | ||||
* | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | 2010-02-14 | 1 | -5/+11 |
| | | | | | | | | | __builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case. | ||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 4 | -17/+17 |
| | | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | ||||
* | mesa: enable GL_ARB_fragment_coord_conventions for sw drivers | Brian Paul | 2010-02-13 | 1 | -2/+2 |
| | | | | | This extension is now implemented in the GLSL compiler so it can be enabled by other drivers where applicable. | ||||
* | mesa: Export GL_EXT_texture_cube_map. | José Fonseca | 2010-02-13 | 1 | -0/+1 |
| | | | | Still used by some applications. | ||||
* | mesa: s/abort/sys.exit/ | Vinson Lee | 2010-02-13 | 1 | -1/+2 |
| | | | | Python does not have the function abort. | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-02-12 | 2 | -2/+0 |
| | |||||
* | main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵ | Karl Schultz | 2010-02-11 | 1 | -2/+2 |
| | | | | | | just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines. | ||||
* | mesa: additional constant/limit assertions | Brian Paul | 2010-02-11 | 1 | -0/+5 |
| | |||||
* | mesa: move all limit/constant assertions into check_context_limits() | Brian Paul | 2010-02-09 | 1 | -30/+30 |
| | |||||
* | Merge branch 'gallium-nopointsizeminmax' | Roland Scheidegger | 2010-02-09 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c | ||||
| * | gallium: add point size clamp to implementation limits in vertex shader | Roland Scheidegger | 2010-02-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point size min/max registers (unused by mesa state tracker) were removed since most hardware couldn't do much with them. However, we don't want to have to rely on hw to do point size clamping correctly to implementation dependent limits, hence have to do that in the vertex shader. This should also solve a potential problem with (non-AA) points smaller than 1.0 which according to OGL still have size 1.0. Note that OGL point rendering is odd, in particular point sprites are rasterized differently to points. Some hardware might support those different modes, but in any case the different clamping values used for smooth/multisampled/sprite enabled points might help a bit for hw which rasterizes points the same as point sprites. Also tweak mesa's ff to vertex shader translation so don't have to clamp twice in case of point attenuation. | ||||
* | | Retire miniglx and move the actual glx code up to src/glx | Kristian Høgsberg | 2010-02-09 | 1 | -1/+1 |
| | | |||||
* | | mesa: add back-door support for cylindrical texture wrap mode | Brian Paul | 2010-02-09 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP flag. The gallium state tracker will look for this flag. This feature is only for testing purposes and may be remove at some point. But if it's useful we could write a GL/Mesa extension to expose it properly. | ||||
* | | mesa: Enable true refcounting for NullBufferObj. | Michal Krol | 2010-02-09 | 6 | -8/+26 |
| | | | | | | | | | | | | | | | | This object can be shared with another context, so we cannot just delete it when the owning context is being destroyed. Ensuring that buffer objects are properly refcounted guarantees NullBufferObj is destroyed when all references to it are removed. | ||||
* | | mesa: Protect buffer objects reference counting with a mutex. | Michal Krol | 2010-02-09 | 2 | -4/+7 |
| | | |||||
* | | mesa: Fix null buffer object reference counting. | José Fonseca | 2010-02-09 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | Always use _mesa_reference_buffer_object, and never call ctx->Driver.DeleteBuffer() directly to prevent dangling pointers to the null buffer object. This fixes crash/assertions in sharedtex_mt and Autodesk Mudbox. | ||||
* | | mesa: Always do proper ref counting of shared state. | José Fonseca | 2010-02-09 | 3 | -23/+34 |
| | | |||||
* | | mesa: Fix mesa_next_pow_two to return same value if parameter is pow2. | Pauli Nieminen | 2010-02-07 | 1 | -3/+5 |
| | | | | | | | | | | Without subtracting one pow2 value would be rounded up to next pow2 which is not correct behaviour for the function. | ||||
* | | mesa/main: Add function to find next higher power of two. | Pauli Nieminen | 2010-02-06 | 1 | -0/+46 |
| | | | | | | | | | | | | | | | | | | With gcc implementation uses __builtin_clr which counts number of leading zeros. Fallback implementation uses bit manipulation. First it duplicates the highest bit to all lower bits and then adds one to get the power of two number. |