summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: comments, whitespaceBrian2008-05-061-24/+19
|
* fix _mesa_ffs for alternative compilersAlan Hourihane2008-05-051-19/+17
|
* Fix build problem with MSVCAlan Hourihane2008-05-011-3/+7
|
* Add support for GL_REPLACE_EXT texture env mode.Brian Paul2008-04-301-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 Paul2008-04-292-0/+18
|
* gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul2008-04-252-4/+4
|
* mesa: adjust glBitmap coords by a small epsilonBrian Paul2008-04-241-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/uniformsBrian2008-04-041-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.Brian2008-04-043-76/+29
|
* Finish up ATI_separate_stencilBrian2008-04-044-768/+757
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger2008-04-042-0/+77
|
* mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()Brian Paul2008-03-281-1/+1
|
* delete default programs with ctx->Driver.DeleteProgram()Brian2008-03-221-2/+2
|
* Refactor PBO validate/map code.Brian2008-03-213-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 functionsBrian Paul2008-03-212-4/+222
| | | | | Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
* Fix some PBO breakage.Brian2008-03-212-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 sizeBrian Paul2008-03-141-3/+4
|
* fix Height2/Depth2 init problem when using texture bordersBrian2008-03-101-6/+17
|
* Remove files of unsupported build systems.José Fonseca2008-02-251-221/+0
|
* gallium: take pitch/stride into account in mipmap generationBrian2008-02-112-32/+55
|
* code refactoring, new next_mipmap_level_size() functionBrian2008-02-111-25/+50
|
* added _mesa_tex_target_to_face()Brian2008-02-112-7/+18
|
* refactor code, export _mesa_generate_mipmap_level()Brian2008-02-112-42/+67
|
* move _mesa_format_to_type_and_comps() to texformat.cBrian2008-02-113-167/+178
|
* reorder cases in do_row()Brian2008-02-111-168/+173
|
* re-indent do_row()Brian2008-02-111-306/+288
|
* checkpoint- consolidation in do_row()Brian2008-02-111-26/+16
|
* checkpoint- remove dependencies on gl_texture_format to make code re-usable ↵Brian2008-02-111-158/+266
| | | | by state tracker
* Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-02-085-29/+10
|
* Added ctx->Driver.GenerateMipmap() driver hookBrian2008-02-063-25/+32
|
* use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian2008-01-182-2/+2
| | | | immediates/literals
* fix mem leak (free key)Brian2008-01-011-5/+5
|
* free Default1D/2DArray objectsBrian2008-01-011-2/+10
|
* set SamplerUnit[] entry in load_texture() just to be safeBrian2007-12-141-0/+4
|
* set program->SamplersUsed bit when using a texture instructionBrian2007-12-141-1/+3
|
* prefix some #includesBrian2007-12-111-5/+5
|
* Rework gallium and mesa queries a little.Keith Whitwell2007-12-113-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()Brian2007-12-051-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 texobjBrian2007-11-081-2/+1
|
* Determine GL extensions/limits by making pipe queries.Brian2007-11-051-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 zeroBrian2007-11-051-1/+1
|
* disable the driverContext assertionsBrian2007-11-011-2/+2
|
* Update texenvprogram.c code to use prog_cache.c routines.Brian2007-10-314-155/+9
|
* more flags for MaintainTnlProgram case, update #includesBrian2007-10-311-2/+4
|
* Use ffvertex_prog.c code instead of t_vp_build.c code.Brian2007-10-311-0/+2
|
* Lift fixed function vertex program generation up from tnl module.Brian2007-10-312-0/+1588
|
* alloc caches for fixed-func vertex/fragment progsBrian2007-10-311-0/+7
|
* Set _NEW_BUFFERS in glRead/DrawBuffer().Brian2007-10-302-3/+3
| | | | | | | | | Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
* Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().Brian2007-10-291-52/+74
|
* Remove ctx field from texenvprog_cacheBrian2007-10-292-13/+11
|