summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
AgeCommit message (Collapse)Author
2010-03-16winsys/sw: Add a software winsys layered on a pipeJakob Bornecrantz
2010-03-15r300g: rebuild screen/winsys interfaceDave Airlie
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 <airlied@redhat.com>
2010-03-15nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40Luca Barbieri
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
2010-03-15nv30, nv40: non-trivially unify nv[34]0_screen.cLuca Barbieri
The files have the same structure but are substantially different. They are unified with appropriate conditionals.
2010-03-15nvfx: add nvfx directory to build systemLuca Barbieri
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.
2010-03-13gallium: Respect user's CFLAGS for including X headersDan Nicholson
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-13r300g: refrain from using immediate mode if it causes slowdownMarek Olšák
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.
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12vmwgfx/dri: Fix SCons build.Michel Dänzer
2010-03-11winsys/xlib: Fix memory leak.Vinson Lee
Memory for xm_dt was allocated twice.
2010-03-10python: More build fixes.José Fonseca
2010-03-10ws/xlib: remove dead linesKeith Whitwell
2010-03-10ws/gdi: add includeKeith Whitwell
2010-03-10Revert "r300-gallium: Skeleton for integrating into the python statetracker."José Fonseca
This reverts commit 2d56d0839e6db0861131893d67fe23734800085a. Never actually used.
2010-03-10winsys/drm: Handle circular dependencies in Makefile.egl.Chia-I Wu
The libraries have circular dependencies. Use --start-group and --end-group when producing the final shared libraries.
2010-03-09null: Add a null software winsys.José Fonseca
One where framebuffer data will be read via texture transfers. Useful for e.g., python state tracker.
2010-03-09ws/gdi: fix typoKeith Whitwell
2010-03-09gallium: create target for gdi libglKeith Whitwell
2010-03-09ws/xlib: no dependency on mesa state trackerKeith Whitwell
2010-03-09gallium: create helper for swrast+xlib combinationKeith Whitwell
Several targets may want to reuse this code. It's pretty simple, not sure if this is really a win.
2010-03-09ws/xlib: remove self-knowledge about users of xlib winsysKeith Whitwell
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.
2010-03-09cell: fix up assorted compilation problemsBrian Paul
The driver is pretty much totally broken though.
2010-03-09gdi: Fixup llvmpipe gdi winsys too.José Fonseca
2010-03-09scons: Add new targets option.José Fonseca
This will likely change. Most probably we'll just add an alias to indvidual targets and use the regular scons targets arguments.
2010-03-09winsys/gdi: get softpipe version compilingKeith Whitwell
2010-03-09ws/gdi: missing fileKeith Whitwell
2010-03-09ws/gdi: sketch of gdi changesKeith Whitwell
2010-03-09cell: untwiddle surface contents in flush_frontbuffer()Keith Whitwell
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.
2010-03-09ws/xlib: remove USE_XSHM preprocessor macroKeith Whitwell
2010-03-09ws/xlib: manage the GC internallyKeith Whitwell
No need for the user of this winsys to supply/manage the x11 gc for us.
2010-03-09Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell
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
2010-03-09st/egl: Use xlib_sw_winsys in ximage backend.Chia-I Wu
2010-03-09winsys/xlib: Fix a segfault when USE_XSHM is not defined.Chia-I Wu
2010-03-08gallium: remove xlib_driver::display_surfaceKeith Whitwell
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.
2010-03-08gallium: make it workKeith Whitwell
2010-03-08gallium: introduce target directoryKeith Whitwell
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.
2010-03-08ws/xlib: remove dead filesKeith Whitwell
2010-03-08ws/xlib: fixup softpipe buildKeith Whitwell
2010-03-08winsys/xlib: remove dependency on glx/x11 state trackerKeith Whitwell
Introduce xlib_drawable struct, pass this down to winsys instead of having it use the internal data structures from glx/x11
2010-03-08ws/xlib: remove redundant declarationsKeith Whitwell
2010-03-08winsys/xlib: sketch of cell supportKeith Whitwell
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-04gallium: fix llvmpipe after winsys moveKeith Whitwell
2010-03-04softpipe: rework to use the llvmpipe winsysKeith Whitwell
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.
2010-03-04svga: Forgot one bit in rebaseJakob Bornecrantz
2010-03-04nouveau: Conversion to winsys handleJakob Bornecrantz
Not the best conversion that could be done.
2010-03-02gdi: Rename pipe formats.José Fonseca
2010-03-02drm/nouveau: Rename pipe formats.José Fonseca
2010-03-01r300g: Conversion to to winsys handleJakob Bornecrantz
2010-03-01svga: Conversion to winsys handleJakob Bornecrantz