Commit graph

23314 commits

Author SHA1 Message Date
Brian Paul
139f2ddde4 tests: quick and dirty glGetTexImage() test program 2009-06-09 14:05:17 -06:00
Brian Paul
b38dbc5179 intel: use GLboolean, not int, for compressed parameter 2009-06-09 14:05:17 -06:00
Brian Paul
89205a8760 intel: make a bunch of glTexImage-related functions static 2009-06-09 14:05:17 -06:00
Brian Paul
4eb9e58bbb intel: whitespace clean-ups 2009-06-09 14:05:17 -06:00
Brian Paul
c55f1a6c99 vbo: more glDrawElements debug code (disabled) 2009-06-09 14:05:17 -06:00
Brian Paul
4a7fd6323a mesa: added a simple bounds checker to glMap/UnmapBuffer() (disabled) 2009-06-09 14:05:17 -06:00
Jakob Bornecrantz
41482a6461 trace/rbug: Add support for draw block rule 2009-06-09 19:24:06 +01:00
Jakob Bornecrantz
f3cf3d2fc2 rbug: Change block protocol around a bit 2009-06-09 19:22:40 +01:00
Jakob Bornecrantz
b71a254f05 trace/rbug: Return textures currently bound to context 2009-06-09 16:00:40 +01:00
Jakob Bornecrantz
f0c21c0294 rbug: Extend context info and block ops 2009-06-09 16:00:39 +01:00
Brian Paul
42e9bde0fa intel: remove extra \n from warning string 2009-06-09 08:53:56 -06:00
Brian Paul
a81097c545 mesa: reorder fields, update comments for gl_buffer_object 2009-06-09 08:52:56 -06:00
Michal Krol
ef8caec29a glsl: Expand nested preprocessor macros. 2009-06-09 12:14:40 +02:00
Corbin Simpson
c534604800 r300-gallium: HW TCL glxgears. (Read the rest of the log.)
Um. So, yeah. Two massive WTF moments here. The first one is that, somehow,
I never actually hooked up vertex shader emission, so the only time that the
VAP gets set up is during surface_copy/surface_fill. That's why acidgears
was happening.

The second one is that, somehow, once I actually hooked it up, glxgears just
magically worked. Without any actual, real testing, I somehow accidentally
made the shader compiler work. Go figure.
2009-06-08 20:23:34 -07:00
Corbin Simpson
cb3b91f2d6 r300-gallium: Make UCP and clip work again for SW TCL.
SW TCL: tri-clip works, tri-userclip works
HW TCL: tri-clip fails, tri-userclip works

That is a 200% improvement over the previous situation. Woot.
2009-06-08 20:01:57 -07:00
Corbin Simpson
ffa1972efb r300-gallium: Don't emit UCP planes for SW TCL. 2009-06-08 19:55:33 -07:00
Michal Krol
19a54d9f10 glsl: Fix preprocessor define argument parsing for dead sections. 2009-06-08 20:52:47 +02:00
Brian Paul
854151ba62 glsl: preprocessor debug code (disabled) 2009-06-08 10:58:04 -06:00
Brian Paul
cc26e27746 docs: document MESA_EXTENSION_OVERRIDE env var 2009-06-08 10:56:51 -06:00
Brian Paul
f9c0ce0e07 softpipe: advertise PIPE_CAP_MAX_TEXTURE_ANISOTROPY as 16.0
Note that this doesn't have any real significance since
PIPE_CAP_ANISOTROPIC_FILTER still returns 0.
2009-06-08 10:55:34 -06:00
Brian Paul
a6f2663616 mesa: new MESA_EXTENSION_OVERRIDE env var
Can be used to enable/disable extensions as reported by
glGetString(GL_EXTENSIONS).

If a name is preceeded by '-' it's disabled.  Otherwise, the named
extension is enabled.

Intended for debug/test purposes.
2009-06-08 10:52:16 -06:00
Maciej Cencora
4adb190a16 mesa: EXT_vertex_array_bgra fixes
1) Pass the correct format when calling update_array in
   _mesa_VertexAttribPointerARB.
2) glVertexAttribPointerNV accepts GL_BGRA format too.
3) raise INVALID_VALUE error when format is BGRA and normalized is
   false in glVertexAttribPointerARB
2009-06-08 07:23:56 -06:00
Jakob Bornecrantz
8d2324d355 trace/rbug: Sleep on windows when blocked 2009-06-08 15:01:48 +02:00
Dave Airlie
8064a517b2 llvm: fix compile on gcc 4.4 2009-06-08 18:26:27 +10:00
Ben Skeggs
1a7739ae26 nouveau: forgotten makefile... 2009-06-07 19:29:29 +10:00
Ben Skeggs
f1edfa09ea nv50: fix multi-texturing 2009-06-06 16:24:09 +10:00
Ben Skeggs
6c1627a51c nv50: support non-normalized texture coords 2009-06-06 16:24:08 +10:00
Corbin Simpson
b7aa5b1d10 r300-gallium: Use VAP_CLIP_CNTL.
Makes tri-userclip work with HW TCL.
2009-06-05 13:46:59 -07:00
Corbin Simpson
1a359d9835 r300-gallium: Emit UCP. 2009-06-05 11:21:09 -07:00
Corbin Simpson
9e4590dff7 r300-gallium: Improve vs emit. 2009-06-05 10:18:20 -07:00
Michal Krol
4c034441a8 mesa: Fix wglext.h prototypes. 2009-06-05 15:01:08 +02:00
Ben Skeggs
d06e380e02 nv50: use larger tile sizes 2009-06-05 22:53:24 +10:00
Ben Skeggs
a471497345 nv50: use nouveau_bo for query buffers 2009-06-05 22:53:24 +10:00
Ben Skeggs
1a92c71a66 nv50: create textures with nouveau_bo, for flexibility with tiling later 2009-06-05 22:53:23 +10:00
Michal Krol
b04470b0bc util: Fix winsock include. 2009-06-05 14:32:31 +02:00
Corbin Simpson
90bfff0a29 r300-gallium: Mute some debug info.
Most of it is no longer interesting.
2009-06-05 00:12:26 -07:00
Corbin Simpson
4c66c5bf92 r300-gallium: vs: Fix negation calculation.
Still doesn't draw right, but at least it's the right numbers now.
Thanks to taiu in #dri-devel.
2009-06-04 23:56:32 -07:00
Corbin Simpson
571b36831b r300-gallium: Fix pasta.
Trivial but annoying.
2009-06-04 23:56:08 -07:00
Corbin Simpson
8652ad6899 r300-gallium: Improve vs debug more.
Still not showing me why my stuff's failing, but getting there.
2009-06-04 23:27:46 -07:00
Corbin Simpson
31609acbe9 r300-gallium: vs: Add negation, SUB.
Doesn't work. WTF.
2009-06-04 23:27:46 -07:00
Corbin Simpson
fb7d1fb0f0 r300: Moar vs debug. 2009-06-04 23:27:46 -07:00
Ben Skeggs
36705ee044 nouveau: plug in our map_buffer_range and friends 2009-06-05 14:48:45 +10:00
Ben Skeggs
40ed449918 nouveau: fix build with libdrm_nouveau 0.6 2009-06-05 14:37:04 +10:00
Ben Skeggs
6b3ca672eb nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws-> 2009-06-05 14:37:03 +10:00
Ben Skeggs
80e9e1ee81 nouveau: move channel creation into pipe drivers 2009-06-05 14:37:03 +10:00
Ben Skeggs
1b207d9bb8 nouveau: call notifier/grobj etc funcs directly
libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.
2009-06-05 14:37:03 +10:00
Ben Skeggs
d4d584b16e nv04: remove u_simple_screen usage 2009-06-05 14:37:02 +10:00
Ben Skeggs
251c47117b nv10: remove u_simple_screen usage 2009-06-05 14:37:02 +10:00
Ben Skeggs
74c45add47 nv20: remove u_simple_screen usage 2009-06-05 14:37:01 +10:00
Ben Skeggs
901d7c3057 nv30: remove u_simple_screen usage 2009-06-05 14:37:01 +10:00