summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
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
2007-09-25replaced by st_atom_shader.cBrian
2007-09-25Translate mesa vertex/fragment programs to TGSI programs at same time to do ↵Brian
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.
2007-09-25translate Mesa programs to TGSI programs (formerly in st_atom_[fv]s.c)Brian
2007-09-25vertex/fragment shader state and linkingBrian
2007-09-25turn off shader debugkeithw
2007-09-24Enable SSE2 for FS.michal
2007-09-24In here we actually do want to assign it. Fix compilation.Zack Rusin
2007-09-21Fix up some point size breakage. Start on fogcoord too.Brian
2007-09-21reenable some clear code that was temporarily disabledBrian
2007-09-21commentsBrian
2007-09-21use VERT_ATTRIB_MAX for loop limitBrian
2007-09-21Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.Brian
2007-09-21rename index var from i to attr, use FRAG_ATTRIB_MAX instead of 16Brian
2007-09-21pass vs output semantics to tgsi_mesa_compile_vp_program() to generate ↵Brian
output DECs
2007-09-21fix in/out typosBrian
2007-09-21Pass vertex program input semantics into tgsi_mesa_compile_vp_program() to ↵Brian
produce DCLs.
2007-09-21fix 1/i typosBrian
2007-09-21Make the alpha test state a cso.Zack Rusin
2007-09-20Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.Brian
Still need to produce decl instructions for vertex shaders...
2007-09-20remove lots of dead code related to program input/output mappingBrian
2007-09-20remove #includes of tgsi_attribs.hBrian
2007-09-20checkpoint: TGSI_ATTRIB_x tokens no longer usedBrian
2007-09-20Checkpoint: vertex attribute clean-up.Brian
Remove/disable the attrib/slot mapping arrays in a few places. Work in progress...
2007-09-20Always update st->state.vs, not just when the program is dirty.Brian
This fixes a regression in the cubemap.c demo which alternates between two different vertex shaders.
2007-09-20fix input/output typosBrian
2007-09-20Allow drivers to cache the template in case they want toZack Rusin
fallback through softpipe which will require the template.
2007-09-20Fix failover state binding and convert the sampler to use the newZack Rusin
state constant state object semantics.
2007-09-20Convert depth_stencil state to the new semantics.Zack Rusin
2007-09-20Switch fragment/vertex shaders to the new caching semantics.Zack Rusin
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
2007-09-19Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics.Brian
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested.
2007-09-19Fix window resizes.Michel Dänzer
The memcmp is insufficient for eliminating redundant framebuffer state changes.
2007-09-19Pad surface dimensions to multiples of 2.Michel Dänzer
Avoids an assertion failure with softpipe if requested width or height is odd.
2007-09-19Adding proper includes often helps with the warnings,Zack Rusin
or so i hear..
2007-09-19Avoid redundant reallocation of the template.Zack Rusin
cso already allocated the template for us. Returning 0 means we have no driver specific representation and just want the template on the bind.
2007-09-19Convert the rasterizer cso to the new semantics.Zack Rusin
Basically make cso hold the driver specific struct, while managing the template.