summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-02-03egl: Remove unnecessary #ifdef's.Chia-I Wu
There were some refactorings with the addition of EGL_DRIVERS_PATH. They made some platform #ifdef's unnecessary.
2010-02-03egl: Ignore certain environment variables when setuid/setgid.Chia-I Wu
Specifically, ignore EGL_DRIVERS_PATH when an application is setuid/setgid. And ignore EGL_DRIVER when there is a slash in it.
2010-02-03egl: Add EGL_DRIVERS_PATH environment variable.Chia-I Wu
EGL_DRIVERS_PATH gives a list of colon-separated directories. The given directories will be searched when preloading drivers. This is based on Mike Stroyan's patch, which honors the variable in _eglPreloadDisplayDrivers. It is extended to honor the variable also in _eglPreloadUserDriver and _eglPreloadDefaultDriver in this version.
2010-02-02draw: remove old hard-coded shader length limitsBrian Paul
2010-02-02tgsi: added tgsi_alloc_tokens()Brian Paul
2010-02-02draw: re-implement free_bit() with ffs()Brian Paul
2010-02-02draw: comments and var renamingBrian Paul
2010-02-02tgsi: fix commentBrian Paul
2010-02-02draw: add const qualifiers, fix return typesBrian Paul
2010-02-02softpipe: remove unnecessary #includeBrian Paul
2010-02-02draw: new, updated commentsBrian Paul
Try to avoid future confusion between different, but similar functions.
2010-02-02llvmpipe: fix (potentially) broken AA points, AA linesBrian Paul
This patch duplicates the softpipe fix seen in the preceeding commit.
2010-02-02softpipe: fix broken AA points, AA linesBrian Paul
This fixes a regression when the geometry shaders branch was merged to master with commit 89d8577fb3036547ef0b47498cc8dc5c77f886e0. progs/demos/pointblast and progs/redbook/anti work again.
2010-02-02gallium/docs: Opcode refs.Corbin Simpson
There is a very real possibility that I may be enjoying this too much.
2010-02-02gallium/docs: TGSI notes on replication to dst, and also cleanups.Corbin Simpson
Slowly, surely, I'm making this better.
2010-02-02gallium/docs: Start turning notes into docs.Corbin Simpson
Yeah, what's that? You can read it? It's got, hmm, *readability*? Nice, ain't it. :3
2010-02-02gallium/docs: Add opcode formatting.Corbin Simpson
2010-02-02gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGLBrian Paul
2010-02-02gallium/docs: s/convensions/conventions/Brian Paul
2010-02-02r300g: Texture format cleanups, per docs.Corbin Simpson
texenv is perfect now.
2010-02-02gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca
2010-02-02gallium/docs: Did somebody call for a table?Corbin Simpson
2010-02-02Track frag shader changes introduced by commit ↵Scott Moreau
4769566500be1a53dd9b4cc1a613aef439a0e3d8 Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02mesa: Add a BITSET_FFS function.Francisco Jerez
It will be useful for the nouveau DRI driver and IMHO there's no reason to keep it private. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02gallium/docs: table of texture formats and (x,y,z,w) tuples returned by TEXBrian Paul
Maybe someone can convert this into a real table instead of just preformatted text.
2010-02-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-02r300compiler: Add MRT number to debugging output.Corbin Simpson
2010-02-02r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader.Corbin Simpson
This maybe breaks the vert compiler. Hopefully not.
2010-02-02tgsi: ureg_DECL_gs_input() accepts shader semantics.Michal Krol
2010-02-02vega: implement tgsi_ureg shaders cacheIgor Oliveira
2010-02-02vega: change tgsi asm by tgsi_uregIgor Oliveira
2010-02-02r200: Fix EXT_fogcoord rendering.Pauli Nieminen
The fogcoord calue was not pushed to GPU because of implicit float to int conversion. Fix is to use float pointer to buffer object so no conversion is done in assigment
2010-02-01r300g: Fix funky segfault.Corbin Simpson
2010-02-02st/egl: Wrong context might be used in eglBindTexImage.Chia-I Wu
If the pbuffer surface is current, gctx is set to the current context. Make sure it is set to OpenGL ES 1 context again before binding.
2010-02-01st/mesa: fix texture deallocation bugBrian Paul
This fixes a bug reported by Christoph Bumiller on mesa3d-dev. When a texture is first created as RGBA, then re-defined with glTexImage(internalFormat=GL_DEPTH_COMPONENT) we failed to deallocate the original texture. When this texture was bound as a FBO surface, the depth/Z surface format was RGBA instead of Z. Depending on the driver this led to a failed assertion or FBO validation failure. This patch does three things: 1. Remove ancient code that mysteriously tested if we were replacing the smallest mipmap level and tested if the texture was not a cube map texture. I can't see any reason for those tests. 2. Move the width=height=depth=0 test to after the code which frees texture data. Calling glTexImage with width=height=depth=0 and data=NULL is a way to free a single mipmap level. 3. Update the code comments. There are no apparent conform, glean or piglit regressions from this change. (cherry picked from commit 43e4b584227534e30e487e7fb7e99d6501cbcd85)
2010-02-01mesa: change _mesa_find_free_register() to find multiple free regsBrian Paul
Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e)
2010-02-01r300g: Inline immediates where possible.Corbin Simpson
Oh look, more gears. Seems to work just fine though.
2010-02-01st/mesa: remove duplicate calculation of fp input mappingKeith Whitwell
This was being calculated the same way in two different places. Now just do it in st_translate_fragment_program().
2010-02-01st/mesa: remove dead stfp input_map arrayKeith Whitwell
Was being calculated and not used. Also was probably incorrect...
2010-02-01mesa: added _mesa_print_vp/p_inputs() functions (debug aids)Brian Paul
2010-02-01glslcompiler: add glapi_nop.o to OBJECTSBrian Paul
2010-02-01gallium: Use MSVC atomic intrinsics directly instead of the Windows header ↵José Fonseca
wrappers.
2010-02-01gallium: Remove unnecessary includes. Add others to compensate.José Fonseca
2010-02-01mesa: Add missing includes.José Fonseca
2010-02-01llvmpipe: Add missing includes.José Fonseca
2010-02-01i915: Add missing includes.José Fonseca
2010-02-01util: Add missing includes.José Fonseca