summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple
Commit message (Collapse)AuthorAgeFilesLines
* brw: Fix build -- rename Size to NrTokens.Michal Krol2009-02-101-1/+1
|
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-024-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 driversZack Rusin2009-01-311-0/+2
|
* gallium: make p_winsys internalZack Rusin2009-01-309-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 allocationsZack Rusin2009-01-292-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 bufferZack Rusin2009-01-271-3/+3
| | | | reuse the size of the actual buffer
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize naming of masksZack Rusin2009-01-272-8/+8
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-1/+1
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-201-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é Fonseca2008-09-041-5/+5
|
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-032-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.hBrian Paul2008-08-2422-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 headerBrian Paul2008-08-221-0/+1
|
* gallium: replace align_int() with align()Brian Paul2008-08-221-4/+4
| | | | The two functions are identical. Removed align_int() from p_util.h
* gallium: Add destroy callback to all *_winsys interfaces.José Fonseca2008-08-083-0/+10
| | | | For consistency and to simplify these objects' destruction.
* i965: Remove extraneous arg to debug_printf.José Fonseca2008-08-081-1/+1
|
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-287-8/+8
|
* gallium: Finer grained is_format_supported.José Fonseca2008-07-191-1/+4
|
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-275-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é Fonseca2008-06-271-0/+1
|
* gallium: change surface_copy()'s do_flip to booleanBrian Paul2008-06-231-1/+1
|
* gallium: fix bad srcy coord if do_flipBrian Paul2008-06-231-1/+1
|
* brw: SWZ no longer aliases MOV.Michal Krol2008-06-021-1/+1
|
* brw: Fix build after TGSI declaration interface changes.Michal Krol2008-05-314-17/+11
|
* Revert DOS line endings.José Fonseca2008-05-262-1153/+1153
|
* Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul2008-05-181-8/+11
|\
| * gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul2008-05-171-8/+11
| | | | | | | | The caller can then free the token array immediately.
* | brw: remove dead codeKeith Whitwell2008-05-021-8/+0
| |
* | gallium: tex surface checkpointKeith Whitwell2008-05-012-32/+21
|/
* gallium: use the newer PIPE_FORMAT_x_UNORM format namesBrian Paul2008-04-302-16/+16
|
* gallium: Don't assume snprintf are always available.José Fonseca2008-04-151-1/+2
|
* gallium: Eliminate p_winsys::printfJosé Fonseca2008-03-312-6/+5
| | | | Not convenient and almost not used at all. Better replacements in p_debug.h
* gallium: Set vertex state/buffers en-mass.Brian Paul2008-03-291-28/+32
|
* gallium: remove redundant compare bit in sampler stateRoland Scheidegger2008-03-281-2/+1
|
* gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian2008-03-274-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änzer2008-03-261-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 Paul2008-03-191-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 ExtDivideBrian2008-03-121-4/+0
|
* gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell2008-03-121-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 interfaceKeith Whitwell2008-03-054-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 infoBrian2008-02-273-5/+5
|
* gallium/i965: added const to silence warningBrian2008-02-271-1/+1
|
* gallium/i965: remove brw_shader_info structBrian2008-02-278-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 warningsBrian2008-02-272-1/+2
|
* gallium/i965: added const to silence warningsBrian2008-02-271-1/+1
|
* gallium/i965: remove UsesDepth, UsesKill - use tgsi_shader_info insteadBrian2008-02-273-6/+4
|
* gallium/i965: remove dependencies on pipe_shader_state's semantic infoBrian2008-02-276-12/+22
| | | | The brw_shader_info struct is rendundant and could be removed...
* gallium: remove obsolete *_strings.c filesBrian2008-02-271-51/+0
|
* gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian2008-02-271-30/+0
| | | | These functions are now per-screen, not per-context.