summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* i965g: Fix use of an uninitialized variable.Chia-I Wu2010-03-161-1/+1
|
* winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz2010-03-1611-2/+549
|
* r300g: rebuild screen/winsys interfaceDave Airlie2010-03-158-175/+720
| | | | | | | | | | | | | | | | | | | | This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs. It also tries to avoid overheads from mapping too often. v5: clean warnings v6: break out of cache check on first buffer - since most likely the first busy one implies all after it are busy. v7: cleanup a bit v8-merged: drop cman for now to just get all the interface changes in first. rework to changes that happened upstream Signed-off-by: Dave Airlie <[email protected]>
* nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40Luca Barbieri2010-03-153-26/+2
| | | | | | | | | | | This is the last nvfx unification patch. nv[34]0_fragtex.c are moved to the common directory nv[34]0_shader.h are renamed to nv[34]0_vertprog.h and moved to the common directory The separate nv30 and nv40 directories are removed from the build system
* nv30, nv40: non-trivially unify nv[34]0_screen.cLuca Barbieri2010-03-151-3/+1
| | | | | | The files have the same structure but are substantially different. They are unified with appropriate conditionals.
* 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
| | |