summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2008-03-10remove extra #include of assert.h (bug 14932)Brian
2008-03-10fix parsing of state.texenv.color (bug 14931)Brian
2008-03-10dri: fix function call to add new parameter.Dave Airlie
This may not be correct but it should get the build going.
2008-03-09DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle.Kristian Høgsberg
This fixes a problem where texturing from the same Pixmap more than once per batchbuffer would hang the DRI driver. We just use the region associated with the front left renderbuffer of the __DRIdrawable for texturing, which avoids creating different regions for the same BO. This change also make GLX_EXT_texture_from_pixmap work for direct rendering, since tracking the __DRIdrawable -> BO handle now uses the standard DRI2 event buffer. Of course, DRI2 direct rendering doesn't exist yet. Finally, this commit bumps the DRI interface version again, accounting for the change in the DRI_TEX_BUFFER extension and the change in commit 0bba0e5be7a4a7275dad1edc34bdcc134ea1f424 to pass in the event buffer head index on drawable creation.
2008-03-09DRI2: Drop DriverAPI.UpdateBuffer.Kristian Høgsberg
__dri2ParseEvents() would determine the kind of event, but then call UpdateBuffer() in either case, and UpdateBuffer() would then have to figure that out again to dispatch to HandleBufferAttach() or HandleDrawableConfig(). Pretty pointless.
2008-03-09DRI2: Pass the context instead of the screen to __dri2ParseEvents().Kristian Høgsberg
Makes a lot more sense, since the screen is always implicit in the DRI drawable, but it may not be possible to track down a context from just a drawable.
2008-03-09DRI2: Add event buffer head as an argument to driCreateNewDrawable().Kristian Høgsberg
The DRI driver needs to know where in the buffer to start reading.
2008-03-09fix botched test for clearing color buffers (should fix depth peeling ↵Brian
regression)
2008-03-09Set normalized flag for GLubyte arrays in _mesa_VertexAttribPointerNV()Markus Amsler
2008-03-09init vertex weight attrib to (1,0,0,0)Markus Amsler
2008-03-09fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)Brian
2008-03-09Properly revert the libGL loader path breakage.Kristian Høgsberg