summaryrefslogtreecommitdiff
path: root/src/gallium/targets/graw-xlib
AgeCommit message (Collapse)Author
2011-01-20graw: fix logic error in pixel format selectionBrian Paul
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.
2010-11-18scons: Use inline wrap helpers more consistently.José Fonseca
2010-11-17graw: Use inline debug helper instead of non-inline versionJakob Bornecrantz
2010-11-10graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz
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-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: 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-06-07graw: add parse_geometry_shader helperKeith Whitwell
2010-06-07graw_xlib: build fixesKeith Whitwell
2010-05-14graw: combine graw_init and graw_create_window functionsKeith Whitwell
Different environments seem to want to create these in different orders. Abstract over this by combining the calls.
2010-05-14graw: split util code into new fileKeith Whitwell
2010-05-14graw: move towards glut-like interface, add tri.cKeith Whitwell
2010-05-12rbug: Add to all targets that link against traceJakob Bornecrantz
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.
2010-05-06graw-xlib: Remove duplicate graw.h file.José Fonseca
2010-05-05graw-xlib: Revert the output dir lib change.José Fonseca
2010-05-05tests/raw: Get it building with scons.José Fonseca
2010-04-11scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca
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.
2010-04-11scons: Make LLVM a black-white dependency.José Fonseca
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.
2010-03-28gallium: new raw gallium interface to support standalone testsKeith Whitwell
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.