summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2007-10-10Use winsys->user_buffer_create() to wrap user-space vertex arrays and ↵Brian
element buffers. Now client-side vertex arrays and glDrawElements work. More testing/debug/clean-up to come...
2007-10-10use correct mipmap level in st_render_texture()Brian
2007-10-10fix width/height padding that caused failed assertion upon window resizeBrian
2007-10-10Size of input_to_index array should be VERT_ATTRIB_MAX.Brian
This fixes an out of bounds array write that was causing the glsl/bump demo to render incorrectly.
2007-10-10Merge tgsi_mesa_compile_fp_program() and tgsi_mesa_compile_vp_program() into ↵Brian
tgsi_translate_mesa_program().
2007-10-10remove unused varBrian
2007-10-09Finish up decls for packed fragment program outputs.Brian
2007-10-09Pack fragment program outputs to be consistant with vertex programs.Brian
Previously, output[0] was always Z and output[1] was color. Now output[0] will be color if Z is not written. In shade_quad() use the semantic info to determine which quantity is in which output slot.
2007-10-03Add outputs_written bitfield to pipe_shader_state, use it to determine if ↵Brian
fragment shader writes Z.
2007-10-03basic support for reading GL_DEPTH_COMPONENTBrian
2007-10-03Some minor cleanups.Michel Dänzer
2007-10-03Track fragment and vertex shader code generation via pipe shader state objects.Michel Dänzer
Unfortunately, the generated fragment shader code is effectively unusable until it handles quad->mask.
2007-10-03Get rid of ST_NEW_SHADER flag and the dependency on _NEW_PROGRAMZack Rusin
which is being hit all the time. Done by Keith really.
2007-10-03Explain a little better what we're doing here.Zack Rusin
2007-10-02assert that program length > 1 (some code, plus END)Brian
2007-10-02added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for GleanBrian
2007-10-01comments/code for min/max_lod - revisit somedayBrian
2007-10-01don't crash in RasterPos if feedback not implemented yetBrian
2007-10-01fix a few vert/frag program items to get i915 driver going againBrian
2007-09-28fix bug causing unnecessary translationsBrian
2007-09-28remove old debug code, fix warningBrian
2007-09-28fix st_use_program()Brian
2007-09-28Instead of linked program pairs, keep a list of vertex programs translated ↵Brian
for each fragment program.
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-28Revert "Redoing the way we handle vertex shaders for the draw module."Zack Rusin
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e.
2007-09-28Revert "Use sse only if GALLIUM_SSE is defined"Zack Rusin
This reverts commit 57b5d3605745c96ddc2b6de7d50c93db65ba1257.
2007-09-28Use sse only if GALLIUM_SSE is definedZack Rusin
2007-09-28Redoing the way we handle vertex shaders for the draw module.Zack Rusin
2007-09-27set miptree pitch to region pitch after allocating the region in ↵Brian
st_miptree_create() This fixes rendering with small (4x4) textures with softpipe. Haven't yet tested with i915.
2007-09-27commentsBrian
2007-09-27remove dead codekeithw
2007-09-27Enable codegen based whenever __i386__ is defined.Keith Whitwell
2007-09-27Use Gallium in the renderer stringkeithw
2007-09-26Do image flipping in do_copy_texsubimage() and GL pixel transfer ops (except ↵Brian
convolution).
2007-09-26fallback_copy_texsubimage() basically works now (at least w/ Xlib driver).Brian
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.
2007-09-26More work on glCopyTexSubImage.Brian
Start sketching out a fallback path based on surface->get_tile(), put_tile() which will do format convertion and GL's pixel transfer ops.
2007-09-26checkpoint: glCopyTexImage workBrian
2007-09-26check for _NEW_PROGRAM mesa state (fixes arbfplight)Brian
2007-09-26better debuggingBrian
2007-09-25comments, null ptr checks, etc.Brian
2007-09-25don't apply pixelzoom to bitmapsBrian
2007-09-25st_draw_vertices() no longer needs attribs[] array parameterBrian
2007-09-25Simple implementation of glBitmap rendering.Brian
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).
2007-09-25re-org/prep for glBitmapBrian
2007-09-25clean-up #includesBrian
2007-09-25better debug outputBrian
2007-09-25Disable vertex shader fog, compute fog in fragment shader.Brian
2007-09-25some clean-up of ST_NEW_ shader flagsBrian
2007-09-25disable TGSI_DEBUGBrian