Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 4 | -7/+10 |
| | | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures. | ||||
* | gallium: initialize simple screen in drivers | Zack Rusin | 2009-01-31 | 1 | -0/+2 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 9 | -12/+12 |
| | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | 2009-01-29 | 2 | -10/+8 |
| | | | | | | allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen | ||||
* | gallium: remove redundant size from the constant buffer | Zack Rusin | 2009-01-27 | 1 | -3/+3 |
| | | | | reuse the size of the actual buffer | ||||
* | gallium: it's a reference value, not a reference number | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | gallium: standardize naming of masks | Zack Rusin | 2009-01-27 | 2 | -8/+8 |
| | |||||
* | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | i965: Use pipe_buffer_* inlines as much as possible. | José Fonseca | 2008-09-04 | 1 | -5/+5 |
| | |||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 2 | -3/+3 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 22 | -28/+38 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header | Brian Paul | 2008-08-22 | 1 | -0/+1 |
| | |||||
* | gallium: replace align_int() with align() | Brian Paul | 2008-08-22 | 1 | -4/+4 |
| | | | | The two functions are identical. Removed align_int() from p_util.h | ||||
* | gallium: Add destroy callback to all *_winsys interfaces. | José Fonseca | 2008-08-08 | 3 | -0/+10 |
| | | | | For consistency and to simplify these objects' destruction. | ||||
* | i965: Remove extraneous arg to debug_printf. | José Fonseca | 2008-08-08 | 1 | -1/+1 |
| | |||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 7 | -8/+8 |
| | |||||
* | gallium: Finer grained is_format_supported. | José Fonseca | 2008-07-19 | 1 | -1/+4 |
| | |||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 5 | -125/+79 |
| | | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. | ||||
* | scons: Fix i965/xlib build. | José Fonseca | 2008-06-27 | 1 | -0/+1 |
| | |||||
* | gallium: change surface_copy()'s do_flip to boolean | Brian Paul | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | gallium: fix bad srcy coord if do_flip | Brian Paul | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | brw: SWZ no longer aliases MOV. | Michal Krol | 2008-06-02 | 1 | -1/+1 |
| | |||||
* | brw: Fix build after TGSI declaration interface changes. | Michal Krol | 2008-05-31 | 4 | -17/+11 |
| | |||||
* | Revert DOS line endings. | José Fonseca | 2008-05-26 | 2 | -1153/+1153 |
| | |||||
* | Merge branch 'gallium-0.1' into gallium-tex-surfaces | Brian Paul | 2008-05-18 | 1 | -8/+11 |
|\ | |||||
| * | gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state() | Brian Paul | 2008-05-17 | 1 | -8/+11 |
| | | | | | | | | The caller can then free the token array immediately. | ||||
* | | brw: remove dead code | Keith Whitwell | 2008-05-02 | 1 | -8/+0 |
| | | |||||
* | | gallium: tex surface checkpoint | Keith Whitwell | 2008-05-01 | 2 | -32/+21 |
|/ | |||||
* | gallium: use the newer PIPE_FORMAT_x_UNORM format names | Brian Paul | 2008-04-30 | 2 | -16/+16 |
| | |||||
* | gallium: Don't assume snprintf are always available. | José Fonseca | 2008-04-15 | 1 | -1/+2 |
| | |||||
* | gallium: Eliminate p_winsys::printf | José Fonseca | 2008-03-31 | 2 | -6/+5 |
| | | | | Not convenient and almost not used at all. Better replacements in p_debug.h | ||||
* | gallium: Set vertex state/buffers en-mass. | Brian Paul | 2008-03-29 | 1 | -28/+32 |
| | |||||
* | gallium: remove redundant compare bit in sampler state | Roland Scheidegger | 2008-03-28 | 1 | -2/+1 |
| | |||||
* | gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS | Brian | 2008-03-27 | 4 | -10/+10 |
| | | | | | The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated. | ||||
* | gallium: Change pipe->flush() interface to optionally return a fence. | Michel Dänzer | 2008-03-26 | 1 | -10/+3 |
| | | | | | The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it. | ||||
* | gallium: add face, dirtyLevels params to pipe->texture_update() | Brian Paul | 2008-03-19 | 1 | -1/+2 |
| | | | | | This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed. | ||||
* | remove reference to obsolete ExtDivide | Brian | 2008-03-12 | 1 | -4/+0 |
| | |||||
* | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | 2008-03-12 | 1 | -19/+19 |
| | | | | | | Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code. | ||||
* | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | 2008-03-05 | 4 | -1117/+1149 |
| | | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | ||||
* | gallium/i965: remove more dependencies on pipe_shader_state semantic info | Brian | 2008-02-27 | 3 | -5/+5 |
| | |||||
* | gallium/i965: added const to silence warning | Brian | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | gallium/i965: remove brw_shader_info struct | Brian | 2008-02-27 | 8 | -28/+21 |
| | | | | | | The info it contained is now found in tgsi_shader_info. Added a few assertions to catch potential misunderstandings about register counts vs. highest register index used. | ||||
* | gallium/i965: silence warnings | Brian | 2008-02-27 | 2 | -1/+2 |
| | |||||
* | gallium/i965: added const to silence warnings | Brian | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info instead | Brian | 2008-02-27 | 3 | -6/+4 |
| | |||||
* | gallium/i965: remove dependencies on pipe_shader_state's semantic info | Brian | 2008-02-27 | 6 | -12/+22 |
| | | | | The brw_shader_info struct is rendundant and could be removed... | ||||
* | gallium: remove obsolete *_strings.c files | Brian | 2008-02-27 | 1 | -51/+0 |
| | |||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 1 | -30/+0 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: move is_format_supported() to pipe_screen struct | Brian | 2008-02-27 | 2 | -69/+67 |
| |