Brian Paul
1a5f1bdb42
Use new gl_framebuffer _Depth/_StencilBuffer fields instead of
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers
around combined depth/stencil renderbuffers attached at the later points.
20 years ago
Brian Paul
909e8a7abb
added depthstencil.c
20 years ago
Brian Paul
847160466c
Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).
depthstencil.c provides wrappers for treating depth/stencil buffers either
as regular depth or stencil renderbuffers.
20 years ago
Brian Paul
06185363dd
added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffers
20 years ago
Brian Paul
c731d6223c
Added error checking in _tnl_Begin to detect incomplete framebuffer.
Set new tnl->DiscardPrimitive field to true when such error is
detected to discard the glBegin/End primitive when flushing.
Added some new comments.
20 years ago
Brian Paul
0ad64faec7
change an assertion
20 years ago
Brian Paul
738f501f73
Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_END
20 years ago
Brian Paul
62620d349b
add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()
20 years ago
Brian Paul
daeb0056df
fix color interpolation problem reported on VMS
20 years ago
Brian Paul
7edf68e081
check for ctx==NULL, bug 4087
20 years ago
Brian Paul
1e134cf7e4
Fix problem in stencil_and_ztest_span() when using h/w stencil buffer.
Fix a comment typo.
Remove some unneeded #includes.
20 years ago
Ian Romanick
5ef524cd01
Two subtle things missed on the previous commit.
20 years ago
Ian Romanick
a163256cc2
Add the ability for interleave to test passing invalid format enums
and invalid stride values (see bugzilla #5058 ).
20 years ago
Ian Romanick
e5700a1ba3
Simple test of glInterleavedArrays functionality.
20 years ago
Brian Paul
cb6b47b795
remove unneeded RasterPosValid check
20 years ago
Brian Paul
7b98b40e47
Improve _mesa_print_program().
Added make_state_string() to produce a string from a GL state vector.
20 years ago
Brian Paul
b3c095f074
fix comment for TexSrcTarget
20 years ago
Brian Paul
662fbf8a62
Added _mesa_light() helper function so we can avoid transforming then
un-transforming light positions and spot directions when popping light
state off the attribute stack.
20 years ago
Brian Paul
ba3da6154c
Added OSMesaColorClamp(), bug 4917
20 years ago
Brian Paul
e3636b4114
update an assertion
20 years ago
Brian Paul
bed8363aa6
update some assertions
20 years ago
Brian Paul
de99760bf3
Move stuff common to vertex/fragment_program into the base class, including:
Instructions, InputsRead, OutputsWritten, and Parameters.
Also, added debug functions: _mesa_print_instruction(),
_mesa_print_program_parameters() and revamp _mesa_print_program().
20 years ago
Brian Paul
77ee31930a
Make _mesa_is_proxy_texture() non-static and use in a few more places.
Use COPY_4FV() where possible.
Added some comments, clean-ups.
20 years ago
Ian Romanick
0325bc6359
Support for "fragment program to C" and TCC has been removed from the
source code, so there is no reason for this config to exist. This
fixes fdo bugzilla #5004 .
20 years ago
Brian Paul
418a7dbd75
s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments
20 years ago
Brian Paul
6297799fee
fix popping of GL_SPOT_DIRECTION (bug 5005)
20 years ago
Brian Paul
db40ebfbb7
remove -DMESA_DEBUG
20 years ago
Brian Paul
1984aabe83
Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).
Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
20 years ago
Brian Paul
a8446f72f4
fix popping of GL_EYE_PLANE state (bug 4996)
20 years ago
Brian Paul
a8717180d9
Bug 4996.
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.
20 years ago
Brian Paul
cfca72cfb1
use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992)
20 years ago
Brian Paul
8850a7e20f
Move COPY_FLOAT() macro down into glide driver.
Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as
originally intended.
20 years ago
Ian Romanick
5374e4ba7e
At keithw's request, remove all traces of the "fragment program to C" and
TCC experiment.
20 years ago
Ian Romanick
4884db6eb2
This patch adds the missing NV_vertex_program2 and NV_vertex_program3
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).
20 years ago
Brian Paul
e1a5edf083
s/_mesa_debug_fp_inst/_mesa_print_program/
20 years ago
Brian Paul
bdd80bf819
remove _mesa_debug_fp_inst()
20 years ago
Brian Paul
0bffb1192a
some initial work on upcoming GL_EXT_framebuffer_blit extension
20 years ago
Brian Paul
3e9c099088
remove a bunch of extension stuff that's in glxext.h
20 years ago
Brian Paul
02df9e1ed4
minor work in _mesa_print_program()
20 years ago
Brian Paul
832026f906
remove unneeded #includes
20 years ago
Brian Paul
beff21e7bf
remove unneeded #includes
20 years ago
Brian Paul
189bbe0b8c
s/_mesa_debug_fp_inst/_mesa_print_program/
20 years ago
Brian Paul
c657d8e3e4
s/_mesa_debug_vp_inst/_mesa_print_program/
20 years ago
Brian Paul
30d6a4bffa
consolidate vertex/fragment program printing into _mesa_print_program()
20 years ago
Brian Paul
237dae74f7
use _mesa_program_file_string() and _mesa_opcode_string()
20 years ago
Brian Paul
bf41bc03c2
added _mesa_program_file_string()
20 years ago
Brian Paul
b7c87974b3
Use _mesa_opcode_string()
20 years ago
Brian Paul
c289f48342
use _mesa_num_inst_src_regs() and _mesa_opcode_string()
20 years ago
Brian Paul
b88fb724e6
use _mesa_num_inst_src_regs() instead of nr_args()
20 years ago
Brian Paul
1fcdaf1c3b
added _mesa_num_inst_src_regs() and _mesa_opcode_string()
20 years ago