Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-16 | remove debug assertion | Brian | |
2007-10-15 | add 'normalized_coords' field to pipe_sampler_state | Brian | |
This controls whether texcoords are interpreted as-is or scaled up from [0,1]. Fixes glDrawPixels/glBitmap problems on i915 when image is non power-of-two. Also, cleans up the CSO sampler state for i915 a bit. | |||
2007-10-15 | simplify KIL usage for bitmap fragprog | Brian | |
2007-10-13 | GL_STENCIL_INDEX support | Brian | |
2007-10-13 | glDrawPixels support for GL_DEPTH_COMPONENT | Brian | |
2007-10-12 | Use KIL in glBitmap shader to cull the fragments for 0 bits. | Brian | |
2007-10-12 | initial use of KIL for glBitmap rendering | Brian | |
2007-09-28 | Instead of linked program pairs, keep a list of vertex programs translated ↵ | Brian | |
for each fragment program. | |||
2007-09-25 | comments, null ptr checks, etc. | Brian | |
2007-09-25 | don't apply pixelzoom to bitmaps | Brian | |
2007-09-25 | st_draw_vertices() no longer needs attribs[] array parameter | Brian | |
2007-09-25 | Simple 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-25 | re-org/prep for glBitmap | Brian | |
2007-09-25 | Translate 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-21 | Make the alpha test state a cso. | Zack Rusin | |
2007-09-20 | Fix failover state binding and convert the sampler to use the new | Zack Rusin | |
state constant state object semantics. | |||
2007-09-20 | Convert depth_stencil state to the new semantics. | Zack Rusin | |
2007-09-20 | Switch 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-19 | Checkpoint: 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-19 | Convert the rasterizer cso to the new semantics. | Zack Rusin | |
Basically make cso hold the driver specific struct, while managing the template. | |||
2007-09-19 | Redo the cso cache to map driver data in a lot more pleasing way. | Zack Rusin | |
Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics. | |||
2007-09-19 | Finish up conversions of shaders to immutable objects. | Zack Rusin | |
Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment). | |||
2007-09-18 | Checkpoint: rework shader input/output register mapping. | Brian | |
This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done... | |||
2007-09-18 | Convert shader to an immutable state object. | Zack Rusin | |
2007-09-18 | converting the setup state to immutable object and renaming it to rasterizer ↵ | Zack Rusin | |
state | |||
2007-09-18 | Combing depth and stencil objects and making them immutable. | Zack Rusin | |
Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable. | |||
2007-09-18 | Make sampler an immutable state object. | Zack Rusin | |
Switch the sample to be an immutable state object. | |||
2007-09-18 | First stab at immutable state objects (create/bind/delete) | Zack Rusin | |
We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work. | |||
2007-08-24 | add some warnings about bitmaps/copypixels | Brian | |
2007-08-22 | Rework of shader constant buffers. | Brian | |
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects. | |||
2007-08-20 | Set viewport state so viewport matches window dims. | Brian | |
trivial/readpixels.c works again. | |||
2007-08-20 | Update glClear and glDrawPixels code. | Brian | |
Since they're implemented by drawing quadrilaterals (and go through vertex transformation and viewport mapping) we don't have to invert Y coords. | |||
2007-08-20 | Start to remove the temporary draw_vb() and draw_vertices() code. | Brian | |
new st_draw_vertices() utility used by glClear and glDrawPixels | |||
2007-08-16 | Begin added vertex shader state/support. | Brian | |
Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info. | |||
2007-08-15 | added PIPE_PRIM_x tokens (matching GL), use in a few places | Brian | |
2007-08-14 | added glCopyPixels stub | Brian | |
2007-08-13 | fix some issues with texture/mipmap_tree state tracking | Brian | |
2007-08-11 | added Bitmap() stub, call st_validate_state() in DrawPixels | Brian | |
2007-08-10 | added pipe->max_texture_size() query, use it in st_drawpixels() | Brian | |
2007-08-10 | fix image orientation | Brian | |
2007-08-10 | setup sampler state, computed wincoords with pixel zoom factors | Brian | |
2007-08-10 | don't hardcode cpp | Brian | |
2007-08-10 | basic texture-based glDrawPixels path works | Brian | |
2007-08-10 | pipe->region_alloc() now takes width instead of pitch, plus a flags param | Brian | |
2007-08-10 | fix asst glitches | Brian | |
2007-08-10 | rename st_cb_teximage.h st_format.h | Brian | |
2007-08-09 | more work toward texture-based glDrawPixels | Brian | |
2007-08-06 | New st_init_*_functions() to initialize the driver functions table. | Brian | |
We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects. | |||
2007-08-02 | trim #includes | Brian | |
2007-08-02 | initial work for textured-quad glDrawPixels | Brian | |