summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: Destroy the winsys in r600_destroy_screen().Tilman Sauerbeck2010-11-021-0/+3
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Fixed two memory leaks in winsys.Tilman Sauerbeck2010-11-021-0/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Delete custom_dsa_flush on shutdown.Tilman Sauerbeck2010-11-021-0/+2
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: We don't support PIPE_CAP_PRIMITIVE_RESTART.Tilman Sauerbeck2010-11-021-0/+1
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Made radeon_bo::map_count signed.Tilman Sauerbeck2010-11-021-1/+1
| | | | | | That way assert(map_count >= 0) can actually fail when we screwed up. Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Fixed unmap condition in radeon_bo_pb_destroy().Tilman Sauerbeck2010-11-021-4/+6
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Made radeon_bo_pb_map_internal() actually call radeon_bo_map().Tilman Sauerbeck2010-11-021-13/+7
| | | | | | | | This ensures that we increase bo->map_count when radeon_bo_map_internal() returns successfully, which in turn makes sure we don't decrement bo->map_count below zero later. Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: Removed unused 'ptr' argument from radeon_bo().Tilman Sauerbeck2010-11-023-8/+4
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* graw: Tidy graw xlib scons file a bitJakob Bornecrantz2010-11-021-7/+1
|
* llvmpipe: add a castBrian Paul2010-11-021-1/+1
|
* llvmpipe: assign context's frag shader pointer before using itBrian Paul2010-11-021-2/+2
| | | | | | The call to draw_bind_fragment_shader() was using the old fragment shader. This bug would have really only effected the draw module's use of the fragment shader in the wide point stage.
* st/mesa: unbind constant buffer when not in useKeith Whitwell2010-11-022-0/+10
| | | | | | | | | | | Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change.
* llvmpipe: guard against NULL task->query pointerKeith Whitwell2010-11-021-2/+5
| | | | | | This doesn't seem like it should be possible, but some test suites manage to hit this case. Avoid crashing release builds under those circumstances.
* llvmpipe: avoid generating tri_16 for tris which extend past tile boundsKeith Whitwell2010-11-022-14/+35
| | | | | | | | | | Don't trim triangle bounding box to scissor/draw-region until after the logic for emitting tri_16. Don't generate tri_16 commands for triangles with untrimmed bounding boxes outside the current tile. This is important as the tri-16 itself can extend past tile bounds and we don't want to add code to it to check against tile bounds (slow) or restrict it to locations within a tile (pessimistic).
* scons: i915 can't build on MSVC either.José Fonseca2010-11-021-1/+1
| | | | I thought I had singled it out before, but apparently not.
* scons: Add aliases for several pipe drivers.José Fonseca2010-11-028-8/+14
|
* r600g: List recently added files in SConscript.José Fonseca2010-11-021-0/+2
|
* scons: Disable python state tracker when swig is not present.José Fonseca2010-11-011-0/+3
|
* scons: Some pipe drivers are not portable for MSVCJosé Fonseca2010-11-011-2/+7
|
* 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
|