Brian
5823f99d0f
fix void pointer arithmetic warnings
2007-12-07 07:52:35 -07:00
Brian
b9300f16c4
silence void ptr arithmetic warning
2007-12-07 07:48:33 -07:00
Michel Dänzer
b859cdf6f1
Eliminate struct pipe_region.
...
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for
(un)mapping.
2007-12-07 12:30:35 +01:00
Xiang, Haihao
e2ca788ae7
i915: fix the error in the previos commit.
2007-12-07 17:33:18 +08:00
Xiang, Haihao
c1a3ac0e45
i915: Check the program size when uploading a program. fix bug 13494
2007-12-07 17:26:38 +08:00
Stephane Marchesin
fecb3ce586
Use write posting in the kickoff function too.
2007-12-07 02:31:40 +01:00
Michel Dänzer
987d59bb83
Remove remnants of 'intel' from active state tracker code.
2007-12-06 11:30:34 +01:00
Michel Dänzer
d492b388c9
st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.
2007-12-06 11:25:40 +01:00
Michel Dänzer
753db0d840
Hide texture layout details from the state tracker.
...
pipe->get_tex_surface() has to be used for access to texture image data.
2007-12-06 11:18:11 +01:00
Michel Dänzer
62f6e55013
Minor followup fixes for the previous commit.
2007-12-06 10:19:22 +01:00
George Nassas
17afc800c9
Always call dlopen in DriverOpen.
...
This increases the reference count for the driver binary, preventing it from
getting unloaded prematurely in driDestroyDisplay. See
https://bugs.freedesktop.org/show_bug.cgi?id=13541 .
2007-12-06 10:11:05 +01:00
Eric Anholt
125bd4cae5
Revert "[965] Add missing flagging of new stage programs for updating stage state."
...
I had forgotten part of brw_state_cache.c that made this fix not relevant for
master (last_addr comparison and flagging based on cache id).
This reverts commit a4642f3d18 .
2007-12-05 16:57:27 -08:00
Eric Anholt
a4642f3d18
[965] Add missing flagging of new stage programs for updating stage state.
...
Otherwise, choosing a new program wouldn't necessarily update the state, and
and an old program could be executed, leading to various sorts of pretty
pictures or hangs.
2007-12-05 16:44:49 -08:00
Brian
259eacfa94
Fix endianness bug in _mesa_texstore_argb8888()
...
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res
Also, clean-up nearby code to match.
picked from gallium-0.1 branch
2007-12-05 15:06:23 -07:00
Brian
5935626818
Add dependency checking for Cell driver sources.
2007-12-05 14:57:19 -07:00
Brian
ce30f0550f
silence warning
2007-12-05 14:54:29 -07:00
Brian
146483d541
added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value()
2007-12-05 14:54:19 -07:00
Brian
3eadbe64bf
Fix endianness bug in _mesa_texstore_argb8888()
...
On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results.
Also, clean-up nearby code to match.
2007-12-05 14:53:19 -07:00
Brian
9df0a6dd9c
added B8G8R8A8 support and improved pixel format selection when doing remote display to X server of different endianness.
2007-12-05 14:51:08 -07:00
Brian
04516cfcaf
added tile funcs for B8G8R8A8 format
2007-12-05 14:48:09 -07:00
Brian
fa3fc81f2c
added B8G8R8A8 format
2007-12-05 14:47:27 -07:00
Ben Skeggs
47b418b8fa
nv50: 3d driver skeleton
2007-12-05 14:01:01 +11:00
Xiang, Haihao
2407e48f28
Don't Swap buffer if a DRIDrawable is entirely obscured
...
by another window.
2007-12-05 10:31:35 +08:00
Brian
5b91ee27c0
Undo changes made to the toyball shaders in commit d19d0596da
...
This demo produces the expected results again.
2007-12-04 18:44:40 -07:00
Ben Skeggs
97f8c39d91
nouveau: g8x winsys support, yay softpipe!
2007-12-05 11:57:50 +11:00
Brian
02afd45d3b
fix span->facing computation and gl_FrontFacing initialization
2007-12-04 14:07:08 -07:00
Brian
2ee7035886
Fix gl_FrontFacing compilation problem
2007-12-04 14:07:08 -07:00
Brian
df198d24bc
added culling/wireframe options
2007-12-04 14:07:08 -07:00
Michel Dänzer
fc7ddea853
Use -Bsymbolic for linking all shared objects.
...
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10132 .
Also remove comment about SONAME, as SONAME only applies to shared libraries.
2007-12-04 18:31:29 +01:00
Eric Anholt
3a90679400
[965] Change constant buffer from state structs to plain batch emission.
...
Reduces diff to branch which has a relocation in this state emit.
2007-12-03 14:46:58 -08:00
Brian
454043c4ae
fix DD_TRI_LIGHT_TWOSIDE bug ( #13368 )
2007-12-03 14:14:40 -07:00
Dan Nicholson
2dc85e8078
Fix the library name in glw.pc
...
Fix a copy and paste error s/GLU/GLw/ in glw.pc.
2007-12-03 11:57:14 -08:00
Brian
ce98779571
glut doesn't need -lXt
2007-12-03 12:00:28 -07:00
Brian
b1416c2137
added missing quote char
2007-12-03 12:00:28 -07:00
Michel Dänzer
2af613e0b8
i915: Fix up state changes for i8xx.
2007-12-03 09:28:49 +01:00
Brian
91692fce20
added -fPIC
2007-12-02 15:34:27 -07:00
Brian
c27082995d
don't build libglw
2007-12-02 15:34:14 -07:00
Brian
88b715b049
Initial Cell driver infrastructure.
...
No real code yet. Just stand-ins and make/build infrastructure.
2007-12-02 15:23:51 -07:00
Brian
233c374d02
glut doesn't need -lXt
2007-12-02 15:20:13 -07:00
José Fonseca
219dafa9b5
Cover state tracker and winsys driver. Tweak parameters.
2007-12-02 17:15:55 +00:00
Eric Anholt
556cf9abff
[intel] Move batch bo_unmap from TTM code to shared, and add more asserts.
2007-11-30 18:17:12 -08:00
Eric Anholt
d388cad746
[intel] Add failure path printfs to relocation code and some comments.
2007-11-30 18:12:41 -08:00
Eric Anholt
700468b8bc
[intel] Simplify TTM relocation code by passing around bufmgr struct.
2007-11-30 18:08:17 -08:00
Eric Anholt
ddd92ee9a1
[intel] Fix the type and naming of the flags/mask args to TTM functions.
...
The uint64_t flags (as defined by drm.h) were being used as unsigned ints in
many places.
2007-11-30 18:06:32 -08:00
Eric Anholt
6f8dee03aa
[intel] intel_bufmgr_ttm style sanity
2007-11-30 17:28:48 -08:00
Brian
b0b882b666
fix-build: remove ctx->_Facing assignment
2007-11-30 15:52:27 -07:00
Brian
fcd7c37fd3
fix broken two-sided stencil
2007-11-30 13:01:57 -07:00
Brian
44c8dac0af
better front-plane clip test
2007-11-30 09:08:58 -07:00
joukj
a11b6f025c
Updates of some OpenVMS makefiles.
2007-11-30 13:16:05 +01:00
joukj
86f3135fbd
Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesa
2007-11-30 11:12:41 +01:00