summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-21add a number of PBO validate/map/unmap functionsBrian
Helper functions for (some) drivers, including swrast.
2008-03-21Fix some PBO breakage.Brian
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
2008-03-21 [i965] multiple rendering target fixZou Nan hai
2008-03-20[i915] GL_DEPTH_TEXTURE_MODE fixZou Nan hai
2008-03-20mesa: The span array is only populated in single-pixelXiang, Haihao
point drawing function.
2008-03-19[965] Initialize region surface key structure padding.Eric Anholt
Fixes valgrind warnings, and potential performance loss from cache misses.
2008-03-19[intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.Eric Anholt
It was harmless, as the only time we need to clear PRESUMED_OFFSET, the variable had been initialized already.
2008-03-19fix IEEE_ONE definition for ICC compiler (bug 15134)Brian
2008-03-19Radeon 9500 (0x4144) only has one pipeAlex Deucher
confirmed by Reid Linnemann <lreid@cs.okstate.edu>
2008-03-19x86_init_func_size() returns int to indicate success/fail (bug 15119)Brian
2008-03-19s/x86_init_func/x86_init_func_size (fixes bug 15119)Brian
2008-03-19 [i915] arb point sprite only support in i965Zou Nan hai
2008-03-19[i915] fix fragment.positionZou Nan hai
2008-03-18[i915] Bug #13634: Fix bugs in 945 cube mipmap layout.Eric Anholt
The most egregious, and the one the bug report and failure in the cubemap demo were about was introduced with intel_mipmap_pitch_align(), where a "* 2" for the pitch calculation was lost. The base size < 32 case also failed to align, which may have caused problems with render to texture. Another bug would have broken 2x2/1x1 base mipmap levels by placing the data where the hardware wouldn't look for it. Other bugs remain with the layout of the small mipmap faces (hardware looks for them in X,Y,Z,-X,-Y,-Z order along the bottom row, but we lay them out X,-X,Y,-Y,Z,-Z).
2008-03-18[i915] Add comments about how cube texture layout works.Eric Anholt
2008-03-18[i915] Move miptree layout code into separate functions per target.Eric Anholt
Also clean up some other miscellaneous formatting nits while I'm at it.
2008-03-18[intel] Clarify miptree layout by using byte offsets to images.Eric Anholt
2008-03-18[945] Remove conditional in 945 3D mipmap layout checking for cube layout.Eric Anholt
2008-03-19set outputs_safe to 0 as it's possible for the code generationAlan Hourihane
to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
2008-03-18Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and ↵Zou Nan hai
GL_LINE_STRIP" There is no information in GS to determinate when to reset line stipple count, still fallback to software This reverts commit 5a0314b431ab147c6156c3011f4cb54161ba4b25.
2008-03-18glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao
to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
2008-03-18[i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIPZou Nan hai
2008-03-18r300: add new rs690 pci idDave Airlie
2008-03-17[965] Fix fp temp reg release code to not usually release all temps.Andrzej Trznadel
Also, use wrapped ffs() instead of native.
2008-03-17Fix compat implementation of ffs() to return 1-based bit numbers.Andrzej Trznadel
2008-03-17only set InputsRead bit if input is really usedMarkus Amsler
2008-03-17mesa: Add vertex.attrib 0-15 to arb_input_attrib_string.Markus Amsler
2008-03-17r300: Simplify r300VAPInputRoute1.Markus Amsler
2008-03-17r300: Simplify r300VAPInputRoute0, check for valid input.Markus Amsler
2008-03-17[i965] round pointsize to nearest int according to specZou Nan hai
2008-03-17intel: fix the error in commit 7ed1fd5d8438e55fe24091844cdfccb0881306bcXiang, Haihao
2008-03-17intel: It is needed to allocating texture memory to accommodateXiang, Haihao
a texture when calling TexImage with pixels set to NULL pointer.
2008-03-17intel: Remove an assertion from intel_miptree_create. TexImageXiang, Haihao
call with zero width/height/depth matches GL spec.
2008-03-17mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao
2008-03-17mesa: Follow GL spec to draw DEPTH_COMPONENT pixels whenXiang, Haihao
there's no depth buffer. Fix bug #11580
2008-03-17 [i965] fix wpos height 1 pixel higherZou Nan hai
2008-03-15Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().Kristian Høgsberg
2008-03-14init tmpNode to zerosBrian
2008-03-14mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs).
2008-03-14glx: fix rotation regression. bug #14963Xiang, Haihao
2008-03-14intel: fix abort issue with shadowtex demo when useXiang, Haihao
DEPTH_STENCIL texture. (bug#14952).
2008-03-13fix state.lightprod ambient/specular w value (bug #14983)Roland Scheidegger
2008-03-13 [i965] multiple rendering target supportZou Nan hai
2008-03-12libGL: Pull the drawable hash back out in the generic code.Kristian Høgsberg
This will be shared between dri and dri2 code.
2008-03-12Add another missing check for uninitialized DRI.Kristian Høgsberg
Spotted by Chris Taylor.
2008-03-11Fix include path for rain demo so glut.h is foundDan Nicholson
2008-03-10autoconf: Enable xdemos by default when we build libGLDan Nicholson
Since the xdemos only link to libGL now, we can enable them for all but the osmesa driver target.
2008-03-10Darwin: Fixed small error in darwin config filesJeremy Huddleston
(cherry picked from commit a21c61ee8bc86a8843024cbf8e9daf4b39a7571a)
2008-03-10Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg
This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
2008-03-10Only try to call DRI function if DRI got initialized properly.Kristian Høgsberg