summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-07mesa: move shared context state functions to new shared.c fileBrian Paul
2009-03-07vbo: make bind_array_obj() code a little more conciseBrian Paul
2009-03-07mesa: use @ to silence some Makefile outputBrian Paul
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-03-07swrast: remove old commentBrian Paul
2009-03-07swrast: rename s_buffers.c -> s_clear.cBrian Paul
2009-03-07mesa: gl_register_file enum typedefBrian Paul
2009-03-07mesa: remove GL_MESA_program_debug extensionBrian Paul
This was never fully fleshed out and hasn't been used.
2009-03-07mesa: silence warningBrian Paul
2009-03-07mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul
2009-03-07r300: shut up valgrindMaciej Cencora
It complained about uninitialized values Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-07r300-gallium: Typo in assert.Corbin Simpson
2009-03-07r300-gallium: Emit vertex size.Corbin Simpson
Not actually going to make a difference right now, but might as well.
2009-03-07r300-gallium: A bit more vertex format fixup.Corbin Simpson
2009-03-07nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs
This'll work on non-GEM also as the DDX will just pass an offset, and libdrm_nouveau knows to treat "handle" as a VRAM offset. When running on GEM the DDX (it doesn't yet, but will) passes a buffer handle instead.
2009-03-07nv50: simplify tesla object selectionBen Skeggs
GeForce 8/9 are a bit more consistent than nv40 so far, so this was overkill before.
2009-03-07nouveau: fix more breakage from pipe_reference..Ben Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-03-07Fix nv50_screen_create()Victor Stinner
Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...))
2009-03-07Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner
screen/pipe creation failed
2009-03-06Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-06r300-gallium: Fix masking on vertex formats.Corbin Simpson
Gah, what a simple yet terrible mistake.
2009-03-06r300-gallium: Remove unknown regs.Corbin Simpson
Leftovers from fglrx traces, probably.
2009-03-06r300-gallium: Actually do framebuffer setup.Corbin Simpson
Can't believe this wasn't wired up.
2009-03-06r300-gallium: Make sure registers are inside BEGIN/END CS.Corbin Simpson
2009-03-06r300-gallium: Separate out fog block.Corbin Simpson
We'll never actually use fog block. (I hope.)
2009-03-06glsl: call the program optimizerBrian Paul
This still needs more testing bug glean and Mesa GLSL tests seem OK.
2009-03-06i965: check if we run out of GRF/temp registersBrian Paul
Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery.
2009-03-06mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul
Useful for debugging to override an application's shader.
2009-03-06i965: bump up BRW_EU_MAX_INSNBrian Paul
This is the size of the intermediate instruction buffer.
2009-03-06mesa: add new program optimizer codeBrian Paul
This is pretty simplistic for now, but helps with certain shaders.
2009-03-06i965: commentsBrian Paul
2009-03-06i965: comments and minor clean-upsBrian Paul
2009-03-06i965: avoid unnecessary calls to brw_wm_is_glsl()Brian Paul
This function scans the shader to see if it has any GLSL features like conditionals and loops. Calling this during state validation is expensive. Just call it when the shader is given to the driver and save the result. There's some new/temporary assertions to be sure we don't get out of sync on this.
2009-03-06r300: fix depth write regression (found by Nicolai Haehnle)Maciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: enable EXT_fog_coord extensionMaciej Cencora
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: route fog coord and W pos correctlyMaciej Cencora
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: rewrite and hopefully simplify RS setupMaciej Cencora
Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: add few macros for RS setupMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: silence valgrindMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: Print reg address when debugging is enabledMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: don't crash on sw tcl hw if point size vertex attrib is sentMaciej Cencora
2009-03-06r300-gallium: GA enhancements.Corbin Simpson
Basically an errata fixup register.
2009-03-06r300-gallium: Flat/smooth shading state.Corbin Simpson
2009-03-06r300-gallium: Pick up a few more bits of rs_state.Corbin Simpson
Including two registers that already should have been covered...huh...
2009-03-06wgl: Check support for all other depth/stencil formats.José Fonseca
2009-03-06wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.José Fonseca
2009-03-06mesa: Reads must also be done with lock held.José Fonseca
Otherwise two threads might think each made the refcount go zero.
2009-03-06mesa: Fix typo.José Fonseca
Windows threads block if one over-unlocks them.
2009-03-05intel: Fix bpp setting of blits to 8bpp targets.Eric Anholt
This was causing hangs in cairogears, as we would blit to the 8bpp target (A8 texture) as 16bpp, and stomp over state objects.