Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wgl: Share more code between icd and standalone driver. | José Fonseca | 2009-02-19 | 11 | -445/+219 |
| | |||||
* | gdi: Update for texture/surface interface changes. | José Fonseca | 2009-02-19 | 1 | -2/+5 |
| | |||||
* | util: Use right include. | José Fonseca | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | progs: Make fp-tri use glew and add scons target | Jakob Bornecrantz | 2009-02-14 | 4 | -4/+28 |
| | |||||
* | cell: patch up cell_texture.c so it compiles | Brian Paul | 2009-02-18 | 1 | -6/+135 |
| | | | | | | | Start adding some new pipe_transfer code. Texturing is totally broken at this point but non-texture programs seem to run OK. | ||||
* | cell: updates for new pipe_transfer changes | Brian Paul | 2009-02-18 | 2 | -23/+81 |
| | | | | Update framebuffer color/z/stencil mapping/unmapping. | ||||
* | cell: update vbuf code to catch up to recent changes | Brian Paul | 2009-02-18 | 1 | -5/+28 |
| | |||||
* | cell: remove unused var | Brian Paul | 2009-02-18 | 1 | -1/+0 |
| | |||||
* | cell: start adding new cell_transfer types/code | Brian Paul | 2009-02-18 | 1 | -0/+19 |
| | |||||
* | cell: remove old surface_map code | Brian Paul | 2009-02-18 | 1 | -5/+0 |
| | |||||
* | mesa: convert VERT_RESULT_* from #defines to enum, like the others | Brian Paul | 2009-02-18 | 1 | -21/+24 |
| | |||||
* | glsl: asst improvements, clean-ups in set_program_uniform() | Brian Paul | 2009-02-18 | 1 | -27/+36 |
| | | | | | | Move the is_boolean/integer_type() calls out of the loops. Move the is_sampler_type() function near the bool/int functions. Add a bunch of comments. | ||||
* | glsl: fix inequality in set_program_uniform() | Brian Paul | 2009-02-18 | 1 | -1/+1 |
| | | | | We were off by one when checking for too many uniform values. | ||||
* | gallium/winsys/egl_xlib: Fix build after introduction of struct pipe_transfer. | Michel Dänzer | 2009-02-18 | 1 | -3/+4 |
| | |||||
* | mesa: bump gl.h version comment to 7.7 (bug 20170) | Brian Paul | 2009-02-18 | 1 | -1/+1 |
| | |||||
* | r300-gallium: implement simple pipe_transfer Basically make the driver ↵ | Joakim Sindholt | 2009-02-18 | 5 | -22/+104 |
| | | | | compile and behave like it did before the gallium-texture-transfer merge | ||||
* | glsl: fix link failure for variable-indexed varying output arrays | Brian Paul | 2009-02-18 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | If the vertex shader writes to a varying array with a variable index, mark all the elements of that array as being written. For example, if the vertex shader does: for (i = 0; i < 4; i++) gl_TexCoord[i] = expr; Mark all texcoord outputs as being written, not just the first. Linking will fail if a fragment shader tries to read an input that's not written by the vertex shader. Before this fix, this linker test could fail. | ||||
* | swrast: Set vp_override flag during DrawPixels | Nicolai Haehnle | 2009-02-18 | 1 | -0/+11 |
| | | | | | | | | | Obviously, the color of fragments produced by DrawPixels is not constant, even if the current vertex array / vertex program state indicates that the color for normal rendering will be constant. Therefore, we need to override certain optimisations that have been added to texenvprogram.c Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | mesa: improved error msg | Brian Paul | 2009-02-18 | 1 | -1/+2 |
| | |||||
* | mesa: increase MAX_UNIFORMS to 1024 (of vec4 type) | Brian Paul | 2009-02-18 | 3 | -5/+22 |
| | | | | | | | | Old limit was 256. Note that no arrays are declared to this size. The only place we have to be careful about raising this limit is the prog_src/dst_register Index bitfields. These have been bumped up too. Added assertions to check we don't exceed the bitfield in the future too. | ||||
* | glsl: fix a swizzle-related regression | Brian Paul | 2009-02-18 | 1 | -1/+1 |
| | | | | This new issue was exposed by commit 6eabfc27f19a10dfc2663e99f9560966ba1ff697 | ||||
* | progs/trivial: Label program windows with actual program name | Keith Whitwell | 2009-02-18 | 101 | -101/+101 |
| | | | | | | | Each of these programs previously called itself "First Tri" which was a little confusing. Could have left one as "First Tri", but the trouble then is that people would still clone that file & we'd end up with another thousand first tri apps... | ||||
* | gallium: Also disable i965simple for scons | Jakob Bornecrantz | 2009-02-18 | 1 | -1/+1 |
| | | | | Please read previous commit for more info. | ||||
* | gallium: Disable i965simple pipe driver after it was broken | Jakob Bornecrantz | 2009-02-18 | 1 | -1/+1 |
| | | | | | | | | | It is only the i965simple pipe driver that was broken in the gallium-texture-transfere merge that is being disabled, mothing more nothing less. FYI, there never where working i965 hardware support in gallium anyways. | ||||
* | gallium: Fix up trace driver for introduction of struct pipe_transfer. | Michel Dänzer | 2009-02-18 | 5 | -29/+200 |
| | |||||
* | gallium: Add pipe_transfer_reference(). | Michel Dänzer | 2009-02-18 | 1 | -0/+25 |
| | |||||
* | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 37 | -779/+956 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * | i915simple: Minimal fixup for introduction of struct pipe_transfer. | Michel Dänzer | 2009-02-18 | 5 | -76/+122 |
| | | |||||
| * | gallium: fix merge | Keith Whitwell | 2009-02-16 | 1 | -29/+5 |
| | | | | | | | | | | It looks like I resolved the merge conflicts but did not save my emacs buffers before committing... | ||||
| * | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | 2009-02-16 | 554 | -30435/+29935 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c | ||||
| * | | gallium: Various coordinate fixups for texture transfers. | Michel Dänzer | 2009-02-13 | 3 | -9/+9 |
| | | | | | | | | | | | | Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels. | ||||
| * | | gallium: Fix a couple of potential NULL pointer dereferences. | Michel Dänzer | 2009-02-12 | 2 | -26/+37 |
| | | | | | | | | | | | | A lot more test programs work. | ||||
| * | | gallium: Fix GL_DEPTH CopyPixels tile coordinates. | Michel Dänzer | 2009-02-12 | 1 | -1/+1 |
| | | | |||||
| * | | gallium: Fix accumulation buffer tile coordinates. | Michel Dänzer | 2009-02-12 | 1 | -5/+5 |
| | | | |||||
| * | | gallium/winsys/xlib: Use XShmPutImage when possible. | Michel Dänzer | 2009-02-12 | 1 | -0/+2 |
| | | | |||||
| * | | softpipe: Unbreak keeping track of cached surface. | Michel Dänzer | 2009-02-12 | 1 | -4/+3 |
| | | | | | | | | | | | | glxgears works. | ||||
| * | | gallium/winsys/xlib: Fix stride calculations. | Michel Dänzer | 2009-02-12 | 2 | -6/+8 |
| | | | |||||
| * | | Cosmetic: Rename struct pipe_transfer pointers from 'ps' to 'pt'. | Michel Dänzer | 2009-02-12 | 2 | -27/+27 |
| | | | | | | | | | | | | Missed these for the initial gallium-texture-transfer commit. | ||||
| * | | g3dvl: Fixups for introduction of pipe_transfer. | Michel Dänzer | 2009-02-11 | 1 | -8/+10 |
| | | | |||||
| * | | gallium: No longer allow CPU mapping surfaces directly. | Michel Dänzer | 2009-02-05 | 31 | -682/+797 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails. | ||||
* | | | Merge commit 'origin/gallium-0.1' | Keith Whitwell | 2009-02-18 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_vs_aos.c | ||||
| * | | | draw: Reuse xmm registers. | Keith Whitwell | 2009-02-17 | 1 | -0/+13 |
| | | | | |||||
| * | | | glsl: make minimum struct size = 2, not 1 | Brian Paul | 2009-01-09 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1-component structs such as "struct foo { float x; }" could get placed at any position within a register. This caused some trouble computing the field offset which assumed all struct objects were placed at R.x. It would be unusual to hit this case in normal shaders. (cherry picked from master, commit ca03e881a8d8fa3e36a601238559c20311373633) | ||||
| * | | | glsl: fix typo in the vec2 += operator function | Brian Paul | 2009-01-08 | 2 | -2/+2 |
| | | | | |||||
| * | | | glsl: fix broken +=, -=, *=, /= operators | Brian Paul | 2009-01-08 | 2 | -737/+786 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible. | ||||
* | | | | r300-gallium: Factor out common functionality in vbuf emit. | Corbin Simpson | 2009-02-18 | 1 | -19/+34 |
| | | | | |||||
* | | | | trivial: Make tri-fog a bit more interesting to look at | Jakob Bornecrantz | 2009-02-13 | 1 | -8/+17 |
| | | | | |||||
* | | | | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | 2009-02-18 | 20 | -371/+790 |
|\ \ \ \ | |||||
| * | | | | trivial: Add a tri-unfilled-fog test | Jakob Bornecrantz | 2009-02-13 | 4 | -0/+155 |
| | | | | | |||||
| * | | | | r300-gallium: Add draw_arrays for swtcl_emit. | Corbin Simpson | 2009-02-17 | 1 | -2/+30 |
| | | | | | | | | | | | | | | | | | | | | The more I look at this, the more bugs I see. |