summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-11-01scons: Disable python state tracker when swig is not present.José Fonseca
2010-11-01scons: Some pipe drivers are not portable for MSVCJosé Fonseca
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-11-01st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke
[olv: formatted for 80-column wrapping]
2010-10-31targets/egl: Fix a warning with --disable-opengl build.Chia-I Wu
API_DEFINES is the defines for libmesagallium.a. Append it to egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
2010-10-29targets: Add missing quotes to Makefile.xorg.Chia-I Wu
Fix $ make CC="ccache gcc"
2010-10-29Merge branch 'glapi-reorg'Chia-I Wu
Conflicts: src/mapi/glapi/glapi_sparc.S src/mapi/glapi/glapi_x86.S src/mapi/glapi/glapidispatch.h src/mapi/glapi/glapioffsets.h src/mapi/glapi/glprocs.h
2010-10-28gallivm: Remove the EMMS opcodes.José Fonseca
Unnecessary now that lp_set_target_options() successful disables MMX code emission.
2010-10-28gallivm: always enable LLVMAddInstructionCombiningPass()José Fonseca
2010-10-28gallium: Avoid using __doc__ in python scripts.José Fonseca
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-27r300g: add a default channel ordering of texture border for unhandled formatsMarek Olšák
It should fix the texture border for compressed textures. Broken since 8449a4772a73f613d9425b691cffba6a261df813.
2010-10-27r600g: Silence uninitialized variable warnings.Vinson Lee
2010-10-27r300g: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. r300_state_derived.c: In function 'r300_update_derived_state': r300_state_derived.c:593: warning: 'r' may be used uninitialized in this function r300_state_derived.c:593: note: 'r' was declared here
2010-10-27r600g: Destroy the blitter.Tilman Sauerbeck
This fix got lost in the state rework merge. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-10-27r600g: In radeon_bo(), call LIST_INITHEAD early.Tilman Sauerbeck
radeon_bo_destroy() will want to read the list field. Without this patch, we'd end up evaluating the list pointers before they have been properly set up when we destroyed the newly created bo if it cannot be mapped. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-10-27glapi: Do not use glapidispatch.h.Chia-I Wu
glapidispatch.h exists so that core mesa (libmesa.a) can be built for DRI drivers or for non-DRI drivers as a compile time decision (whether IN_DRI_DRIVER is defined). It is of no use to glapi. This commit also drops the use of glapidispatch.h in glx and libgl-xlib as they are considered extensions to glapi when it comes to defining public GL entries.
2010-10-26r600g: add assembler support for all the kcache fields.Dave Airlie
2010-10-26r600g: fix magic 0x1 ->flat shade enaDave Airlie
2010-10-25translate: remove unused prototypesBrian Paul
2010-10-25translate: use function typedefs, casts to silence warningsBrian Paul
2010-10-25rtasm: use pointer_to_func() to silence warningBrian Paul
2010-10-25util: use pointer_to_func() to silence warningBrian Paul
2010-10-24r300g: fix texture border for 16-bits-per-channel formatsMarek Olšák
This is kinda hacky, but it's hard to come up with a generic solution for all formats when only a few are used in practice (I mostly get B8G8R8*8).
2010-10-24Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGSJon TURNEY
Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears in the link line before any -L in $LDFLAGS, so that we link driver we are building with libEGL we have just built, and not an installed version [olv: make a similar change to targets/egl] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2010-10-24r600g: drop more common state handling codeDave Airlie
2010-10-24r600g: Also clear bc data when we're destroying a shader.Tilman Sauerbeck
[airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24r600g: Added r600_pipe_shader_destroy().Tilman Sauerbeck
Not yet complete. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-24r600g: merge more of the common r600/evergreen state handlingDave Airlie
2010-10-24r600g: Fixed r600_vertex_element leak.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-23softpipe: remove >32bpp color restrictionBrian Paul
The comment was out of date. The tile cache does handle >32-bit colors.
2010-10-23softpipe: added some texture sample debug code (disabled)Brian Paul
2010-10-23st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu
2010-10-23egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
2010-10-23st/egl: Fix native_mode refresh mode.Chia-I Wu
Define the unit to match _EGLMode's.
2010-10-23egl: Fix _eglModeLookup.Chia-I Wu
Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
2010-10-23egl: Minor changes to the _EGLScreen interface.Chia-I Wu
Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
2010-10-23egl: Minor changes to the _EGLConfig interface.Chia-I Wu
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
2010-10-23r600g: not fatal if we can't get tiling info from kernelDave Airlie
2010-10-22r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTARTMarek Olšák
2010-10-22r300g: do not print get_param errors in non-debug buildMarek Olšák
2010-10-22galahad: silence warningsBrian Paul
2010-10-22egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu
Avoid code duplications.
2010-10-22egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists.
2010-10-21winsys/xlib: rename xm->xlibBrian Paul
Move away from the old Mesa-oriented names.
2010-10-21winsys/xlib: fix up allocation/dealloction of XImageBrian Paul
Fixes a crash upon exit when using remote display.
2010-10-21winsys/xlib: use Bool type for shm fieldBrian Paul
2010-10-21winsys/xlib: formatting fixesBrian Paul
2010-10-21Merge branch 'primitive-restart-cleanup'Brian Paul
Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
2010-10-21llvmpipe: enable primitive restartBrian Paul