Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove #include arbfragparse.h, s/PI/M_PI/ | Brian Paul | 2005-11-19 | 1 | -9/+4 |
| | |||||
* | Remove the _mesa_parse_arb_vertex/fragment_program() functions into | Brian Paul | 2005-11-19 | 12 | -445/+264 |
| | | | | | | | arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used. | ||||
* | update comments, remove ^M chars | Brian Paul | 2005-11-19 | 1 | -12/+7 |
| | |||||
* | move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.h | Brian Paul | 2005-11-19 | 2 | -81/+82 |
| | |||||
* | Try to detect when native support to given texture width is not available. | Aapo Tahkola | 2005-11-18 | 1 | -0/+8 |
| | |||||
* | Fix typo causing secondary color not to work properly. | Aapo Tahkola | 2005-11-18 | 1 | -1/+1 |
| | |||||
* | Reduce stderr noise. | Aapo Tahkola | 2005-11-18 | 1 | -2/+2 |
| | |||||
* | In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation. | Brian Paul | 2005-11-18 | 1 | -43/+13 |
| | | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries. | ||||
* | move _mesa_update_state() calls before error tests that depend on ↵ | Brian Paul | 2005-11-17 | 1 | -11/+11 |
| | | | | framebuffer completeness | ||||
* | optimize drawing GL_DEPTH_STENCIL pixels into a GL_DEPTH_STENCIL renderbuffer | Brian Paul | 2005-11-17 | 1 | -67/+99 |
| | |||||
* | s/MEMCPY/_mesa_memcpy/ and fix typo | Brian Paul | 2005-11-17 | 1 | -5/+5 |
| | |||||
* | optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵ | Brian Paul | 2005-11-17 | 1 | -28/+61 |
| | | | | renderbuffer | ||||
* | improved error checking in error_check_format_type() | Brian Paul | 2005-11-17 | 1 | -6/+6 |
| | |||||
* | Fixes for x86_64 Unichrome. | Thomas Hellström | 2005-11-16 | 5 | -19/+26 |
| | |||||
* | Bring in last minute 6_4 branch changes to the unichrome driver | Thomas Hellström | 2005-11-16 | 11 | -256/+95 |
| | | | | to the trunk. | ||||
* | additional comments about GL_DEPTH_STENCIL buffers | Brian Paul | 2005-11-16 | 1 | -2/+9 |
| | |||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 10 | -44/+32 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | added depthstencil.c | Brian Paul | 2005-11-16 | 2 | -0/+4 |
| | |||||
* | Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). | Brian Paul | 2005-11-16 | 7 | -23/+740 |
| | | | | | depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers. | ||||
* | added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffers | Brian Paul | 2005-11-16 | 2 | -8/+59 |
| | |||||
* | Added error checking in _tnl_Begin to detect incomplete framebuffer. | Brian Paul | 2005-11-16 | 2 | -5/+37 |
| | | | | | | Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments. | ||||
* | change an assertion | Brian Paul | 2005-11-16 | 1 | -1/+1 |
| | |||||
* | Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_END | Brian Paul | 2005-11-16 | 3 | -10/+13 |
| | |||||
* | add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error() | Brian Paul | 2005-11-16 | 1 | -0/+3 |
| | |||||
* | fix color interpolation problem reported on VMS | Brian Paul | 2005-11-15 | 1 | -64/+38 |
| | |||||
* | check for ctx==NULL, bug 4087 | Brian Paul | 2005-11-15 | 1 | -1/+2 |
| | |||||
* | Fix problem in stencil_and_ztest_span() when using h/w stencil buffer. | Brian Paul | 2005-11-15 | 1 | -4/+6 |
| | | | | | Fix a comment typo. Remove some unneeded #includes. | ||||
* | remove unneeded RasterPosValid check | Brian Paul | 2005-11-14 | 1 | -4/+0 |
| | |||||
* | Improve _mesa_print_program(). | Brian Paul | 2005-11-12 | 1 | -31/+354 |
| | | | | Added make_state_string() to produce a string from a GL state vector. | ||||
* | fix comment for TexSrcTarget | Brian Paul | 2005-11-12 | 1 | -2/+1 |
| | |||||
* | Added _mesa_light() helper function so we can avoid transforming then | Brian Paul | 2005-11-12 | 4 | -96/+150 |
| | | | | | un-transforming light positions and spot directions when popping light state off the attribute stack. | ||||
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 8 | -13/+44 |
| | |||||
* | update an assertion | Brian Paul | 2005-11-12 | 1 | -1/+1 |
| | |||||
* | update some assertions | Brian Paul | 2005-11-12 | 2 | -2/+2 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 28 | -311/+316 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | Make _mesa_is_proxy_texture() non-static and use in a few more places. | Brian Paul | 2005-11-11 | 4 | -82/+39 |
| | | | | | Use COPY_4FV() where possible. Added some comments, clean-ups. | ||||
* | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | 2005-11-10 | 2 | -18/+26 |
| | |||||
* | fix popping of GL_SPOT_DIRECTION (bug 5005) | Brian Paul | 2005-11-10 | 1 | -1/+1 |
| | |||||
* | Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). | Brian Paul | 2005-11-10 | 3 | -16/+14 |
| | | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead. | ||||
* | fix popping of GL_EYE_PLANE state (bug 4996) | Brian Paul | 2005-11-09 | 1 | -10/+20 |
| | |||||
* | Bug 4996. | Brian Paul | 2005-11-09 | 5 | -42/+40 |
| | | | | | Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc. | ||||
* | use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992) | Brian Paul | 2005-11-09 | 1 | -8/+9 |
| | |||||
* | Move COPY_FLOAT() macro down into glide driver. | Brian Paul | 2005-11-09 | 3 | -16/+16 |
| | | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended. | ||||
* | At keithw's request, remove all traces of the "fragment program to C" and | Ian Romanick | 2005-11-08 | 6 | -992/+0 |
| | | | | TCC experiment. | ||||
* | This patch adds the missing NV_vertex_program2 and NV_vertex_program3 | Ian Romanick | 2005-11-08 | 4 | -45/+58 |
| | | | | | | | | | | | | | | | | instructions to the various internal tables. It does not add support for them to the parser nor does it add support for them to the program interpreter. It also corrects some errors in the comments in program_instruction.h. This patch breaks the instruction union in t_vb_arbprogram.h. The opcode field in that union was only 6 bits. When there were only 59+3 instructions that worked fine. However, this patch increases the base instruction count to 69. This requires 7 bits. The problem is that increasing the opcode width to 7 bits increases the size of instruction::rsw to 33 bits. I've increased the size of the union to 64-bit, but this is just a temporary hack (and probably breaks the build on some systems). | ||||
* | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | 2005-11-08 | 1 | -1/+1 |
| | |||||
* | remove _mesa_debug_fp_inst() | Brian Paul | 2005-11-08 | 1 | -6/+2 |
| | |||||
* | some initial work on upcoming GL_EXT_framebuffer_blit extension | Brian Paul | 2005-11-08 | 6 | -26/+201 |
| | |||||
* | minor work in _mesa_print_program() | Brian Paul | 2005-11-08 | 1 | -1/+10 |
| | |||||
* | remove unneeded #includes | Brian Paul | 2005-11-08 | 1 | -8/+2 |
| |