summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Enable the tile clear "optimization"Brian2007-12-071-1/+1
| | | | | | Not really faster yet because we're using the float-valued put/get_tile() functions so we're doing quite a bit of float/int conversion. That can be fixed though...
* Make sp_tile_cache_flush_clear() static.Brian2007-12-072-36/+48
| | | | Also, misc clean-ups, comments.
* Convert the clearValue back to floats for sp_tile_cache_clear()Brian2007-12-071-4/+32
| | | | It might be nice if sp->clear() took the color/value as floats...
* Some tile cache improvements, clean-ups.Brian2007-12-074-148/+206
| | | | | Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet.
* don't dereference pt after realloc - fixes valgrind errorBrian2007-12-071-1/+1
|
* add some whitespaceBrian2007-12-071-0/+6
|
* Move struct softpipe_texture definition into sp_texture.hBrian2007-12-076-32/+45
| | | | Also, added softpipe_texture() cast wrapper.
* minor code movementBrian2007-12-071-3/+2
|
* Add PIPE_FORMAT_U_B8_G8_R8_A8 in default_rgba_format().Brian2007-12-071-22/+28
| | | | Also, rewrite/simplify default_rgba_format() and default_depth_format().
* byteswapping fixes in choose_pixel_format()Brian2007-12-071-10/+13
|
* remove stray ;Brian2007-12-071-1/+1
|
* Remove obsolete xlib driver filesBrian2007-12-072-584/+0
|
* Overhaul the Xlib winsys layer.Brian2007-12-077-2363/+257
| | | | | | | | Front/back color buffers are now allocated with ordinary malloc() via the winsys buffer functions. To display surfaces in SwapBuffers() or flush_frontbuffer() we create an XImage that wraps the surface, then use XPutImage to copy to the window. Shared memory transport disabled for now.
* added ST_SURFACE_DEPTHBrian2007-12-072-1/+2
|
* move surface pitch calculation so it always gets updatedBrian2007-12-071-2/+3
|
* fix void pointer arithmetic warningsBrian2007-12-071-7/+14
|
* silence void ptr arithmetic warningBrian2007-12-071-2/+3
|
* Eliminate struct pipe_region.Michel Dänzer2007-12-0738-603/+275
| | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
* Remove remnants of 'intel' from active state tracker code.Michel Dänzer2007-12-061-5/+2
|
* st_mesa_format_to_pipe_format: Handle MESA_FORMAT_ARGB4444.Michel Dänzer2007-12-061-0/+2
|
* Hide texture layout details from the state tracker.Michel Dänzer2007-12-0642-886/+933
| | | | pipe->get_tex_surface() has to be used for access to texture image data.
* Add dependency checking for Cell driver sources.Brian2007-12-053-6/+41
|
* silence warningBrian2007-12-051-0/+1
|
* added PIPE_FORMAT_U_B8_G8_R8_A8 case in color_value()Brian2007-12-051-0/+3
|
* Fix endianness bug in _mesa_texstore_argb8888()Brian2007-12-051-13/+15
| | | | | On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results. Also, clean-up nearby code to match.
* added B8G8R8A8 support and improved pixel format selection when doing remote ↵Brian2007-12-054-8/+89
| | | | display to X server of different endianness.
* added tile funcs for B8G8R8A8 formatBrian2007-12-051-0/+70
|
* added B8G8R8A8 formatBrian2007-12-051-0/+3
|
* Initial Cell driver infrastructure.Brian2007-12-0212-6/+308
| | | | No real code yet. Just stand-ins and make/build infrastructure.
* Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer2007-11-2921-570/+550
|
* Cleanup PIPE_FORMAT names.Michal Krol2007-11-242-102/+189
| | | | Add a function that builds a display name of a given format token.
* gallium: remove sp_headers.h references.Michal Krol2007-11-232-2/+0
|
* gallium: reorg tgsi directories.Michal Krol2007-11-2334-895/+62
|
* gallium: back out winsys interface changesMichal Krol2007-11-231-1/+1
|
* Use the new vertex buffer draw stage.José Fonseca2007-11-221-307/+116
|
* New vertex buffer stage.José Fonseca2007-11-223-0/+506
|
* Fix build.José Fonseca2007-11-221-1/+1
|
* The right include was mtypes.h.José Fonseca2007-11-221-1/+1
|
* Fix build errors.José Fonseca2007-11-222-0/+5
|
* Fix compatibility issues between gcc and msvc.Michal2007-11-2210-300/+387
|
* Make it compile under Win32.Michal2007-11-2214-90/+89
|
* Remove fences from the i915simple winsys interface.José Fonseca2007-11-229-105/+31
| | | | | | | | | 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-215-43/+31
| | | | 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-204-4/+24
|
* 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.