summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* winsys/radeon: simplify how value queries workMarek Olšák2011-07-258-43/+32
| | | | | This drops the get_value query and adds a function query_info, which returns all the values in one nice structure.
* r600g: use file_max instead of file_count to determine reg offsetChristian König2011-07-241-3/+3
| | | | | | Otherwise shaders with skipped inputs/outputs doesn't work correctly. Signed-off-by: Christian König <[email protected]>
* gallium/softpipe: Don't clobber dest color/alpha before masking.Younes Manton2011-07-231-89/+96
| | | | | | | | | The blend_quad function clobbers the actual render target color/alpha values while applying the destination blend factor, which results in restoring the wrong value during the masking stage for write-disabled channels. Reviewed-by: Brian Paul <[email protected]>
* llvmpipe: Unit tests for arithmetic functions.José Fonseca2011-07-223-2/+298
| | | | | | Conflicts: src/gallium/drivers/llvmpipe/SConscript
* Merge branch 'gallium-polygon-stipple'Brian Paul2011-07-2116-148/+383
|\
| * softpipe: use the polygon stipple utility moduleBrian Paul2011-07-219-14/+131
| | | | | | | | | | | | | | | | | | | | This is an alternative to the draw module's polygon stipple stage. The softpipe implementation here is just a test. The advantange of using the new polygon stipple utility module (with other drivers) is we can avoid software vertex processing in the draw module and get much better performance. Polygon stipple doesn't require special vertex processing like the other draw module stage.
| * softpipe: implement fragment shader variantsBrian Paul2011-07-2113-117/+251
| | | | | | | | We'll need shader variants to accomodate the new polygon stipple utility.
| * softpipe: use tgsi_shader_info fields for fragcoord origin, center, etc.Brian Paul2011-07-214-17/+5
| |
| * softpipe: remove obsolete commentBrian Paul2011-07-211-4/+0
| |
| * softpipe: rename a functionBrian Paul2011-07-211-7/+7
| |
* | nouveau: hook up video decoding with nouveau_contextChristoph Bumiller2011-07-218-1/+56
| | | | | | | | | | This doesn't include nvfx since its context struct is not derived from common nouveau_context (yet).
* | llvmpipe: include LLVM version number in name stringBrian Paul2011-07-191-1/+3
| |
* | llvmpipe: fix build with LLVM 3.0svnTobias Droste2011-07-191-4/+15
| | | | | | | | | | | | | | | | | | LLVM 3.0svn introduced a new type system. It defines a new way to create named structs and removes the (now not needed) LLVMInvalidateStructLayout function. See revision 134829 of LLVM. Signed-off-by: Tobias Droste <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | r600g: Get rid of leftover PB_USAGE_* flags.Henri Verbeet2011-07-182-26/+2
| | | | | | | | | | | | | | These happen to work because their values are the same as the equivalent PIPE_TRANSFER_* flags, but it's still misleading. Signed-off-by: Henri Verbeet <[email protected]>
* | nv50: fix bogus error message about 3d surfacesChristoph Bumiller2011-07-161-1/+3
| |
* | r600g: fix queries and predicationVadim Girlin2011-07-152-11/+23
| | | | | | | | | | | | | | Use all zpass data for predication instead of the last block only. Use query buffer as a ring instead of reusing the same area for each new BeginQuery. All query buffer offsets are in bytes to simplify offsets math.
* | i915g: move declaration before codeBrian Paul2011-07-141-1/+2
| |
* | nv50,nvc0: extensive surface format renaming to get consistencyChristoph Bumiller2011-07-148-191/+220
| | | | | | | | Now the component ordering is consistent and matches gallium again.
* | nv50,nvc0: add support for multi-sample resourcesChristoph Bumiller2011-07-1423-213/+308
| |
* | nv50,nvc0: add correct storage type for Z32_FLOATChristoph Bumiller2011-07-142-0/+9
| |
* | nv50,nvc0: unify nvc0_miptree and nv50_miptree structsChristoph Bumiller2011-07-1414-425/+535
| | | | | | | | | | Share some functions and restructure miptree creation a little. Prepare for multi-sample resources.
* | nv50,nvc0: don't advertise unaligned texture format supportChristoph Bumiller2011-07-142-24/+24
| | | | | | | | | | | | | | Because we don't support them. For instance, R32G32B32 is not R32G32B32X32 as was assumed. Add support for R8G8B8X8_UNORM instead of R8G8B8_UNORM surfaces.
* | softpipe: fix various warnings about int/float/double conversions, etcBrian Paul2011-07-131-15/+15
| |
* | softpipe: Remove sp_video_context.c from SConscript.Vinson Lee2011-07-131-1/+0
| | | | | | | | | | | | sp_video_context.c was added to SConscript in commit ed24e19070b7dff12670151b2d184f31c845ccae (pipe-video merge) but no file of that name was added.
* | Merge branch 'pipe-video'Christian König2011-07-1311-8/+112
|\ \
| * | r600g: reenable hardware blits for STATIC and IMMUTABLE resourcesChristian König2011-07-131-10/+8
| | | | | | | | | | | | Getting the driver in sync with mainline.
| * | r600g: revert "set BLEND_CLAMP depending on clamp_fragment_color"Christian König2011-07-131-8/+3
| | | | | | | | | | | | BLEND_CLAMP doesn't seems to be the right way to implement "ARB_color_buffer_float".
| * | [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-124-6/+29
| | |
| * | r600g: revert "support textures with scaled number formats"Christian König2011-07-111-1/+1
| | | | | | | | | | | | We should add those probably when merged to master.
| * | [g3dvl] remove some stale nv40 filesChristian König2011-07-112-80/+0
| | |
| * | [g3dvl] remove pipe_video_context from nouveauChristian König2011-07-115-84/+22
| | |
| * | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-1143-1715/+1977
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state_inlines.h
| * | | [g3dvl] and finally remove pipe_video_contextChristian König2011-07-085-30/+7
| | | |
| * | | [g3dvl] move video buffer creation out of video contextChristian König2011-07-083-0/+7
| | | |
| * | | [g3dvl] remove the unused priv member from pipe_video_contextChristian König2011-07-083-3/+3
| | | |
| * | | [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-089-134/+20
| | | |
| * | | [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-083-0/+6
| | | | | | | | | | | | | | | | into screen object
| * | | [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-075-3/+42
| | | |
| * | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-0471-704/+1833
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
| * \ \ \ Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-0925-690/+869
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * | | | r600g: some merge fixesChristian König2011-06-052-3/+3
| | | | |
| * | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-0526-436/+1516
| |\ \ \ \
| * | | | | Revert "Merge remote-tracking branch 'mareko/r300g-draw-instanced' into ↵Christian König2011-06-049-158/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pipe-video" This reverts commit 10370b752cd793665feec9494e6545a3f04c69f9, reversing changes made to ded2a9a628c58c2c8bfaaf6b8dd213e68de1dd20.
| * | | | | Merge remote-tracking branch 'mareko/r300g-draw-instanced' into pipe-videoChristian König2011-06-039-17/+158
| |\ \ \ \ \
| | * | | | | r300g: implement draw_instanced for HWTCLMarek Olšák2011-04-259-17/+158
| | | | | | |
| * | | | | | Initial r300g supportChristian König2011-05-294-312/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based uppon a patch from Pali Rohár <[email protected]>. This seems to get at least YUV->RGB conversion working. So a simple "mplayer -vo vdpau" now seems to work fine.
| * | | | | | r600g: revert commit 36b322dffd2429130f132f55f68acb1a23ba1658 for nowChristian König2011-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable scaled textures, since they didn't work 100% right now.
| * | | | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-214-1/+40
| |\ \ \ \ \ \
| * | | | | | | r600g: fix "Fixed-Point Data Conversions"Christian König2011-05-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to OpenGL 3.1 chapter 2.1.5 the representation without zero should only be used for vertex attribute values, but not for textures or frame-buffers.
| * | | | | | | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-1523-156/+281
| |\ \ \ \ \ \ \