summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* scons: Revamp how to specify targets to build.José Fonseca2010-11-0134-737/+561
| | | | | | | | | | | | | | | | | | | | | | 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.
* st/egl image: multiply drm buf-stride with blocksizeBenjamin Franzke2010-11-011-1/+2
| | | | [olv: formatted for 80-column wrapping]
* targets/egl: Fix a warning with --disable-opengl build.Chia-I Wu2010-10-311-2/+1
| | | | | API_DEFINES is the defines for libmesagallium.a. Append it to egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
* targets: Add missing quotes to Makefile.xorg.Chia-I Wu2010-10-291-1/+1
| | | | | | Fix $ make CC="ccache gcc"
* Merge branch 'glapi-reorg'Chia-I Wu2010-10-291-3/+2
|\ | | | | | | | | | | | | | | | | 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
| * glapi: Do not use glapidispatch.h.Chia-I Wu2010-10-271-3/+2
| | | | | | | | | | | | | | | | | | 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.
* | gallivm: Remove the EMMS opcodes.José Fonseca2010-10-282-15/+0
| | | | | | | | | | Unnecessary now that lp_set_target_options() successful disables MMX code emission.
* | gallivm: always enable LLVMAddInstructionCombiningPass()José Fonseca2010-10-281-7/+1
| |
* | gallium: Avoid using __doc__ in python scripts.José Fonseca2010-10-283-6/+6
| |
* | Fix build on systems where "python" is python 3.Kenneth Graunke2010-10-272-6/+6
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
* | r300g: add a default channel ordering of texture border for unhandled formatsMarek Olšák2010-10-271-9/+5
| | | | | | | | | | It should fix the texture border for compressed textures. Broken since 8449a4772a73f613d9425b691cffba6a261df813.
* | r600g: Silence uninitialized variable warnings.Vinson Lee2010-10-271-4/+4
| |
* | r300g: Silence uninitialized variable warning.Vinson Lee2010-10-271-0/+5
| | | | | | | | | | | | | | 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
* | r600g: Destroy the blitter.Tilman Sauerbeck2010-10-271-0/+2
| | | | | | | | | | | | This fix got lost in the state rework merge. Signed-off-by: Tilman Sauerbeck <[email protected]>
* | r600g: In radeon_bo(), call LIST_INITHEAD early.Tilman Sauerbeck2010-10-271-1/+1
|/ | | | | | | | 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 <[email protected]>
* r600g: add assembler support for all the kcache fields.Dave Airlie2010-10-263-2/+17
|
* r600g: fix magic 0x1 ->flat shade enaDave Airlie2010-10-262-2/+2
|
* translate: remove unused prototypesBrian Paul2010-10-251-9/+0
|
* translate: use function typedefs, casts to silence warningsBrian Paul2010-10-252-27/+35
|
* rtasm: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+1
|
* util: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+2
|
* r300g: fix texture border for 16-bits-per-channel formatsMarek Olšák2010-10-241-4/+9
| | | | | 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).
* Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGSJon TURNEY2010-10-241-6/+8
| | | | | | | | | | 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 <[email protected]>
* r600g: drop more common state handling codeDave Airlie2010-10-244-151/+80
|
* r600g: Also clear bc data when we're destroying a shader.Tilman Sauerbeck2010-10-243-1/+39
| | | | | | | [airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* r600g: Added r600_pipe_shader_destroy().Tilman Sauerbeck2010-10-243-2/+16
| | | | | | | Not yet complete. Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* r600g: merge more of the common r600/evergreen state handlingDave Airlie2010-10-244-172/+106
|
* r600g: Fixed r600_vertex_element leak.Tilman Sauerbeck2010-10-244-18/+10
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* softpipe: remove >32bpp color restrictionBrian Paul2010-10-232-8/+1
| | | | The comment was out of date. The tile cache does handle >32-bit colors.
* softpipe: added some texture sample debug code (disabled)Brian Paul2010-10-231-7/+50
|
* st/egl: Use resource reference count for egl_g3d_sync.Chia-I Wu2010-10-232-5/+2
|
* egl: Use reference counting to replace IsLinked or IsBound.Chia-I Wu2010-10-231-12/+32
| | | | | Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting.
* st/egl: Fix native_mode refresh mode.Chia-I Wu2010-10-232-3/+3
| | | | Define the unit to match _EGLMode's.
* egl: Fix _eglModeLookup.Chia-I Wu2010-10-231-11/+11
| | | | | | | | | | 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.
* egl: Minor changes to the _EGLScreen interface.Chia-I Wu2010-10-231-2/+2
| | | | | Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
* egl: Minor changes to the _EGLConfig interface.Chia-I Wu2010-10-231-1/+1
| | | | | Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
* r600g: not fatal if we can't get tiling info from kernelDave Airlie2010-10-231-1/+1
|
* r300g: say no to PIPE_CAP_STREAM_OUTPUT and PIPE_CAP_PRIMITIVE_RESTARTMarek Olšák2010-10-221-0/+2
|
* r300g: do not print get_param errors in non-debug buildMarek Olšák2010-10-221-4/+4
|
* galahad: silence warningsBrian Paul2010-10-222-3/+3
|
* egl: Parse image attributes with _eglParseImageAttribList.Chia-I Wu2010-10-221-81/+37
| | | | Avoid code duplications.
* egl: Move attributes in _EGLImage to _EGLImageAttribs.Chia-I Wu2010-10-221-2/+2
| | | | | | 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.
* winsys/xlib: rename xm->xlibBrian Paul2010-10-211-147/+147
| | | | Move away from the old Mesa-oriented names.
* winsys/xlib: fix up allocation/dealloction of XImageBrian Paul2010-10-211-1/+8
| | | | Fixes a crash upon exit when using remote display.
* winsys/xlib: use Bool type for shm fieldBrian Paul2010-10-211-5/+5
|
* winsys/xlib: formatting fixesBrian Paul2010-10-211-10/+9
|
* Merge branch 'primitive-restart-cleanup'Brian Paul2010-10-216-1/+105
|\ | | | | | | | | | | | | | | 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.
| * llvmpipe: enable primitive restartBrian Paul2010-10-211-0/+2
| |
| * softpipe: enable primitive restartBrian Paul2010-10-211-0/+2
| |
| * draw: implement primitive splitting for primitive restartBrian Paul2010-10-211-1/+85
| |