Commit graph

3085 commits

Author SHA1 Message Date
Jakob Bornecrantz
36348ff1da i915: Enable winsys to get buffer from texture 2009-02-25 02:00:29 +01:00
Jakob Bornecrantz
25b32eb8d0 st/drm: Bring drm_api.h up to date with latest changes 2009-02-25 02:00:29 +01:00
Jakob Bornecrantz
f0d09bfc1c i915: Fix some warnings 2009-02-25 02:00:29 +01:00
Jakob Bornecrantz
c92dc32dc2 i915: Clean up i915_winsys.h a bit 2009-02-25 02:00:29 +01:00
José Fonseca
0be216c526 pipebuffer: Allow asymmetric guard sizes for under/overflow detection. 2009-02-24 15:49:21 +00:00
José Fonseca
8f3c1cddaa util: Don't use 0-sized arrays.
Not supported by MSVC.
2009-02-24 15:44:09 +00:00
Brian Paul
d6677fd9bc softpipe: minor code movement in softpipe_get_tex_transfer() 2009-02-24 08:33:50 -07:00
Brian Paul
66ddf1a00f cell: added null ptr check in xm_flush_frontbuffer() 2009-02-24 08:32:50 -07:00
Keith Whitwell
b1ac00dc8d st/wgl: silence some debug 2009-02-24 12:14:50 +00:00
José Fonseca
693fac8ae2 gallium: Add pipe_buffer_write/read inlines.
Saves code, and will simplify future interface changes.
2009-02-24 11:30:25 +00:00
José Fonseca
208dbc6832 pipebuffer: Remove unused var. 2009-02-24 11:22:24 +00:00
Alan Hourihane
6b72227270 gallium: add winsys interface for viewport changes to support DRI2 2009-02-23 20:28:55 +00:00
José Fonseca
37f21fce3b Merge commit 'origin/gallium-0.1'
Conflicts:
	src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
	src/gallium/auxiliary/util/u_tile.c
2009-02-23 17:21:36 +00:00
Joel Bosveld
8344b85333 gallium: Install winsys/drm to DESTDIR rather than / 2009-02-23 08:19:14 -07:00
Corbin Simpson
d265706cd3 r300-gallium: Fix pasto and debug messages.
This could explain at least one kind of lockup. Yay?
2009-02-23 05:59:59 -08:00
Corbin Simpson
65b79383fb r300-gallium: Cleanup some state emit, move vertex format state to r300_emit.
No need to explicitly update derived state, as it will be done automatically.
2009-02-23 05:59:58 -08:00
José Fonseca
67387bf33f gallium: Define PIPE_PRIM_MAX. 2009-02-23 12:56:45 +00:00
Corbin Simpson
b003b2f6dd r300-gallium: Fix a handful of compile warnings.
Some harmless, some very dangerous.
2009-02-23 04:37:58 -08:00
Corbin Simpson
f72e777911 r300-gallium: Decode passthrough shader for r300.
Looks pretty sane.
2009-02-23 04:37:58 -08:00
Corbin Simpson
763714d900 r300-gallium: Finish VAP/VF setup.
Messy, messy.
2009-02-23 04:37:58 -08:00
Corbin Simpson
d737010296 r300-gallium: Fix BEGIN_CS size. 2009-02-23 04:37:58 -08:00
José Fonseca
c7bbc9ad12 wgl: Enable the use of Win32 threads. 2009-02-23 11:52:59 +00:00
Joakim Sindholt
ddc6ee316c r300-gallium: Add pipe_format translators and apply them 2009-02-22 20:03:03 -08:00
Joakim Sindholt
4776ebc648 r300-gallium: Add all supported 2d texture formats 2009-02-22 20:03:02 -08:00
Joakim Sindholt
b11f1c35d5 r300-gallium: correct buffer stride calculation 2009-02-22 20:03:02 -08:00
Brian Paul
022e446c78 gallium: remove dependency on main/glheader.h in glxapi.c
Only needed it for the PUBLIC macro.
2009-02-22 15:37:57 -07:00
Ben Skeggs
e5e255a406 nv50: delay uploads until transfer object is destroyed
It's possible a state tracker will map/unmap a transfer object many times.
Delaying upload until the object is destroyed will prevent unnecessary
uploads to the GPU.

Also fixing a typo here, was unmapping the wrong buffer on transfer_unmap!
2009-02-22 15:47:15 +10:00
Brian Paul
776971218e gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX instructions
These texture types were defined but never put to use.
For the time being though, the Mesa->TGSI translater isn't emitting these
targets.  See the XXX comment in map_texture_target().
2009-02-20 14:06:25 -07:00
José Fonseca
60e35ebf14 python: More efficient blits from surfaces.
C code instead of interpreted python code.
2009-02-20 16:50:02 +00:00
José Fonseca
7738855988 util: Use a checkboard pattern instead of asserting for unknown formats.
Useful to replay traces which use DXTC textures...
2009-02-20 16:48:45 +00:00
José Fonseca
059d7f3103 python/interpreter: Don't do unnecessary updates. 2009-02-20 15:23:33 +00:00
José Fonseca
e92f3310fa python/retrace: Verbosity level. 2009-02-20 15:14:15 +00:00
José Fonseca
204526a6d2 python/retrace: Cope with python 2.4.x 2009-02-20 15:02:19 +00:00
Keith Whitwell
02ab1eaed7 util/debug: need to fflush(stderr) on windows
Hard to believe... but true.
2009-02-20 14:27:23 +00:00
José Fonseca
5b41e30f26 util: Also output messages to stderr on windows.
When there is a console attached, and no debugger attached.
2009-02-20 14:14:19 +00:00
José Fonseca
7887a3e42b python: Pass a zero offset to util_draw_vertex_buffer. 2009-02-20 13:00:13 +00:00
José Fonseca
a5c2570dc5 wgl: Prevent null pointer reference. 2009-02-20 11:54:18 +00:00
José Fonseca
ee4e4a6b96 util: Stack backtracing facilities.
Not much useful until we have symbol lookup.
2009-02-20 11:54:18 +00:00
Jakob Bornecrantz
d67bd60ecf gallium: s/GALLIUM_DRIVER_DIRS/GALLIUM_DRIVERS_DIRS/ 2009-02-20 11:25:55 +00:00
Jakob Bornecrantz
fffadc219f gallium: Improve recursive makefiles 2009-02-20 11:25:55 +00:00
Jakob Bornecrantz
3eebd24cb6 gallium: Improve winsys dri template Makefile
LIBNAME_EGL had to be removed since if you didn't
	set it (nobody set it anyways) make would get it
	confused it with the $(TOP)/lib/gallium target.
2009-02-20 11:23:32 +00:00
Jakob Bornecrantz
5089e5c052 intel: Use new makefile template for drm gem 2009-02-20 10:22:11 +00:00
Jakob Bornecrantz
2734b8079d nouveau: Use new makefile template for drm common 2009-02-20 10:22:11 +00:00
Jakob Bornecrantz
d9602e5144 gallium: Improve makefiles for libraries
The template makefile that most libraries in
	gallium included was based on dri and had a bunch
	unrelevant junk in it.

	Update it and improve the depending makefiles.
2009-02-20 10:22:10 +00:00
Ben Skeggs
8cf997b7c8 nouveau: reenable all the non-nv50 pipe drivers
They still won't build yet, but anyway..
2009-02-20 09:47:56 +10:00
Ben Skeggs
b85c81760c nv50: remove unused variable 2009-02-20 09:43:25 +10:00
Ben Skeggs
5ea8068f24 nv50: fix occlusion queries
Left behind from some gallium changes a while back..
2009-02-20 09:43:24 +10:00
Ben Skeggs
63a3a3762c nv50: rework for texture_transfer changes 2009-02-20 09:43:24 +10:00
José Fonseca
43b31fc6fc util: Support PIPE_FORMAT_Z32_FLOAT in pipe_tile_raw_to_rgba 2009-02-19 12:56:56 +00:00
José Fonseca
7c12e1aa53 pipebuffer: Dump debugging info for fenced buffer list. 2009-02-18 15:12:16 +00:00