Jakob Bornecrantz
85e0572756
progs/rbug: Add small remote debugging cli applications
2009-06-01 11:39:25 +01:00
Jakob Bornecrantz
01fa34cb98
trace/rbug: Add rbug integration for remote debugging
2009-06-01 11:19:56 +01:00
Jakob Bornecrantz
dfa4ebcbcc
rbug: Add Gallium Remote Debugger Protocol code
...
This is the (de)marshalling and connection managment code
2009-06-01 11:19:39 +01:00
Jakob Bornecrantz
aee1a6f704
util: Add simple network functions
2009-06-01 02:18:15 -07:00
José Fonseca
ea3ee4791e
wgl: Cleanup framebuffer destruction logic.
2009-05-31 17:16:26 -07:00
José Fonseca
0ea519f931
wgl: Ensure we only create framebuffers for HDC associated with a window.
2009-05-31 11:10:22 -07:00
Cooper Yuan
8e28d64e9c
R6xx/r7xx: Fix blinn's lighting shader
2009-05-31 16:51:07 +08:00
Cooper Yuan
377d8b3673
R6xx/r7xx: Fix texture perspective gradients issue
2009-05-31 16:41:19 +08:00
José Fonseca
fe69b6bdc7
wgl: Use the right pixel format.
...
There is no current pixel format. Each HDC has its pixelformat which is
kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions.
Now the HDC's pixelformat is kept in the stw_framebuffer, which is
created during the SetPixelFormat.
2009-05-30 20:29:03 -07:00
José Fonseca
be7c56be06
wgl: Fix debugging output.
2009-05-30 20:29:03 -07:00
José Fonseca
76f2bacb07
wgl: Rename function.
2009-05-30 20:29:03 -07:00
José Fonseca
1124f786c1
wgl: Remove unused field.
2009-05-30 20:29:03 -07:00
José Fonseca
5bb2074798
mesa: Output warnings to debugger on Windows.
...
Stderr of Windows applications without console is not usually
visible.
2009-05-30 20:29:02 -07:00
José Fonseca
8aef306c34
mesa: Check/propagate return value on st_make_current.
...
Prevents segmentation fault when trying to set the viewport/scissor
after a context/drawable visual mismatch.
2009-05-30 20:29:02 -07:00
José Fonseca
29c6c8eb18
mesa: Add success/failures return value to _mesa_make_current.
2009-05-30 20:29:02 -07:00
Brian Paul
bedf7fa49f
Merge branch 'mesa_7_5_branch'
2009-05-30 20:10:04 -06:00
Brian Paul
6c3cefdda6
Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"
...
This reverts commit 5d75124db4 .
This fixed unclipped polygons, but broke clipped polygons.
A better fix from the mesa 7.5 branch will be merged next...
2009-05-30 20:09:19 -06:00
Brian Paul
a59575d8fb
softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON
...
This fixes the incorrect colors seen when rendering flat-shaded polygons.
Note that clipped polygons were correct, but unclipped polygons were wrong.
See the glean/clipFlat test for regression testing.
2009-05-30 20:07:18 -06:00
Alex Deucher
d8694cd3f6
get rid of chip_object struct
2009-05-29 15:37:04 -04:00
Alex Deucher
cb39377253
more cleanup
2009-05-29 15:04:44 -04:00
Alex Deucher
5a8b67f363
more cleanup
2009-05-29 14:55:12 -04:00
Alex Deucher
e6eb0ce6ef
more cleanup
2009-05-29 14:45:07 -04:00
Alex Deucher
949c489f59
more cleanup
2009-05-29 14:23:04 -04:00
Alex Deucher
97ed5cffcb
remove more old r300 bits
2009-05-29 13:56:58 -04:00
Alex Deucher
616692cac5
more cleanup
2009-05-29 13:53:57 -04:00
Alex Deucher
70a0301c5b
Remove unused functions
2009-05-29 13:41:00 -04:00
Alex Deucher
37c3731819
Fix spelling in function name
2009-05-29 13:21:28 -04:00
Alex Deucher
9bcc421e68
R6xx/r7xx: remove old sw tcl bits
2009-05-29 13:16:23 -04:00
Alex Deucher
41a44ff891
R6xx/R7xx: switch to common clear with draw code
2009-05-29 13:07:05 -04:00
Alex Deucher
846b24ea82
r6xx/r7xx: switch to common dma functions for vecs
2009-05-29 12:49:45 -04:00
Brian Paul
fa0ca31586
softpipe: update comments for max texture size
2009-05-29 08:22:21 -06:00
Alex Deucher
9b10d19d4a
Remove subpixel offset from viewport
...
remove subpixel offset inherited from r100 code.
based on 038f0bf591
2009-05-29 10:04:03 -04:00
Brian Paul
425c39058b
softpipe: increase max 2D/cube texture size to 4K x 4K
2009-05-29 00:55:54 -06:00
Alex Deucher
7f022fb5cd
Argh. fix last commit. clears are still broken
2009-05-28 17:18:17 -04:00
Alex Deucher
3f14745946
R6xx/r7xx: re-enable clears
...
flush cache and wait for idle after drawing. Probably
just need the cache flush. This gets redbook hello working
properly.
2009-05-28 17:09:19 -04:00
Cooper Yuan
5ff3368c1f
R6xx, add edge rules for triangles
2009-05-28 16:51:49 -04:00
Brian Paul
b631d5fbf4
st: set pipe_rasterizer_state::flatshade_first according to provoking vertex state
2009-05-28 12:33:30 -06:00
Brian Paul
f2f89b01d2
mesa: glGet queries for GL_EXT_provoking_vertex
2009-05-28 12:31:56 -06:00
Brian Paul
fe86e50896
mesa: exec/dlist functions for glProvokingVertexEXT()
2009-05-28 12:31:18 -06:00
Brian Paul
89966cdb1b
mesa: data structure updates for GL_EXT_provoking_vertex
2009-05-28 12:30:25 -06:00
Brian Paul
bd6c44458f
mesa: regenerated enums for GL_EXT_provoking_vertex
2009-05-28 12:29:23 -06:00
Brian Paul
b9c245238c
mesa: regenerated API files for GL_EXT_provoking_vertex
2009-05-28 12:28:18 -06:00
Brian Paul
8c12c9bf76
mesa: GL API changes for GL_EXT_provoking_vertex
...
This creates the new glProvokingVertexEXT() entrypoint.
2009-05-28 12:26:19 -06:00
Corbin Simpson
b70fcd620d
r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed.
...
On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that.
2009-05-28 07:46:34 -07:00
Jerome Glisse
5dcbcbfca4
r300: when using cs path emit scissor in the cmdbuffer
2009-05-28 13:48:38 +02:00
Jerome Glisse
2f9189d538
r300: rework texture offset emission.
2009-05-28 11:40:58 +02:00
Ben Skeggs
534f1e8f02
nv50: some mipmapping fixes
2009-05-28 16:06:25 +10:00
Christoph Bumiller
c11c107f7d
nv50: negate sources directly where supported
2009-05-28 16:06:25 +10:00
Christoph Bumiller
87eea6e2b2
nv50: introduce emit_cvt and use it
...
This makes some code cleaner, and we can now easily
do CEIL and TRUNC.
2009-05-28 16:06:24 +10:00
Christoph Bumiller
3accd7ebe9
nv50: fix TXP
...
For TXP we need to divide texture coords by their w component, or
use the coords' 1/w in the perspective interpolation instruction.
This also tries to support 1D, 3D and CUBE textures, and lets the
instruction only load the components that are used.
2009-05-28 16:06:24 +10:00