summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2007-11-23gallium: back out winsys interface changesMichal Krol
2007-11-22Use the new vertex buffer draw stage.José Fonseca
2007-11-22New vertex buffer stage.José Fonseca
2007-11-22Fix build.José Fonseca
2007-11-22Fix compatibility issues between gcc and msvc.Michal
2007-11-22Make it compile under Win32.Michal
2007-11-22Remove fences from the i915simple winsys interface.José Fonseca
Fences will be part of the pipe winsys interface, so remove this to avoid merge conflicts later on. This reverts commit ca7f68a7cf25a51f382bba8c42d8c6ab7db57b5d. This reverts commit dec60d33b2570cf2bdce72a00a1539ee93133f91. This reverts commit 90dd0cb822f2fe14258c786e5c37da69472b7d17.
2007-11-21more simplification, clean-up in draw_set_vertex_info()Brian
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-17Proper fence reference counting.José Fonseca
2007-11-16more convenient debug codeBrian
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-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-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-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-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-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-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...
2007-11-07just reorder a few members of pipe_winsys, update commentsBrian
2007-11-07more dead code removalBrian
2007-11-07re-enable PIPE_FORMAT_U_Z32 supportBrian