Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix program refcounting assertion failure during context tear-down | Brian Paul | 2008-05-19 | 1 | -22/+24 |
| | | | | | | | | | | 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 tabl cherry-picked from master | ||||
* | alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935) | Brian Paul | 2008-05-18 | 3 | -152/+100 |
| | | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931) | ||||
* | mesa: free shader program data before deleting shader objects. | Brian | 2008-05-06 | 1 | -0/+16 |
| | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits. | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 3 | -24/+38 |
| | | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed... | ||||
* | mesa: comments, whitespace | Brian | 2008-05-06 | 1 | -24/+19 |
| | |||||
* | fix _mesa_ffs for alternative compilers | Alan Hourihane | 2008-05-05 | 1 | -19/+17 |
| | |||||
* | Fix build problem with MSVC | Alan Hourihane | 2008-05-01 | 1 | -3/+7 |
| | |||||
* | 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: added _mesa_scale_and_bias_depth_uint() | Brian Paul | 2008-04-29 | 2 | -0/+18 |
| | |||||
* | gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/ | Brian Paul | 2008-04-25 | 2 | -4/+4 |
| | |||||
* | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | 2008-04-24 | 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. | ||||
* | mesa: no longer combine vertex/fragment shader parameters/uniforms | Brian | 2008-04-04 | 1 | -3/+5 |
| | | | | | | | GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking. | ||||
* | Alias glStencilOpSeparateATI with glStencilOpSeparate. | Brian | 2008-04-04 | 3 | -76/+29 |
| | |||||
* | Finish up ATI_separate_stencil | Brian | 2008-04-04 | 4 | -768/+757 |
| | | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c | ||||
* | add missing _mesa_StencilFuncSeparateATI function | Roland Scheidegger | 2008-04-04 | 2 | -0/+77 |
| | |||||
* | mesa: fix texture/renderbuffer mix-up in test_attachment_completeness() | Brian Paul | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | delete default programs with ctx->Driver.DeleteProgram() | Brian | 2008-03-22 | 1 | -2/+2 |
| | |||||
* | 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 driv er routine. cherry-picked from Mesa/master. | ||||
* | add a number of PBO validate/map/unmap functions | Brian Paul | 2008-03-21 | 2 | -4/+222 |
| | | | | | Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master | ||||
* | 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. | ||||
* | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | 2008-03-14 | 1 | -3/+4 |
| | |||||
* | fix Height2/Depth2 init problem when using texture borders | Brian | 2008-03-10 | 1 | -6/+17 |
| | |||||
* | Remove files of unsupported build systems. | José Fonseca | 2008-02-25 | 1 | -221/+0 |
| | |||||
* | gallium: take pitch/stride into account in mipmap generation | Brian | 2008-02-11 | 2 | -32/+55 |
| | |||||
* | code refactoring, new next_mipmap_level_size() function | Brian | 2008-02-11 | 1 | -25/+50 |
| | |||||
* | added _mesa_tex_target_to_face() | Brian | 2008-02-11 | 2 | -7/+18 |
| | |||||
* | refactor code, export _mesa_generate_mipmap_level() | Brian | 2008-02-11 | 2 | -42/+67 |
| | |||||
* | move _mesa_format_to_type_and_comps() to texformat.c | Brian | 2008-02-11 | 3 | -167/+178 |
| | |||||
* | reorder cases in do_row() | Brian | 2008-02-11 | 1 | -168/+173 |
| | |||||
* | re-indent do_row() | Brian | 2008-02-11 | 1 | -306/+288 |
| | |||||
* | checkpoint- consolidation in do_row() | Brian | 2008-02-11 | 1 | -26/+16 |
| | |||||
* | checkpoint- remove dependencies on gl_texture_format to make code re-usable ↵ | Brian | 2008-02-11 | 1 | -158/+266 |
| | | | | by state tracker | ||||
* | Remove unused texunit parameter to ctx->Driver.GenerateMipmap() | Brian | 2008-02-08 | 5 | -29/+10 |
| | |||||
* | Added ctx->Driver.GenerateMipmap() driver hook | Brian | 2008-02-06 | 3 | -25/+32 |
| | |||||
* | use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵ | Brian | 2008-01-18 | 2 | -2/+2 |
| | | | | immediates/literals | ||||
* | fix mem leak (free key) | Brian | 2008-01-01 | 1 | -5/+5 |
| | |||||
* | free Default1D/2DArray objects | Brian | 2008-01-01 | 1 | -2/+10 |
| | |||||
* | set SamplerUnit[] entry in load_texture() just to be safe | Brian | 2007-12-14 | 1 | -0/+4 |
| | |||||
* | set program->SamplersUsed bit when using a texture instruction | Brian | 2007-12-14 | 1 | -1/+3 |
| | |||||
* | prefix some #includes | Brian | 2007-12-11 | 1 | -5/+5 |
| | |||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 3 | -5/+18 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | Fix endianness bug in _mesa_texstore_argb8888() | Brian | 2007-12-05 | 1 | -13/+15 |
| | | | | | On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results. Also, clean-up nearby code to match. | ||||
* | in check_end_texture_render(), test for presence of a renderbuffer and texobj | Brian | 2007-11-08 | 1 | -2/+1 |
| | |||||
* | Determine GL extensions/limits by making pipe queries. | Brian | 2007-11-05 | 1 | -1/+1 |
| | | | | | | The state tracker calls pipe->get_param() to determine the GL limits and which OpenGL extensions are supported. This is an initial implementation that'll probably change... | ||||
* | no-op glCopyPixels if width or height is zero | Brian | 2007-11-05 | 1 | -1/+1 |
| | |||||
* | disable the driverContext assertions | Brian | 2007-11-01 | 1 | -2/+2 |
| | |||||
* | Update texenvprogram.c code to use prog_cache.c routines. | Brian | 2007-10-31 | 4 | -155/+9 |
| | |||||
* | more flags for MaintainTnlProgram case, update #includes | Brian | 2007-10-31 | 1 | -2/+4 |
| | |||||
* | Use ffvertex_prog.c code instead of t_vp_build.c code. | Brian | 2007-10-31 | 1 | -0/+2 |
| | |||||
* | Lift fixed function vertex program generation up from tnl module. | Brian | 2007-10-31 | 2 | -0/+1588 |
| |