summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glapi: regenerated files for GL_ARB_copy_bufferBrian Paul2009-06-0211-5064/+5089
|
* glapi: include ARB_copy_buffer.xmlBrian Paul2009-06-022-0/+3
|
* glapi: GL_ARB_copy_buffer xml infoBrian Paul2009-06-021-0/+24
|
* 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
* intel: Clip to window after calling Driver.TexImage2DIan Romanick2009-06-021-9/+8
| | | | | | | | | This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <[email protected]>
* i915: Don't put VBOs in graphics memory unless required for an operation.Eric Anholt2009-06-022-1/+40
| | | | | This saves doing swtnl from uncached memory, which is painful. Improves clutter test-text performance by 10% since it started using VBOs.
* i965: Support OPCODE_TRUNC in the brw_wm_fp.c code.Eric Anholt2009-06-023-1/+18
| | | | This gets two more glean glsl1 tests using the non-GLSL path.
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-0118-246/+380
|\
| * st/mesa: fix incorrect sprite origin when drawing to FBO/textureBrian Paul2009-06-011-1/+2
| | | | | | | | | | | | | | Need to take the draw buffer's up/down orientation into consideration when setting the sprite_coord_mode field. Fixes inverted sprites when drawing into an FBO.
| * 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.
| * demos: add missing dependencies for util filesBrian Paul2009-06-011-10/+11
| |
| * 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
| |
| * mesa: Output warnings to debugger on Windows.José Fonseca2009-05-301-0/+10
| | | | | | | | | | Stderr of Windows applications without console is not usually visible.
| * mesa: Check/propagate return value on st_make_current.José Fonseca2009-05-302-8/+11
| | | | | | | | | | Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
| * mesa: Add success/failures return value to _mesa_make_current.José Fonseca2009-05-302-4/+6
| |
* | r300-gallium: Slightly hacky fix for glxgears-style TCL.Corbin Simpson2009-06-011-0/+7
| |
* | Use separate $(MINSTALL) for installing librariesDan Nicholson2009-06-0119-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | progs/rbug: Add small remote debugging cli applicationsJakob Bornecrantz2009-06-0111-0/+800
| |
* | trace/rbug: Add rbug integration for remote debuggingJakob Bornecrantz2009-06-016-6/+685
| |
* | rbug: Add Gallium Remote Debugger Protocol codeJakob Bornecrantz2009-06-0120-2/+3052
| | | | | | | | 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 ...
* | nv50: enable KIL in register 19a8Christoph Bumiller2009-05-281-0/+1
| |
* | nv50: don't overwrite sources before they're usedChristoph Bumiller2009-05-281-12/+83
| | | | | | | | | | This would have happened in p.e. ADD TEMP[0], TEMP[0].xyxy, TEMP[1] or RCP/RSQ TEMP[i], TEMP[i].
* | nv50: put FP outputs where they belongChristoph Bumiller2009-05-281-4/+37
| | | | | | | | | | Depth output in fragment programs should end up in the first register after the color outputs.
* | nv50: modified FP attribute loadingChristoph Bumiller2009-05-282-45/+147
| | | | | | | | | | | | | | | | VP outputs that should be loadable in the FP are mapped to interpolant indices by HPOS, COL0 etc.; of course HPOS is always written, so the highest byte of 1988 is a bitmask that selects which components of HPOS are used for interpolants, i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]).
* | nv50: inspect decl semantic and interpolation modeChristoph Bumiller2009-05-281-1/+74
| | | | | | | | | | | | Record interpolation mode for attributes while parsing declarations, and also remember the indices of FP color inputs and FP depth output, which has to end up in the highest output register.
* | nv50: record last access to temp and attr regsChristoph Bumiller2009-05-281-0/+127
| | | | | | | | | | | | | | We now inspect the TGSI instructions in tx_prep to determine where temps and FP attrs are last accessed. This will enable us to reclaim some temporaries early and we also use it to omit pre-loading FP attributes that aren't used.
* | nv50: save some space in immediate bufferChristoph Bumiller2009-05-281-1/+7
| | | | | | | | | | We could do even better (like just allocating 1 value in alloc_immd), but that's fine for now I guess.
* | nv50: fix SIGN_SET case in tgsi_srcChristoph Bumiller2009-05-281-1/+1
| |