Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove TNL-to-VP tracking from i965 | Ian Romanick | 2008-09-28 | 7 | -1665/+2 |
| | | | | | | | | The i965 driver previously had it's own set of code to convert fixed-function TNL state to a vertex program. Core Mesa has code to do this, so there is no reason to duplicate that effort in the driver. In fact, this duplication leads to bugs when other aspects of the Mesa infrastructure change. | ||||
* | glapi: add DISPATCH_FUNCTION_SIZE | Tobias Jakobi | 2008-09-27 | 1 | -0/+14 |
| | |||||
* | glapi: add gl_dispatch_functions_start and end | Tobias Jakobi | 2008-09-27 | 1 | -0/+10 |
| | |||||
* | intel: Fix a number of memory leaks on context destroy. | Eric Anholt | 2008-09-26 | 8 | -3/+83 |
| | |||||
* | configs: darwin: Don't build GLw | Jeremy Huddleston | 2008-09-26 | 1 | -3/+3 |
| | | | | (cherry picked from commit ef688ba1ee366a8937a41075cbe8b76a9bf75013) | ||||
* | mesa: remove invalid assertions that programs have parameters | Brian Paul | 2008-09-26 | 1 | -6/+0 |
| | | | | Fixes failure with demos/fplight.c | ||||
* | mesa: fix assertion in _mesa_reference_program() | Brian Paul | 2008-09-26 | 1 | -1/+5 |
| | |||||
* | mesa: fix param indexing | Brad King | 2008-09-26 | 1 | -6/+6 |
| | |||||
* | mesa: fix cast/conversion for optional code | Brian | 2008-09-25 | 2 | -5/+7 |
| | |||||
* | mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback. | Brian Paul | 2008-09-25 | 1 | -2/+2 |
| | |||||
* | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) | Brian Paul | 2008-09-25 | 2 | -3/+3 |
| | |||||
* | mesa: fix some VBO buffer object issues | Brian Paul | 2008-09-25 | 2 | -11/+23 |
| | | | | | | The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free. | ||||
* | mesa: fix function params to match prototypes | Sam Hocevar | 2008-09-25 | 1 | -5/+5 |
| | |||||
* | mesa: prevent the slang code generator from aborting when faced with a ↵ | Sam Hocevar | 2008-09-25 | 1 | -1/+5 |
| | | | | sampler variable redeclaration. | ||||
* | i965: support for sin() and cos() in vertex shaders. | Sam Hocevar | 2008-09-25 | 1 | -0/+6 |
| | |||||
* | i965: more meaningful message for unsupported opcodes. | Sam Hocevar | 2008-09-25 | 2 | -3/+8 |
| | |||||
* | intel: Fix clears to depth_stencil texture attachments. | Eric Anholt | 2008-09-24 | 1 | -1/+1 |
| | | | | | | Broken by 0adfd1021035e90995a25ec5f20b736e55075d92, showed up as an assertion failure in a software fallback in the shadowtex demo when we failed to recognize the texture format. | ||||
* | set SamplerUnit[] entry in load_texture() just to be safe | Brian | 2008-09-24 | 1 | -0/+4 |
| | | | | (cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04) | ||||
* | use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵ | Brian | 2008-09-24 | 1 | -1/+1 |
| | | | | | | immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8) | ||||
* | set program->SamplersUsed bit when using a texture instruction | Brian | 2008-09-24 | 1 | -1/+4 |
| | |||||
* | Remove ctx field from texenvprog_cache | Brian | 2008-09-24 | 1 | -4/+4 |
| | |||||
* | include programopt.h | Brian | 2008-09-24 | 1 | -0/+1 |
| | | | | (cherry picked from commit 83fad68ec1989c719646a76f4cc5e0b3d23537ed) | ||||
* | Disable vertex shader fog, compute fog in fragment shader. | Brian | 2008-09-24 | 1 | -5/+11 |
| | |||||
* | temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled | Brian | 2008-09-24 | 1 | -0/+1 |
| | | | | (cherry picked from commit 63be96bdc7e9f388a5c49295bd7e150462fd003a) | ||||
* | mesa: fix main/ prefix in include | Keith Whitwell | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | vbo: unmap and remap immediate vbo before/after each draw. | Keith Whitwell | 2008-09-23 | 1 | -0/+16 |
| | | | | | | | | | | Also use BufferData(NULL) to get fresh storage and avoid synchronous operation where we would have to flush and wait for the fence after each draw because of the map. This will chew through a whole load of buffer space on small draws, so it isn't a proper solution. Need to support a no-fence or append mapping mode to do this right, or use user buffers. | ||||
* | added vbo_use_buffer_objects() to specify that immediate mode data should be ↵ | Brian | 2008-09-23 | 3 | -2/+51 |
| | | | | put into bufferobjects | ||||
* | vbo: seed initial max_element value with a more likely candidate | Keith Whitwell | 2008-09-23 | 1 | -6/+6 |
| | | | | (cherry picked from commit 026e7731e549e0777c010348460fd48b3d75a843) | ||||
* | mesa: s/GL_POLYGON+1/PRIM_OUTSIDE_BEGIN_END/ | Brian Paul | 2008-09-23 | 2 | -6/+6 |
| | | | | (cherry picked from commit 8a369b909a6648ae7a5a0c2dcb972a2f96f99a80) | ||||
* | mesa: glsl: fix glGetUniform for matrix queries | Brian Paul | 2008-09-23 | 1 | -50/+79 |
| | | | | (cherry picked from commit 7a6eba54d064cadf15f93df2c1748cf5e474ef03) | ||||
* | mesa: glsl: fix a number of glUniform issues | Brian Paul | 2008-09-23 | 1 | -31/+199 |
| | | | | | | | | | Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1. | ||||
* | mesa: glsl: fix error check in get_uniformfv() | Brian Paul | 2008-09-23 | 1 | -4/+9 |
| | | | | (cherry picked from commit 18cd9c229a1fc8da8b7669b8d1d100f6bbeca183) | ||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-09-23 | 16 | -67/+25 |
| | |||||
* | mesa: update program->NumAddressRegs field in _slang_update_inputs_outputs() | Brian Paul | 2008-09-23 | 1 | -0/+9 |
| | |||||
* | mesa: add fwd decl of fill_in_entrypoint_offset() | Brian Paul | 2008-09-23 | 1 | -0/+4 |
| | | | | (cherry picked from commit b1eff0228b7199920c02e62446ebf5496c298814) | ||||
* | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | 2008-09-23 | 2 | -19/+36 |
| | | | | | | point coord (cherry picked from commit d7a7b0a10dd355fbeb7a404091a42d4ab558c820) | ||||
* | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 2008-09-23 | 3 | -7/+60 |
| | | | | | | | the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21) | ||||
* | mesa: refactor: move GetProcAddress code from glapi.c into new ↵ | Brian Paul | 2008-09-23 | 4 | -624/+656 |
| | | | | glapi_getproc.c file | ||||
* | i965: Cope with batch getting flushed in the middle of batchbuffer emits. | Eric Anholt | 2008-09-23 | 5 | -12/+14 |
| | | | | | | | | | This isn't required for GEM (at least, yet), but the check_aperture code for non-GEM results in batch getting flushed during emit. brw_state_upload restarts state emits, but a bunch of the state emit functions were assuming that they would be called exactly once, after prepare and before new_batch. Bug #17179. | ||||
* | intel: Add missing include files for meta drawpixels since mesa shuffling. | Eric Anholt | 2008-09-23 | 1 | -0/+2 |
| | |||||
* | intel: Replace pbo-only drawpixels function with a generic Mesa metaops. | Eric Anholt | 2008-09-23 | 1 | -276/+108 |
| | | | | Improves performance of some oglconform regression tests 9x. | ||||
* | i915: Fix overlapping CopyPixels with negative pixel zoom. | Eric Anholt | 2008-09-23 | 1 | -4/+14 |
| | | | | Fixes a failure in pixel-pos.c oglconform test. | ||||
* | i915: fix crash in flush_prim -> wait_flips -> flush_batch -> flush_prim. | Eric Anholt | 2008-09-23 | 1 | -17/+18 |
| | |||||
* | i965: Adapt to new TNL program tracking semantics | Ian Romanick | 2008-09-22 | 1 | -1/+2 |
| | | | | This fixes bugzilla #17718. | ||||
* | r300: Adapt to the removal of _tnl_ProgramCacheInit() and friends. | Michel Dänzer | 2008-09-22 | 1 | -2/+1 |
| | |||||
* | Remove incorrect test from mmAllocMem. | Michel Dänzer | 2008-09-22 | 1 | -1/+1 |
| | | | | | 0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was broken by this. | ||||
* | mesa: allow for extra per-context init | Brian Paul | 2008-09-21 | 3 | -4/+7 |
| | | | | (cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2) | ||||
* | mesa: texture crop rect state | Brian Paul | 2008-09-21 | 3 | -1/+35 |
| | | | | (cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23) | ||||
* | mesa: set point state | Brian Paul | 2008-09-21 | 2 | -0/+8 |
| | | | | (cherry picked from commit af3d9dba562813ffed71691bffd7faf6665c4487) | ||||
* | mesa: fix some feature tests | Brian Paul | 2008-09-21 | 2 | -6/+2 |
| | | | | (cherry picked from commit 74b14fe6ddbece8bc662aac4d3b2b18d8d853486) |