summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2007-11-02Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin
fragment shaders through llvm.
2007-11-01Start re-working SwapBuffers.Brian
intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface in the on-screen window. Added a pipe_surface parameter to winsys->flush_frontbuffer(). Front buffer rendering/flushing actually works now. But, we should only allocate the front surface on demand...
2007-11-01Sketch out new create/destroy context functions which create/wrap a Mesa ↵Brian
context.
2007-11-01silence the finalize_mipmap_tree msgBrian
2007-11-01plug in _mesa_test_proxy_teximage, temporarilyBrian
2007-11-01remove dead codeBrian
2007-11-01remove unneeded tnl stuffBrian
2007-10-31No longer need st_update_tnl atomBrian
2007-10-31Use ffvertex_prog.c code instead of t_vp_build.c code.Brian
2007-10-31Lift VBO/tnl stuff up out of driversBrian
2007-10-31plug st_invalidate_state() into ctx->Driver.UpdateStateBrian
Start lifting Mesa stuff up out of winsys/driver code.
2007-10-30Implement shader concatenation for glBitmap.Brian
2007-10-30combine shaders for glCopyPixelsBrian
2007-10-30Use program serial numbers to avoid re-generating fragment programs for ↵Brian
glDrawPixels.
2007-10-30Before calling texformat->StoreImage() set _ImageTransferState=0 since we'll ↵Brian
do pixel transfer in the fragment program.
2007-10-30color matrixBrian
2007-10-30start using program cacheBrian
2007-10-30added pixel_transfer_cacheBrian
2007-10-30tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.Michel Dänzer
2007-10-30Disable debug code.Brian
Basic code for PixelTranslfer ops and glDrawPixels works now. A pixel transfer program is generated and combined with the current fragment shader.
2007-10-30Remove obsolete filesBrian
2007-10-30Rename file since it's now a state atomBrian
2007-10-30checkpoint: combine pixel transfer and user shader for glDrawPixelsBrian
2007-10-30make st_upload_constants() publicBrian
2007-10-30added pixel_transfer_program fieldBrian
2007-10-30added st_update_pixel_transfer atomBrian
2007-10-30bug fixes, implement state atom for pixel transferBrian
2007-10-30Set _NEW_BUFFERS in glRead/DrawBuffer().Brian
Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
2007-10-30comment unused 'cb' fieldBrian
2007-10-30update comments, fix typoBrian
2007-10-30Initial version of st_get_pixel_transfer_program().Brian
For generating fragment programs which implement pixel transfer ops.
2007-10-30Enable immediates in TGSI and work with them in LLVM code.Zack Rusin
Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29remove dead codeBrian
2007-10-29check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵Brian
failure
2007-10-29simplify code which access the current vertex/fragment shadersBrian
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Refactor the LLVM code a bit.Zack Rusin
Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
2007-10-29Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol
2007-10-29Fix newlines.Michal Krol
2007-10-28Update comments.Michal Krol
2007-10-28Replace supported_formats with is_format_supported interface.Michal Krol
The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
2007-10-28Declare temporaries in a more compact fashion.michal
The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
2007-10-28Declare temporaries in a more compact fashion.michal
The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
2007-10-27Use PIPE_FORMAT in state tracker.michal
Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
2007-10-27Refactor supported format queries.michal
2007-10-27Remove PIPE_FORMAT_COUNT references.michal
2007-10-27Comments about texture instructions and the src regsBrian
2007-10-27Move mesa_to_tgsi.[ch] to state_trackerBrian
2007-10-27Move mesa_to_tgsi.[ch] into state tracker.Brian