aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* mesa: use Elements() instead of MAX_TEXTURE_COORD_UNITSBrian Paul2010-02-031-1/+1
|
* mesa: added tex unit assert, use Elements() macroBrian Paul2010-02-031-1/+2
|
* mesa: check for invalid texture coord unit in glGet queriesBrian Paul2010-02-032-56/+147
|
* mesa: check/clamp texture/program matrix accessesBrian Paul2010-02-031-2/+6
| | | | Further testing should reveal if any these assertions are hit...
* mesa: add error check for querying invalid texture matrixBrian Paul2010-02-032-5/+41
|
* mesa: use Elements() as limit in loops over texture/program matrix stacksBrian Paul2010-02-031-4/+4
|
* mesa: add out of bounds assertions for accessing texture matrix stackBrian Paul2010-02-031-0/+2
|
* util: Cast to match the MSVC intrinsics.José Fonseca2010-02-031-4/+4
| | | | The cast is not optional in C++.
* util: Don't include system headers inside extern "C" { ... }José Fonseca2010-02-032-14/+38
| | | | That breaks when some of the system headers have C++ code.
* Merge branch 'gallium-embedded'José Fonseca2010-02-03263-1280/+1482
|\
| * gallium/docs: Document the OS module.José Fonseca2010-02-031-0/+16
| |
| * os: Also add the aligned memory prototypes to the embedded section.José Fonseca2010-02-031-0/+6
| |
| * util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca2010-02-034-409/+26
| |
| * os: New OS abstraction module.José Fonseca2010-02-039-0/+717
| |
| * trace: Include the appropriate header instead of defining prototypes.José Fonseca2010-02-031-1/+1
| | | | | | | | Avoids header when the header was included before.
| * gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca2010-02-022-7/+4
| |
| * gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca2010-02-0242-231/+178
| | | | | | | | util/u_simple_screen.h
| * gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca2010-02-0223-30/+31
| | | | | | | | Into os/os_thread.h and util/u_atomic.h respectively.
| * gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-0216-134/+67
| |
| * gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-02190-234/+273
| |
| * gallium: Use MSVC atomic intrinsics directly instead of the Windows header ↵José Fonseca2010-02-011-11/+15
| | | | | | | | wrappers.
| * gallium: Remove unnecessary includes. Add others to compensate.José Fonseca2010-02-014-5/+2
| |
| * mesa: Add missing includes.José Fonseca2010-02-011-0/+1
| |
| * llvmpipe: Add missing includes.José Fonseca2010-02-011-0/+1
| |
| * i915: Add missing includes.José Fonseca2010-02-012-0/+2
| |
| * util: Add missing includes.José Fonseca2010-02-013-0/+3
| |
| * draw: Add missing includes.José Fonseca2010-02-011-0/+2
| |
| * gallium: Drop mutex-based pipe_atomic implementation.José Fonseca2010-02-011-82/+1
| | | | | | | | | | First step to severe the dependency in OS abstractions from the Gallium interfaces.
* | tgsi: added debugging code to catch divide by zeroBrian Paul2010-02-031-0/+12
| |
* | tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul2010-02-031-8/+17
| | | | | | | | | | And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
* | mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-0310-21/+42
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | vbo: fix void * arithmetic warningKeith Whitwell2010-02-031-1/+2
| |
* | vbo: Fix up in-place splitting for non-contiguous/indexed primitives.Francisco Jerez2010-02-031-51/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | svga: fix TXD and TXL opcode translationKeith Whitwell2010-02-032-15/+122
| |
* | svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell2010-02-031-3/+48
| |
* | svga: texture from lod zero inside dynamic branchingKeith Whitwell2010-02-032-13/+59
| | | | | | | | | | | | 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.
* | svga: better method for generating white fs color outputsKeith Whitwell2010-02-036-106/+75
| |
* | mesa/st: bump the gallium version numberKeith Whitwell2010-02-031-1/+1
| | | | | | | | | | This is a very informal version number, but there have been enough changes that a bump is appropriate at this time.
* | st/mesa: remove some floating point divides in viewport calculationKeith Whitwell2010-02-031-3/+3
| | | | | | | | | | Compiler can't usually turn x/2.0f into x * 0.5f, though we're happy with either.
* | gallium-docs: Fix typo.José Fonseca2010-02-031-2/+2
| |
* | r300: fix compiler bugs introduced with MRT changes.Dave Airlie2010-02-032-2/+3
| | | | | | | | | | | | | | the first looks like a definite bug, the second I'm not so confident of but it works. Signed-off-by: Dave Airlie <[email protected]>
* | egl: Rename _eglPreloadForEach callbacks.Chia-I Wu2010-02-031-12/+12
| | | | | | | | | | | | | | 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.
* | egl: Fix a potential segfault in driver suffix matching.Chia-I Wu2010-02-031-3/+5
| | | | | | | | | | The driver suffix might be NULL on some platforms. Perform the matching only when there is a suffix.
* | egl: Remove unnecessary #ifdef's.Chia-I Wu2010-02-031-8/+0
| | | | | | | | | | There were some refactorings with the addition of EGL_DRIVERS_PATH. They made some platform #ifdef's unnecessary.
* | egl: Ignore certain environment variables when setuid/setgid.Chia-I Wu2010-02-031-2/+16
| | | | | | | | | | Specifically, ignore EGL_DRIVERS_PATH when an application is setuid/setgid. And ignore EGL_DRIVER when there is a slash in it.
* | egl: Add EGL_DRIVERS_PATH environment variable.Chia-I Wu2010-02-031-99/+191
| | | | | | | | | | | | | | | | | | 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.
* | draw: remove old hard-coded shader length limitsBrian Paul2010-02-023-12/+20
| |
* | tgsi: added tgsi_alloc_tokens()Brian Paul2010-02-022-0/+15
| |
* | draw: re-implement free_bit() with ffs()Brian Paul2010-02-022-12/+2
| |
* | draw: comments and var renamingBrian Paul2010-02-021-10/+13
| |