aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [i965] multiple rendering target fixZou Nan hai2008-03-212-10/+29
|
* [i915] GL_DEPTH_TEXTURE_MODE fixZou Nan hai2008-03-201-3/+4
|
* mesa: The span array is only populated in single-pixelXiang, Haihao2008-03-201-2/+4
| | | | point drawing function.
* [965] Initialize region surface key structure padding.Eric Anholt2008-03-191-0/+2
| | | | Fixes valgrind warnings, and potential performance loss from cache misses.
* [intel] Fix an uninitialized variable access in PRESUMED_OFFSET clearing.Eric Anholt2008-03-191-2/+2
| | | | | It was harmless, as the only time we need to clear PRESUMED_OFFSET, the variable had been initialized already.
* fix IEEE_ONE definition for ICC compiler (bug 15134)Brian2008-03-191-3/+3
|
* Radeon 9500 (0x4144) only has one pipeAlex Deucher2008-03-191-0/+4
| | | | confirmed by Reid Linnemann <[email protected]>
* x86_init_func_size() returns int to indicate success/fail (bug 15119)Brian2008-03-192-2/+3
|
* s/x86_init_func/x86_init_func_size (fixes bug 15119)Brian2008-03-191-1/+1
|
* [i915] arb point sprite only support in i965Zou Nan hai2008-03-191-1/+1
|
* [i915] fix fragment.positionZou Nan hai2008-03-191-6/+21
|
* [i915] Bug #13634: Fix bugs in 945 cube mipmap layout.Eric Anholt2008-03-181-15/+18
| | | | | | | | | | | | | 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).
* [i915] Add comments about how cube texture layout works.Eric Anholt2008-03-181-2/+107
|
* [i915] Move miptree layout code into separate functions per target.Eric Anholt2008-03-181-258/+285
| | | | Also clean up some other miscellaneous formatting nits while I'm at it.
* [intel] Clarify miptree layout by using byte offsets to images.Eric Anholt2008-03-182-12/+29
|
* [945] Remove conditional in 945 3D mipmap layout checking for cube layout.Eric Anholt2008-03-181-4/+3
|
* set outputs_safe to 0 as it's possible for the code generationAlan Hourihane2008-03-193-106/+205
| | | | | | to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
* Revert "[i965] make stipple pattern continue across GL_LINE_LOOP and ↵Zou Nan hai2008-03-182-3/+3
| | | | | | | 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.
* glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao2008-03-183-2/+9
| | | | | | to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
* [i965] make stipple pattern continue across GL_LINE_LOOP and GL_LINE_STRIPZou Nan hai2008-03-182-3/+3
|
* r300: add new rs690 pci idDave Airlie2008-03-181-0/+1
|
* [965] Fix fp temp reg release code to not usually release all temps.Andrzej Trznadel2008-03-171-2/+2
| | | | Also, use wrapped ffs() instead of native.
* Fix compat implementation of ffs() to return 1-based bit numbers.Andrzej Trznadel2008-03-171-0/+1
|
* only set InputsRead bit if input is really usedMarkus Amsler2008-03-171-2/+5
|
* mesa: Add vertex.attrib 0-15 to arb_input_attrib_string.Markus Amsler2008-03-171-1/+17
|
* r300: Simplify r300VAPInputRoute1.Markus Amsler2008-03-171-7/+3
|
* r300: Simplify r300VAPInputRoute0, check for valid input.Markus Amsler2008-03-171-14/+10
|
* [i965] round pointsize to nearest int according to specZou Nan hai2008-03-171-2/+2
|
* intel: fix the error in commit 7ed1fd5d8438e55fe24091844cdfccb0881306bcXiang, Haihao2008-03-171-1/+1
|
* intel: It is needed to allocating texture memory to accommodateXiang, Haihao2008-03-172-25/+35
| | | | a texture when calling TexImage with pixels set to NULL pointer.
* intel: Remove an assertion from intel_miptree_create. TexImageXiang, Haihao2008-03-171-2/+4
| | | | call with zero width/height/depth matches GL spec.
* mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao2008-03-171-1/+1
|
* mesa: Follow GL spec to draw DEPTH_COMPONENT pixels whenXiang, Haihao2008-03-171-2/+1
| | | | there's no depth buffer. Fix bug #11580
* [i965] fix wpos height 1 pixel higherZou Nan hai2008-03-172-2/+2
|
* Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().Kristian Høgsberg2008-03-151-1/+1
|
* init tmpNode to zerosBrian2008-03-141-0/+1
|
* mesa: fix emit_clamp() so that we don't use an output register as temporaryBrian2008-03-141-3/+12
| | | | | | 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).
* glx: fix rotation regression. bug #14963Xiang, Haihao2008-03-141-2/+4
|
* intel: fix abort issue with shadowtex demo when useXiang, Haihao2008-03-143-24/+45
| | | | DEPTH_STENCIL texture. (bug#14952).
* fix state.lightprod ambient/specular w value (bug #14983)Roland Scheidegger2008-03-131-2/+2
|
* [i965] multiple rendering target supportZou Nan hai2008-03-1315-98/+135
|
* libGL: Pull the drawable hash back out in the generic code.Kristian Høgsberg2008-03-124-18/+29
| | | | This will be shared between dri and dri2 code.
* Add another missing check for uninitialized DRI.Kristian Høgsberg2008-03-121-1/+2
| | | | Spotted by Chris Taylor.
* Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg2008-03-103-17/+24
| | | | | | | | | 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.
* Only try to call DRI function if DRI got initialized properly.Kristian Høgsberg2008-03-102-4/+7
|
* remove extra #include of assert.h (bug 14932)Brian2008-03-101-1/+0
|
* fix parsing of state.texenv.color (bug 14931)Brian2008-03-102-2/+4
|
* dri: fix function call to add new parameter.Dave Airlie2008-03-101-0/+1
| | | | This may not be correct but it should get the build going.
* DRI2: Make setTexBuffer take a __DRIdrawable instead of a BO handle.Kristian Høgsberg2008-03-092-18/+16
| | | | | | | | | | | | | | | | | 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.
* DRI2: Drop DriverAPI.UpdateBuffer.Kristian Høgsberg2008-03-093-27/+23
| | | | | | | __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.