summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-02mesa: Silence warning.José Fonseca
2010-07-02gallivm: Code generate YUV format unpacking.José Fonseca
2010-07-02gallivm: Fix 4 x unorm8 -> 4 x float conversion.José Fonseca
Also fix the test.
2010-07-02r600: use gallium list macros instead of making our own.Dave Airlie
before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-01mesa: extension flags and version testing for GL 3.x featuresBrian Paul
2010-07-01mesa: entrypoints for GL 3.1 primitive restartBrian Paul
2010-07-01Use GLW_CFLAGS when building libGLwDan Nicholson
We check for libX11 and libXt, so we might as well use the CFLAGS pkg-config tells us about.
2010-07-01Use GLUT_CFLAGS when building glutJohn Hein
Fix this build error (in MesaGLUT-7.6.1)... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ...by not preventing the cflags that pkg-config finds for glut dependencies (including 'xmu') from being used. Defining GLUT_CFLAGS before running the pkg-config prevents the cflags found by pkg-config from being used. This patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. Also make sure the generated configs/autoconf defines GLUT_CFLAGS used in (at least) src/glut/glx/Makefile. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-07-01mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-07-01gallium/cso: unbind sampler views in cso_release_all()Brian Paul
2010-07-01mesa: free xform feedback hash tableBrian Paul
2010-07-01st/mesa: fix commentBrian Paul
2010-07-01llvmpipe: silence pointer type warningsBrian Paul
2010-07-01gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos().José Fonseca
Uses code and ideas from Brian Paul.
2010-07-01gallivm: Allow to conversions to/from registers of different sizes.José Fonseca
Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul.
2010-07-01gallivm: Support extended swizzles in lp_build_swizzle1_aos().José Fonseca
And rename to lp_build_swizzle_aos().
2010-07-01gallivm: Setup a global optimization pass.José Fonseca
Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary.
2010-07-01llvmpipe: Remove lp_build_swizzle2_aos().José Fonseca
Unnecessary special case.
2010-06-30llvmpipe: another null pointer checkBrian Paul
2010-06-30llvmpipe: use dummy tile when out of memoryBrian Paul
2010-06-30llvmpipe: added new lp_memory.[ch] filesBrian Paul
Functions for using dummy tiles when we detect OOM conditions.
2010-06-30draw: fix out of memory handling in polygon stipple stageBrian Paul
2010-06-30glu: Fix some compiler warnings in libtessNeil Roberts
When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <brianp@vmware.com>
2010-06-30egl: Update MaxSize when a dynamic array is grown.Chia-I Wu
2010-06-30egl: Make _eglUnloadDrivers no-op on Windows.Chia-I Wu
Windows unloads DLLs before atexit. Make _eglUnloadDrivers no-op on Windows for now.
2010-06-30st/egl: Manually free configs on terminate.Chia-I Wu
The configs should be FREE()ed, not free()ed. We cannot rely on _eglCleanupDisplay here.
2010-06-30egl: Store screens in a dynamic array.Chia-I Wu
2010-06-30egl: Store configs in a dynamic array.Chia-I Wu
2010-06-30egl: Add dynamic array.Chia-I Wu
Dynamic arrays will be used to store configs and screens of a display.
2010-06-30st/vega: Match MALLOC/FREE for vg_shader.Chia-I Wu
A vg_shader is destroyed with FREE.
2010-06-30llvmpipe: Add a new scene state to describe scenes which only have state ↵José Fonseca
changes. It's a rare condition, but it may happen if all primitives are clipped/culled. For now we just do a no-op rasterization, but we could bypass it.
2010-06-30llvmpipe: Don't reset the bin when there's a zsbuf bound.José Fonseca
The previous rendering may have secondary effects on the zsbuf. Fixes the missing tiles on gearbox.
2010-06-30st/vega: s/free/FREE for matching MALLOC/CALLOCnobled
[Manually fix a conflict in vg_context.c by Chia-I Wu]
2010-06-30st/xorg: s/free/FREE for matching MALLOC/CALLOCnobled
2010-06-30st/egl: Add egl-gdi target.Chia-I Wu
The target supports OpenVG on Windows with software rasterizer. The egl_g3d_loader defined by the target supports arbitrary client APIs and window systems. It is the SConscript that limits the support to OpenVG and GDI. This commit also fixes a typo in gdi backend.
2010-06-30mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD.Chia-I Wu
Patch from Brad Smith <brad@comstyle.com> The attached patch allows the GL_OES_query_matrix function to use the systems fpclassify() for OpenBSD and NetBSD.
2010-06-29mesa: make the arguments in the asm statemants optionalZack Rusin
geometry shaders emit/end functions don't take any arguments
2010-06-30r300g: add workaround for multiple contextsMarek Olšák
2010-06-30r300g: move one flush from winsys to the contextMarek Olšák
This flush happens when changing the tiling flags, and it should really be done in the context. I hope this fixes FDO bug #28630.
2010-06-29llvmpipe: don't crash/assert on out of memoryBrian Paul
Check for null pointers and return early, etc.
2010-06-29llvmpipe: restore call to lp_setup_update_state()Brian Paul
This undoes part of commit 8be645d53a0d5d0ca50e4e9597043225e2231b6d and fixes fd.o bug 28822 as well as other regressions. The 'draw' module may issue additional state-change commands while we're inside the draw_arrays/elements() call so it's important to check for updated state at this point.
2010-06-29egl: Check for drm winsys not just the driver nameJakob Bornecrantz
Also fix pipe_radeon.so not building
2010-06-29draw: Add inline keyword to inline function.José Fonseca
Otherwise gcc will warn about unusued functions.
2010-06-29i915g: Fix copy pastoJakob Bornecrantz
2010-06-29egl: Fix gallium build when EGL is not installed on systemJakob Bornecrantz
2010-06-29i915g: Add missing egl pipe fileJakob Bornecrantz
2010-06-29egl: Remove st/egl probe code.Chia-I Wu
It is no longer needed.
2010-06-29egl: Do not call drv->Initialize with global mutex locked.Chia-I Wu
2010-06-29st/egl: Build a single EGL driver.Chia-I Wu
This change makes st/egl build a single egl_gallium.so and multiple st_<API>.so and pipe_<HW>.so. When a display is initialized, the corresponding pipe driver will be loaded. When a context is created, the corresponding state tracker will be loaded. Unlike DRI drivers, no ABI compatibility is maintained. egl_gallium, pipe drivers and state trackers should always be distributed as a single package. As such, there is only a single src/gallium/targets/egl/ that builds everything for the package.
2010-06-29st/egl: Move module loading code to targets.Chia-I Wu
Several changes are made. libegl.a no longer defines _eglMain. It defines functions to create and destroy a _EGLDriver instead. The creation function is called by the targets. It takes an egl_g3d_loader as its argument. The loader is defined by the targets and is in charge of creating st_api and pipe_screen. This allows us to move the module loading code to targets. Lastly, the modules are now loaded as the respective contexts are created.