summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/graw-xlib
Commit message (Collapse)AuthorAgeFilesLines
* graw: fix logic error in pixel format selectionBrian Paul2011-01-201-3/+17
| | | | | | | | | | | | | | | The loop to choose a pixel format for the window was incrementing 'i' after we succeeded in creating the window so if we chose format[0] for graw_create_window_and_screen() we were putting format[1] in the pipe_resource template for creating the render target. This only worked because of the order of the elements in the formats[] array. The graw_xlib.c code now properly compares the requested gallium pixel format against the visual's color layout. Update all the graw demos to fix the off-by-one-i error.
* scons: Use inline wrap helpers more consistently.José Fonseca2010-11-181-5/+2
|
* graw: Use inline debug helper instead of non-inline versionJakob Bornecrantz2010-11-172-3/+5
|
* graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz2010-11-101-39/+2
|
* graw: Tidy graw xlib scons file a bitJakob Bornecrantz2010-11-021-7/+1
|
* scons: Revamp how to specify targets to build.José Fonseca2010-11-012-64/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* graw: fix the build (missing header)Zack Rusin2010-08-271-0/+1
|
* graw: Undo late loading of graw drivers.José Fonseca2010-08-262-0/+51
| | | | | | | | | | 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: 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.
* graw: add parse_geometry_shader helperKeith Whitwell2010-06-071-0/+13
|
* graw_xlib: build fixesKeith Whitwell2010-06-071-0/+3
|
* graw: combine graw_init and graw_create_window functionsKeith Whitwell2010-05-141-27/+35
| | | | | Different environments seem to want to create these in different orders. Abstract over this by combining the calls.
* graw: split util code into new fileKeith Whitwell2010-05-143-31/+37
|
* graw: move towards glut-like interface, add tri.cKeith Whitwell2010-05-141-0/+49
|
* rbug: Add to all targets that link against traceJakob Bornecrantz2010-05-121-0/+1
| | | | | | Also added calls to the create function in target helpers and in tr_drm.c the latter being a hack and should be replaced with the wrap screen target helper. But at least this way we don't regress.
* graw-xlib: Remove duplicate graw.h file.José Fonseca2010-05-062-37/+1
|
* graw-xlib: Revert the output dir lib change.José Fonseca2010-05-051-1/+3
|
* tests/raw: Get it building with scons.José Fonseca2010-05-051-3/+3
|
* scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca2010-04-111-6/+2
| | | | | | | | | | These are our reference software rasterizers. They can build everywhere and are a precious debugging tool. Making them always present immensily simplifies the scons logic. If people want to avoid building it is still possible to pass direcotries and target names to scons to narrow the build.
* scons: Make LLVM a black-white dependency.José Fonseca2010-04-111-5/+3
| | | | | | | Now that draw depends on llvm it is very difficult to correctly handle broken llvm installations. Either the user requests LLVM and it needs to supply a working installation. Or it doesn't, and it gets no LLVM accelerate pipe drivers.
* gallium: new raw gallium interface to support standalone testsKeith Whitwell2010-03-283-0/+274
Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium.