summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* util: Fix X8/A8B8G8R8_SNORM's swizzle.José Fonseca2010-02-271-2/+2
|
* r300g: move the emission of GA_POINT_MINMAX into emit_fb_stateMarek Olšák2010-02-273-23/+7
| | | | | The only practical limits are the ones derived from the currently-set framebuffer state.
* r300g: put the emission of R300_US_OUT_FMT_UNUSED backMarek Olšák2010-02-272-2/+7
| | | | It wasn't such a good idea to remove it. :/
* r300g: mark rasterizer_state as dirty only when it's not NULLMarek Olšák2010-02-271-1/+1
|
* radeong: clean up includesMarek Olšák2010-02-276-37/+18
|
* r300g: always emit the correct max vertex index to avoid DRM errorsMarek Olšák2010-02-273-2/+13
| | | | Fixing bizarre reports that a vertex buffer is not large enough.
* r300g: remove pointless "while"Marek Olšák2010-02-271-1/+1
|
* st/dri: Assert pointer is not null before dereferencing.Vinson Lee2010-02-271-2/+4
|
* st/xorg: Re-enable crtc on resizeJakob Bornecrantz2010-02-271-3/+21
|
* st/xorg: Fix copy-topyJakob Bornecrantz2010-02-271-1/+1
|
* vmware/xorg: Bump to match vmware driverJakob Bornecrantz2010-02-271-3/+3
|
* st/xorg: Make resize fail gracefullyJakob Bornecrantz2010-02-271-14/+55
|
* st/xorg: Obey max {width|height} from kernel and GalliumJakob Bornecrantz2010-02-271-2/+23
|
* st/xorg: Encapsulate all customizable stuff in a separate class.Thomas Hellstrom2010-02-276-91/+121
| | | | | | | | | This avoids exposing the ms driver structure to the winsys, and nicely encapsulates driver customizable stuff. In the future more things might be customizable by the winsys, like throttling, 3D readback etc. Signed-off-by: Thomas Hellstrom <[email protected]>
* vmware/xorg: Export modinfo just as the other vmware X drivers doesJakob Bornecrantz2010-02-271-3/+42
|
* st/xorg: A bit more debugging infoJakob Bornecrantz2010-02-271-0/+6
|
* st/xorg: Make default of debugging fallbacks smartJakob Bornecrantz2010-02-271-1/+1
| | | | Set it to the same as 2d acceleration
* drm/vmware: Latest interface changes are backwards incopatibleJakob Bornecrantz2010-02-271-1/+1
| | | | | | Since the execbuffer change actually changed size off the ioctl struct and not just a reuse of padded bits, we can't support old kernels as easily as the scanout change was.
* st/xorg, vmware/xorg: Fix xnfcalloc arguments.Thomas Hellstrom2010-02-272-2/+2
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* vmware: Update vmwgfx_drm.h to kernel version.Thomas Hellstrom2010-02-271-0/+8
| | | | Signed-off-by: Thomas Hellstrom <[email protected]>
* nv40: fix include of nv04_surface_2d.hChristoph Bumiller2010-02-261-1/+1
|
* gallium: define GENERATED auxiliary filesBrian Paul2010-02-261-1/+7
| | | | Don't need special default dependency on u_format_pack.h anymore.
* gallium: added GENERATED_SOURCES var to Makefile.templateBrian Paul2010-02-261-3/+3
| | | | For use in dependency checking and make clean.
* Revert "gallium: remove unneeded -I path from Makefile.templast"Brian Paul2010-02-261-0/+1
| | | | | | | | This reverts commit d9c65ddd52199469c49fc0d3ad90fedb9a69274d. Looks like the nouveau drivers need this. Perhaps the drivers could be fixed to add the extra -I path where needed. I'll leave that up to others.
* gallium/nouveau: clean-up #includesBrian Paul2010-02-265-22/+22
|
* gallium: remove unneeded -I path from Makefile.templastBrian Paul2010-02-261-1/+0
|
* softpipe: fix up #includesBrian Paul2010-02-262-6/+8
|
* gallium/trace: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
|
* gallium/identity: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
|
* util: Define SRGB's channels as normalized.José Fonseca2010-02-261-9/+9
| | | | A better approximation than uscaled...
* 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
|
* 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
|
* minor cleanup of dri/Makefile.template's after miniglx dropGeorge Sapountzis2010-02-262-23/+4
| | | | also makes the WINDOW_SYSTEM configure var useless ...
* 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
|
* scons: Always build trace driverJosé Fonseca2010-02-251-5/+1
| | | | | | | | | | | | There are so many state trackers and winsys that rely on it for debug building, and trace can really build anywhere and is thin so there's no point is making it an option. Based on Xavier Chantry <[email protected]>'s patch: "I also removed the trace check in xlib SConscript which is now useless, and that script seems to deal with the cell driver, so I added cell in the check for supported drivers."
* python: Fix typo.Michal Krol2010-02-252-1/+1
|
* tgsi: Remove dead code.Michal Krol2010-02-251-12/+0
|
* st/egl: Reduce validation round-trips in DRI2 backend.Chia-I Wu2010-02-251-14/+88
| | | | | | | | | | | | This is similar to the changes to reduce the round-trips in ximage backend. When the server supports DRI_InvalidateBuffers, the event is used to update the server stamp (this path is not tested). Otherwise, the server stamp is updated when flush_frontbuffer or swap_buffers is called. This makes sure at least the client APIs get the new buffers when a new frame is started while skipping all round-trips during the drawing.
* st/egl: Reduce validation round-trips in ximage backend.Chia-I Wu2010-02-252-43/+39
| | | | | | | | | | | ximage_surface_validate is called several times per frame. This commit adds the client and server stamps to reduce the round-trips to the server. The idea is to bump the server stamp when flush_frontbuffer or swap_buffers is called, and to skip the round-trip when the client stamp is equal to the server stamp. This makes sure the client APIs get the new buffers when a new frame is started while skipping all round-trips during the drawing. To make this work, egl_g3d_validate_context is no longer called after swap_buffers.
* st/egl: Refactor dri2_surface_get_buffers.Chia-I Wu2010-02-251-51/+67
| | | | | Add dri2_surface_process_drawable_buffers to process the buffers returned by the server.
* st/egl: Add dri2InvalidateBuffers.Chia-I Wu2010-02-254-19/+74
| | | | | | src/glx/dri2.c will call dri2InvalidateBuffers when DRI2_InvalidateBuffers event is received. This fixes a missing symbol error, and paves the way for event-based validation.
* util: Assert that pointer is not null before dereferencing.Vinson Lee2010-02-251-1/+4
|
* r300g: Atomize vertex shader.Corbin Simpson2010-02-248-60/+58
|
* r300g: Move CALLOCs to correct place.Corbin Simpson2010-02-241-8/+7
|