summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: add pipe_buffer/fence code to pipe drivers, move nv50 overBen Skeggs2009-06-059-61/+309
|
* nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs2009-06-0519-101/+136
|
* nouveau: call nouveau_pushbuf directly rather than going through nvwsBen Skeggs2009-06-057-53/+39
|
* trace/rbug: Use condvar on system that has it for blockingJakob Bornecrantz2009-06-053-0/+14
|
* gallium: Make pipe thread say if it has condvars or notJakob Bornecrantz2009-06-051-0/+2
|
* trace/rbug: Add new contexts functions to trace rbugJakob Bornecrantz2009-06-043-1/+236
|
* rbug: Update rbug protocol with new context callsJakob Bornecrantz2009-06-047-43/+336
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-046-31/+91
|\ | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul2009-06-041-2/+12
| | | | | | | | | | | | | | Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. (cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
| * softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul2009-06-041-1/+1
| | | | | | | | | | | | This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
| * tgsi: increase MAX_LABELS to 4096Brian Paul2009-06-041-1/+1
| |
| * util: Unsaved change missing from last commit.José Fonseca2009-06-021-1/+1
| |
| * util: Support Z24S8/Z24X8 -> unsigned conversion.José Fonseca2009-06-021-0/+15
| |
| * util: Fix 24 to 32 bit expansion binary arithmetic expression.José Fonseca2009-06-021-1/+1
| | | | | | | | | | | | When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the 8 least significant bits of y should come from the 8 most significant bits of x.
| * gallium/draw: Free specialized versions of driver shadersKeith Whitwell2009-06-013-0/+13
| | | | | | | | | | The pstipple, aaline and aapoint code would create specialized versions of shaders and upload them to the driver -- but never free them.
| * draw: free more token arraysKeith Whitwell2009-06-012-5/+12
| | | | | | | | | | The AA line and point code also needs to free token arrays after building driver shaders.
| * draw: avoid leaking tokens when building pstipple fragment shaderKeith Whitwell2009-06-011-0/+1
| | | | | | | | Add missing FREE() after MALLOC().
| * wgl: Destroy the framebuffer when the window is destroyed.José Fonseca2009-06-011-24/+48
| |
* | softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul2009-06-031-2/+12
| | | | | | | | | | Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a.
* | softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul2009-06-031-1/+1
| | | | | | | | This fixes incorrect front/back-face orientation.
* | r300-gallium: strip swtcl to the bare minimumJoakim Sindholt2009-06-021-34/+22
| | | | | | | | | | | | This was originally taken from i915 and it shows. Basically most the stuff in r300_render.c was never needed and shouldn't have worked in the first place
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-0111-223/+340
|\|
| * draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul2009-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage.
| * wgl: Cleanup framebuffer destruction logic.José Fonseca2009-05-311-9/+4
| |
| * wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca2009-05-311-1/+7
| |
| * wgl: Use the right pixel format.José Fonseca2009-05-309-202/+301
| | | | | | | | | | | | | | | | 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.
| * wgl: Fix debugging output.José Fonseca2009-05-301-9/+27
| |
| * wgl: Rename function.José Fonseca2009-05-301-2/+2
| |
| * wgl: Remove unused field.José Fonseca2009-05-302-2/+0
| |
* | r300-gallium: Slightly hacky fix for glxgears-style TCL.Corbin Simpson2009-06-011-0/+7
| |
* | Use separate $(MINSTALL) for installing librariesDan Nicholson2009-06-015-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
* | trace/rbug: Add rbug integration for remote debuggingJakob Bornecrantz2009-06-016-6/+685
| |
* | rbug: Add Gallium Remote Debugger Protocol codeJakob Bornecrantz2009-06-0118-0/+3050
| | | | | | | | This is the (de)marshalling and connection managment code
* | util: Add simple network functionsJakob Bornecrantz2009-06-014-0/+214
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-301-1/+15
|\|
| * softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul2009-05-301-1/+15
| | | | | | | | | | | | | | 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.
* | Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"Brian Paul2009-05-303-6/+1
| | | | | | | | | | | | | | This reverts commit 5d75124db480b37977c353511b4e228905b7cc95. This fixed unclipped polygons, but broke clipped polygons. A better fix from the mesa 7.5 branch will be merged next...
* | softpipe: update comments for max texture sizeBrian Paul2009-05-291-2/+2
| |
* | softpipe: increase max 2D/cube texture size to 4K x 4KBrian Paul2009-05-291-2/+2
| |
* | r300-gallium, radeon-gallium: Make add_buffer indicate when a flush is needed.Corbin Simpson2009-05-284-23/+50
| | | | | | | | On a side note, why is RADEON_MAX_BOS 24? Should ask airlied about that.
* | nv50: some mipmapping fixesBen Skeggs2009-05-284-22/+31
| |
* | nv50: negate sources directly where supportedChristoph Bumiller2009-05-281-42/+68
| |
* | nv50: introduce emit_cvt and use itChristoph Bumiller2009-05-281-40/+48
| | | | | | | | | | This makes some code cleaner, and we can now easily do CEIL and TRUNC.
* | nv50: fix TXPChristoph Bumiller2009-05-281-23/+112
| | | | | | | | | | | | | | | | 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.
* | nv50: use multiple constant buffersChristoph Bumiller2009-05-284-48/+105
| | | | | | | | | | | | | | Use different buffers for immds, FP params, and VP params. One has to map constant buffer indices in shader code to buffers defined via CB_DEF. In principle, we could use more buffers so we'd have to change the shader code less frequently.
* | nv50: don't look for unfreed temps in free_nv50_pcChristoph Bumiller2009-05-281-8/+0
| | | | | | | | | | Since we stopped using alloc_temp to get hw indices for FP attrs there shouldn't be any non-deallocated temps left.
* | nv50: release hw TEMPs earlyChristoph Bumiller2009-05-281-0/+19
| | | | | | | | | | Since we know when we don't use a TEMP or FP ATTR register anymore, we can release their hw resources early.
* | nv50: allow immediates for MOV, ADD and MULChristoph Bumiller2009-05-281-5/+22
| | | | | | | | | | | | Immediates are inlined now where possible, so we need to set pc->allow32 to FALSE in LIT where we have the conditional MOV, since immediates swallow the predicate bits.
* | nv50: enable half insns for MOV and MULChristoph Bumiller2009-05-281-7/+12
| |
* | nv50: make sure half-long insns are pairedChristoph Bumiller2009-05-281-0/+72
| | | | | | | | | | | | | | I chose to just convert unpaired 32 bit length instructions after parsing all instructions, although it might be possible to determine beforehand whether there would be any lone ones, and then even do some swapping to bring them together ...