summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2007-11-21Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian
Just pass in the vertex_info object and make a copy of it.
2007-11-21Simplify draw module's vertex_info.Brian
No longer store the vertex header and clip pos info in the draw module's vertex_info. The vertex_info just describes the data[] elements. This simplifies the code in several places.
2007-11-20add PIPE_FORMAT_Z24_S8 support to softpipe patshBrian
2007-11-20initial support for PIPE_FORMAT_Z24_S8Brian
2007-11-19optimize earlyz_quad(), add comments, remove unneeded #includesBrian
2007-11-19optimize linear_interpolation(), perspective_interpolation() functionsBrian
2007-11-18Implement early depth test.Michal Krol
Early depth test is enabled when depth test is enabled and alpha test is disabled and fragment shader does not write depth. The early-z is implemented by moving the depth test stage just before the fragment shader stage and prepending it with an earlyz stage, introduced with this commit. The earlyz stage prepares the quad->outputs.depth for the following depth test stage by interpolating Z position, just as the fragment shader would do.
2007-11-17Fix typoJosé Fonseca
2007-11-17Proper fence reference counting.José Fonseca
2007-11-16more convenient debug codeBrian
2007-11-16Reimplement glRasterPos using the private 'draw' module.Brian
2007-11-16adjustments so st_feedback_draw_vbo() can be used for glRasterPosBrian
2007-11-16note problem with fragment coord Y orientationBrian
2007-11-16added a clip-bypass flag to rasterizer stateBrian
2007-11-15Include fences in the i915simple winsys interface.José Fonseca
2007-11-09comments, assertionsBrian
2007-11-09minor simplifcation in vertex_fetch()Brian
2007-11-09remove duplicate init funcAlan Hourihane
2007-11-08Reorganize user-space vertex fields in draw_context into 'user' group.Brian
This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
2007-11-08remove unneeded #includes, added assertion in draw_compute_vertex_size()Brian
2007-11-08Remove unneeded header, draw_prim.hBrian
2007-11-08Fix minor logic error in get_queued_prim() which caused flushing when there ↵Brian
was still room in the prim queue.
2007-11-08new commentsBrian
2007-11-08remove unneeded #includesBrian
2007-11-08comments, remove unneeded #includesBrian
2007-11-08For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow ↵Brian
compare mode is enabled.
2007-11-08Implement shadow comparisons.Brian
2007-11-08use pipe_surface_reference() in sp_tile_cache_set_surface()Brian
2007-11-08simplify depth_value(), return proper value for Z16 formatBrian
2007-11-08fix bad width/height code in softpipe_clear()Brian
2007-11-08Remove TGSI_OPCODE_TXPBrian
Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
2007-11-08check for divide by W flag when translating TGSI_OPCODE_TEX (fixes projected ↵Brian
textures)
2007-11-08new init_renderbuffer_bits() helperBrian
2007-11-08tweak anisotropic filtering codeBrian
2007-11-08enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian
2007-11-08remove translate_compare_func(), use i915_translate_compare_func()Brian
2007-11-08move EXT_shadow_funcs assignmentBrian
2007-11-08set sampler state for shadow testBrian
2007-11-08Replace gl_stencil_func_to_sp() and gl_depth_func_to_sp() with ↵Brian
st_compare_func_to_pipe()
2007-11-08Fix some issues hit when rendering to a depth-only renderbuffer (shadowtex).Brian
Added 16bpp case to translate_depth_format(). Added framebuffer_size() to determine framebuffer size.
2007-11-08in check_end_texture_render(), test for presence of a renderbuffer and texobjBrian
2007-11-08remove unneeded #includeBrian
2007-11-08Added pipe->get_paramf() to query float limits.Brian
So far max point size, line width, texture anistopy and lod bias.
2007-11-08check for fence==NULL in intel_batchbuffer_finish(), fixes glxinfo crash on exitBrian
2007-11-08Rename struct field 'private' to 'priv'.Michel Dänzer
This broke the LLVM build because 'private' is a C++ keyword.
2007-11-07fix warningBrian
2007-11-07update flush/fence comments for i915_flush()Brian
2007-11-07Remove winsys->wait_idle(), subsumed by pipe->flush().Brian
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-07Remove context dependencies in winsys layer.Brian
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...