Commit graph

22319 commits

Author SHA1 Message Date
Dave Airlie
6c48c93a53 radeon/r200: add fbo state changes 2009-03-21 22:36:18 +11:00
Dave Airlie
712478cfdd r300: fix viewport inversion for FBOs 2009-03-21 22:27:01 +11:00
Dave Airlie
8ab7c77dc2 radeon: align FBO pitch 2009-03-21 18:16:21 +10:00
Dave Airlie
56c5df33de radeon: fixup last missing x_off/y_off 2009-03-21 18:16:02 +10:00
Dave Airlie
8a60083676 radeon: add cpp/pitch to rrb 2009-03-21 18:07:33 +10:00
Dave Airlie
e795bd3c90 radeon/fbo: add x_off and y_off in correct places 2009-03-21 18:05:54 +10:00
Dave Airlie
86dcbb5457 radeon: dPriv handling is now in cliprects code 2009-03-21 16:51:46 +10:00
Dave Airlie
9368dcb426 radeon: fixup span code for FBOs 2009-03-21 16:08:20 +10:00
Dave Airlie
fbda2ad445 r300: hw clear buffer 0 hopefully 2009-03-21 15:05:34 +10:00
Dave Airlie
ffde891a03 radeon: fix up span function setting 2009-03-21 14:31:14 +10:00
Dave Airlie
22443d5cc0 r300: init fbos 2009-03-20 22:34:30 +10:00
Dave Airlie
ba890ad35b more fbo fillin 2009-03-20 22:29:15 +10:00
Dave Airlie
e3faf5b51d r300: enable FBO for a test 2009-03-20 22:15:22 +10:00
Dave Airlie
230abc06f8 radeon: some more fbo work 2009-03-20 22:07:05 +10:00
Dave Airlie
fabce837f9 radeon: initial couch code copy from radeon 2009-03-20 18:23:38 +10:00
Dave Airlie
407e8ae5b1 Merge remote branch 'main/master' into radeon-rewrite
Conflicts:
	src/mesa/drivers/dri/r300/r300_cmdbuf.c
	src/mesa/drivers/dri/r300/r300_state.c
	src/mesa/drivers/dri/r300/r300_swtcl.c
	src/mesa/drivers/dri/r300/radeon_ioctl.c
	src/mesa/drivers/dri/radeon/radeon_screen.c
2009-03-20 10:52:17 +10:00
Alan Hourihane
114bb54324 slang: initialize the context 2009-03-19 22:38:01 +00:00
Alan Hourihane
e3aedec868 slang: support uniform arrays 2009-03-19 22:06:53 +00:00
Jakob Bornecrantz
c9a318a7c6 trace: Formalize on a standard for data size pair 2009-03-19 19:18:38 +01:00
Brian Paul
bbd208b60c glslcompiler: added new options to override debug/optimization pragmas 2009-03-19 10:29:13 -06:00
Brian Paul
65fc2ca82a glsl: change GLSL #pragma initialization
Initialize the shader's pragma settings before calling the compiler.
Added pragma "Ignore" fields to allow overriding the #pragma directives found
in shader source code.
2009-03-19 10:29:13 -06:00
Alan Hourihane
a57d7edf06 egl: fix comment 2009-03-19 15:39:01 +00:00
Alan Hourihane
9ed03af8c0 egl: try harder for eglGetProcAddress() 2009-03-19 15:37:25 +00:00
Brian Paul
214132adfe glsl: when debug pragma is on, emit comments about function calls/inlines
BTW, the debug pragma syntax is "#pragma debug(on)"
2009-03-19 09:26:20 -06:00
Alan Hourihane
264c3d218a mesa: check renderbuffer is defined before use. 2009-03-19 13:59:09 +00:00
Dave Airlie
bdaa0341ca radeon/r200/r300: cleanup some of the renderbuffer code 2009-03-19 15:31:03 +10:00
Dave Airlie
c0c06803fe radeon: fix up locking like the intel driver for pageflip/swaps 2009-03-19 14:46:52 +10:00
Jakob Bornecrantz
9e84e7def1 st/gl: Only transfer needed parts in st_TexSubimage 2009-03-19 02:23:06 +01:00
Alan Hourihane
989856bde4 slang: if/else/break & if/else/continue work for unrolled loops 2009-03-19 10:17:30 +00:00
Michal Krol
1342664434 wgl: Add an `-s' option to wglthreads to force single-threaded operation. 2009-03-19 11:16:01 +01:00
Michal Krol
355e9bb45c swrast: Silence compiler warnings, give better structure to the code as a result. 2009-03-19 10:39:57 +01:00
Michal Krol
4b55a4f74d tgsi: Document vs_2_0 instruction set operations. 2009-03-19 09:53:34 +01:00
Michal Krol
7c50917b42 tgsi: Document vs_1_1 instruction set operations. 2009-03-19 09:53:31 +01:00
Michal Krol
a1f4b5d8b8 tgsi: Begin documenting ps_2_x instruction set operations. 2009-03-19 09:53:29 +01:00
Corbin Simpson
db83ee1647 r300-gallium: Emit viewport state.
Note that this will break you, hard, if you're not using RADEON_NO_TCL.
I really need to start vertex shaders soon.
2009-03-18 15:44:04 -07:00
Corbin Simpson
3a648d0cf2 r300-gallium: Viewport state storage. 2009-03-18 15:44:04 -07:00
Corbin Simpson
5b97ba4eb0 r300-gallium: Fixup registers for viewport state. 2009-03-18 15:44:04 -07:00
Brian Paul
a577471c54 mesa: use the IROUND() macro in pixel packing code
It turns out some tests are sensitive to rounding vs. truncating when
converting float color values to integers in glReadPixels().  In particular,
this matters when the destination format is 5/6/5 or 4/4/4/4, etc.
2009-03-18 15:45:38 -06:00
Alan Hourihane
cac1ce09ac slang: redo the last commit for if/break & if/continue tests as it
wasn't good enough for deeply nested if's.
2009-03-18 21:42:14 +00:00
Alan Hourihane
192b7bc706 Revert "slang: if we detect an if/break or if/continue within a loop and we're"
This reverts commit 752296b8f3.
2009-03-18 21:40:03 +00:00
Alan Hourihane
752296b8f3 slang: if we detect an if/break or if/continue within a loop and we're
trying to unroll, bail, and fallback to doing the real loop.
2009-03-18 21:17:35 +00:00
Keith Whitwell
08d44512e9 st: call _glapi_check_multithread from st_make_current
This function is called from many OS-dependent versions of MakeCurrent.

Move the check for multithreading to this central location to avoid
having to make this check from all the callers.
2009-03-18 19:14:45 +00:00
Thomas Hellstrom
caf99be999 stw: Fix makeCurrent.
Flush if we change current context.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-18 18:02:58 +00:00
José Fonseca
1f118c2557 progs: Build the wgl examples with scons. 2009-03-18 16:40:57 +00:00
Jakob Bornecrantz
3f17030d9c progs/trivial: Make quad-tex-sub repeat patterns 2009-03-18 17:27:34 +01:00
Brian Paul
4c460cfd2b tests: remove/update old comments 2009-03-18 10:24:19 -06:00
Brian Paul
0b0e2159f2 st: need to free/realloc pipe texture when we're handed image level > last_level
Fixes progs/tests/tri-fbo-tex-mip.c
2009-03-18 10:24:19 -06:00
Brian Paul
a0509f7d28 st: clean up some if-statment code 2009-03-18 10:24:19 -06:00
Brian Paul
9808ae688a softpipe: more texture transfer fixes.
Need to null-out pointers after freeing transfer objects.
Fix mix-ups between tc->transfer and tc->tex_trans fields.
2009-03-18 10:24:19 -06:00
Brian Paul
71e3aa14fb softpipe: need to set tc->transfer=NULL after destroying the transfer object
This fixes a number of crashes/regressions in programs such as lodbias.c,
mipmap_limits.c, etc.
2009-03-18 10:24:19 -06:00