Keith Whitwell
301acdf34a
Similarly, fill in missing input slots in the vertex-array +
NV_vertex_program path.
před 19 roky
Keith Whitwell
5a652f5957
Fill in missing input slots in the vertex-array + no-vertex-program
path.
před 19 roky
Alan Hourihane
6d104cb932
merge current trunk into vbo branch
před 19 roky
Keith Whitwell
18d52f96bb
Fix typo in display list attrib binding.
před 19 roky
Keith Whitwell
9827dc8bea
Respect array->Normalized flag.
Import edgeflag attribute to array of GLbooleans as expected by
downstream code.
před 19 roky
Keith Whitwell
c22f8a7787
missing file
před 19 roky
Keith Whitwell
35ee4affc5
switch remaining drivers over to vbo
před 19 roky
Keith Whitwell
851d15ef3a
disable vtxfmt_a code, switch over to vbo
před 19 roky
Keith Whitwell
80c88304fc
remove vtxfmt code, switch over to vbo
před 19 roky
Keith Whitwell
70dd0126bd
pickup structs from vbo.h
před 19 roky
Keith Whitwell
1f07439fe8
move public structure definitions to vbo.h
před 19 roky
Keith Whitwell
f2eb6434ab
cleanup code, compiles with vbo changes
před 19 roky
Keith Whitwell
a1a8a2c024
oops, get.c is autogenerated
před 19 roky
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.
před 19 roky
Keith Whitwell
e8abd098b3
Remove wakeup functions. This code is intended to be active all the
time.
před 19 roky
Keith Whitwell
48f5deab94
switch several dri drivers over
před 19 roky
Keith Whitwell
99efde461d
better handling of current attributes. Trivial dlist and varray tests work
před 19 roky
Keith Whitwell
efef291dc7
checkpoint - remove dead files, otherwise untested
před 19 roky
Keith Whitwell
a3c86828ed
Fix compiler warning
před 19 roky
Keith Whitwell
0a0fb5e0b3
switch over to vbo module
před 19 roky
Keith Whitwell
72b68455eb
remove this module
před 19 roky
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.
před 19 roky
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.
před 19 roky
Brian Paul
a90ab5290c
Added PROGRAM_CONSTANT to get_register_pointer().
More DEBUG_FRAG code.
před 19 roky
Brian Paul
8ed319796f
special case END in _mesa_print_instruction()
před 19 roky
Brian Paul
f5eea0cc7a
Implement _mesa_append_fog_code() for fragment program fog options.
před 19 roky
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.
před 19 roky
Roland Scheidegger
b55a0ab7ab
remove code for inserting mvp transform into position-invariant vertex progs and instead use _mesa_insert_mvp_code().
před 19 roky
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.
před 19 roky
Roland Scheidegger
e9b923182e
change some bogus comments regarding the base e exponential function used for fog in vertex programs.
před 19 roky
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).
před 19 roky
Ian Romanick
e4298b9492
Add missing call to glutInit.
před 19 roky
Brian Paul
6340d6bf22
s/GLchan/GLubyte/
před 19 roky
Brian Paul
59e1f3ddd8
whitespace clean-up
před 19 roky
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.
před 19 roky
Brian Paul
b9786cfaae
assorted clean-ups
před 19 roky
Brian Paul
49a5a09ada
don't save color/z if fragment is killed
před 19 roky
Brian Paul
73dd09fdd3
add minstall script to MAIN_FILES (bug 8720)
před 19 roky
Brian Paul
a632128ffa
minor tweaks good for about 12% faster execution
před 19 roky
Brian Paul
ec9bbac7c7
silence used var warnings
před 19 roky
Brian Paul
0b26e826bd
Color clamping fixes.
před 19 roky
Brian Paul
919cd2c3ba
move/improve comments, clean up code in a few places
před 19 roky
Brian Paul
ed324db249
fix another logic error in computing deferredTexture
před 19 roky
Brian Paul
bb19e64d12
For deferredTexture, need to check if the fragment program/shader writes
the fragment Z.
před 19 roky
Brian Paul
828d15a6e0
move interpolate_varying() call
před 19 roky
Brian Paul
4676b6260f
don't use params passed to Clear()
před 19 roky
Brian Paul
f614a61905
Move interpolate_texcoords() and interpolate_varying() calls into shade_texture_span().
Added some INLINE hints.
před 19 roky
Brian Paul
61c89be313
Consolidate some code into shade_texture_span().
Clean up logic for deferred texturing/shading.
před 19 roky
Brian Paul
cd5a623386
fixed Fixed/Int bug
před 19 roky
Brian Paul
7c76028937
remove temp code
před 19 roky