Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 | 1 | -0/+7 |
| | | | | 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 |
| | |||||
* | 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 | ||||
* | 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 |
| | |||||
* | i915: reset swrast state after calling swrast DrawPixels. | Xiang, Haihao | 2007-12-27 | 1 | -0/+1 |
| | | | | | | | In order to optimize DrawPixels, the i915 texenv program isn't applied to swrast DrawPixels in the i915 driver. This causes this program isn't applied to any following swrast functions. Resetting the swrast state fixes this issue. Fix #13614 | ||||
* | i915: apply commit a0a5e8cfc04c14873441b50f7d594ef11806b9a8 from 965. | Xiang, Haihao | 2007-12-25 | 3 | -1/+28 |
| | | | | fix #11925 | ||||
* | mesa: fix a bad cast in put_values_z24. | Xiang, Haihao | 2007-12-25 | 1 | -1/+1 |
| | | | | | The values passed to put_values_z24 are GLuint, not GLubyte. fix #13543 | ||||
* | __driConfigOptions must be PUBLIC. | Adam Jackson | 2007-12-24 | 2 | -2/+2 |
| | |||||
* | R300: RV410 SE chips have half the pipes of regular RV410 | Alex Deucher | 2007-12-24 | 1 | -2/+7 |
| | | | | | This fixes 3D rendering on x700 SE chips. Reported by Kano. | ||||
* | fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527) | Roland Scheidegger | 2007-12-22 | 9 | -9/+9 |
| | | | | | | primitive needs to include the begin/end flags (broken since vbo-0.2). Should fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon, s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527. | ||||
* | Silence compiler warnings from XML error macros. | Kristian Høgsberg | 2007-12-21 | 1 | -12/+12 |
| | |||||
* | [965] Fix and enable separate stencil. | Eric Anholt | 2007-12-21 | 3 | -4/+14 |
| | | | | | | Note that this does not enable GL_EXT_stencil_two_side, because Mesa's computed _TestTwoSide ends up respecting only STENCIL_TEST_TWO_SIDE_EXT (defaults to GL_FALSE), even if the application uses only GL 2.0 / ATI entrypoints. | ||||
* | [intel] Move some pixel path support from drivers to shared. | Eric Anholt | 2007-12-21 | 9 | -1245/+1249 |
| | |||||
* | intel: cast a pointer to unsigned long, avoid potential error. | Xiang, Haihao | 2007-12-21 | 2 | -2/+2 |
| | |||||
* | [965] Enable EXT_framebuffer_object. | Eric Anholt | 2007-12-20 | 28 | -2575/+324 |
| | | | | | To do so, merge the remainnig necessary code from the buffers, blit, span, and screen code to shared, and replace it with those. | ||||
* | [965] Actually enable SGIS_generate_mipmap. | Eric Anholt | 2007-12-20 | 1 | -1/+1 |
| | |||||
* | [intel] Fix and reenable (software) SGIS_generate_mipmap | Eric Anholt | 2007-12-20 | 10 | -67/+117 |
| | | | | | | | The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images. | ||||
* | [intel] Allow driver hooks to be NULL in intel_buffers.c and just update flags. | Eric Anholt | 2007-12-20 | 1 | -15/+39 |
| | | | | | The 965 driver relies on flag checking instead of these hooks, and will be using this code soon. | ||||
* | [i915] Move meta_draw_quad into the vtbl with other meta operations. | Eric Anholt | 2007-12-20 | 7 | -47/+42 |
| | |||||
* | return correct size from glGetActiveUniform (bug 13751) | Brian | 2007-12-20 | 1 | -3/+55 |
| | |||||
* | i915: avoid dead lock in intel_meta_draw_poly. fix #13696 | Xiang, Haihao | 2007-12-20 | 1 | -2/+6 |
| | |||||
* | [915] Set cliprects in the drawbuffer software fallback case as well. | Eric Anholt | 2007-12-18 | 1 | -0/+3 |
| | | | | | Otherwise, we may violate cliprect asssertions on clearing the buffers, which isn't affected by the fallback. | ||||
* | i965: allocate GRF registers before building subroutines, | Xiang, Haihao | 2007-12-19 | 3 | -20/+33 |
| | | | | it ensures there are sufficient registers for all subroutines. | ||||
* | i965: restore the flag after building the subroutine of the | Xiang, Haihao | 2007-12-19 | 1 | -1/+12 |
| | | | | GS thread. fix #13240 | ||||
* | simplify update two-side lighting test (follow-on to previous ↵ | Brian | 2007-12-18 | 1 | -3/+1 |
| | | | | front/back-face changes) | ||||
* | fix NEED_SECONDARY_COLOR for vert/frag progs | Brian | 2007-12-18 | 1 | -4/+4 |
| | |||||
* | Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths. | Eric Anholt | 2007-12-18 | 2 | -9/+10 |
| | |||||
* | [915] Free dri_bufmgr after mesa context data. | Eric Anholt | 2007-12-18 | 1 | -2/+2 |
| | | | | Fixes a crash when buffer objects are left around until context destroy. | ||||
* | [915] Make polygon stipple use pre-unpacked pixel data. | Eric Anholt | 2007-12-18 | 1 | -1/+7 |
| | | | | This fixes a crash when stippling using data from a PBO. | ||||
* | [915] Fix clear color when clearing with triangles. | Eric Anholt | 2007-12-18 | 1 | -6/+2 |
| | | | | | The diffuse color format is always ARGB32, regardless of the destination surface format. | ||||
* | [INTEL] Fix 965 to use new centralized mipmap pitch function | Keith Packard | 2007-12-18 | 1 | -3/+3 |
| | |||||
* | [Intel] Centralize mipmap pitch computations. | Keith Packard | 2007-12-18 | 5 | -44/+72 |
| | | | | | | | | | | | | mipmap pitches must account for the device alignment requirements, which used to be fairly simple; just align to a 4-byte boundary. However, to allow textures to be drawn to under TTM, they now need to be aligned to a 64-byte boundary. Placing all of the alignment constraints in a single function allows this new constraint to be applied uniformly. There was some pitch constraining code in intel_miptree_create, but that was modifying the pitch long after the miptree had been layed out, so it only served to wreck the mipmap and cause rendering errors. | ||||
* | [i915] Remove redundant set_draw_region code (like the comment says). | Eric Anholt | 2007-12-17 | 1 | -14/+0 |
| | |||||
* | [intel] Improve INTEL_DEBUG=blit description of clearing. | Eric Anholt | 2007-12-17 | 2 | -9/+53 |
| | |||||
* | [intel] Fix copy'n'pasteo in decoding of the blit clear packet. | Eric Anholt | 2007-12-17 | 1 | -1/+1 |
| | |||||
* | [965] Add decode of 3DSTATE_DRAWING_RECTANGLE. | Eric Anholt | 2007-12-17 | 1 | -0/+20 |
| | |||||
* | [965] Allow draw or depth regions to be NULL. | Eric Anholt | 2007-12-17 | 2 | -50/+71 |
| | | | | | With FBOs, we end up wanting to do 3D metaops against one or the other without having to find the other one to fill in if we're not going to draw to it. | ||||
* | [965] Simplify scissor handling by using DrawBuffer values. | Eric Anholt | 2007-12-17 | 2 | -53/+33 |
| | |||||
* | [965] fix bad conflict resolution in debug code. | Eric Anholt | 2007-12-17 | 1 | -1/+1 |
| | |||||
* | [965] Replace our own depth constants in intel context with GL context ones. | Eric Anholt | 2007-12-17 | 4 | -15/+6 |
| |