Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Code generate functions to pack and unpack a single pixel. | José Fonseca | 2010-02-26 | 7 | -164/+507 |
| | | | | | | | | | | | | | | | | | | | | | Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats. | ||||
* | util: Factor some code into u_format_parse.py | José Fonseca | 2010-02-26 | 4 | -28/+96 |
| | |||||
* | util: Add util_bswap16. | José Fonseca | 2010-02-26 | 1 | -0/+11 |
| | |||||
* | util: Use python names consistent with u_format.h | José Fonseca | 2010-02-26 | 4 | -149/+161 |
| | |||||
* | mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage() | Brian Paul | 2010-02-26 | 1 | -1/+1 |
| | | | | | | The rb->InternalFormat field will be set by the caller if the allocation succeeds. Until then, this field's value can't be used. Fixes a failed assertion with FlightGear. | ||||
* | llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub. | José Fonseca | 2010-02-26 | 1 | -1/+2 |
| | | | | Was using 32bit integer pointers instead of 16bits. | ||||
* | llvmpipe: Fix scons dependencies. | José Fonseca | 2010-02-26 | 1 | -0/+6 |
| | |||||
* | util: Add is_pot() method to formats. | José Fonseca | 2010-02-26 | 1 | -0/+7 |
| | |||||
* | Revert "glapi: Remove unnecessary headers." | José Fonseca | 2010-02-26 | 1 | -0/+2 |
| | | | | | | This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows. | ||||
* | r300/compiler: Assert that array index is not negative. | Vinson Lee | 2010-02-26 | 1 | -0/+2 |
| | |||||
* | glapi: Remove unnecessary headers. | Vinson Lee | 2010-02-25 | 1 | -2/+0 |
| | |||||
* | i965: Remove unnecessary headers. | Vinson Lee | 2010-02-25 | 10 | -25/+0 |
| | |||||
* | swrast: add 0.5 bias in tex_array_slice() per the spec | Brian Paul | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | mesa: enable GL_EXT_texture_array for sw drivers | Brian Paul | 2010-02-25 | 1 | -0/+1 |
| | |||||
* | glsl: implement support for GL_EXT_texture_array | Brian Paul | 2010-02-25 | 10 | -83/+277 |
| | | | | | | | | GL_EXT_texture_array is different from the existing GL_MESA_texture_array support in that the former is only supported for GLSL, not fixed-function. The shadow compare versions of the sampler functions haven't been tested yet. The non-shadow versions have been tested with a new piglit test. | ||||
* | mesa: added new extension flag for GL_EXT_texture_array | Brian Paul | 2010-02-25 | 2 | -0/+2 |
| | |||||
* | swrast: the only wrap mode for selecting texture array slices is clamp | Brian Paul | 2010-02-25 | 1 | -9/+20 |
| | |||||
* | mesa: added texture array targets in sizeof_glsl_type() | Brian Paul | 2010-02-25 | 1 | -0/+4 |
| | |||||
* | mesa: added cases for texture array targets | Brian Paul | 2010-02-25 | 1 | -0/+2 |
| | |||||
* | mesa: remove redundant call to _mesa_base_fbo_format() | Brian Paul | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | mesa: added renderbuffer->_BaseFormat assertion | Brian Paul | 2010-02-25 | 1 | -0/+1 |
| | |||||
* | i965: Try to hook up the Sandybridge URB_WRITE SEND message. | Eric Anholt | 2010-02-25 | 1 | -7/+25 |
| | | | | My units still hang when doing this if the VS is enabled. | ||||
* | i965: Fix up the VUE handling for SNB, and hopefully clarify comments. | Eric Anholt | 2010-02-25 | 1 | -25/+49 |
| | |||||
* | i965: Don't set a nonexistent enable bit in several SNB state pointers. | Eric Anholt | 2010-02-25 | 3 | -5/+5 |
| | | | | | The modify bit is now usually in the instruction header. The exception is CC state pointers. | ||||
* | i965: Lump SNB in with Ironlake for bigger VUEs. | Eric Anholt | 2010-02-25 | 1 | -2/+2 |
| | | | | This gets the VS to the point of accepting vertices. \o/ | ||||
* | i965: Fix the SNB VE valid bit. | Eric Anholt | 2010-02-25 | 1 | -1/+1 |
| | | | | So, when the docs say that 0 means enabled now? That's a lie. | ||||
* | intel: Fix up INTEL_NO_HW support. | Eric Anholt | 2010-02-25 | 1 | -1/+2 |
| | | | | | This was accidentally (it seems) deleted in 5203b7227ccb6b618fa42f08434d4a3cf123dca2 | ||||
* | i965: Don't include SNB in has_negative_rhw_bug. | Eric Anholt | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | i965: Fix the SNB clip near VP API bit. | Eric Anholt | 2010-02-25 | 1 | -1/+2 |
| | |||||
* | i965: Fix the SNB URB entry count setup. | Eric Anholt | 2010-02-25 | 1 | -2/+2 |
| | |||||
* | remove hack for miniglx from dri/utils.c | George Sapountzis | 2010-02-26 | 1 | -3/+2 |
| | |||||
* | minor cleanup of dri/Makefile.template's after miniglx drop | George Sapountzis | 2010-02-26 | 3 | -44/+7 |
| | | | | also makes the WINDOW_SYSTEM configure var useless ... | ||||
* | drop stray src/mesa/main/sources | George Sapountzis | 2010-02-26 | 1 | -158/+0 |
| | |||||
* | mesa: use simplified _BaseFormat value in render-to-texture code | Brian Paul | 2010-02-25 | 1 | -1/+4 |
| | | | | Fixes fd.o bug 26762. | ||||
* | util: remove a trailing semicolon in format table code | Brian Paul | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | util: Remove import of unused sys module. | Vinson Lee | 2010-02-25 | 1 | -3/+0 |
| | |||||
* | Remove unused mini and mesa glu subdirectories | Kristian Høgsberg | 2010-02-25 | 34 | -13732/+0 |
| | |||||
* | Drop unused glut subdirectories | Kristian Høgsberg | 2010-02-25 | 91 | -54558/+0 |
| | |||||
* | Remove remaining miniglx references | Kristian Høgsberg | 2010-02-25 | 14 | -1867/+0 |
| | |||||
* | Drop fb, ffb and gamma dri drivers | Kristian Høgsberg | 2010-02-25 | 70 | -23137/+0 |
| | |||||
* | Drop classic mesa svga driver | Kristian Høgsberg | 2010-02-25 | 12 | -1899/+0 |
| | |||||
* | Drop glide driver | Kristian Høgsberg | 2010-02-25 | 15 | -16567/+0 |
| | |||||
* | Remove GGI support | Kristian Høgsberg | 2010-02-25 | 25 | -4104/+0 |
| | |||||
* | Remove dos driver | Kristian Høgsberg | 2010-02-25 | 12 | -3548/+0 |
| | |||||
* | Remove d3d driver | Kristian Høgsberg | 2010-02-25 | 21 | -8645/+0 |
| | |||||
* | Remove directfb support | Kristian Høgsberg | 2010-02-25 | 22 | -5238/+0 |
| | |||||
* | Remove allegro driver | Kristian Høgsberg | 2010-02-25 | 4 | -902/+0 |
| | |||||
* | Revert "glu/sgi: Set freed pointer to NULL." | Vinson Lee | 2010-02-25 | 1 | -1/+0 |
| | | | | | | | This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd. | ||||
* | i965: Add SNB math opcode support. | Eric Anholt | 2010-02-25 | 3 | -23/+43 |
| | | | | This is untested at this point. | ||||
* | i965: Emit SNB FF unit state after the unit's push constants. | Eric Anholt | 2010-02-25 | 3 | -69/+69 |
| | | | | | | There's a BUN for the WM unit that says WM_STATE must immediately follow PS_CONSTANTS, which this addresses. Presumably other units are roughly the same, too. |