Keith Whitwell
35ee4affc5
switch remaining drivers over to vbo
19 anos atrás
Keith Whitwell
851d15ef3a
disable vtxfmt_a code, switch over to vbo
19 anos atrás
Keith Whitwell
80c88304fc
remove vtxfmt code, switch over to vbo
19 anos atrás
Keith Whitwell
70dd0126bd
pickup structs from vbo.h
19 anos atrás
Keith Whitwell
1f07439fe8
move public structure definitions to vbo.h
19 anos atrás
Keith Whitwell
f2eb6434ab
cleanup code, compiles with vbo changes
19 anos atrás
Keith Whitwell
a1a8a2c024
oops, get.c is autogenerated
19 anos atrás
Keith Whitwell
fd2756006a
Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that our
NV_vertex_program implementation has slightly incorrect aliasing
behaviour. I think this is reasonable given the simplification and
the fact that the mainstream ARB_vp continues to have the correct
behaviour.
19 anos atrás
Keith Whitwell
e8abd098b3
Remove wakeup functions. This code is intended to be active all the
time.
19 anos atrás
Keith Whitwell
48f5deab94
switch several dri drivers over
19 anos atrás
Keith Whitwell
99efde461d
better handling of current attributes. Trivial dlist and varray tests work
19 anos atrás
Keith Whitwell
efef291dc7
checkpoint - remove dead files, otherwise untested
19 anos atrás
Keith Whitwell
a3c86828ed
Fix compiler warning
19 anos atrás
Keith Whitwell
0a0fb5e0b3
switch over to vbo module
19 anos atrás
Keith Whitwell
72b68455eb
remove this module
19 anos atrás
Keith Whitwell
b1f176039a
Changes for new vbo-building module.
- Removed all the old immediate, array and display list code.
- Remove references to the old array_cache module.
- Added a _tnl_draw_prims() entrypoint.
- Added a simplified data import facility for converting
non-floating point data as required.
Checkpoint commit - trivial/tri works.
19 anos atrás
Keith Whitwell
fd12b37dba
Checkpoint of new vbo-building code. Currently builds regular arrays
rather than VBO's - VBOs are easy but need to look closer at the
driver interface. The trivial/tri demo works.
19 anos atrás
Brian Paul
a90ab5290c
Added PROGRAM_CONSTANT to get_register_pointer().
More DEBUG_FRAG code.
19 anos atrás
Brian Paul
8ed319796f
special case END in _mesa_print_instruction()
19 anos atrás
Brian Paul
f5eea0cc7a
Implement _mesa_append_fog_code() for fragment program fog options.
19 anos atrás
Brian Paul
db5529573f
If DEBUG, check that all array indices really do fall in [start,end] in
the DrawRangeElements() call. Warn the user if that's not true.
19 anos atrás
Roland Scheidegger
b55a0ab7ab
remove code for inserting mvp transform into position-invariant vertex progs and instead use _mesa_insert_mvp_code().
19 anos atrás
Brian Paul
fe457474d4
Previously, if a fragment program referenced fragment.fogcoord but the
program didn't use the ARB_fog_linear option, the fragment program's
fragment.fogcoord register wasn't loaded properly.
19 anos atrás
Roland Scheidegger
e9b923182e
change some bogus comments regarding the base e exponential function used for fog in vertex programs.
19 anos atrás
Roland Scheidegger
fc606f7db9
fix (per-vertex) fog when using ARB_vp by incorporating fog factor computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
19 anos atrás
Ian Romanick
e4298b9492
Add missing call to glutInit.
19 anos atrás
Brian Paul
6340d6bf22
s/GLchan/GLubyte/
19 anos atrás
Brian Paul
59e1f3ddd8
whitespace clean-up
19 anos atrás
Keith Whitwell
759facb4d8
Emit cliprects in the userspace driver as required, rather than
passing them to the kernel. This works because all drawing commands
in the 965 driver are emitted with the lock held and the batchbuffer
is always flushed prior to releasing the lock. This allows multiple
cliprects to be dealt with, without replaying entire batchbuffers and
redundantly re-emitting state.
19 anos atrás
Brian Paul
b9786cfaae
assorted clean-ups
19 anos atrás
Brian Paul
49a5a09ada
don't save color/z if fragment is killed
19 anos atrás
Brian Paul
73dd09fdd3
add minstall script to MAIN_FILES (bug 8720)
19 anos atrás
Brian Paul
a632128ffa
minor tweaks good for about 12% faster execution
19 anos atrás
Brian Paul
ec9bbac7c7
silence used var warnings
19 anos atrás
Brian Paul
0b26e826bd
Color clamping fixes.
19 anos atrás
Brian Paul
919cd2c3ba
move/improve comments, clean up code in a few places
19 anos atrás
Brian Paul
ed324db249
fix another logic error in computing deferredTexture
19 anos atrás
Brian Paul
bb19e64d12
For deferredTexture, need to check if the fragment program/shader writes
the fragment Z.
19 anos atrás
Brian Paul
828d15a6e0
move interpolate_varying() call
19 anos atrás
Brian Paul
4676b6260f
don't use params passed to Clear()
19 anos atrás
Brian Paul
f614a61905
Move interpolate_texcoords() and interpolate_varying() calls into shade_texture_span().
Added some INLINE hints.
19 anos atrás
Brian Paul
61c89be313
Consolidate some code into shade_texture_span().
Clean up logic for deferred texturing/shading.
19 anos atrás
Brian Paul
cd5a623386
fixed Fixed/Int bug
19 anos atrás
Brian Paul
7c76028937
remove temp code
19 anos atrás
Brian Paul
79b5d3e539
remove some debug/test changes
19 anos atrás
Brian Paul
464fcd0dd8
New bin/minstall script - a minimal replacement for 'install'.
Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
19 anos atrás
Brian Paul
c351858de8
fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertion
19 anos atrás
Michal Krol
a79d4e75c3
Fix nonportable pointer+unsigned arithmetic. Use pointer+int.
19 anos atrás
Brian Paul
31293910b4
added clamp_colors(), updated assertions
19 anos atrás
Brian Paul
ff07d6de4c
minor re-org, doxygen comments
19 anos atrás