summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Finer grained is_format_supported.José Fonseca2008-07-191-15/+11
|
* softpipe: DXT formats not really supported.José Fonseca2008-07-161-4/+9
|
* gallium: added some sanity check assertionsBrian Paul2008-07-151-0/+5
|
* util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.José Fonseca2008-07-131-8/+8
| | | | | You don't need a pipe_context * for this, and all other necessary info is already inside pipe_surface.
* softpipe: Prevent NULL ptr derreference on takedown.José Fonseca2008-07-051-2/+2
|
* softpipe: Compute block size for display targets.José Fonseca2008-07-051-1/+3
|
* softpipe: Implement texture blankets.José Fonseca2008-07-051-0/+34
|
* gallium: nr_attrs was off by one, updated comments, minor code movementBrian Paul2008-07-021-2/+4
|
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-273-43/+24
| | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
* gallium: in softpipe_get_tex_surface() use the pitch specified in the ↵Brian Paul2008-06-231-1/+1
| | | | | | softpipe_texture object. Fixes a pitch/width mix-up.
* 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-4/+10
|
* gallium: fix invalid call to draw_set_mapped_constant_buffer()Brian Paul2008-06-202-3/+3
| | | | | | We were indexing sp_constants[i] outside the loop so i was 2. Replace i with PIPE_SHADER_VERTEX. Also, replace magic '2' with PIPE_SHADER_TYPES in a few places.
* gallium: fix some surface usage bugsBrian Paul2008-06-203-2/+21
| | | | | | | | | When a surface is created with GPU_WRITE that really means "GPU render" and that can involve reads (blending). Set surface usage to PIPE_BUFFER_USAGE_CPU_READ + WRITE. Fixes progs/demos/lodbias demo. Also, mark texture as 'modified' when mapped for writing so that the tile cache can know when to freshen a cached tile. Fixes glTexSubImage2D().
* softpipe: Replace GETENV by debug_get_bool_option.José Fonseca2008-06-101-2/+2
|
* gallium: Deprecate GETENV. Replace by debug_get_bool_option.José Fonseca2008-06-101-2/+2
| | | | | | debug_get_bool_option will interpret "n", "no", "0", "f", or "false" as FALSE; and everything else as TRUE. The default value (used when the variable is not set) is received as a parameter.
* gallium: Replace XSTDCALL by PIPE_CDECL.José Fonseca2008-06-021-1/+1
|
* gallium: fix some PIPE_FORMAT_Z24S8_UNORM bugs in softpipe driverBrian Paul2008-05-302-1/+2
|
* draw: make sure constant buffer data is aligned before passing to aos.cKeith Whitwell2008-05-291-2/+3
|
* draw: draw_range_elements trialKeith Whitwell2008-05-293-6/+33
|
* Merge branch 'gallium-vertex-linear' into gallium-tex-surfacesKeith Whitwell2008-05-283-131/+175
|\
| * softpipe: enable vbuf by defaultKeith Whitwell2008-05-271-3/+5
| | | | | | | | The non-vbuf option is going away...
| * Merge commit 'origin/gallium-0.1' into gallium-vertex-linearZack Rusin2008-05-196-65/+54
| |\
| * | softpipe: more work to get non-reduced primitives working in vbufKeith Whitwell2008-05-121-26/+19
| | |
| * | softpipe: make vbuf handle all primitive typesKeith Whitwell2008-05-122-115/+155
| | |
| * | softpipe: add failure paths for context creationKeith Whitwell2008-05-121-2/+11
| | |
* | | Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul2008-05-191-1/+5
|\ \ \ | | |/ | |/|
| * | if x86_get_func() returns NULL, handle it properly instead of abortingBrian Paul2008-05-191-1/+5
| | |
* | | Merge branch 'gallium-0.1' into gallium-tex-surfacesBrian Paul2008-05-185-64/+49
|\| |
| * | gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul2008-05-173-8/+9
| | | | | | | | | | | | The caller can then free the token array immediately.
| * | gallium: optimize the flush_spans() functionBrian2008-05-101-41/+40
| | |
| * | gallium: remove unused codeBrian2008-05-101-15/+0
| |/
* | Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-091-2/+3
|\|
| * softpipe: don't calc det if NO_RAST setKeith Whitwell2008-05-081-2/+3
| |
* | gallium: Propagate tex_usage flags down to winsys.José Fonseca2008-05-071-1/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-062-6/+20
|\| | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
| * gallium: new debug code (disabled)Brian Paul2008-05-021-0/+14
| |
| * gallium: fix typos, comments, whitespaceBrian Paul2008-05-021-6/+6
| |
* | gallium: Add texture usage flags, special-case allocation of display targetsKeith Whitwell2008-05-022-35/+68
| | | | | | | | | | | | | | | | | | | | | | For many envirionments it's necessary to allocate display targets in a window-system friendly manner. Add facilities so that a driver can tell if a texture is likely to be used to generate a display surface and if use special allocation paths if necessary. Hook up softpipe to call into the winsys->surface_alloc_storage() routine in this case, though we probably want to change that interface slightly also.
* | Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell2008-05-024-8/+3
|\|
| * gallium: remove the unused softpipe_winsys codeBrian Paul2008-05-013-6/+2
| | | | | | | | The struct is still there though until all winsys layers are updated
| * softpipe: fix warningKeith Whitwell2008-05-011-2/+1
| |
* | re-add pipe_surface map/unmap inlinesKeith Whitwell2008-05-021-1/+1
| |
* | softpipe: missing fileKeith Whitwell2008-05-011-0/+58
| |
* | softpipe: use CPU flags for mappingKeith Whitwell2008-05-014-16/+44
| | | | | | | | But when creating surfaces, adjust incoming flags from GPU->CPU usage.
* | gallium: tex surface checkpointKeith Whitwell2008-05-019-76/+142
|/
* gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORMBrian Paul2008-04-302-3/+3
|
* plug a memleak, destroy setup contextZack Rusin2008-04-301-0/+2
|
* gallium: test for new PIPE_ARCH_X86Brian Paul2008-04-292-2/+2
|
* gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol2008-04-281-1/+1
| | | | Change SSE_SWIZZLES #define to 0 to disable it.