Alan Hourihane
4b7a84a361
Merge commit 'origin/master' into gallium-0.2
2008-11-25 09:28:36 +00:00
Alan Hourihane
4af0d940a3
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
scons/gallium.py
src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-25 09:28:30 +00:00
José Fonseca
55839ae064
pipebuffer: Fix buffer overflow.
2008-11-25 15:49:23 +09:00
Brian Paul
f8870af44b
gallium: fix inverted raster pos when drawing into FBO
2008-11-24 18:37:36 -07:00
Brian Paul
8d95e66cf7
mesa: added support for GLSL 1.20 array.length() method
...
This is the only method supported in GLSL 1.20 so we take a few short-cuts.
2008-11-24 17:18:56 -07:00
Brian Paul
0fab514ff5
mesa: support for GLSL 1.20 array types
...
This allows syntax like "float[8] foo, bar;"
2008-11-24 15:28:21 -07:00
Brian Paul
c5b52b5e0e
mesa: pass shader centroid/invariant info through to the TGSI shader
2008-11-24 14:36:00 -07:00
Brian Paul
77762801bc
remove some redundant rules from prev merge
2008-11-24 14:31:41 -07:00
Brian Paul
df6155fcff
Merge commit 'origin/master' into gallium-0.2
...
Conflicts:
progs/glsl/Makefile
2008-11-24 14:08:58 -07:00
Brian Paul
868c607c17
tgsi: doxygen comments
2008-11-24 13:11:05 -07:00
Brian Paul
434e255eae
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
2008-11-24 13:11:05 -07:00
Brian Paul
1240280e6a
mesa: copy centroid/invariance/precision info in parse_init_declarator()
2008-11-24 13:11:05 -07:00
Brian Paul
c67c3714e8
mesa: check that varying variable qualifiers agree
2008-11-24 13:11:05 -07:00
Brian Paul
ed22544658
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
2008-11-24 13:11:05 -07:00
Brian Paul
891cf754b3
mesa: set flags for varying vars
2008-11-24 13:11:05 -07:00
Brian Paul
cddcd72dae
mesa: rename program parameter flags to match other Mesa conventions
2008-11-24 13:11:05 -07:00
Brian Paul
a7264720b4
mesa: copy Flags in _mesa_clone_parameter_list()
2008-11-24 13:11:05 -07:00
Brian Paul
68020ca2af
mesa: dump/debug varying vars list
2008-11-24 13:11:05 -07:00
Brian Paul
3068574929
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation
...
Plus, update the print/debug code.
2008-11-24 13:11:05 -07:00
Brian Paul
84c1850e82
mesa: add Flags field to gl_program_parameter
...
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
2008-11-24 13:11:05 -07:00
Brian Paul
b268c2899b
docs: update webmaster email addr
2008-11-24 13:11:05 -07:00
Brian Paul
d7b5243c64
gallium: massage sp_vbuf_draw() and sp_vbuf_draw_arrays() to look more alike
...
Also, update some comments.
2008-11-24 13:11:05 -07:00
Brian Paul
e545ce2af4
mesa: issue error, don't crash, when calling a prototyped, but undefined function
...
Bug #18659 .
2008-11-24 13:11:05 -07:00
Brian Paul
ca142c2c08
mesa: better variable name: s/aux/store/
2008-11-24 13:11:05 -07:00
Brian Paul
80301866f6
added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shader
...
Fragment's red/greenb/blue is a function gl_FragCoord.xyz
2008-11-24 13:11:05 -07:00
Eric Anholt
7e97362884
i965: Add support for accelerated CopyTexSubImage.
...
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after
the offsets had been adjusted for a negative pitch. It appears that those
hacks were due to an unclear and surprising aspect of the hardware: inverting
the pitch results in the blit into the specified rectangle being inverted,
without the user needing to adjust y and base offset.
Tested with piglit copytexsubimage test on 915GM and GM965. Should fix
serious performance issues with ETQW and other applications.
2008-11-24 13:09:50 -07:00
Eric Anholt
a4d43c2012
intel: Don't glBitmap fallback with scissoring enabled.
...
The blit bitmap code already handles scissoring. This is a 15-100% speedup on
blender benchmark.blend thanks to avoiding fallbacks. Bug #17951 .
2008-11-24 13:09:50 -07:00
Eric Anholt
490ab64879
i915: Don't overwrite i915's Viewport function from generic code.
...
Instead, have i965 and i915 both call the generic function from their Viewport.
2008-11-24 13:09:50 -07:00
Brian Paul
b730d0d3e9
mesa: add gl_program::Input/OutputFlags[] array
...
These arrays will indicate per-input or per-output options for vertex/fragment
programs such as centroid-sampling and invariance.
2008-11-24 13:05:54 -07:00
Bernd Buschinski
d52e8543b6
glx: Add missing include for XCB, fixing crash on 64-bit.
...
Bug #18689
2008-11-24 11:40:38 -08:00
Jakob Bornecrantz
51af35b7cc
progs: Add ignores
2008-11-24 20:05:47 +01:00
Jakob Bornecrantz
f0e3366b08
util: Add generic tile and detile functions
2008-11-24 20:01:48 +01:00
Brian Paul
153cc70ddb
windows: replace free() with _mesa_unreference_framebuffer()
...
Fixes invalid memory reference bug when exiting.
2008-11-24 11:10:58 -07:00
Brian Paul
a203713738
mesa: copy centroid/invariance/precision info in parse_init_declarator()
2008-11-24 09:28:25 -07:00
Brian Paul
dc1107c08d
mesa: check that varying variable qualifiers agree
2008-11-24 09:25:05 -07:00
Brian Paul
0e2f757413
mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()
2008-11-24 09:13:14 -07:00
Brian Paul
3197954554
mesa: set flags for varying vars
2008-11-24 09:05:49 -07:00
Brian Paul
f490ec9797
mesa: rename program parameter flags to match other Mesa conventions
2008-11-24 09:04:52 -07:00
Brian Paul
08b825a771
mesa: copy Flags in _mesa_clone_parameter_list()
2008-11-24 09:04:11 -07:00
Brian Paul
3f6668a4bf
mesa: dump/debug varying vars list
2008-11-24 09:03:47 -07:00
Brian Paul
777a5c4f2e
mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation
...
Plus, update the print/debug code.
2008-11-24 08:43:38 -07:00
Brian Paul
0f228d7ab3
mesa: add Flags field to gl_program_parameter
...
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
2008-11-24 08:33:49 -07:00
Brian Paul
5464667874
docs: update webmaster email addr
2008-11-24 08:14:28 -07:00
José Fonseca
17849eafaa
pipebuffer: Ondemand buffer manager.
...
A variation of malloc buffers which get transferred to real graphics memory
when there is an attempt to validate them.
2008-11-24 23:17:49 +09:00
José Fonseca
a6d866f72c
pipebuffer: Implement proper buffer validation.
2008-11-24 13:59:06 +09:00
José Fonseca
d600c805c0
gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations.
2008-11-24 13:45:19 +09:00
José Fonseca
52e9c9770a
mesa: Don't call fence_finish with a null fence.
2008-11-24 13:44:30 +09:00
Brian
0b9e96fae9
softpipe: remove old/unneeded dependencies between TGSI exec and softpipe
...
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds
the fields it needs.
2008-11-23 19:15:15 -07:00
Brian Paul
4f05893415
mesa: issue error, don't crash, when calling a prototyped, but undefined function
...
Bug #18659 .
2008-11-21 17:22:16 -07:00
Brian Paul
b63a31b36f
mesa: better variable name: s/aux/store/
2008-11-21 14:24:28 -07:00