summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
Commit message (Collapse)AuthorAgeFilesLines
* Make it compile under Win32.Michal2007-11-2214-90/+89
|
* Remove fences from the i915simple winsys interface.José Fonseca2007-11-225-35/+8
| | | | | | | | | 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.
* more simplification, clean-up in draw_set_vertex_info()Brian2007-11-211-8/+0
|
* Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info().Brian2007-11-214-32/+21
| | | | Just pass in the vertex_info object and make a copy of it.
* Simplify draw module's vertex_info.Brian2007-11-216-34/+20
| | | | | | 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.
* add PIPE_FORMAT_Z24_S8 support to softpipe patshBrian2007-11-204-0/+93
|
* initial support for PIPE_FORMAT_Z24_S8Brian2007-11-201-0/+2
|
* optimize earlyz_quad(), add comments, remove unneeded #includesBrian2007-11-191-21/+13
|
* optimize linear_interpolation(), perspective_interpolation() functionsBrian2007-11-191-25/+18
|
* Implement early depth test.Michal Krol2007-11-186-25/+150
| | | | | | | | | | | | 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.
* Proper fence reference counting.José Fonseca2007-11-173-2/+11
|
* more convenient debug codeBrian2007-11-161-2/+10
|
* note problem with fragment coord Y orientationBrian2007-11-161-0/+4
|
* added a clip-bypass flag to rasterizer stateBrian2007-11-162-0/+2
|
* Include fences in the i915simple winsys interface.José Fonseca2007-11-154-8/+26
|
* comments, assertionsBrian2007-11-092-4/+8
|
* minor simplifcation in vertex_fetch()Brian2007-11-091-8/+1
|
* Reorganize user-space vertex fields in draw_context into 'user' group.Brian2007-11-088-32/+45
| | | | | This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
* remove unneeded #includes, added assertion in draw_compute_vertex_size()Brian2007-11-081-4/+2
|
* Remove unneeded header, draw_prim.hBrian2007-11-081-11/+0
|
* Fix minor logic error in get_queued_prim() which caused flushing when there ↵Brian2007-11-081-1/+7
| | | | was still room in the prim queue.
* new commentsBrian2007-11-081-2/+2
|
* remove unneeded #includesBrian2007-11-081-2/+0
|
* comments, remove unneeded #includesBrian2007-11-081-4/+12
|
* For TGSI_TEXTURE_2D/RECT, need to provide 3 coords (STP) in case shadow ↵Brian2007-11-081-7/+9
| | | | compare mode is enabled.
* Implement shadow comparisons.Brian2007-11-081-1/+67
|
* use pipe_surface_reference() in sp_tile_cache_set_surface()Brian2007-11-081-1/+1
|
* fix bad width/height code in softpipe_clear()Brian2007-11-081-3/+2
|
* Remove TGSI_OPCODE_TXPBrian2007-11-082-9/+5
| | | | Use TGSI_OPCODE_TEX with ExtDivide=TGSI_EXTSWIZZLE_W instead.
* check for divide by W flag when translating TGSI_OPCODE_TEX (fixes projected ↵Brian2007-11-081-1/+7
| | | | textures)
* tweak anisotropic filtering codeBrian2007-11-082-1/+4
|
* enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)Brian2007-11-081-1/+1
|
* remove translate_compare_func(), use i915_translate_compare_func()Brian2007-11-081-19/+1
|
* Fix some issues hit when rendering to a depth-only renderbuffer (shadowtex).Brian2007-11-081-7/+48
| | | | | Added 16bpp case to translate_depth_format(). Added framebuffer_size() to determine framebuffer size.
* remove unneeded #includeBrian2007-11-081-1/+0
|
* Added pipe->get_paramf() to query float limits.Brian2007-11-085-1/+61
| | | | So far max point size, line width, texture anistopy and lod bias.
* Rename struct field 'private' to 'priv'.Michel Dänzer2007-11-081-1/+1
| | | | This broke the LLVM build because 'private' is a C++ keyword.
* fix warningBrian2007-11-071-1/+2
|
* update flush/fence comments for i915_flush()Brian2007-11-071-3/+3
|
* Remove winsys->wait_idle(), subsumed by pipe->flush().Brian2007-11-074-10/+2
| | | | | | 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.
* New PIPE_FLUSH_WAIT flag for pipe->flush().Brian2007-11-072-2/+7
| | | | | The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
* Remove context dependencies in winsys layer.Brian2007-11-073-3/+6
| | | | | | 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...
* just reorder a few members of pipe_winsys, update commentsBrian2007-11-071-7/+6
|
* more dead code removalBrian2007-11-071-63/+1
|
* re-enable PIPE_FORMAT_U_Z32 supportBrian2007-11-071-1/+1
|
* better depth buffer selectionBrian2007-11-071-1/+11
|
* disable/remove dead codeBrian2007-11-071-8/+3
|
* Disable the call to driBOReference() in i915_update_texture()Brian2007-11-071-1/+5
| | | | | It doesn't seem to be needed and disabling it fixes a big memory leak with some programs like xdemos/wincopy.c
* redo xm_surface_release() to match i915Brian2007-11-071-3/+6
|
* fix bad varnameBrian2007-11-071-1/+1
|