summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_winsys.c
AgeCommit message (Collapse)Author
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.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-21trace: Hack to detect writes to user buffers.José Fonseca
It often happens that new data is written directly to the user buffers without mapping/unmapping. This hack marks user buffers and dumps them before passing them to pipe context.
2008-08-15trace: Fix typo.José Fonseca
2008-08-15trace: Wrap all textures and surface created by the pipe driver.José Fonseca
That is, Unfortunately, this causes a regression in softpipe, where the output gets tyled.
2008-08-15trace: Several fixes.José Fonseca
2008-08-15trace: Make stream a global variable.José Fonseca
This not only simplifies the code, but allows to use atexit() to ensure the log is closed when applications don't exit cleanly.
2008-08-14trace: Separate the trace screen/context vs the original screen/context.José Fonseca
2008-08-12trace: More dump fixes.José Fonseca
2008-08-12trace: Replace buffer_map+memcpy+buffer_unmap by buffer_writeJosé Fonseca
2008-08-12trace: Zero the buffers to avoid dumping uninitialized memory.José Fonseca
2008-08-12trace: Trace winsys/screen/context creation.José Fonseca
2008-08-09trace: Dump writes to pipe_buffers.José Fonseca
2008-08-09trace: Trace pipe_winsys calls.José Fonseca