summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix issues around multisample enableRoland Scheidegger2008-07-021-1/+1
| | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
* set ctx->Const.MaxVertexTextureImageUnits = 0Brian Paul2008-07-021-1/+1
| | | | This disallows vertex shader texture sampling. See bugs 16157, 13838.
* VBO: Regenerate files based on recent changes to gl_API.xmlIan Romanick2008-07-021-16/+16
| | | | | Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous.
* dri: drop asserts to make build against stable libdrmDave Airlie2008-07-011-11/+0
| | | | These asserts are of questionable use at the moment with things in flux.
* dri: Take the base image size into account when computingXiang, Haihao2008-07-012-0/+2
| | | | first level of the mipmap. fix #16210
* r3xx/r5xx: Enable ARB_point_parameters.Corbin Simpson2008-06-302-0/+30
| | | | | | This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later.
* r300: Fix dumb mistake in LOD bias translationNicolai Haehnle2008-06-301-1/+1
|
* r300: Cleanup LodBias supportNicolai Haehnle2008-06-305-115/+25
| | | | | | | | | | | | | | . There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables
* r300: Change LOD bias emission to more closely follow per-tex rules.Corbin Simpson2008-06-292-4/+12
| | | | Okay, this time it's for real, and for good. This should be a perma-fix.
* r300: Fix wrap mode for 1D texturesNicolai Haehnle2008-06-293-103/+36
|
* DRI-specific pkg-config fileDan Nicholson2008-06-272-1/+22
| | | | | | | Since the gl pkg-config file doesn't convey any specifics about the backend in use, this adds a new pkg-config file for when DRI is in use. This can be used by the xserver build to determine if the DRI and/or GLX extensions are appropriate.
* Check in SwapBuffers for any new pending dri2 eventsAlan Hourihane2008-06-261-2/+5
|
* intel: Fix glCopyPixels when x or y are < 0 in hw coordinates.Eric Anholt2008-06-241-14/+10
| | | | | | Nothing would get drawn as the negative coordinates broke the rectangle intersection code that used unsigned ints. Tested with copypix demo and sliding the copy to the upper left.
* i965: Use the shared intel_pixel_copy.c.Eric Anholt2008-06-242-322/+5
| | | | | | | | This disables the textured copy implementation on 965, which didn't appear to work (mesa copypix demo, disable the blit path, move so that regions don't overlap and textured is used, and you get garbage). If we resurrect this for i965, I'd rather it used the 915-style metaops instead. Current metaops code left in place so that whoever picks it up has a reference.
* intel: Same pixel function init for everyone now.Eric Anholt2008-06-244-10/+1
|
* intel: Avoid glBitmap software fallback for blending when no blending occurs.Eric Anholt2008-06-245-6/+26
| | | | | Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
* intel: Merge check_blit_fragment_ops between i915/i965.Eric Anholt2008-06-244-28/+9
| | | | Both had some useful bits for the other.
* intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix.Eric Anholt2008-06-241-15/+56
|
* i915: Add support for accelerated glBitmap, shared from 965.Eric Anholt2008-06-244-354/+8
|
* i915: Fix read != draw drawable for glCopyPixels.Eric Anholt2008-06-241-2/+3
| | | | Taken from commit bad6e175cf59cce630c37d73f6e71f3a4de50ae6.
* i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.Eric Anholt2008-06-241-4/+6
| | | | This matches 965.
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-212-3/+3
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-211-1/+1
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-213-65/+65
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-2114-56/+56
|
* #undef DEBUG to silence warningsBrian Paul2008-06-211-0/+1
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-218-19/+19
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-215-22/+22
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-216-17/+17
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-219-19/+19
|
* replace __inline and __inline__ with INLINE macroBrian Paul2008-06-2110-18/+14
|
* Solaris port of Mesa 7.1 with autoconf supportAlan Coopersmith2008-06-212-0/+7
| | | | Signed-off-by: Brian Paul <[email protected]>
* R300: 1002:5657 is actually RV410Alex Deucher2008-06-212-2/+2
| | | | See bug 14289
* r200: fix typo in r200TryDrawPixels parameter validation (bug 16406)Roland Scheidegger2008-06-211-1/+1
|
* i915: Bug #14313: Fix accelerated (PBO) ReadPixels.Eric Anholt2008-06-181-4/+1
| | | | | Refactoring of mine in 02d5ba849197e19843dad164239b51f18fb16faf broke it by failing to understand that the masking was about sign extension.
* i965: add support for Intel 4 series chipsetsXiang, Haihao2008-06-182-2/+17
|
* r300: Make LOD bias a persistent environment variable.Corbin Simpson2008-06-162-14/+14
| | | | Per airlied's suggestion.
* r300: Fix new incarnation of bug 3195.Corbin Simpson2008-06-162-5/+15
| | | | tests/bug_3195 doesn't render right, but at least it doesn't segfault this way.
* r300: Forgot to clear old state before writing new state.Corbin Simpson2008-06-161-0/+1
| | | | Oooops. Hehe.
* r300: Enable LOD bias state emission.Corbin Simpson2008-06-151-16/+49
| | | | | Properly set t->filter_1 for r300_state to emit. Expect buggies as people see LOD bias enabled for the first time...
* Oops, misordered a few instructions.Corbin Simpson2008-06-151-1/+2
| | | | Not like it matters, though, since it's not taking effect yet.
* r300: Unbreak LOD biasing, a bit.Corbin Simpson2008-06-151-34/+33
| | | | Needs a bit more work on submission.
* r5xx: Enable fragment.position, partial ARB_shadow.Corbin Simpson2008-06-142-23/+25
| | | | I don't like PROGRAM_BUILTIN; could we either patch Mesa or just use a different constant?
* r5xx: Detangle FP fallback and translation switches.Corbin Simpson2008-06-142-5/+4
| | | | | r5xx should fallback if it encounters a bad FP. TODO: Re-enable the dumb shader so we don't have to completely fallback.
* r300: Add radeonTransformALU and fix a bug in r300_fragprog DPHNicolai Haehnle2008-06-145-99/+334
| | | | | This new generic transform replaces "special" instructions by more generic variants. Hopefully, we will be able to share this code between r300 and r500.
* r300_fragprog: Use less complex instructionsNicolai Haehnle2008-06-141-28/+10
| | | | | MOV, ADD and MUL do not fit the hardware as well as MAD, but they are less complex and thus leave more room for future optimizations.
* r5xx: More FP rewriting; fix texrect FP insts.Corbin Simpson2008-06-142-89/+23
|
* r5xx: New FP code, take two.Corbin Simpson2008-06-141-0/+1520
| | | | Add the code emission source file, and comment out unneeded tex de-swizzling.
* r5xx: FP refactor, take one.Corbin Simpson2008-06-145-1490/+426
| | | | Yes, I know it's massive. Imagine how I felt, auditing 3000 lines of code.
* r3xx/r5xx: Don't force aniso.Corbin Simpson2008-06-141-1/+1
| | | | *Pulls paper bag down over head*