summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-267-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.pyJosé Fonseca2010-02-264-28/+96
|
* util: Add util_bswap16.José Fonseca2010-02-261-0/+11
|
* util: Use python names consistent with u_format.hJosé Fonseca2010-02-264-149/+161
|
* mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()Brian Paul2010-02-261-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é Fonseca2010-02-261-1/+2
| | | | Was using 32bit integer pointers instead of 16bits.
* llvmpipe: Fix scons dependencies.José Fonseca2010-02-261-0/+6
|
* util: Add is_pot() method to formats.José Fonseca2010-02-261-0/+7
|
* Revert "glapi: Remove unnecessary headers."José Fonseca2010-02-261-0/+2
| | | | | | This reverts commit ead22e6a328e7d7b7c0b52af4705634e989e4d69. This headers are not unnecessary on windows.
* r300/compiler: Assert that array index is not negative.Vinson Lee2010-02-261-0/+2
|
* glapi: Remove unnecessary headers.Vinson Lee2010-02-251-2/+0
|
* i965: Remove unnecessary headers.Vinson Lee2010-02-2510-25/+0
|
* swrast: add 0.5 bias in tex_array_slice() per the specBrian Paul2010-02-251-1/+1
|
* mesa: enable GL_EXT_texture_array for sw driversBrian Paul2010-02-251-0/+1
|
* glsl: implement support for GL_EXT_texture_arrayBrian Paul2010-02-2510-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_arrayBrian Paul2010-02-252-0/+2
|
* swrast: the only wrap mode for selecting texture array slices is clampBrian Paul2010-02-251-9/+20
|
* mesa: added texture array targets in sizeof_glsl_type()Brian Paul2010-02-251-0/+4
|
* mesa: added cases for texture array targetsBrian Paul2010-02-251-0/+2
|
* mesa: remove redundant call to _mesa_base_fbo_format()Brian Paul2010-02-251-1/+1
|
* mesa: added renderbuffer->_BaseFormat assertionBrian Paul2010-02-251-0/+1
|
* i965: Try to hook up the Sandybridge URB_WRITE SEND message.Eric Anholt2010-02-251-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 Anholt2010-02-251-25/+49
|
* i965: Don't set a nonexistent enable bit in several SNB state pointers.Eric Anholt2010-02-253-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 Anholt2010-02-251-2/+2
| | | | This gets the VS to the point of accepting vertices. \o/
* i965: Fix the SNB VE valid bit.Eric Anholt2010-02-251-1/+1
| | | | So, when the docs say that 0 means enabled now? That's a lie.
* intel: Fix up INTEL_NO_HW support.Eric Anholt2010-02-251-1/+2
| | | | | This was accidentally (it seems) deleted in 5203b7227ccb6b618fa42f08434d4a3cf123dca2
* i965: Don't include SNB in has_negative_rhw_bug.Eric Anholt2010-02-251-1/+1
|
* i965: Fix the SNB clip near VP API bit.Eric Anholt2010-02-251-1/+2
|
* i965: Fix the SNB URB entry count setup.Eric Anholt2010-02-251-2/+2
|
* remove hack for miniglx from dri/utils.cGeorge Sapountzis2010-02-261-3/+2
|
* minor cleanup of dri/Makefile.template's after miniglx dropGeorge Sapountzis2010-02-263-44/+7
| | | | also makes the WINDOW_SYSTEM configure var useless ...
* drop stray src/mesa/main/sourcesGeorge Sapountzis2010-02-261-158/+0
|
* mesa: use simplified _BaseFormat value in render-to-texture codeBrian Paul2010-02-251-1/+4
| | | | Fixes fd.o bug 26762.
* util: remove a trailing semicolon in format table codeBrian Paul2010-02-251-1/+1
|
* util: Remove import of unused sys module.Vinson Lee2010-02-251-3/+0
|
* Remove unused mini and mesa glu subdirectoriesKristian Høgsberg2010-02-2534-13732/+0
|
* Drop unused glut subdirectoriesKristian Høgsberg2010-02-2591-54558/+0
|
* Remove remaining miniglx referencesKristian Høgsberg2010-02-2514-1867/+0
|
* Drop fb, ffb and gamma dri driversKristian Høgsberg2010-02-2570-23137/+0
|
* Drop classic mesa svga driverKristian Høgsberg2010-02-2512-1899/+0
|
* Drop glide driverKristian Høgsberg2010-02-2515-16567/+0
|
* Remove GGI supportKristian Høgsberg2010-02-2525-4104/+0
|
* Remove dos driverKristian Høgsberg2010-02-2512-3548/+0
|
* Remove d3d driverKristian Høgsberg2010-02-2521-8645/+0
|
* Remove directfb supportKristian Høgsberg2010-02-2522-5238/+0
|
* Remove allegro driverKristian Høgsberg2010-02-254-902/+0
|
* Revert "glu/sgi: Set freed pointer to NULL."Vinson Lee2010-02-251-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 Anholt2010-02-253-23/+43
| | | | This is untested at this point.
* i965: Emit SNB FF unit state after the unit's push constants.Eric Anholt2010-02-253-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.