summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul2006-10-281-0/+15
| | | | More DEBUG_FRAG code.
* assorted clean-upsBrian Paul2006-10-221-30/+24
|
* don't save color/z if fragment is killedBrian Paul2006-10-221-18/+20
|
* minor tweaks good for about 12% faster executionBrian Paul2006-10-221-66/+71
|
* silence used var warningsBrian Paul2006-10-221-1/+2
|
* Color clamping fixes.Brian Paul2006-10-222-6/+12
|
* move/improve comments, clean up code in a few placesBrian Paul2006-10-211-21/+16
|
* fix another logic error in computing deferredTextureBrian Paul2006-10-211-5/+9
|
* For deferredTexture, need to check if the fragment program/shader writesBrian Paul2006-10-211-6/+31
| | | | the fragment Z.
* move interpolate_varying() callBrian Paul2006-10-211-4/+2
|
* Move interpolate_texcoords() and interpolate_varying() calls into ↵Brian Paul2006-10-211-21/+18
| | | | | | shade_texture_span(). Added some INLINE hints.
* Consolidate some code into shade_texture_span().Brian Paul2006-10-191-84/+81
| | | | Clean up logic for deferred texturing/shading.
* fixed Fixed/Int bugBrian Paul2006-10-191-2/+2
|
* remove temp codeBrian Paul2006-10-191-22/+15
|
* fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul2006-10-191-1/+4
|
* added clamp_colors(), updated assertionsBrian Paul2006-10-181-21/+33
|
* Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul2006-10-182-7/+11
| | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
* Always convert colors to float before running a fragment shader/program.Brian Paul2006-10-174-145/+61
|
* fix fog color bugBrian Paul2006-10-171-3/+18
|
* Move struct atifs_machine into s_atifragshader.cBrian Paul2006-10-172-43/+129
| | | | Add support for runtime colorbuffer types.
* Seperate interpolate_colors() and interpolate_specular().Brian Paul2006-10-171-174/+192
| | | | Fix bugs in apply_aa_coverage().
* apply_aa_coverage() for ubyte/ushort/floatBrian Paul2006-10-171-6/+32
|
* Fix CHAN_BITS=32 issues.Brian Paul2006-10-171-0/+7
| | | | Save/restore array->ChanType in case colors are converted.
* cut and paste error: s/Width/Height/Brian Paul2006-10-141-1/+1
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-133-39/+13
| | | | operations (shift, offset, table lookup, etc).
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-131-4/+2
| | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
* s/GLuint/GLbitfield/Brian Paul2006-10-133-3/+3
|
* Revamp color table code.Brian Paul2006-10-131-1/+7
| | | | Always store all color tables as both float and ubyte.
* adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul2006-10-121-26/+45
|
* use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()Brian Paul2006-10-121-8/+10
|
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-129-311/+369
| | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
* use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul2006-10-114-24/+17
|
* rewrite/simplify the fast_draw_pixels() functionBrian Paul2006-10-111-349/+221
|
* use _mesa_convert_colors(), update some assertionsBrian Paul2006-10-111-102/+26
|
* support for runtime renderbuffer depthsBrian Paul2006-10-111-24/+81
|
* List of source (.c) files in each directory.Brian Paul2006-10-111-0/+32
| | | | | To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-102-19/+92
| | | | debug) it's only used there.
* rewrite clear_rgba_buffer_with_masking()Brian Paul2006-10-061-8/+27
|
* deal with union/aliasing in convert_color_type()Brian Paul2006-10-061-24/+40
|
* rewrite of read_fast_rgba_pixels()Brian Paul2006-10-061-51/+37
|
* use _swrast_span_default_color() in the disabled code tooBrian Paul2006-10-041-13/+1
|
* call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved ↵Brian Paul2006-10-041-18/+7
| | | | comments
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-0140-117/+116
|
* more changes for runtime renderbuffer depthsBrian Paul2006-09-295-747/+706
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-291-0/+1
| | | | mipmap.c file.
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-2510-495/+1028
|
* Change logicop, blend, masking functions to use the colors/indexes in theBrian Paul2006-09-249-37/+38
| | | | sw_span object, rather than an explicit parameter.
* Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().Brian Paul2006-09-241-159/+131
|
* use span.array->rgba instead of local var in accum_return()Brian Paul2006-09-241-15/+16
|
* use span.arrays for color/indexes instead of a local var when doing masked ↵Brian Paul2006-09-241-20/+26
| | | | clears