Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-01 | fix mem leaks | Brian | |
2007-12-20 | 965: fix the constant buffers | Zack Rusin | |
2007-12-19 | Fix problem with initial viewport/scissor size. | Brian | |
If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer(). | |||
2007-12-19 | move st_make_current() before buffer size check so renderbuffer alloc ↵ | Brian | |
storage works | |||
2007-12-19 | 965: handle BRW_CONSTANT_BUFFER data type | Keith Whitwell | |
2007-12-19 | consts | Zack Rusin | |
2007-12-19 | 965: align buffer allocations to 4k | Keith Whitwell | |
2007-12-19 | 965: allocate buffer space to hold batch commands | Keith Whitwell | |
2007-12-19 | 965: respect surface width when dumping bitmap | Keith Whitwell | |
2007-12-18 | gallium: give userbuffers some storage in the aub buffer pool | Keith Whitwell | |
2007-12-13 | 965: implement magic buffer offset callback | Keith Whitwell | |
2007-12-12 | Re-org of st_create_framebuffer() and renderbuffer format selection. | Brian | |
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too. | |||
2007-12-11 | trim down #includes | Brian | |
2007-12-11 | Move align_malloc(), align_free() to p_util.h | Brian | |
2007-12-11 | Hmm, missed these two files. Sorry. | Zack Rusin | |
2007-12-11 | Port i965 driver to Gallium3D. | Zack Rusin | |
This is a squashed commit of i965 branch on ssh://people.freedesktop.org/~zack/mesa Because of the porting the branch often didn't compile so squashing it makes more sense. The port is still far from complete. | |||
2007-12-11 | Add surface storage allocation function to winsys interface. | José Fonseca | |
2007-12-10 | Cell: first triangle. | Brian | |
This is a feeble first step, but it works. The cell_clear_surface() function has been hijacked to set up a "draw triangle" command and send it to all the SPUs. The Gallium softpipe triangle code was copied to the SPU module and modified. Only the progs/trivial/clear.c program runs. | |||
2007-12-10 | gallium: disable assert(0) in xmesa_surface() | Keith Whitwell | |
2007-12-10 | Cell driver state-setter functions, basic tile get/put, glClear. | Brian | |
The state setting code was mostly just copied from the softpipe driver. The SPUs can now get/put framebuffer tiles from/to main memory and clear them to a given color. Lots of debug code in effect. Tiled framebuffer is displayed in X window via the xmwinsys layer. To enable Cell driver, export GALLIUM_CELL=1 | |||
2007-12-10 | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | |
surface, etc. Additional types may be added in the future. | |||
2007-12-09 | Adapt for winsys interface changes. | José Fonseca | |
2007-12-07 | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | |
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | |||
2007-12-07 | Get rid of "duplicate" formats. | Brian | |
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | |||
2007-12-07 | byteswapping fixes in choose_pixel_format() | Brian | |
2007-12-07 | remove stray ; | Brian | |
2007-12-07 | Remove obsolete xlib driver files | Brian | |
2007-12-07 | Overhaul the Xlib winsys layer. | Brian | |
Front/back color buffers are now allocated with ordinary malloc() via the winsys buffer functions. To display surfaces in SwapBuffers() or flush_frontbuffer() we create an XImage that wraps the surface, then use XPutImage to copy to the window. Shared memory transport disabled for now. | |||
2007-12-07 | Eliminate struct pipe_region. | Michel Dänzer | |
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | |||
2007-12-05 | added B8G8R8A8 support and improved pixel format selection when doing remote ↵ | Brian | |
display to X server of different endianness. | |||
2007-11-29 | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | |
2007-11-07 | fix warning | Brian | |
2007-11-07 | Remove winsys->wait_idle(), subsumed by pipe->flush(). | Brian | |
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner. | |||
2007-11-07 | Remove context dependencies in winsys layer. | Brian | |
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention... | |||
2007-11-07 | re-enable PIPE_FORMAT_U_Z32 support | Brian | |
2007-11-07 | better depth buffer selection | Brian | |
2007-11-07 | redo xm_surface_release() to match i915 | Brian | |
2007-11-07 | fix bad varname | Brian | |
2007-11-07 | Add winsys->surface_release() to complement winsys->surface_alloc(). | Brian | |
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context. | |||
2007-11-06 | disable PIPE_FORMAT_U_Z32, doesn't work ATM | Brian | |
2007-11-06 | Update xmesa_is_format_supported() | Brian | |
2007-11-06 | rename xmesa_create_softpipe() xmesa_create_context() | Brian | |
2007-11-06 | rename xmesa_create_softpipe() xmesa_create_context() | Brian | |
2007-11-06 | disable finish_or_flush() for now | Brian | |
2007-11-06 | need to call pipe->flush() in finish_or_flush() | Brian | |
2007-11-06 | define CLIP_TILE as in sp_surface.c | Brian | |
2007-11-06 | remove debug abort() call | Brian | |
2007-11-06 | Call xmesa_init_driver_functions() to install xmesa_viewport() function. | Brian | |
Fixes failed assertion in glxgears. | |||
2007-11-06 | Supply buffer usage hints to winsys. | José Fonseca | |
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer. | |||
2007-11-05 | Remove some temporary state tracker context/framebuffer_create functions. | Brian | |