Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: check for OpenBSD (bug 15604) | Brian Paul | 2008-07-09 | 1 | -1/+7 |
| | |||||
* | mesa: remove debug codemesa_7_1_rc3 | Brian Paul | 2008-07-08 | 1 | -1/+0 |
| | |||||
* | bump version to rc3 | Brian Paul | 2008-07-08 | 1 | -1/+1 |
| | |||||
* | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | 2008-07-08 | 2 | -5/+4 |
| | | | | The old implementation could overwrite the caller's param buffer. | ||||
* | mesa: bump version to rc2mesa_7_1_rc2 | Brian Paul | 2008-07-08 | 1 | -1/+1 |
| | |||||
* | Enable TexGen based on InputsRead when a fragment program is active | Nicolai Haehnle | 2008-07-04 | 1 | -10/+18 |
| | | | | | | | The old behaviour depended on which texture images the fragment program reads from, which seems to contradict the shader specifications. Note: Piglit's general/texgen test checks for this problem. | ||||
* | mesa: remove incorrect assertion | Brian Paul | 2008-07-04 | 1 | -1/+0 |
| | |||||
* | mesa: fix some error codes in _mesa_ShaderSourceARB() | Brian Paul | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | mesa: fix problem freeing framebuffer/renderbuffer objects | Brian Paul | 2008-07-03 | 3 | -4/+29 |
| | | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer objects. | ||||
* | mesa: fix vertex array validation test for attribute 0 (vert pos) | Brian Paul | 2008-07-02 | 1 | -11/+12 |
| | | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader. | ||||
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 3 | -1/+19 |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | ||||
* | VBO: Regenerate files based on recent changes to gl_API.xml | Ian Romanick | 2008-07-02 | 1 | -2939/+2935 |
| | | | | | Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous. | ||||
* | Solaris port of Mesa 7.1 with autoconf support | Alan Coopersmith | 2008-06-21 | 2 | -5/+41 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT ↵ | Brian Paul | 2008-06-17 | 2 | -3/+3 |
| | | | | for Z unpacking | ||||
* | mesa: make mm.c use unsigned ints for offsets. | Dave Airlie | 2008-06-17 | 2 | -6/+7 |
| | | | | | If you have a GPU using this code and it has the offsets up in this space, this fails. | ||||
* | texenvprogram: Mark textures using ARB_shadow as ShadowSamplers | Nicolai Haehnle | 2008-06-14 | 1 | -2/+6 |
| | | | | | | | Since ARB_fragment_program and friends are defined to ignore the setting of the GL_TEXTURE_COMPARE_FUNC parameter, we have to explicitly enable the shadow comparison by marking the texture unit in ShadowSamplers when appropriate. | ||||
* | [texenvprogram] Fix refcounting-related memory leak. | Nicolai Haehnle | 2008-06-02 | 1 | -1/+2 |
| | | | | | | | | All newly created programs have RefCount == 1, but the fragment program cache added an additional reference in cache_item, with the result being that none of the programs were ever freed. Solve the problem by not creating the additional reference in cache_item. | ||||
* | Use the GLuint64EXT type defined by GL_EXT_timer_query | Brian Paul | 2008-05-29 | 1 | -11/+6 |
| | | | | Removes some compiler #ifdef stuff. | ||||
* | set version string to 7.1 rc1 | Brian Paul | 2008-05-27 | 1 | -1/+1 |
| | |||||
* | Fix program refcounting assertion failure during context tear-down | Brian Paul | 2008-05-19 | 1 | -6/+8 |
| | | | | | | | | When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tables. | ||||
* | Updated GLSL uniform/sampler handling from gallium-0.1 branch | Brian Paul | 2008-05-14 | 2 | -3/+12 |
| | | | | | | | | | | Previously, the shader linker combined the uniforms used by the vertex and fragment shaders into a combined set of uniforms. This made the implementation of glUniform*() simple, but was rather inefficient otherwise. Now each shader gets its own set of uniforms (no more modelview matrix showing up in the fragment shader uniforms, for example). cherry-picked by hand from gallium-0.1 branch | ||||
* | Revert "mesa/intel: map/unmap texture objects around mipmap generation ↵ | Dave Airlie | 2008-05-09 | 1 | -6/+0 |
| | | | | | | | | function." This reverts commit c50ffc4cb89b67ae59208eb72cdb664c846ba987. I'll fix this using the mipmap hooks I just picked from gallium-0.1 | ||||
* | Remove unused texunit parameter to ctx->Driver.GenerateMipmap() | Brian | 2008-05-09 | 5 | -29/+10 |
| | | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7) | ||||
* | Added ctx->Driver.GenerateMipmap() driver hook | Dave Airlie | 2008-05-09 | 3 | -25/+32 |
| | | | | | | | | (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c | ||||
* | mesa/intel: map/unmap texture objects around mipmap generation function. | Dave Airlie | 2008-05-09 | 1 | -0/+6 |
| | | | | | This at least stops the compiz brain explosion we were seeing, I do wonder though if we should somehow be calling intel_generate_mipmap somehow. | ||||
* | fix refcounting bugs in tnl/tex program caches | Brian Paul | 2008-05-07 | 2 | -33/+38 |
| | |||||
* | implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 3 | -21/+37 |
| | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | ||||
* | Add support for ATI_separate_stencil in display lists. | Michal Wajdeczko | 2008-05-06 | 1 | -0/+33 |
| | |||||
* | fix conversion of GLfloat display list IDs | Brian Paul | 2008-05-01 | 1 | -21/+24 |
| | | | | | | Use floor() to convert to int (per Mark Kildard and the SI). Also, change translate_id() to return a signed integer since we may be offsetting from GL_LIST_BASE. | ||||
* | Add support for GL_REPLACE_EXT texture env mode. | Brian Paul | 2008-04-30 | 1 | -1/+6 |
| | | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately. | ||||
* | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | 2008-04-29 | 1 | -2/+3 |
| | | | | | | | | Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. Cherry picked from gallium-0.1 branch | ||||
* | drop stray includes of glapi | George Sapountzis | 2008-04-23 | 1 | -1/+0 |
| | |||||
* | glcore: drop outdated sources files intented for xorg | George Sapountzis | 2008-04-23 | 1 | -138/+0 |
| | |||||
* | glcore: build from mesa | George Sapountzis | 2008-04-23 | 1 | -5/+0 |
| | |||||
* | only use __x86_64__, not __amd64__ (bug 15503) | Brian Paul | 2008-04-14 | 1 | -1/+1 |
| | |||||
* | comments | Brian Paul | 2008-04-11 | 1 | -2/+7 |
| | |||||
* | fix mistakenly set ATIFragmentShader._Enabled bit (bug 15269) | Roland Scheidegger | 2008-04-01 | 1 | -1/+1 |
| | |||||
* | mesa: Free all shader program data before deleting all | Xiang, Haihao | 2008-03-31 | 1 | -0/+16 |
| | | | | shader/shader program objects to avoid memory access error. | ||||
* | Revert "mesa: separate shader program object from shader object." (bug#15244) | Xiang, Haihao | 2008-03-31 | 2 | -17/+9 |
| | | | | This reverts commit 3ffd11f71d021f672b9bc15b3c39c155a0e2fecb. | ||||
* | fix texture/renderbuffer mix-up in test_attachment_completeness() | Brian | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | implement glGet/BindAttribLocationARB() for display lists | Brian | 2008-03-25 | 1 | -0/+26 |
| | | | | More such shader functions are needed... | ||||
* | add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file | Brian | 2008-03-24 | 2 | -0/+65 |
| | |||||
* | delete default programs with ctx->Driver.DeleteProgram() | Brian | 2008-03-22 | 1 | -2/+2 |
| | |||||
* | [win32] Use native aligned memory allocation functions. | Michal Wajdeczko | 2008-03-21 | 1 | -0/+18 |
| | |||||
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 3 | -76/+74 |
| | | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine. | ||||
* | include varray.h to silence warning | Brian | 2008-03-21 | 1 | -1/+1 |
| | |||||
* | add a number of PBO validate/map/unmap functions | Brian | 2008-03-21 | 2 | -4/+222 |
| | | | | Helper functions for (some) drivers, including swrast. | ||||
* | Fix some PBO breakage. | Brian | 2008-03-21 | 2 | -11/+6 |
| | | | | | In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage. | ||||
* | fix IEEE_ONE definition for ICC compiler (bug 15134) | Brian | 2008-03-19 | 1 | -3/+3 |
| | |||||
* | Fix compat implementation of ffs() to return 1-based bit numbers. | Andrzej Trznadel | 2008-03-17 | 1 | -0/+1 |
| |