summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-03util: Don't include system headers inside extern "C" { ... }José Fonseca
That breaks when some of the system headers have C++ code.
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium/docs: Document the OS module.José Fonseca
2010-02-03tgsi: added debugging code to catch divide by zeroBrian Paul
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez
This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-02-03os: Also add the aligned memory prototypes to the embedded section.José Fonseca
2010-02-03util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca
2010-02-03os: New OS abstraction module.José Fonseca
2010-02-03vbo: fix void * arithmetic warningKeith Whitwell
2010-02-03vbo: Fix up in-place splitting for non-contiguous/indexed primitives.Francisco Jerez
The in-place splitting code wasn't dealing with index buffers at all (and it was being called from vbo_split_prims for too big index buffers, causing some occasional corruption). Additionally, it wasn't taking into account primitives arrays with non-contiguous indices (e.g. given prim[0].start = 0 and prim[1].start = max_verts, it would happily call back the driver with (max_index - min_index) still greater than max_verts, causing infinite recursion). It still doesn't handle too large indexed vertex buffers: use vbo_split_copy for that.
2010-02-03trace: Include the appropriate header instead of defining prototypes.José Fonseca
Avoids header when the header was included before.
2010-02-03progs/fpglsl: couple more testsKeith Whitwell
2010-02-03progs/fpglsl: fp-tris for glslKeith Whitwell
2010-02-03svga: fix TXD and TXL opcode translationKeith Whitwell
2010-02-03svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell
2010-02-03svga: texture from lod zero inside dynamic branchingKeith Whitwell
Texture derivatives are potentially undefined inside dynamic branches, so hardwire lod zero in this case. Treating all if/endif and loop constructs as dynamic branches.
2010-02-03svga: better method for generating white fs color outputsKeith Whitwell
2010-02-03mesa/st: bump the gallium version numberKeith Whitwell
This is a very informal version number, but there have been enough changes that a bump is appropriate at this time.
2010-02-03st/mesa: remove some floating point divides in viewport calculationKeith Whitwell
Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either.
2010-02-03gallium-docs: Fix typo.José Fonseca
2010-02-03r300: fix compiler bugs introduced with MRT changes.Dave Airlie
the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-03egl: Rename _eglPreloadForEach callbacks.Chia-I Wu
Rename _eglPreloadFile to _eglLoaderFile, and _eglPreloadFile to _eglLoaderFile. There are several _eglPreload* functions. The callbacks do not belong to them and it should be better to give them a different prefix.
2010-02-03egl: Fix a potential segfault in driver suffix matching.Chia-I Wu
The driver suffix might be NULL on some platforms. Perform the matching only when there is a suffix.
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.