summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added depthstencil.[ch]Brian Paul2005-11-162-0/+14
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-1610-44/+32
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* added depthstencil.cBrian Paul2005-11-162-0/+4
|
* Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul2005-11-167-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 buffersBrian Paul2005-11-162-8/+59
|
* Added error checking in _tnl_Begin to detect incomplete framebuffer.Brian Paul2005-11-162-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 assertionBrian Paul2005-11-161-1/+1
|
* Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_ENDBrian Paul2005-11-163-10/+13
|
* add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul2005-11-161-0/+3
|
* fix color interpolation problem reported on VMSBrian Paul2005-11-151-64/+38
|
* check for ctx==NULL, bug 4087Brian Paul2005-11-151-1/+2
|
* Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.Brian Paul2005-11-151-4/+6
| | | | | Fix a comment typo. Remove some unneeded #includes.
* Two subtle things missed on the previous commit.Ian Romanick2005-11-151-1/+4
|
* Add the ability for interleave to test passing invalid format enumsIan Romanick2005-11-151-5/+43
| | | | and invalid stride values (see bugzilla #5058).
* Simple test of glInterleavedArrays functionality.Ian Romanick2005-11-142-0/+366
|
* remove unneeded RasterPosValid checkBrian Paul2005-11-141-4/+0
|
* Improve _mesa_print_program().Brian Paul2005-11-121-31/+354
| | | | Added make_state_string() to produce a string from a GL state vector.
* fix comment for TexSrcTargetBrian Paul2005-11-121-2/+1
|
* Added _mesa_light() helper function so we can avoid transforming thenBrian Paul2005-11-124-96/+150
| | | | | un-transforming light positions and spot directions when popping light state off the attribute stack.
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-129-15/+55
|
* update an assertionBrian Paul2005-11-121-1/+1
|
* update some assertionsBrian Paul2005-11-122-2/+2
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-1228-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 Paul2005-11-114-82/+39
| | | | | Use COPY_4FV() where possible. Added some comments, clean-ups.
* Support for "fragment program to C" and TCC has been removed from theIan Romanick2005-11-101-22/+0
| | | | | source code, so there is no reason for this config to exist. This fixes fdo bugzilla #5004.
* s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul2005-11-102-18/+26
|
* fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul2005-11-101-1/+1
|
* remove -DMESA_DEBUGBrian Paul2005-11-105-7/+7
|
* Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul2005-11-103-16/+14
| | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
* fix popping of GL_EYE_PLANE state (bug 4996)Brian Paul2005-11-091-10/+20
|
* Bug 4996.Brian Paul2005-11-095-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 Paul2005-11-091-8/+9
|
* Move COPY_FLOAT() macro down into glide driver.Brian Paul2005-11-093-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" andIan Romanick2005-11-086-992/+0
| | | | TCC experiment.
* This patch adds the missing NV_vertex_program2 and NV_vertex_program3Ian Romanick2005-11-084-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 Paul2005-11-081-1/+1
|
* remove _mesa_debug_fp_inst()Brian Paul2005-11-081-6/+2
|
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-086-26/+201
|
* remove a bunch of extension stuff that's in glxext.hBrian Paul2005-11-081-147/+5
|
* minor work in _mesa_print_program()Brian Paul2005-11-081-1/+10
|
* remove unneeded #includesBrian Paul2005-11-081-8/+2
|
* remove unneeded #includesBrian Paul2005-11-072-17/+6
|
* s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul2005-11-071-3/+3
|
* s/_mesa_debug_vp_inst/_mesa_print_program/Brian Paul2005-11-051-1/+1
|
* consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul2005-11-056-182/+131
|
* use _mesa_program_file_string() and _mesa_opcode_string()Brian Paul2005-11-052-135/+50
|
* added _mesa_program_file_string()Brian Paul2005-11-052-0/+34
|
* Use _mesa_opcode_string()Brian Paul2005-11-051-32/+9
|
* use _mesa_num_inst_src_regs() and _mesa_opcode_string()Brian Paul2005-11-051-89/+60
|
* use _mesa_num_inst_src_regs() instead of nr_args()Brian Paul2005-11-051-48/+3
|