Commit graph

22853 commits

Author SHA1 Message Date
Eric Anholt
c96bac0950 intel: replace custom metaops clear with generic.
No real-world impact on performance seen.  Even glxgears seems to be, if
anything, happier.
2009-02-02 15:33:33 -08:00
Corbin Simpson
a2416e3d7e r300, amd: Oops, a couple more API changes.
Somehow I forgot to commit these.
2009-02-02 14:42:04 -08:00
Eric Anholt
dd1c68f151 dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers.
We only wanted to request when asked for the same set of buffers when a resize
has happened.  We can just watch the protocol stream for a ConfigureNotify
and flag to do it then.

This is about a 5% win from doing two glViewport()s per frame in openarena.
2009-02-02 12:00:39 -08:00
José Fonseca
df73c964d8 xlib: Get conditional compilation of drivers working again. 2009-02-02 15:37:58 +00:00
José Fonseca
f0ad6b6144 gdi: Update for wgl st reorg. 2009-02-02 15:36:00 +00:00
Michel Dänzer
859db22527 scons: Fixups for the introduction of the xlib state_tracker.
Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
2009-02-02 15:49:33 +01:00
Brian Paul
92ced46eaf mesa: move code after decls. Fixes Window build failure. 2009-02-02 07:48:10 -07:00
Jakob Bornecrantz
be0a6c3598 gallium: Stop relinking drivers and aux libraries 2009-02-02 14:18:50 +01:00
Keith Whitwell
b608d64243 Merge commit 'origin/gallium-0.2' into gallium-0.2 2009-02-02 12:18:34 +00:00
Keith Whitwell
e4d1757f81 Merge branch 'gallium-wgl-rework' into gallium-0.2
Conflicts:

	src/gallium/state_trackers/wgl/shared/stw_public.h
2009-02-02 12:17:01 +00:00
José Fonseca
558010527b wgl: Only export the same symbols as Microsoft's opengl32.dll.
Plus the ICD entrypoints.
2009-02-02 11:08:41 +00:00
Corbin Simpson
ffc5e9a422 amd: Fix build errors from rebase. 2009-02-02 00:18:25 -08:00
Corbin Simpson
ce6710e369 r300: Clean up after rebase.
Fix a couple struct members, clear up a few texture lines.
2009-02-01 23:58:16 -08:00
Corbin Simpson
38f610e536 r300: Add u_simple_screen support. 2009-02-01 23:43:30 -08:00
Corbin Simpson
e6e6b493b6 r300: Add more rs_state, fix indents on dsa_state. 2009-02-01 23:30:32 -08:00
Corbin Simpson
70b508bffb r300: Split rs_state emit into its own function. 2009-02-01 23:30:32 -08:00
Corbin Simpson
7ccc9a92ce amd: Add AMD_SOFTPIPE environment option.
If set, AMD_SOFTPIPE will make amd switch to softpipe.
2009-02-01 23:30:32 -08:00
Corbin Simpson
8c8bdcde6d r300: Add line stipple state to rs_state. 2009-02-01 23:30:32 -08:00
Corbin Simpson
e14a10691e r300: Add cleaned-up clear fallback, sort more regs. 2009-02-01 23:30:32 -08:00
Corbin Simpson
09b107058d r300: Try to fix up RS a bit more. 2009-02-01 23:30:32 -08:00
Joakim Sindholt
0c9d2bbb12 r300: set up r5xx fragment shader; clear still broken 2009-02-01 23:30:32 -08:00
Corbin Simpson
c199f33032 r300: Unbreak emit, fix up a bunch of little things. 2009-02-01 23:30:31 -08:00
Joakim Sindholt
f0fce46a48 r300: attempt at trivial/clear on r5xx 2009-02-01 23:30:31 -08:00
Joakim Sindholt
00f96d054d r300: name registers for human readability
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-02-01 23:30:31 -08:00
Corbin Simpson
588d8f3bef r300: Fix a few more registers. 2009-02-01 23:30:31 -08:00
Corbin Simpson
84ec4d6bed Ack, forgot to update the index again. 2009-02-01 23:30:31 -08:00
Corbin Simpson
80dc180140 r300: A handful of thingys. 2009-02-01 23:30:31 -08:00
Corbin Simpson
f6add70ef8 r300: Fix small r300_reg typo. 2009-02-01 23:30:30 -08:00
Corbin Simpson
3f1bc7ed32 r300: Moar RS cleanup.
How could I possibly miss these?
2009-02-01 23:30:30 -08:00
Corbin Simpson
9814fca718 r300: Cleanup first part of RS block.
Working towards r500-ability.
2009-02-01 23:30:30 -08:00
Corbin Simpson
962d2e678f r300: Clean up PVS upload emits. 2009-02-01 23:30:30 -08:00
Corbin Simpson
2e635ef563 r300: Add dsa state emit.
Seeing a pattern yet?
2009-02-01 23:30:30 -08:00
Corbin Simpson
bea0c5812b r300: Add blend color state emit.
Slow and steady wins the race. Or something like that.
2009-02-01 23:30:30 -08:00
Corbin Simpson
2cb90c8e80 r300: Count BEGIN_CS, END_CS, warn if count is off. 2009-02-01 23:30:29 -08:00
Corbin Simpson
f1ba451bcc r300: Set up blend state emit, clean up blend registers.
Also add at least one missing register to r300_reg.
2009-02-01 23:30:29 -08:00
Corbin Simpson
2c2f819a1d r300: Add r300_flush.
Haha, I always do this.
2009-02-01 23:30:29 -08:00
Corbin Simpson
3e3122467f r300: Deobfuscate a few registers, fix inaccurate variable names.
It's not "pipes", it's floating-point vertex processors. Completely different.
2009-02-01 23:30:29 -08:00
Corbin Simpson
29a4f54935 r300: Working trivial/clear for RV410.
This might work for other people too.
2009-02-01 23:30:29 -08:00
Corbin Simpson
412cf4d38b BROKEN
This commit is only to protect against data loss, so please skip it when
bisecting. Thanks.
2009-02-01 23:30:29 -08:00
Corbin Simpson
f40e6988bd Rebased to gallium-0.2, Jan 24 2009. 2009-02-01 23:30:28 -08:00
Corbin Simpson
188f61d43a r300: Hook up clear, set it to fallback. 2009-02-01 23:30:28 -08:00
Corbin Simpson
57b062f775 r300: Make format names legible. 2009-02-01 23:30:28 -08:00
Corbin Simpson
f045988ee1 r300: Add more capabilities. 2009-02-01 23:30:28 -08:00
Corbin Simpson
f2a7d4f2e8 r300: Newlines, dammit! 2009-02-01 23:30:28 -08:00
Corbin Simpson
161f4068aa r300: More state setters. 2009-02-01 23:30:28 -08:00
Corbin Simpson
902b1be0ea r300: Add some useful debugging information; remove a couple compile warnings.
Deck chairs on the Titanic.
2009-02-01 23:30:28 -08:00
Corbin Simpson
e54732eb3d r300: Remove radeon_reg.
Wonder why this was ever committed...
2009-02-01 23:30:27 -08:00
Corbin Simpson
1aa2ecf353 r300: Put r300_blit to bed.
Not going to be using the blitter. Period.
2009-02-01 23:30:27 -08:00
Corbin Simpson
7d3d3c75cc r300: Plan for the next state setters. 2009-02-01 23:30:27 -08:00
Corbin Simpson
1a503019d7 r300: Moar state handlers.
Ah, my code's so bad. It's amazing.
2009-02-01 23:30:27 -08:00