summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [g3dvl] dynamical adjust blocks per lineChristian König2011-06-011-5/+4
|
* [g3dvl] move quantification into shadersChristian König2011-05-294-112/+168
|
* [g3dvl] implement mismatch control inside idct shadersChristian König2011-05-294-46/+198
|
* [g3dvl] fix resource type for idctChristian König2011-05-291-12/+11
| | | | Only the intermediate resource are 3D textures
* Initial r300g supportChristian König2011-05-2911-313/+162
| | | | | | 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.
* [g3dvl] rework resource format handlingChristian König2011-05-221-131/+88
|
* 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-21106-3899/+14882
|\
| * 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.
| * i965: Fix sampling on Ivybridge after headerless change.Kenneth Graunke2011-05-201-2/+13
| | | | | | | | | | | | Fixes a regression since 90e922267a89fa9bef254bb257405531ceff7356. Signed-off-by: Kenneth Graunke <[email protected]>
| * i965: Remove "TXD" from justification of sampler message headers.Kenneth Graunke2011-05-201-1/+1
| | | | | | | | | | | | | | The coordinate offsets set in the m1 header are for textureOffset; they have nothing to do with textureGrad (TXD). Signed-off-by: Kenneth Graunke <[email protected]>
| * i965/gen7: Add support for rendering to depthbuffer mipmap levels > 0.Kenneth Graunke2011-05-202-31/+18
| | | | | | | | | | | | | | | | | | | | | | The same as 3e43adef95ee24dd218279d2de56939b90edcb4c but for Gen7. This doesn't quite fix GL_ARB_depth_texture/fbo-clear-formats; there's still a 1 pixel wide black line on the right edge of the smaller squares. The results were entirely wrong before, and are at least close now. Signed-off-by: Kenneth Graunke <[email protected]>
| * st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESABenjamin Franzke2011-05-201-1/+7
| |
| * st/dri: Support dri2 useflags in dri2_create_imageBenjamin Franzke2011-05-201-0/+9
| |
| * st/egl/wayland: Deal with wayland visual changesBenjamin Franzke2011-05-201-17/+21
| | | | | | | | | | | | | | Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant lookup visuals, as we dont receive the visual token events. The format for pixmap-images thus has to default to argb for now.
| * mesa: Emit definition of GLAPIENTRYP in es_generator.py.Thierry Reding2011-05-201-0/+4
| | | | | | | | | | | | GLES uses GL_APIENTRYP instead of GLAPIENTRYP, which breaks with the latest API table generation code. This fixes the issue by emitting a definition for GL_APIENTRYP when generating the GLES files.
| * glapi: More type-checking in Get_xxx too.José Fonseca2011-05-202-2788/+7432
| |
| * gallivm: Fix for dynamically linked LLVM 2.8 library.José Fonseca2011-05-201-2/+12
| | | | | | | | | | | | | | | | | | This prevents the error prog: for the -disable-mmx option: may only occur zero or one times! when creating a new context after XCloseDisplay with DRI drivers linked with a shared LLVM 2.8 library.
| * r300: move declaration before codeBrian Paul2011-05-191-1/+1
| |
| * st/glx: define/set new ST_CONTEXT_FLAG_bitsBrian Paul2011-05-192-11/+25
| |
| * st/glx: pass major, minor, context flags, etc to XMesaCreateContext()Brian Paul2011-05-193-3/+9
| |
| * st/glx: implement glXCreateContextAttribsARB()Brian Paul2011-05-191-0/+95
| |
| * st/glx: pass version, context flags, etc to create_context()Brian Paul2011-05-191-4/+9
| |
| * st/glx: refactor create-context functionsBrian Paul2011-05-191-61/+40
| |
| * mesa: fix vertex array enable checking in check_valid_to_render()Brian Paul2011-05-191-6/+28
| | | | | | | | | | | | | | | | | | | | In particular, this fixes the case where a vertex shader only uses generic vertex attributes (non-0th). Before, we were no-op'ing the glDrawArrays/Elements(). This fixes the new piglit pos-array test. NOTE: This is a candidate for the 7.10 branch.
| * mesa: handle some srgb cases in the fast path in _mesa_get_teximageRoland Scheidegger2011-05-201-4/+7
| | | | | | | | | | | | | | | | | | | | Previously, always did unorm8->float/nonlinear-to-linear conversion (using lookup table), then convert back to nonlinear (using the expensive math func pow among others), and finally convert back to int (assuming caller wants unorm8), because the float texture fetch function is used for getting the actual texel values. This should probably all be changed at some point, but for now simply enable the memcpy path also for srgb formats (but if for instance swizzling is required, still the whole conversion will be done).
| * wayland-drm: Use new generic error eventKristian Høgsberg2011-05-192-16/+17
| |
| * glapi: Implement SET_xxx as inline functions instead of macros.José Fonseca2011-05-192-929/+3716
| | | | | | | | | | In order to have the benefit of type checking, and detect missing GLAPIENTRY keywords on public entrypoints.
| * mesa: add another missing GLAPIENTRY keywordJosé Fonseca2011-05-192-2/+2
| | | | | | | | NOTE: this is a candidate for the 7.10 branch.
| * nv50: add support for user clip planesMaxim Levitsky2011-05-194-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clip distance is calculated each time vertex position is written which is suboptiomal is some cases but very safe. User clip planes are an obsolete feature anyway. Every time number of clip planes increases, the vertex program is recompiled. That ensures no overhead in normal case (no user clip planes) and reasonable overhead otherwise. Fixes 3D windows in compiz, and reflection effect in neverball. Also fixes compiz expo plugin when windows were dragged and each window shown 3 times.
| * wayland: Fix link order for libwayland-drm.aKristian Høgsberg2011-05-181-4/+4
| |
| * i965: Add support for rendering to depthbuffer mipmap levels > 0.Eric Anholt2011-05-184-32/+58
| | | | | | | | | | | | Fixes GL_ARB_depth_texture/fbo-clear-formats GL_EXT_packed_depth_stencil/fbo-clear-formats
| * i965: Stop caching the combined depth/stencil region in brw_context.c.Eric Anholt2011-05-187-55/+53
| | | | | | | | | | | | This was going to get in the way of separate depth/stencil (which wants to know about both, and whether they are the same rb), and also wasn't a sufficient flag for the fix in the following commit.
| * i965/gen6: Add support for point min/max size from ARB_point_parameters.Eric Anholt2011-05-181-2/+7
| | | | | | | | Fixes glean pointAtten.
| * i965/fs: Don't emit a header on gen5+ sample messages unless required.Eric Anholt2011-05-181-7/+19
| | | | | | | | | | | | Improves glbenchmark egypt performance 0.6% +/- 0.4% (n=6). Reviewed-by: Kenneth Graunke <[email protected]>
| * i965/fs: Fix GPU hang on texture2d-bias on pre-Ironlake.Eric Anholt2011-05-181-4/+7
| | | | | | | | | | | | | | In the 16-wide rework, I missed that we were setting some things to be SIMD16 mode (corresponding to their setup in emit_texture_gen4()). Reviewed-by: Kenneth Graunke <[email protected]>
| * i965: Add support for correct GL_CLAMP behavior by clamping coordinates.Eric Anholt2011-05-189-69/+90
| | | | | | | | | | | | | | | | This removes the stupid strict-conformance fallback code I broke when adding ARB_sampler_objects. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36572 Reviewed-by: Kenneth Graunke <[email protected]> (v1)
| * i965/fs: Drop the viewport index/rtai clearing in gen6 fb writes.Eric Anholt2011-05-181-6/+0
| | | | | | | | | | | | | | These fields are documented to be in the payload, and though the FB write docs say they *aren't* in the payload, for all other fields the payload and header is structured so that no overwriting is required except for non-default options.
| * i965/fs: Add support for "if" statements in 16-wide mode on gen6+.Eric Anholt2011-05-182-3/+7
| | | | | | | | | | | | | | | | | | | | | | It turns out there's nothing in the hardware preventing this. It appears that it ought to work on pre-gen6 as well, but just produces GPU hangs. Improves glbenchmark Egypt framerate 4.4% +/- 0.3% (n=3), and Pro by 2.6% +/- 0.6% (n=3). Reviewed-by: Kenneth Graunke <[email protected]>
| * i965/fs: Fix discard and alpha test in 16-wide.Eric Anholt2011-05-181-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | As of gen6, alt-mode (which we use) MOVs of floats are not raw -- they'll modify infs/nans. This broke discard and alpha test in 16-wide, where apparently the upper 8 bits of the pixel enables being set were causing the whole value to get trashed upon being moved. Treating the values as UD instead of float makes sure they get preserved. While I'm here, replace the two 8-wide moves of the halves of the header with a single compressed move. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=36648 Reviewed-by: Kenneth Graunke <[email protected]>
| * i965/gen6: Fix blending state when no color buffer is bound.Eric Anholt2011-05-181-2/+12
| | | | | | | | | | | | | | This is part of fixing fbo-alphatest-nocolor -- a regression in 35e8fe5c99b285f348cb8a1bba2931f120f7c0a1 after the initial regression, that had us using a garbage BLEND_STATE[0] (in particular, the alpha test enable) if no color buffer was bound.
| * i965/fs: Cut an instruction and a temporary from gen6 discard statements.Eric Anholt2011-05-182-40/+30
| | | | | | | | | | | | | | | | I thought I was thwarted initially when I couldn't do conditional mod on a MOV, and couldn't use two immediate constants in one instruction. But g0 != g0 is also a way to produce a failing comparison. Reviewed-by: Kenneth Graunke <[email protected]>
| * i965/fs: Fix compiler warnings about dead code from 963431829055f63ec94dEric Anholt2011-05-181-19/+0
| |
| * gallivm: Tell LLVM to not assume a 16-byte aligned stack on x86.José Fonseca2011-05-181-0/+13
| | | | | | | | Fixes fdo 36738.
| * swrast: anisotropic filtering extensionAndreas Faenger2011-05-185-0/+416
| | | | | | | | | | | | | | | | | | Anisotropic filtering extension for swrast intended to be used by osmesa to create high quality renderings. Based on Higher Quality Elliptical Weighted Avarage Filter (EWA). A 2nd implementation using footprint assembly is also provided. Signed-off-by: Brian Paul <[email protected]>
| * mesa: simplify error check in _mesa_MapBufferRange()Brian Paul2011-05-181-8/+7
| |
| * mesa: only update array _MaxElement if array is enabledBrian Paul2011-05-181-2/+3
| | | | | | | | Fixes failed assertion when calling _mesa_print_arrays() debug function.
| * mesa: check that flex/bison are installedBrian Paul2011-05-185-6/+18
| | | | | | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=36651 NOTE: This is a candidate for the 7.10 branch.
| * i965: Rename IS_GT1 and IS_GT2 to IS_SNB_GT1 and IS_SNB_GT2.Kenneth Graunke2011-05-182-4/+4
| | | | | | | | | | | | This should help distinguish Sandybridge GT1/GT2 from Ivybridge GT1/GT2. Signed-off-by: Kenneth Graunke <[email protected]>
| * add $SELINUX_LIBS to EGL and OpenVG lib depsTapani Pälli2011-05-181-2/+2
| | | | | | | | | | | | | | | | Correctly links against selinux library when MESA is built with --enable-selinux option. Fixes bug #36333 in Freedesktop bugzilla Signed-off-by: Dave Airlie <[email protected]>