summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/gdi/gdi_softpipe_winsys.c
AgeCommit message (Collapse)Author
2009-09-24gdi: Update for WGL state tracker interface changes.José Fonseca
2009-09-23gdi: Update for WGL statetracker source reorg.José Fonseca
2009-09-08gdi: Fix prototype of gdi_softpipe_surface_buffer_create().Michal Krol
2009-04-18softpipe: Simplify softpipe_create's prototype.José Fonseca
2009-04-09gdi: Use stw_* names.José Fonseca
2009-03-20winsys/gdi: Init state tracker's per-thread data.Michal Krol
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-02-19gdi: Update for texture/surface interface changes.José Fonseca
2009-02-02gallium: adjust gdi for the latest changesZack Rusin
2009-02-02gdi: Update for wgl st reorg.José Fonseca
2009-01-30stw: Don't use the winsys.José Fonseca
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-30gdi: Update for winsys interface changes.José Fonseca
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
2009-01-08gdi: Add newline at end of file.José Fonseca
2009-01-08wgl: Do not provide DllMain inside the state tracker.José Fonseca
MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
2009-01-08gdi: Fix warning.José Fonseca
2008-11-21gdi: Reimplement using the WGL statetracker.José Fonseca