Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify ctx->_NumColorDrawBuffers, _ColorDrawBuffers and fix bug 13835. | Brian | 2008-01-06 | 26 | -225/+220 |
| | | | | | | | | | | | These fields are no longer indexed by shader output. Now, we just have a simple array of renderbuffer pointers. If the shader writes to gl_FragData[i], send those colors to the N _ColorDrawBuffers. Otherwise, replicate the single gl_FragColor (or the fixed-function color) to the N _ColorDrawBuffers. A few more changes and simplifications can follow from this... | ||||
* | fix depth/1 typo in glTexImage3D proxy code | Brian | 2008-01-05 | 1 | -3/+3 |
| | |||||
* | check if span length > 0 before calling _swrast_write_rgba_span() | Brian | 2008-01-05 | 1 | -5/+7 |
| | |||||
* | i915: don't validate PS program when falling back to software | Xiang, Haihao | 2008-01-04 | 1 | -1/+2 |
| | | | | rendering. fix #12786 | ||||
* | intel: some initialization for dri_bufmgr_ttm | Xiang, Haihao | 2008-01-04 | 1 | -0/+2 |
| | |||||
* | [intel] Add a single-entry relocation buffer cache. | Eric Anholt | 2008-01-03 | 1 | -26/+53 |
| | | | | | | | By avoiding the repeated relocation buffer creation/map/unmap/destroy for each new batch buffer, this improves OpenArena framerates by 30%. Caching batch buffers themselves doesn't appear to be a significant performance win over this change. | ||||
* | [intel] Convert relocations to not be cleared out on buffer submit. | Eric Anholt | 2008-01-03 | 13 | -417/+388 |
| | | | | | | | | We have two consumers of relocations. One is static state buffers, which want the same relocation every time. The other is the batchbuffer, which gets thrown out immediately after submit. This lets us reduce repeated computation for static state buffers, and clean up the code by moving relocations nearer to where the state buffer is computed. | ||||
* | [965] Fix some missing initialization in WM keys. | Eric Anholt | 2008-01-03 | 1 | -0/+6 |
| | |||||
* | fix fd.o bug #13761 | Zou Nan hai | 2008-01-03 | 1 | -2/+2 |
| | | | | MRD computation is now changed in mesa core | ||||
* | [965] Convert WM unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 2 | -80/+126 |
| | |||||
* | [965] Convert VS unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -26/+63 |
| | |||||
* | [965] Convert SF unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -47/+105 |
| | |||||
* | [965] Convert GS unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -23/+62 |
| | |||||
* | [965] Convert clip unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -21/+64 |
| | |||||
* | [965] Convert CC unit to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -59/+166 |
| | |||||
* | [965] Convert surface state to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 1 | -48/+87 |
| | |||||
* | [965] Convert sampler state to use a cache key instead of brw_cache_data. | Eric Anholt | 2008-01-02 | 2 | -59/+101 |
| | |||||
* | Revert "[intel] Use the memory type mask containing the caching flags." | Eric Anholt | 2008-01-02 | 1 | -1/+1 |
| | | | | | | | This reverts commit 8bb9ae3693362a302206255c61f512d942df9bbf. Validating our kernel buffers with the caching off in flags but on in mask means that the kernel migrates the buffer to be uncached, which is undesired. | ||||
* | [intel] Use the memory type mask containing the caching flags. | Eric Anholt | 2008-01-02 | 1 | -1/+1 |
| | |||||
* | Set correct flags mask when validating buffers. | Keith Packard | 2008-01-02 | 1 | -22/+22 |
| | | | | | | | | | | The 'mask' value used in the validation operation specifies which of the 'flags' bits are being modified. Buffer validation wants to pass the memory type and access mode (rwx) to the kernel so that the buffer will be placed correctly, and so that the right kind of fence will be created (read vs write). That means we actually want a constant mask for these operations, and not something computed from the bits coming in. The constant we want is DRM_BO_MASK_MEM | DRM_BO_FLAG_READ | DRM_BO_FLAG_WRITE | DRM_BO_FLAG_EXE. | ||||
* | [965] Improve performance by including reloc target buffer pointers in keys. | Eric Anholt | 2008-01-02 | 1 | -4/+11 |
| | | | | | Without this, the WM binding tables would all collide, for example. Improves openarena performance by around 2%. | ||||
* | additional stub functions | Brian | 2008-01-02 | 1 | -0/+4 |
| | |||||
* | additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767) | Brian | 2008-01-02 | 1 | -0/+8 |
| | |||||
* | i915: Needn't adjust pixel centers. fix #12944 | Xiang, Haihao | 2008-01-02 | 2 | -4/+4 |
| | |||||
* | Revert "r300: fix bug with maniadrive rendering" | Dave Airlie | 2008-01-02 | 1 | -13/+13 |
| | | | | | | this is correct, there is another issue with sw fallbacks This reverts commit cc50edbca2fd3111f9987d4117fa6656599d79dc. | ||||
* | remove unneeded conditional | Brian | 2008-01-01 | 1 | -2/+3 |
| | |||||
* | fix vbo display list memleak upon context destruction | Brian | 2008-01-01 | 2 | -0/+16 |
| | |||||
* | fix glUniform4f typo | Brian | 2008-01-01 | 1 | -1/+1 |
| | |||||
* | additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767) | Brian | 2008-01-01 | 1 | -0/+8 |
| | |||||
* | Convert to 0/1 when setting boolean uniforms | Bruce Merry | 2008-01-01 | 2 | -1/+47 |
| | | | | Also add some extra tests to the shader_api regression tests | ||||
* | Make use of count in _mesa_uniform_matrix | Bruce Merry | 2008-01-01 | 1 | -13/+25 |
| | |||||
* | Add a test program to test for assorted bugs in shader_api.c | Bruce Merry | 2008-01-01 | 3 | -0/+302 |
| | |||||
* | More fixes to shader_api | Bruce Merry | 2008-01-01 | 1 | -7/+16 |
| | | | | | | - return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad - correct the type-checking of uniforms from my previous commit - accept location of -1 in _mesa_uniform_matrix | ||||
* | Fix several bugs relating to uniforms and attributes in GLSL API | Bruce Merry | 2008-01-01 | 1 | -11/+73 |
| | | | | | | | | | | | - fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type - fix size returns in _mesa_get_active_attrib - fix out-of-bounds array access to vec_types in _mesa_get_active_attrib - fix queries of matrix uniforms in _mesa_get_uniformfv - fix _mesa_get_uniformfv to only return one base, even from an array - allow location == -1 in _mesa_uniform - validate types in _mesa_uniform - allow array overruns in _mesa_uniform | ||||
* | added 'get' info for framebuffer object tokens | Brian | 2008-01-01 | 2 | -8/+18 |
| | |||||
* | add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811) | Brian | 2008-01-01 | 1 | -1/+3 |
| | |||||
* | t_vp_build: fix temporary register allocation to minimise the allocations | Hans de Goede | 2008-01-02 | 1 | -8/+11 |
| | |||||
* | rx00: fix off by one error in tempreg check | Hans de Goede | 2008-01-02 | 2 | -6/+9 |
| | |||||
* | r300: fix bug with maniadrive rendering | Dave Airlie | 2008-01-02 | 1 | -13/+13 |
| | | | | I've no idea why I added this so I'll have to spend time tracking it down | ||||
* | autoconf: Remind developers to bump version numbers in configure.ac | Dan Nicholson | 2007-12-30 | 1 | -2/+2 |
| | | | | | | Just like configs/default, the version number in configure.ac needs to be bumped for releases. Maybe later we can figure out how to scrape the version from configs/default into configure.ac. | ||||
* | fix fd.o bug #13847 | Zou Nan hai | 2007-12-29 | 2 | -2/+7 |
| | |||||
* | Bug #13839: Fix 3D texture offset miscalculation with pixels versus bytes. | Roland Scheidegger | 2007-12-28 | 2 | -3/+4 |
| | |||||
* | Merge branch 'autoconf2' | Dan Nicholson | 2007-12-28 | 11 | -22/+4449 |
|\ | |||||
| * | Merge branch 'master' into autoconf2 | Dan Nicholson | 2007-12-26 | 134 | -7540/+4068 |
| |\ | |||||
| * | | autoconf: Helper options for adding GCC 32/64 bit flags | Dan Nicholson | 2007-12-26 | 2 | -0/+39 |
| | | | | | | | | | | | | | | | | | | | | | Two new configure options to add -m32 or -m64 to the CFLAGS and CXXFLAGS when GCC is in use. By default, the user supplied options are environment variables are respected, but these options are quick helps for the common case of x86/x86_64 using GCC. | ||||
| * | | autoconf: Documentation for using the autoconf'd build | Dan Nicholson | 2007-12-23 | 3 | -21/+293 |
| | | | | | | | | | | | | | | | | | | | | | Most of the options available from configure are documented on the autoconf.html. This page is reached as an alternative provided on the install.html page. An FAQ about why there is no configure script has been removed. | ||||
| * | | Merge branch 'master' into autoconf2 | Dan Nicholson | 2007-12-12 | 63 | -2893/+1508 |
| |\ \ | |||||
| * | | | autoconf: Improve help text for demos and DRI drivers | Dan Nicholson | 2007-12-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | Changed the text for the default demos to be "auto" instead of "yes" since that didn't make much sense in this context. Added an example value for the --with-dri-drivers option as suggested by Brian. | ||||
| * | | | autoconf: Update bug address and fix some autoconf warnings | Dan Nicholson | 2007-12-12 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | Point bug reports to Bugzilla like bugs.html. Also, a warning from autoconf w.r.t. AC_OUTPUT was cleaned up. | ||||
| * | | | autoconf: Consistently use xlib for the driver name | Dan Nicholson | 2007-12-12 | 1 | -23/+23 |
| | | | | | | | | | | | | | | | | | | | | Brian suggested that there should be more consistency using xlib vs. x11 in the configure script. Changed the options and variables to suit. |