aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* nvfx: add nvfx directory to build systemLuca Barbieri2010-03-153-0/+21
| | | | | | | Will be used to hold source files unified between nv30 and nv40. Eventually all nv30 and nv40 code will be moved there and the nv30 and nv40 directories will be removed.
* gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-03-131-1/+2
| | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]>
* r300g: refrain from using immediate mode if it causes slowdownMarek Olšák2010-03-132-0/+17
| | | | | | | | | E.g. when mapping buffers could flush CS or cause waiting for a busy buffer. The side effect of this is it also fixes progs/demos/arbocclude however a separate fix should be proposed to address this issue in other cases it might occur.
* Merge branch '7.8'Michel Dänzer2010-03-121-0/+1
|\
| * vmwgfx/dri: Fix SCons build.Michel Dänzer2010-03-121-0/+1
| |
* | winsys/xlib: Fix memory leak.Vinson Lee2010-03-111-1/+1
| | | | | | | | Memory for xm_dt was allocated twice.
* | python: More build fixes.José Fonseca2010-03-101-4/+0
| |
* | ws/xlib: remove dead linesKeith Whitwell2010-03-101-6/+0
| |
* | ws/gdi: add includeKeith Whitwell2010-03-101-0/+2
| |
* | Revert "r300-gallium: Skeleton for integrating into the python statetracker."José Fonseca2010-03-106-1297/+0
| | | | | | | | | | | | This reverts commit 2d56d0839e6db0861131893d67fe23734800085a. Never actually used.
* | winsys/drm: Handle circular dependencies in Makefile.egl.Chia-I Wu2010-03-101-2/+4
| | | | | | | | | | The libraries have circular dependencies. Use --start-group and --end-group when producing the final shared libraries.
* | null: Add a null software winsys.José Fonseca2010-03-095-0/+205
| | | | | | | | | | | | One where framebuffer data will be read via texture transfers. Useful for e.g., python state tracker.
* | ws/gdi: fix typoKeith Whitwell2010-03-091-1/+1
| |
* | gallium: create target for gdi libglKeith Whitwell2010-03-094-288/+12
| |
* | ws/xlib: no dependency on mesa state trackerKeith Whitwell2010-03-091-2/+1
| |
* | gallium: create helper for swrast+xlib combinationKeith Whitwell2010-03-091-1/+1
| | | | | | | | | | Several targets may want to reuse this code. It's pretty simple, not sure if this is really a win.
* | ws/xlib: remove self-knowledge about users of xlib winsysKeith Whitwell2010-03-098-320/+2
| | | | | | | | | | | | | | | | | | Several software rasterizers can make use of this winsys, but there isn't any reason why the winsys itself should know about them. This change moves that information into the libgl-xlib target. Need to fix up other targets making use of this winsys.
* | cell: fix up assorted compilation problemsBrian Paul2010-03-091-10/+13
| | | | | | | | The driver is pretty much totally broken though.
* | gdi: Fixup llvmpipe gdi winsys too.José Fonseca2010-03-091-1/+1
| |
* | scons: Add new targets option.José Fonseca2010-03-091-8/+8
| | | | | | | | | | This will likely change. Most probably we'll just add an alias to indvidual targets and use the regular scons targets arguments.
* | winsys/gdi: get softpipe version compilingKeith Whitwell2010-03-095-34/+56
| |
* | ws/gdi: missing fileKeith Whitwell2010-03-091-0/+10
| |
* | ws/gdi: sketch of gdi changesKeith Whitwell2010-03-093-2/+216
| |
* | cell: untwiddle surface contents in flush_frontbuffer()Keith Whitwell2010-03-091-81/+0
| | | | | | | | | | | | | | Don't make the shared software winsys rely on internal knowledge about the cell driver's texture twiddling. This is just a sketch and hasn't even been compile tested.
* | ws/xlib: remove USE_XSHM preprocessor macroKeith Whitwell2010-03-092-16/+3
| |
* | ws/xlib: manage the GC internallyKeith Whitwell2010-03-091-6/+37
| | | | | | | | | | No need for the user of this winsys to supply/manage the x11 gc for us.
* | Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell2010-03-0910-467/+272
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_winsys.h src/gallium/state_trackers/egl/common/egl_g3d.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/egl/x11/native_ximage.c
| * \ Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell2010-03-0810-467/+272
| |\ \ | | |/ | |/|
| | * svga: Forgot one bit in rebaseJakob Bornecrantz2010-03-041-3/+0
| | |
| | * nouveau: Conversion to winsys handleJakob Bornecrantz2010-03-041-66/+6
| | | | | | | | | | | | Not the best conversion that could be done.
| | * r300g: Conversion to to winsys handleJakob Bornecrantz2010-03-014-143/+83
| | |
| | * svga: Conversion to winsys handleJakob Bornecrantz2010-03-011-32/+44
| | |
| | * i965g: Conversion to winsys handleJakob Bornecrantz2010-03-012-126/+75
| | |
| | * i915g: Conversion to winsys handleJakob Bornecrantz2010-03-012-96/+63
| | |
| | * gallium: Reorg texture usage flagsJakob Bornecrantz2010-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Introduce a new shared usage and rename primary to scanout. The display target usage is more of a windows concept and doesn't mean the same thing as shared. Display target means that the surface should be presentable, for softpipe this means that it should be backed by a hardware buffer.
* | | st/egl: Use xlib_sw_winsys in ximage backend.Chia-I Wu2010-03-091-1/+2
| | |
* | | winsys/xlib: Fix a segfault when USE_XSHM is not defined.Chia-I Wu2010-03-091-10/+31
| | |
* | | gallium: remove xlib_driver::display_surfaceKeith Whitwell2010-03-082-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just use flush_frontbuffer directly. The flush_frontbuffer routine has been somewhat devalued recently, but it is actually just the right interface for our needs. It is in pipe_screen, meaning that any wrapping (eg trace module) will get properly unwrapped before we try and use the pipe_surface argument for real. If a particular co-state-tracker needs to implement this itself, it should organize a way to allow the winsys to call back up to its level, rather than hijacking the driver-supplied implementation.
* | | gallium: make it workKeith Whitwell2010-03-082-0/+50
| | |
* | | gallium: introduce target directoryKeith Whitwell2010-03-086-492/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are still at least two functions bundled up inside the winsys concept: a) that of a backend resource manager, sometimes capable of performing present() operations, b) the initialization code/routine for the whole driver stack. The inclusion of (b) makes it difficult to share implementations of (a) between different drivers. For instance, a clean xlib winsys could be of use for software-rasterized VG, GLES, EGL, etc, stacks. But that is only true as long as there is no dependency from the winsys to higher level code, as would be the case when we include (b) in this component. This change creates a new gallium/targets subtree, specifically for implementing the glue needed to build individual driver stacks, and moves that code out of a single example winsys, namely xlib. Other drivers continue to build unchanged, but hopefully can migrate to this structure over time.
* | | ws/xlib: remove dead filesKeith Whitwell2010-03-082-510/+0
| | |
* | | ws/xlib: fixup softpipe buildKeith Whitwell2010-03-081-2/+2
| | |
* | | winsys/xlib: remove dependency on glx/x11 state trackerKeith Whitwell2010-03-083-40/+53
| | | | | | | | | | | | | | | Introduce xlib_drawable struct, pass this down to winsys instead of having it use the internal data structures from glx/x11
* | | ws/xlib: remove redundant declarationsKeith Whitwell2010-03-081-7/+0
| | |
* | | winsys/xlib: sketch of cell supportKeith Whitwell2010-03-081-248/+20
| | |
* | | gallium: fix llvmpipe after winsys moveKeith Whitwell2010-03-042-2/+4
| | |
* | | softpipe: rework to use the llvmpipe winsysKeith Whitwell2010-03-0410-1184/+451
|/ / | | | | | | | | | | | | | | | | Promote the llvmpipe winsys more or less unchanged to state_trackers/sw_winsys.h. Some minor breakages: - softpipe::texture_blanket is broken, but scheduled for removal anyway. - haven't fixed up g3vdl yet.
* | gdi: Rename pipe formats.José Fonseca2010-03-021-2/+2
| |
* | drm/nouveau: Rename pipe formats.José Fonseca2010-03-021-2/+2
|/
* radeong: clean up includesMarek Olšák2010-02-276-37/+18
|