aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: add TXQ and TXF supportDave Airlie2011-09-062-7/+21
| | | | Signed-off-by: Dave Airlie <[email protected]>
* r600g: add initial evergreen integer opcode supportDave Airlie2011-09-062-29/+162
| | | | | | | | | This just adds the opcodes for evergreen, need to work on r600 and cayman implementations. don't advertise nativeintegers yet until we work out all the regressions. Signed-off-by: Dave Airlie <[email protected]>
* r600g: add 10/10/10/2 vertex format conversion.Dave Airlie2011-09-051-0/+6
|
* gallium: add missing formats for ARB_vertex_type_2_10_10_10_revDave Airlie2011-09-052-1/+15
| | | | | | | This just reorgs one define in csv file, and adds all the new formats that are needed for this extension. Signed-off-by: Dave Airlie <[email protected]>
* gallivm: fix build with LLVM 3.0svnTobias Droste2011-09-051-4/+10
| | | | | | | LLVM 3.0svn moved TargetRegistry.h and TargetSelect.h. See revision 138450 of LLVM. Signed-off-by: Tobias Droste <[email protected]>
* xvmc: Replace frame_started by picture_structureMaarten Lankhorst2011-09-042-10/+16
| | | | | | | | | | | The preferred solution to keeping track of the picture structure has been putting it in the state tracker, so use picture_structure instead of frame_started to check if a frame needs to begin. If picture_structure has been changed, end the frame and start again. Signed-off-by: Maarten Lankhorst <[email protected]> Signed-off-by: Christian König <[email protected]>
* gallium: add caps for MIN/MAX texel offsets.Dave Airlie2011-09-023-1/+13
| | | | | | | | As per Brian's suggestion, add caps for drivers that support texture offsets to advertise a min/max via TGSI, also use it in the state tracker. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* tgsi: add support for texture offsets to the TGSI IR. (v2)Dave Airlie2011-09-0211-18/+173
| | | | | | | | | | | | | This adds tokens for texture offsets, to store 4 * swizzled vec 3 for use in TXF and other opcodes. It also contains TGSI exec changes for softpipe to use this code, along with GLSL->TGSI support for TXF. v2: add some more comments, add back padding I removed. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and ↵Christian König2011-09-014-19/+307
| | | | | | | | VdpOutputSurfaceRenderOutputSurface This gets mplayers menu overlay working. Signed-off-by: Christian König <[email protected]>
* st/xvmc: the alpha component of palette entries isn't usedChristian König2011-09-011-1/+1
|
* g3dvl: extend the functionality of the compositorChristian König2011-09-015-33/+81
| | | | Prepares for vdpau menu overlay.
* gallium: add R8A8 and A8R8 UNORM formatsChristian König2011-09-012-0/+4
| | | | | | They are mostly used for menu overlay in video decoding. Signed-off-by: Christian König <[email protected]>
* st/xvmc: remove L4A4_UNORM workaroundChristian König2011-09-011-33/+5
| | | | | | This is no longer needed, since we now have native support for IA44 and AI44. Signed-off-by: Christian König <[email protected]>
* r600g: add support for R4A4 and A4R4 textures.Christian König2011-09-012-0/+8
| | | | | | Sampling worked out of the box, but this make them work as surface as well. Signed-off-by: Christian König <[email protected]>
* gallium: try to cleanup a bit of the format mess created with pipe-video mergeChristian König2011-09-014-82/+7
| | | | | | Start with correctly defining IA44 and AI44 formats. Signed-off-by: Christian König <[email protected]>
* nv50,nvc0: fix multisample format hackChristoph Bumiller2011-08-312-2/+2
| | | | | | | | Advertising different format support based on sample count was a bad idea, it made resolve to window work, but resolve to anything else would fail. See 9f4998639c3c47f0b7ee3e2a29b7f3609d3f7796.
* r600g: Make unaligned 3D textures work on +evergreenChristian König2011-08-301-1/+5
| | | | | | The layersize calculation is slightly different on +evergreen. This makes mpeg2 video decoding and piglits texture-packed-formats test work correctly on this hardware.
* nouveau: use PRIu64 for printing uint64_tChristoph Bumiller2011-08-303-2/+6
|
* nouveau/mm: move slabs to correct list on memory releaseChristoph Bumiller2011-08-301-5/+5
| | | | | Should get rid of "destroying GPU memory cache with some buffers still in use" message.
* winsys/radeon: Create async thread only onceMaarten Lankhorst2011-08-302-21/+50
| | | | | | | | I noticed that a thread was created for every time async flush was called, so I moved it and used some semaphores to synch. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Christian König <[email protected]>
* nvfx: use common NOUVEAU_RESOURCE_FLAG_LINEAR defineChristoph Bumiller2011-08-308-15/+16
|
* nv50: add support for linear textures and render targetsChristoph Bumiller2011-08-307-14/+63
|
* nv50: align pitch of linear surfaces correctlyChristoph Bumiller2011-08-301-1/+2
|
* nv50: handle TGSI_OPCODE_ROUNDChristoph Bumiller2011-08-305-3/+10
| | | | Will round to nearest-even.
* nv50,nvc0: add states mask to state validation functionChristoph Bumiller2011-08-308-24/+31
| | | | | | This prevents null dereferences in validation of interdependent state after a switch to a pipe context where we mark all state as dirty but where not all state is valid / set yet.
* nv50,nvc0: reject R8G8B8A8/X8_UNORM for multisample surfacesChristoph Bumiller2011-08-302-2/+17
| | | | | | The window system buffer will be BGRA and applications will try to directly resolve to it, which would trigger an INVALID_OPERATION in BlitFramebuffer if the multisample renderbuffer is RGBA.
* libgl-gdi: Fix mingw-w64 build.José Fonseca2011-08-301-1/+3
| | | | Mingw-w64 actually seems to be closer to MSVC in terms of .DEF parsing.
* st/wgl: Fix build on mingw-w64José Fonseca2011-08-301-2/+2
| | | | Which already declares wglSwapMultipleBuffers and WGLSWAP.
* xorg/xvmc: Only set decode buffer when availableMaarten Lankhorst2011-08-291-3/+6
| | | | | | The nouveau xvmc decoder doesn't need it. Signed-off-by: Maarten Lankhorst <[email protected]>
* i915g: remove unused var in i915_flush_heuristically()Brian Paul2011-08-291-2/+0
|
* winsys/g3dvl: Fix include styleKai Wasserbäch2011-08-293-19/+19
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* tests/unit: Fix include styleKai Wasserbäch2011-08-291-5/+5
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* targets/xorg-vmwgfx: Fix include styleKai Wasserbäch2011-08-291-1/+1
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/xorg: Fix include styleKai Wasserbäch2011-08-297-31/+31
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* vdpau: Fix include styleKai Wasserbäch2011-08-299-31/+32
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* va: Fix include styleKai Wasserbäch2011-08-298-19/+19
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* d3d1x: Fix include styleKai Wasserbäch2011-08-295-19/+19
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* include/pipe: Fix include styleKai Wasserbäch2011-08-292-6/+6
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r600g: Fix include styleKai Wasserbäch2011-08-299-66/+66
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* noop: Fix include styleKai Wasserbäch2011-08-292-13/+13
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* vl: Fix include styleKai Wasserbäch2011-08-2920-63/+63
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* util: Fix include styleKai Wasserbäch2011-08-294-18/+18
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* g3dvl: Fix a bug not decoding the last 32-64 bits of an mpeg2 bitstream.Christian König2011-08-292-8/+7
| | | | Another bug found by Andy Furniss.
* st/vdpau: Respect source_rect in VideoMixerRenderChristian König2011-08-291-1/+11
| | | | Fixing a bug reported by Andy Furniss.
* xvmc tests: Clean up test_rendering slightlyMaarten Lankhorst2011-08-281-14/+24
| | | | Signed-off-by: Maarten Lankhorst <[email protected]>
* android: make DRM optionalChia-I Wu2011-08-274-6/+33
| | | | For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
* android: add support for nouveauChia-I Wu2011-08-277-0/+203
| | | | Compile tested only.
* android: add support for r300gChia-I Wu2011-08-273-2/+56
| | | | Compile tested only.
* android: add support for i915gChia-I Wu2011-08-274-0/+87
| | | | | | Quickly tested with 945GME. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB or RGBA visuals work. As for 3D apps, some work and some do not.
* android: add support for vmwgfxChia-I Wu2011-08-274-0/+90
| | | | | | | Quickly tested with VMWare Workstation 7.1.4 on Linux with GeForce GT220. SurfaceFlinger (the display server and compositor) works. 2D apps with RGB visual works. However, due to missing PIPE_FORMAT_R8G8B8A8_UNORM support, those with RGBA visual do not.