summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-16added depthstencil.[ch]Brian Paul
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
2005-11-16added depthstencil.cBrian Paul
2005-11-16Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul
depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
2005-11-16added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul
2005-11-16Added error checking in _tnl_Begin to detect incomplete framebuffer.Brian Paul
Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments.
2005-11-16change an assertionBrian Paul
2005-11-16Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_ENDBrian Paul
2005-11-16add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul
2005-11-15fix color interpolation problem reported on VMSBrian Paul
2005-11-15check for ctx==NULL, bug 4087Brian Paul
2005-11-15Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.Brian Paul
Fix a comment typo. Remove some unneeded #includes.
2005-11-15Two subtle things missed on the previous commit.Ian Romanick
2005-11-15Add the ability for interleave to test passing invalid format enumsIan Romanick
and invalid stride values (see bugzilla #5058).
2005-11-14Simple test of glInterleavedArrays functionality.Ian Romanick
2005-11-14remove unneeded RasterPosValid checkBrian Paul
2005-11-12Improve _mesa_print_program().Brian Paul
Added make_state_string() to produce a string from a GL state vector.
2005-11-12fix comment for TexSrcTargetBrian Paul
2005-11-12Added _mesa_light() helper function so we can avoid transforming thenBrian Paul
un-transforming light positions and spot directions when popping light state off the attribute stack.
2005-11-12Added OSMesaColorClamp(), bug 4917Brian Paul
2005-11-12update an assertionBrian Paul
2005-11-12update some assertionsBrian Paul
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-11Make _mesa_is_proxy_texture() non-static and use in a few more places.Brian Paul
Use COPY_4FV() where possible. Added some comments, clean-ups.
2005-11-10Support for "fragment program to C" and TCC has been removed from theIan Romanick
source code, so there is no reason for this config to exist. This fixes fdo bugzilla #5004.
2005-11-10s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul
2005-11-10fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul
2005-11-10remove -DMESA_DEBUGBrian Paul
2005-11-10Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul
Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
2005-11-09fix popping of GL_EYE_PLANE state (bug 4996)Brian Paul
2005-11-09Bug 4996.Brian Paul
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.
2005-11-09use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)Brian Paul
2005-11-09Move COPY_FLOAT() macro down into glide driver.Brian Paul
Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
2005-11-08At keithw's request, remove all traces of the "fragment program to C" andIan Romanick
TCC experiment.
2005-11-08This patch adds the missing NV_vertex_program2 and NV_vertex_program3Ian Romanick
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).
2005-11-08s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul
2005-11-08remove _mesa_debug_fp_inst()Brian Paul
2005-11-08some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul
2005-11-08remove a bunch of extension stuff that's in glxext.hBrian Paul
2005-11-08minor work in _mesa_print_program()Brian Paul
2005-11-08remove unneeded #includesBrian Paul
2005-11-07remove unneeded #includesBrian Paul
2005-11-07s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul
2005-11-05s/_mesa_debug_vp_inst/_mesa_print_program/Brian Paul
2005-11-05consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul
2005-11-05use _mesa_program_file_string() and _mesa_opcode_string()Brian Paul
2005-11-05added _mesa_program_file_string()Brian Paul
2005-11-05Use _mesa_opcode_string()Brian Paul
2005-11-05use _mesa_num_inst_src_regs() and _mesa_opcode_string()Brian Paul
2005-11-05use _mesa_num_inst_src_regs() instead of nr_args()Brian Paul