aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove gl dependency from the x86 assembler codeZack Rusin2007-09-282-58/+59
|
* Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin2007-09-2817-211/+135
| | | | This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
* Revert "Use sse only if GALLIUM_SSE is defined"Zack Rusin2007-09-285-26/+8
| | | | This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
* Use sse only if GALLIUM_SSE is definedZack Rusin2007-09-285-8/+26
|
* Redoing the way we handle vertex shaders for the draw module.Zack Rusin2007-09-2817-135/+211
|
* set miptree pitch to region pitch after allocating the region in ↵Brian2007-09-271-0/+1
| | | | | | | st_miptree_create() This fixes rendering with small (4x4) textures with softpipe. Haven't yet tested with i915.
* commentsBrian2007-09-272-6/+7
|
* remove dead codekeithw2007-09-271-83/+0
|
* reduced debugkeithw2007-09-271-2/+2
|
* Fix some compiler warnings with -pedanticKeith Whitwell2007-09-273-13/+19
|
* Enable codegen based whenever __i386__ is defined.Keith Whitwell2007-09-278-27/+15
|
* fix mergekeithw2007-09-271-2/+0
|
* disable debugKeith Whitwell2007-09-272-3/+3
|
* restore primitive trimming in sp_draw_arrays.ckeithw2007-09-272-4/+7
|
* Make flushing more lazy in the draw module.Keith Whitwell2007-09-2716-279/+430
|
* Use Gallium in the renderer stringkeithw2007-09-271-1/+2
|
* Do image flipping in do_copy_texsubimage() and GL pixel transfer ops (except ↵Brian2007-09-261-7/+28
| | | | convolution).
* fallback_copy_texsubimage() basically works now (at least w/ Xlib driver).Brian2007-09-261-1/+17
| | | | | | | Have to map regions before calling get_tile()/put_tile(). Need to invert srcY of glCopyTexSubImage() depending on renderbuffers up/down orientation. Still need to invert image in fallback_copy_texsubimage() when needed.
* added a8r8g8b8_put_tile()Brian2007-09-261-0/+41
|
* don't use scissored bounds in _mesa_clip_copytexsubimage()Brian2007-09-261-1/+1
|
* More work on glCopyTexSubImage.Brian2007-09-261-117/+157
| | | | | Start sketching out a fallback path based on surface->get_tile(), put_tile() which will do format convertion and GL's pixel transfer ops.
* checkpoint: glCopyTexImage workBrian2007-09-261-90/+73
|
* s/_mesa_copy_rect/copy_rect/Brian2007-09-261-25/+26
|
* Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵Brian2007-09-263-7/+60
| | | | | | the drivers. This should probably be pulled into main-line Mesa...
* check for _NEW_PROGRAM mesa state (fixes arbfplight)Brian2007-09-261-1/+1
|
* better debuggingBrian2007-09-261-0/+4
|
* comments, null ptr checks, etc.Brian2007-09-251-16/+38
|
* don't apply pixelzoom to bitmapsBrian2007-09-251-2/+5
|
* st_draw_vertices() no longer needs attribs[] array parameterBrian2007-09-254-20/+6
|
* Simple implementation of glBitmap rendering.Brian2007-09-251-44/+320
| | | | | | Create a texture matching the bitmap image and use a fragment program to modulate current raster color by the boolean-valued texture. Need to eventually use fragment culling (see comments in code).
* re-org/prep for glBitmapBrian2007-09-251-17/+10
|
* clean-up #includesBrian2007-09-251-4/+2
|
* better debug outputBrian2007-09-251-7/+7
|
* include programopt.hBrian2007-09-251-0/+1
|
* Disable vertex shader fog, compute fog in fragment shader.Brian2007-09-252-5/+16
|
* some clean-up of ST_NEW_ shader flagsBrian2007-09-253-22/+6
|
* disable TGSI_DEBUGBrian2007-09-251-1/+1
|
* replaced by st_atom_shader.cBrian2007-09-252-572/+0
|
* Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵Brian2007-09-2514-184/+287
| | | | | | | | | | | | | | | | | | proper linking. Previously, programs were translated independently during validation. The problem is the translation to TGSI format, which packs shader input/outputs into continuous slots, depends on which vertex program is being paired with which fragment shader. Now, we look at the outputs of the vertex program in conjunction with the inputs of the fragment shader to be sure the attributes match up correctly. The new 'linked_program_pair' class keeps track of the associations between vertex and fragment shaders. It's also the place where the TGSI tokens are kept since they're no longer per-program state but per-linkage. Still a few loose ends, like implementing some kind of hash/lookup table for linked_program_pairs.
* translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)Brian2007-09-251-0/+413
|
* vertex/fragment shader state and linkingBrian2007-09-252-0/+431
|
* test for presence of both front and back color vertex slotsBrian2007-09-251-4/+7
|
* remove unused lookup arrayBrian2007-09-251-7/+0
|
* First attempt at building vertex buffers post-clip.Keith Whitwell2007-09-2511-14/+476
| | | | | | | | | | | | | | Build a buffer of contigous vertices and indices at the backend of our software transformation/clipping path. This will become the mechanism for emitting buffers of vertices to rasterization hardware. This is similar to but not the same as the post-transform vertex cache. In particular, these vertices are subject to clipping, culling, poly offset, etc. The vertices emitted will all be used by hardware. TODOs include the actual transformation to hardware vertex formats, moving this out of softpipe to somewhere more useful and allowing >1 primitive to share the generated VB.
* turn off shader debugkeithw2007-09-252-2/+2
|
* test against -1 for front/back attribkeithw2007-09-251-4/+4
|
* Enable SSE2 for FS.michal2007-09-246-38/+310
|
* In here we actually do want to assign it. Fix compilation.Zack Rusin2007-09-241-1/+1
|
* invert draw_vertex_cache_check_space()Brian2007-09-211-1/+1
|
* added PSIZEBrian2007-09-211-0/+2
|