summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into pipe-videoChristian König2010-11-1126-592/+561
|\
| * libgl-xlib: Use sw helper instead of roll your ownJakob Bornecrantz2010-11-101-78/+12
| |
| * graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz2010-11-102-42/+4
| |
| * gallium/targets: Trivial crosscompiling fixThomas Hellstrom2010-11-091-1/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * svga/drm: Optionally resolve calls to powf during link-timeThomas Hellstrom2010-11-092-0/+18
| | | | | | | | | | | | | | | | | | When linked with certain builds of libstdc++, it appears like powf is resolved by a symbol in that library. Other builds of libstdc++ doesn't contain that symbol resulting in a linker / loader error. Optionally resolve that symbol and replace it with calls to logf and expf. Signed-off-by: Thomas Hellstrom <[email protected]>
| * graw: Export graw_save_surface_to_file().Michal Krol2010-11-081-0/+39
| | | | | | | | | | | | | | | | | | Allows applications to dump surfaces to file without referencing gallium/auxiliary entry points statically. Existing test apps have been modified such that they save the contents of the fronbuffer only when the `-o' option's specified.
| * scons: DetabifyJakob Bornecrantz2010-11-052-39/+39
| | | | | | | | Drivers scons files for a later time
| * graw/gdi: Fix window dimensions.Michal Krol2010-11-041-3/+8
| | | | | | | | | | | | The requested window size is of the client area, so account for surrounding borders and bars when creating the window.
| * graw/gdi: Initial commit.Michal Krol2010-11-042-0/+194
| |
| * xorg/vmwgfx: Link libkms when available.José Fonseca2010-11-031-0/+3
| |
| * xorg/vmwgfx: Add missing source file to SConscript.José Fonseca2010-11-031-0/+1
| |
| * graw: Tidy graw xlib scons file a bitJakob Bornecrantz2010-11-021-7/+1
| |
| * scons: Revamp how to specify targets to build.José Fonseca2010-11-0116-379/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * 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"
| * 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.
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-videoChristian König2010-10-2812-29/+28
|\| | | | | | | | | Conflicts: src/gallium/include/pipe/p_format.h
| * 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]>
| * mesa: fix mesa version string constructionBrian Paul2010-10-191-1/+1
| | | | | | | | | | Now that MESA_MINOR=10, we no longer need the extra '0' in the version string.
| * xorg/vmwgfx: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom2010-10-193-10/+10
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environmentsThomas Hellstrom2010-10-191-2/+2
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
| * egl/i965: include inline_wrapper_sw_helper.hVictor Tseng2010-10-181-0/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * target-helpers: Remove per target software wrapper checkJakob Bornecrantz2010-10-154-8/+4
| | | | | | | | | | Instead of having a NAME_SOFTWARE check just use the GALLIUM_DRIVER instead but set the default to native which is the same as not wrapped.
| * egl: Remove unnecessary headersJakob Bornecrantz2010-10-152-2/+0
| |
| * xorg/vmwgfx: Don't hide HW cursors when updating themThomas Hellstrom2010-10-121-0/+1
| | | | | | | | | | | | Gets rid of annoying cursor flicker Signed-off-by: Thomas Hellstrom <[email protected]>
| * xorg/vmwgfx: Make vmwarectrl work also on 64-bit serversThomas Hellstrom2010-10-121-0/+1
| | | | | | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* | First xvmc-r600 implementationChristian König2010-10-233-0/+48
| |
* | Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-videoChristian König2010-10-1284-566/+2847
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/nvfx/Makefile src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h src/gallium/include/state_tracker/dri1_api.h src/gallium/include/state_tracker/drm_api.h src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
| * targets/egl: Fix linking with libdrm.Chia-I Wu2010-10-071-4/+6
| |
| * r600g: more cleanupJerome Glisse2010-09-291-27/+2
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: switch to new designJerome Glisse2010-09-281-1/+1
| | | | | | | | | | | | | | | | New design seems to be on parity according to piglit, make it default to get more exposure and see if there is any show stopper in the coming days. Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: set back to correct codepaths.Dave Airlie2010-09-211-1/+1
| | | | | | | | Jerome please use git diff and git show before pushing.
| * r600g: add back reference check when mapping bufferJerome Glisse2010-09-201-1/+1
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * i915g: Link with wrapper sw winsys with sconsJakob Bornecrantz2010-09-201-0/+1
| |
| * scons: Link against talloc in the Gallium DRI driversJakob Bornecrantz2010-09-201-0/+1
| |
| * r600g: alternative command stream building from contextJerome Glisse2010-09-171-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Winsys context build a list of register block a register block is a set of consecutive register that will be emited together in the same pm4 packet (the various r600_block* are there to provide basic grouping that try to take advantage of states that are linked together) Some consecutive register are emited each in a different block, for instance the various cb[0-7]_base. At winsys context creation, the list of block is created & an index into the list of block. So to find into which block a register is in you simply use the register offset and lookup the block index. Block are grouped together into group which are the various pkt3 group of config, context, resource, Pipe state build a list of register each state want to modify, beside register value it also give a register mask so only subpart of a register can be updated by a given pipe state (the oring is in the winsys) There is no prebuild register list or define for each pipe state. Once pipe state are built they are bound to the winsys context. Each of this functions will go through the list of register and will find into which block each reg falls and will update the value of the block with proper masking (vs/ps resource/constant are specialized variant with somewhat limited capabilities). Each block modified by r600_context_pipe_state_set* is marked as dirty and we update a count of dwords needed to emit all dirty state so far. r600_context_pipe_state_set* should be call only when pipe context change some of the state (thus when pipe bind state or set state) Then to draw primitive you make a call to r600_context_draw void r600_context_draw(struct r600_context *ctx, struct r600_draw *draw) It will check if there is enough dwords in current cs buffer and if not will flush. Once there is enough room it will copy packet from dirty block and then add the draw packet3 to initiate the draw. The flush will send the current cs, reset the count of dwords to 0 and remark all states that are enabled as dirty and recompute the number of dwords needed to send the current context. Signed-off-by: Jerome Glisse <[email protected]>
| * libgl-xlib: Remove unused st_api_create_OpenGL.Chia-I Wu2010-09-171-8/+0
| | | | | | | | st/egl no longer relies on libGL for OpenGL support.
| * targets/egl: Use C++ compiler to link GL/ES state trackers.Chia-I Wu2010-09-171-3/+10
| | | | | | | | | | Otherwise, applications compiled with C compiler might have trouble using them.
| * targets/egl: Fix crashes from loading invalid modules.Chia-I Wu2010-09-101-4/+1
| | | | | | | | Be defensive.
| * gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.Chia-I Wu2010-09-106-4/+50
| | | | | | | | They are no longer used.
| * st/egl: Use profiles to create OpenGL ES contexts.Chia-I Wu2010-09-106-141/+66
| | | | | | | | | | | | | | Replace all uses of ST_API_OPENGL_ES{1,2} by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
| * libgl-xlib: Fix --enable-gallium-llvm build.Chia-I Wu2010-09-071-1/+9
| | | | | | | | Check MESA_LLVM and link to LLVM as other targets do.
| * libgl-xlib: enable galahad supportBrian Paul2010-09-033-1/+18
| | | | | | | | | | If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with the galahad validation driver.
| * r600g: avoid dynamic allocation of statesJerome Glisse2010-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | Make state statically allocated, this kills a bunch of code and avoid intensive use of malloc/free. There is still a lot of useless duplicate function wrapping that can be kill. This doesn't improve yet performance, needs to avoid memcpy states in radeon_ctx_set_draw and to avoid rebuilding vs_resources, dsa, scissor, cb_cntl, ... states at each draw command. Signed-off-by: Jerome Glisse <[email protected]>
| * graw: fix the build (missing header)Zack Rusin2010-08-271-0/+1
| |
| * graw: Undo late loading of graw drivers.José Fonseca2010-08-265-0/+209
| | | | | | | | | | | | | | | | | | | | Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow.
| * graw: Remove graw-null.José Fonseca2010-08-263-158/+0
| | | | | | | | | | Pointless now that the graw tests can be built independently of any graw implementation.
| * graw: Dynamically load graw libraries.José Fonseca2010-08-262-50/+0
| | | | | | | | | | | | | | | | | | This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway.
| * scons: Fix old script compatability logic.José Fonseca2010-08-261-10/+5
| | | | | | | | Sconscript could be invoked twice if specified in the command line.
| * r300g: rename radeong_dri.so to r300_dri.soDave Airlie2010-08-253-4/+4
| | | | | | | | acked on irc by Corbin + Marek.