summaryrefslogtreecommitdiff
path: root/src/gallium/targets
AgeCommit message (Collapse)Author
2010-11-04graw/gdi: Initial commit.Michal Krol
2010-11-03xorg/vmwgfx: Link libkms when available.José Fonseca
2010-11-03xorg/vmwgfx: Add missing source file to SConscript.José Fonseca
2010-11-02graw: Tidy graw xlib scons file a bitJakob Bornecrantz
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-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-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-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-19mesa: fix mesa version string constructionBrian Paul
Now that MESA_MINOR=10, we no longer need the extra '0' in the version string.
2010-10-19xorg/vmwgfx: Don't use deprecated x*alloc / xfree functionsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-19st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environmentsThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-18egl/i965: include inline_wrapper_sw_helper.hVictor Tseng
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-10-15target-helpers: Remove per target software wrapper checkJakob Bornecrantz
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.
2010-10-15egl: Remove unnecessary headersJakob Bornecrantz
2010-10-12xorg/vmwgfx: Don't hide HW cursors when updating themThomas Hellstrom
Gets rid of annoying cursor flicker Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-12xorg/vmwgfx: Make vmwarectrl work also on 64-bit serversThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-07targets/egl: Fix linking with libdrm.Chia-I Wu
2010-09-29r600g: more cleanupJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: switch to new designJerome Glisse
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 <jglisse@redhat.com>
2010-09-21r600g: set back to correct codepaths.Dave Airlie
Jerome please use git diff and git show before pushing.
2010-09-20r600g: add back reference check when mapping bufferJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-20i915g: Link with wrapper sw winsys with sconsJakob Bornecrantz
2010-09-20scons: Link against talloc in the Gallium DRI driversJakob Bornecrantz
2010-09-17r600g: alternative command stream building from contextJerome Glisse
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 <jglisse@redhat.com>
2010-09-17libgl-xlib: Remove unused st_api_create_OpenGL.Chia-I Wu
st/egl no longer relies on libGL for OpenGL support.
2010-09-17targets/egl: Use C++ compiler to link GL/ES state trackers.Chia-I Wu
Otherwise, applications compiled with C compiler might have trouble using them.
2010-09-10targets/egl: Fix crashes from loading invalid modules.Chia-I Wu
Be defensive.
2010-09-10gallium: Remove ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2.Chia-I Wu
They are no longer used.
2010-09-10st/egl: Use profiles to create OpenGL ES contexts.Chia-I Wu
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.
2010-09-07libgl-xlib: Fix --enable-gallium-llvm build.Chia-I Wu
Check MESA_LLVM and link to LLVM as other targets do.
2010-09-03libgl-xlib: enable galahad supportBrian Paul
If the GALLIUM_GALAHAD env var is 1 we'll wrap the regular driver with the galahad validation driver.
2010-09-01r600g: avoid dynamic allocation of statesJerome Glisse
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 <jglisse@redhat.com>
2010-08-27graw: fix the build (missing header)Zack Rusin
2010-08-26graw: Undo late loading of graw drivers.José Fonseca
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.
2010-08-26graw: Remove graw-null.José Fonseca
Pointless now that the graw tests can be built independently of any graw implementation.
2010-08-26graw: Dynamically load graw libraries.José Fonseca
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.
2010-08-26scons: Fix old script compatability logic.José Fonseca
Sconscript could be invoked twice if specified in the command line.
2010-08-25r300g: rename radeong_dri.so to r300_dri.soDave Airlie
acked on irc by Corbin + Marek.
2010-08-24make: Use C++ compiler to link stdc++ library.Brian Paul
glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
2010-08-24targets/egl: Check against drm_driver_descriptor::name.Chia-I Wu
drm_driver_descriptor::driver_name is defined to be the name of the kernel module. We should check against drm_driver_descriptor::name instead of drm_driver_descriptor::driver_name.
2010-08-24targets/egl: add pipe_r600Benjamin Franzke
KNOWN ISSUE: eglShowScreenSurfaceMESA in st/egl/kms fails but st/egl/x11 works
2010-08-24targets/egl: rename pipe_radeon to pipe_r300Benjamin Franzke
st/egl/x11/x11_screen.c requests a driver named r300 not radeon KNOWN ISSUE: breaks st/egl/kms/ st/egl/kms requests a pipe named "radeon" that will not be found now so why not leaving pipe_radeon there? that was possible as long we have only r300g. now there is also r600g for which st/egl/kms also requests a pipe named "radeon" (possible solution in later commit)
2010-08-22libgl-xlib: Include missing header in xlib.c.Vinson Lee
Include st_api.h for st_api_create_OpenGL symbol.
2010-08-20targets/egl-gdi: Implement guess_gl_api.Chia-I Wu
It is needed to support calling eglGetProcAddress before eglInitialize.
2010-08-17targets/egl: Link with DRI_LIB_DEPS.Chia-I Wu
Use DRI_LIB_DEPS when linking GL/GLES state trackers. This fixes missing talloc symbol errors, and is hopefully more future proof.
2010-08-16Merge branch 'glsl2'Ian Romanick
Conflicts: src/mesa/program/prog_optimize.c
2010-08-17r600g: drop libdrm_radeon linkDave Airlie
2010-08-14scons: Fix r600g build.Vinson Lee
2010-08-14scons: Link talloc.José Fonseca