Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Implement mutex/locking around texture object reference counting. | Brian Paul | 2008-07-04 | 8 | -213/+194 |
| | | | | | | | | Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f) | ||||
* | gallium: replace assertion with conditional | Brian Paul | 2008-07-04 | 1 | -1/+2 |
| | |||||
* | gallium: fix trim() function bug when count < first | Brian Paul | 2008-07-04 | 1 | -0/+2 |
| | | | | | If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a very large integer because of the unsigned arithmetic. | ||||
* | mesa: generate GL_INVALID_OPERATION in _mesa_get_uniform_location() if ↵ | Brian Paul | 2008-07-04 | 1 | -0/+5 |
| | | | | program isn't linked | ||||
* | mesa: move assertion | Brian Paul | 2008-07-04 | 1 | -2/+2 |
| | |||||
* | psb: Fill all texture fields when creating texture blanket. | José Fonseca | 2008-07-05 | 1 | -0/+2 |
| | |||||
* | softpipe: Implement texture blankets. | José Fonseca | 2008-07-05 | 1 | -0/+34 |
| | |||||
* | scons: Enable gcc SSE2 intrinsics on x86. | José Fonseca | 2008-07-04 | 1 | -1/+6 |
| | |||||
* | mesa: added _vbo_VertexAttrib4f() | Brian Paul | 2008-07-03 | 2 | -0/+9 |
| | |||||
* | mesa: fix incorrect array size, added assertion | Brian Paul | 2008-07-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix array storage allocation bug | Brian Paul | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | mesa: regenerated file | Brian Paul | 2008-07-03 | 1 | -761/+763 |
| | |||||
* | mesa: additional vec4 constructor | Brian Paul | 2008-07-03 | 1 | -0/+8 |
| | |||||
* | mesa: fix various error codes | Brian Paul | 2008-07-03 | 1 | -94/+144 |
| | |||||
* | mesa: fix some error codes in _mesa_ShaderSourceARB() | Brian Paul | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | mesa: fix problem freeing framebuffer/renderbuffer objects | Brian Paul | 2008-07-03 | 3 | -4/+62 |
| | | | | Basically, set up no-op Delete() methods for the DummyFrame/Renderbuffer obj | ||||
* | gallium: added a4r4g4b4_put_tile_rgba() | Brian Paul | 2008-07-03 | 1 | -0/+31 |
| | |||||
* | mesa: added case for fixed pt | Brian Paul | 2008-07-03 | 1 | -0/+5 |
| | |||||
* | gallium: increase TGSI interpreter's number of temp registers to 64 | Brian Paul | 2008-07-03 | 2 | -24/+28 |
| | | | | | Also, clean up the definitions of the misc/extra temp regs. A few new assertions too. | ||||
* | gallium: move, increase ST_MAX_SHADER_TOKENS | Brian Paul | 2008-07-03 | 2 | -3/+7 |
| | |||||
* | gallium: increase TGSI_EXEC_MAX_COND_NESTING, etc | Brian Paul | 2008-07-03 | 1 | -3/+3 |
| | |||||
* | gallium: fix surface memleak in bitmap code | Brian Paul | 2008-07-03 | 1 | -0/+5 |
| | | | | Found w/ tunnel2.c demo. | ||||
* | pipebuffer: Silent warnings. | José Fonseca | 2008-07-03 | 1 | -0/+4 |
| | | | | Although rarely hit in normal apps, they are too noisy with test suites. | ||||
* | Support conversion of YUV surfaces. | José Fonseca | 2008-07-03 | 1 | -13/+55 |
| | |||||
* | gallium: Don't forget to get overllaping blits working again. | José Fonseca | 2008-07-03 | 1 | -0/+1 |
| | |||||
* | i915: EGL almost works again | Jakob Bornecrantz | 2008-07-03 | 6 | -40/+67 |
| | |||||
* | egl: Fix demodriver | Jakob Bornecrantz | 2008-07-03 | 1 | -11/+11 |
| | |||||
* | gallium: Use surface_copy for 1:1 blits. | José Fonseca | 2008-07-03 | 1 | -0/+10 |
| | |||||
* | scons: Add a env.CodeGenerate method to simplify code generation via python ↵ | José Fonseca | 2008-07-03 | 1 | -3/+69 |
| | | | | | | | | | | | | | | | scripts. env.CodeGenerate( target = 'my_source.c', script = 'my_generator.py', source = ['input.txt', 'another.txt'], command = 'python $SCRIPT $SOURCE > $TARGET' ) It will take care generating all appropriate dependencies, including any module imported by the generator script, and the respective .pyc file side effects. | ||||
* | mesa: fix vertex array validation test for attribute 0 (vert pos) | Brian Paul | 2008-07-02 | 1 | -8/+12 |
| | | | | | | | We don't actually need vertex array[0] enabled when using a vertex program/shader. cherry-picked from master | ||||
* | gallium: replace an assertion with "if (!texobj) continue" | Brian Paul | 2008-07-02 | 1 | -1/+2 |
| | | | | | | It's possible to call update_samplers() between the time a fragment shader is bound and when a texture image is defined (such as glClear). This fixes the case where we don't have a complete texture object yet. | ||||
* | gallium: fix a bug in vertex program output mapping | Brian Paul | 2008-07-02 | 1 | -9/+24 |
| | | | | | | | Need to translate VERT_RESULT_PSIZ, BFC0, BFC1 to TGSI shader output slots after all other attributes have been handled. This fixes a bug where generic vertex program outputs (varying vars) could get mapped to the same slot at point size or back-face colors. | ||||
* | gallium: nr_attrs was off by one, updated comments, minor code movement | Brian Paul | 2008-07-02 | 1 | -2/+4 |
| | |||||
* | mesa: additional GLSL built-in constants | Brian Paul | 2008-07-02 | 2 | -13/+20 |
| | |||||
* | mesa: when linking a shader program, make sure all the shaders compiled OK | Brian Paul | 2008-07-02 | 1 | -0/+8 |
| | | | | cherry-picked from master | ||||
* | mesa: added some debug code (disabled) | Brian Paul | 2008-07-02 | 2 | -0/+9 |
| | | | | cherry-picked from master | ||||
* | mesa: fix error codes in _mesa_shader_source(), _mesa_get_shader_source() | Brian Paul | 2008-07-02 | 1 | -2/+12 |
| | | | | | | | | | If the 'shader' parameter is wrong, need to either generate GL_INVALID_VALUE or GL_INVALID_OPERATION. It depends on whether 'shader' actually names a 'program' or is a totally unknown ID. There might be other cases to fix... cherry-picked from master | ||||
* | mesa: regenerated file | Brian Paul | 2008-07-02 | 1 | -152/+163 |
| | |||||
* | mesa: added some missing equal() notEqual() intrinsics | Brian Paul | 2008-07-02 | 1 | -0/+33 |
| | | | | cherry-picked from master | ||||
* | mesa: disable some debug assertions | Brian Paul | 2008-07-02 | 1 | -0/+5 |
| | | | | | We can sometimes fail these assertions because of how swizzled storage works. Will revisit someday. | ||||
* | mesa: regenerated files | Brian Paul | 2008-07-02 | 2 | -20/+35 |
| | |||||
* | mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctors | Brian Paul | 2008-07-02 | 2 | -1/+39 |
| | | | | cherry-picked from master | ||||
* | gallium: replace 128 with MAX_LABELS | Brian Paul | 2008-07-02 | 2 | -2/+4 |
| | |||||
* | mesa: added _mesa_print_swizzle() debugging helper | Brian Paul | 2008-07-02 | 2 | -0/+16 |
| | |||||
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 6 | -4/+22 |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | ||||
* | gallium: Allow draw module to work on non-x86 platforms again. | Michel Dänzer | 2008-07-02 | 1 | -0/+2 |
| | |||||
* | pipebuffer: Debug buffer manager to detect buffer under- and overflows. | José Fonseca | 2008-07-02 | 4 | -1/+309 |
| | | | | It should detect both cpu and gpu buffer overflows. | ||||
* | pipebuffer: Verify usage flag consistency. Minor cleanups. | José Fonseca | 2008-07-02 | 8 | -17/+43 |
| | |||||
* | mesa: fix a GLSL vector subscript/writemask bug | Brian Paul | 2008-07-01 | 1 | -47/+90 |
| | | | | | | | | | | | This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. cherry-picked from master | ||||
* | mesa: move some functions | Brian Paul | 2008-07-01 | 1 | -99/+99 |
| | | | | cherry-picked from master |