Commit Graph

31200 Commits

Author SHA1 Message Date
Roland Scheidegger fe9f8536f1 auxiliary: fix vertex elements cso
potentially could have got a match even though the cso was different
(in case of different count and first few elements the same).
2010-03-09 14:19:29 +01:00
Corbin Simpson 4240987cec r300g: Make velem CSO actually work.
glxgears runs again.
2010-03-02 18:40:03 -08:00
Roland Scheidegger ddccf77974 nv40: adapt to vertex element cso 2010-03-01 20:11:47 +01:00
Roland Scheidegger 5bf4ff7dab nv30: adapt to vertex element cso 2010-03-01 20:11:36 +01:00
Roland Scheidegger 881be30836 identity: adapt to new vertex element cso 2010-03-01 18:48:05 +01:00
Roland Scheidegger 2918edb46a failover: adapt to new vertex element cso 2010-03-01 18:47:54 +01:00
Roland Scheidegger 470dbb84b8 i965g: adapt to new vertex element cso 2010-03-01 18:47:28 +01:00
Roland Scheidegger 8e2df0dcb9 i915g: adapt to new vertex element cso 2010-03-01 18:47:17 +01:00
Roland Scheidegger 4dfe2df629 cell: adapt to new vertex element cso 2010-03-01 18:47:04 +01:00
Roland Scheidegger e9441e1f88 r300g: adapt to new vertex element cso 2010-03-01 18:46:49 +01:00
Roland Scheidegger f897303855 llvmpipe: adapt to new vertex element cso 2010-03-01 18:46:39 +01:00
Roland Scheidegger 057427dd3e softpipe: adapt to new vertex element cso 2010-03-01 18:46:29 +01:00
Roland Scheidegger b1676a953e svga: adapt to new vertex element cso 2010-03-01 18:46:12 +01:00
Roland Scheidegger 618e7e0c88 trace: adapt to new vertex element cso 2010-03-01 18:45:57 +01:00
Roland Scheidegger 9abef5ebfa vega: adapt to new vertex element cso 2010-03-01 18:45:46 +01:00
Roland Scheidegger 1f57069c68 vega: adapt to new vertex element cso 2010-03-01 18:45:25 +01:00
Roland Scheidegger 711476be29 xorg: adapt to new vertex element cso 2010-03-01 18:43:58 +01:00
Roland Scheidegger 8397c80646 gallium/docs: document new vertex element cso interface 2010-03-01 18:42:47 +01:00
Roland Scheidegger 49d3f662b6 vl: adapt to new vertex element cso interface 2010-03-01 18:41:03 +01:00
Roland Scheidegger ac4abaecd5 util: adapt blitter code to new vertex element cso
The interface of util_draw_vertex_buffer looks a bit odd (calling code has to
set vertex elements but not vertex buffers) but due to the way cso state
handling generally works (can't re-bind original vertex element state easily
there) I guess that's ok for now.
2010-03-01 18:40:22 +01:00
Roland Scheidegger 18603a2f07 st/mesa: fix mesa statetracker adaption to new vertex elements interface 2010-03-01 18:36:19 +01:00
Christoph Bumiller f2656c3e3c nv50: adapt to vertex elements cso 2010-02-26 14:19:52 +01:00
Roland Scheidegger 51d139f038 gallium: use cso state handling for pipe_vertex_element state 2010-02-18 16:36:25 +01:00
Roland Scheidegger 464a72dd41 gallium: remove redundant nr_components field from pipe_vertex_element
This is a property of the associated src_format pipe format.
Hence use util_format_get_nr_components to query this when necessary instead.
2010-02-17 16:44:38 +01:00
Roland Scheidegger c2ad9e3801 util: new util_format_get_nr_components helper 2010-02-17 16:41:30 +01:00
José Fonseca b0f9717105 Revert "progs/redbook: Temporarily disable the demos that extensions not part of windows to fix build."
This reverts commit 1587eff1b6.
2010-02-16 11:23:18 +00:00
Michal Krol fa8acb0528 glsl/pp: Do not try to enable extension `all'. 2010-02-16 10:04:58 +01:00
Ben Skeggs 828f545274 nv50: use hw idx buffers where we can 2010-02-16 15:57:59 +10:00
Brian Paul c6e63f3cc2 progs/redbook: use glew 2010-02-15 18:04:39 -07:00
Ben Skeggs bd3829b5f5 nouveau: fix for latest libdrm 2010-02-16 10:21:05 +10:00
José Fonseca 33cf477c37 wgl: Be lenient when sharing contexts.
My first reading of MS docs was wrong. It says:

  All rendering contexts of a shared display list must use an identical
  pixel format. Otherwise the results depend on the implementation of
  OpenGL used.

That is, it is OK to share contexts with different pixel formats.

Adobe Premiere Pro tries to do that: share lists between a rgbx8 and a
rgba8 pixel format.
2010-02-15 21:48:13 +00:00
José Fonseca 1587eff1b6 progs/redbook: Temporarily disable the demos that extensions not part of windows to fix build. 2010-02-15 21:47:20 +00:00
José Fonseca 8c7d39cc83 scons: A less magic way of not building progs by default.
The problem with the old way is that passing 'progs/subdir' as argument
would fail.
2010-02-15 20:48:24 +00:00
Michal Krol ee67167358 glsl/pp: Fix handling of if/elif/else cases.
Once if/elif evalutes to true, all subsequent conditions are always false.
2010-02-15 21:33:22 +01:00
Brian Paul b90f265fbf progs/redbook: test image for new redbook tests 2010-02-15 09:55:44 -07:00
Brian Paul ce65a8debe progs/redbook: add additional tests for GL 1.4 2010-02-15 09:55:01 -07:00
Brian Paul 3be1c11001 docs: document glMultiDrawElements() fix
(cherry picked from commit ab6bcef99a53217db752659ace105ddfd9b25ebb)
2010-02-15 08:57:34 -07:00
Brian Paul 36a54885a4 vbo: fix broken glMultiDrawElements()
Seems to be a regression from commit 60b08eb1fd.

(cherry picked from commit c5a4cfb03ff17955c049f16ac805f5837ea4b633)
2010-02-15 08:57:17 -07:00
Vinson Lee e045af4146 glu/sgi: Add assert to check for null pointer dereference. 2010-02-15 02:14:02 -08:00
Vinson Lee a05fdbcb71 mesa: Remove pointless comparison of unsigned integer with a negative constant. 2010-02-15 02:01:20 -08:00
Vinson Lee f0e1499805 glsl/pp: Add asserts to check for null pointer deferences. 2010-02-15 00:30:31 -08:00
Vinson Lee 6536cdf183 draw: Add assert to check input of memcpy. 2010-02-14 22:58:26 -08:00
Vinson Lee 026d4b5b91 glu/sgi: Move initialization of members to top of Curve constructor.
This is a modification of commit 53d448657b.

The members cpts and spts are possibly used as arguments later in
the constructor.
2010-02-14 22:28:32 -08:00
Vinson Lee 4bbcc11f43 glu/sgi: Initialize members of class Curvelist. 2010-02-14 22:18:41 -08:00
Vinson Lee 53d448657b glu/sgi: Initialize members of class Curve. 2010-02-14 22:04:59 -08:00
Vinson Lee 9867b6eaad glu/sgi: Initialize member of class Pool. 2010-02-14 21:45:01 -08:00
Vinson Lee 86d98fa4a2 glx: Silence uninitialized variable warning. 2010-02-14 21:03:23 -08:00
Brian Paul 08cfe3ab42 st/mesa: minor assorted clean-ups 2010-02-14 21:58:45 -07:00
Brian Paul f4ded0ea5c st/mesa: change some function return types 2010-02-14 21:57:15 -07:00
Brian Paul e90bc2e2ce st/mesa: move per-fragment shader fields to local vars 2010-02-14 21:57:14 -07:00