Brian Paul
4f915b0f83
mesa: updated comment
2008-05-14 16:04:51 -06:00
Brian Paul
05cacc06cc
mesa: minor bug fixes from master
2008-05-14 16:04:29 -06:00
Brian Paul
fcb23d7db7
mesa: dead code removal
2008-05-14 16:04:00 -06:00
Brian Paul
c4ceb4e4f3
mesa: minor bug fixes, null ptr checks, dead code removal
2008-05-14 16:03:38 -06:00
Brian Paul
6c536b9924
mesa: fix errors in LightModelProduct state, other misc error cases
2008-05-14 16:02:20 -06:00
Brian Paul
f84005c0a1
mesa: glUniform(location==-1) is not an error
2008-05-14 16:01:31 -06:00
Brian Paul
d791386b09
fix some additional program refcounting bugs
...
cherry-picked from master
2008-05-14 12:19:22 -06:00
Zack Rusin
1c624846a8
decomposition from keith, adds decomposition of more prim to the pipeline
2008-05-13 17:59:09 -04:00
Zack Rusin
19f15277d1
adjust llvm code to the changes in 2.3
2008-05-12 17:17:18 -04:00
Keith Whitwell
bbda45ec76
draw: turn fse path into a middle end
...
Also add some util functions in pt_util.c
2008-05-12 19:40:20 +01:00
Keith Whitwell
44463b2997
draw: streamline the varray path
...
- drop support for running the pipeline (ie. don't populate the flags values)
- pass through all split-able primitives intact to the middle end
- only primitives that can't be split are shunted on the draw-element path
2008-05-12 17:40:55 +01:00
Keith Whitwell
f116a14916
softpipe: more work to get non-reduced primitives working in vbuf
2008-05-12 17:40:55 +01:00
Keith Whitwell
90e86363de
softpipe: make vbuf handle all primitive types
2008-05-12 17:40:55 +01:00
Keith Whitwell
b5e5369da5
draw: add fetch-shade-emit path
...
Enable with TEST_FSE=t. Performs fetch from API-provided vertex buffers,
transformation with one of three (two working) hard-coded shaders, and
final emit to hardware vertices all in a single pass.
Currently only really useful for profiling in conjunction with SP_NO_RAST=t.
2008-05-12 17:40:55 +01:00
Keith Whitwell
de818835de
softpipe: add failure paths for context creation
2008-05-12 17:40:55 +01:00
Keith Whitwell
2258f6b437
xlib: add failure paths for context creation
2008-05-12 17:40:55 +01:00
Keith Whitwell
7ddb925b8b
draw: mimize cost of translate key compares, use cache universally
2008-05-12 17:40:54 +01:00
Keith Whitwell
c0a6040f56
translate: helper functions for mimizing cost of key compares
2008-05-12 17:40:54 +01:00
Brian
6807b4f6b1
gallium: optimize the flush_spans() function
2008-05-10 12:46:55 -06:00
Brian
140b3f7f9c
gallium: remove unused code
2008-05-10 12:46:55 -06:00
Michel Dänzer
7462f0557f
draw: Fix number of vertices allocated in draw_pt_emit().
2008-05-09 18:15:49 +01:00
Keith Whitwell
501be9c7dd
draw: fix translate double-free, minor cleanups
2008-05-09 15:04:14 +01:00
Keith Whitwell
1a03812fb5
draw: mimize cost of translate key compares, use cache universally
2008-05-09 13:10:15 +01:00
Keith Whitwell
80474d576c
translate: helper functions for mimizing cost of key compares
2008-05-09 13:09:58 +01:00
Keith Whitwell
cec016271c
Merge branch 'gallium-0.1' into gallium-vertex-linear
2008-05-08 22:16:05 +01:00
Keith Whitwell
b514f5f3ba
draw: only fill in / compare the part of the translate key we're using.
...
It's quite a big struct & we examine it a lot (too much). Reduce
the impact of this by just looking at the active part where possible.
2008-05-08 22:15:00 +01:00
Keith Whitwell
fec1d215f6
xlib: more SP_NO_RAST support
...
For some resaon normal (non-display-buffer) buffers are being allocated
through Xshm... Bypass at least for SP_NO_RAST
2008-05-08 22:14:59 +01:00
Keith Whitwell
9002cdb48e
softpipe: don't calc det if NO_RAST set
2008-05-08 22:14:59 +01:00
Zack Rusin
8ea6106f01
fix quad strips
2008-05-08 15:26:37 -04:00
Zack Rusin
8d709ae159
fix triangle strips
2008-05-08 15:26:34 -04:00
Zack Rusin
22323af525
fix silly mistakes
2008-05-08 15:26:30 -04:00
Zack Rusin
fe586f8612
redo the linear paths
2008-05-08 15:26:26 -04:00
Zack Rusin
e897fd6cd3
fix the regressions
2008-05-08 15:26:23 -04:00
Zack Rusin
66d72f176d
silence debugging output
2008-05-08 15:26:20 -04:00
Zack Rusin
a24cb269e1
implement linear path for fetch_emit pipeline
2008-05-08 15:26:16 -04:00
Zack Rusin
ff1fee2cae
don't fill in linear fetch_elts
2008-05-08 15:26:13 -04:00
Zack Rusin
abb08e9335
implement linear emition and fetching and plug it in the varray paths
2008-05-08 15:26:08 -04:00
Zack Rusin
90a46ed277
split larger primitives in the simple varray pt
2008-05-08 15:26:03 -04:00
Zack Rusin
2abc1b3641
abstract fetching elts
2008-05-08 15:26:00 -04:00
Michel Dänzer
1dfb3d4729
cso_cache: Fix test for currently bound blend state.
2008-05-08 19:00:11 +01:00
Brian Paul
deceeca18d
mesa: update/add newer GL ES headers
2008-05-07 08:47:55 -06:00
Brian
05370685fe
mesa: free shader program data before deleting shader objects.
...
Picked from master.
Fixes mem corruption seen when glean/api2 test exits.
2008-05-06 23:08:02 -06:00
Brian
103ae5d16f
gallium: implement full reference counting for vertex/fragment programs
...
Use _mesa_reference_vert/fragprog() wherever we assign program pointers.
Fixes a memory corruption bug found with glean/api2 test.
Another memory bug involving shaders yet to be fixed...
2008-05-06 22:13:06 -06:00
Brian
10f6ae0355
mesa: comments, whitespace
2008-05-06 19:16:26 -06:00
Brian Paul
66f703dca9
gallium: change calculate_first_last_level() to match gallium-tex-surfaces branch
2008-05-06 08:40:41 -06:00
Alan Hourihane
f77442fbd3
fix _mesa_ffs for alternative compilers
2008-05-05 23:09:38 +01:00
Alan Hourihane
736374c105
declare atoms as extern
2008-05-05 23:08:59 +01:00
Brian Paul
736f535b4f
gallium: fix warnings
2008-05-03 09:26:25 -06:00
Brian Paul
bc57a7c9f7
Press <space> to reset limit/bias values, clean-up limit/bias printf
2008-05-03 09:10:44 -06:00
Brian Paul
3837d401cc
gallium: fix sampler->max_lod computation
2008-05-03 09:07:11 -06:00