summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-19 fix compile for previous commitZou Nan hai
2008-02-19[i965] fix broken glsl texdemo1Zou Nan hai
2008-02-18Install dri_sarea.h in 'make install'Adam Jackson
2008-02-17glapi: Generate xserver glapi sources in the mesa treeDan Nicholson
Instead of generating the glapi sources for the xserver and commiting them to the xserver tree, we can keep them in the mesa tree and change the xserver build to use the files from the mesa tree. This makes the xserver glx build more robust as it reduces the chances for mismatches of the glX API used in the xserver vs. in mesa.
2008-02-16Fix potential glDrawPixels(GL_DEPTH_COMPONENT) crashes (bug 13915)Brian
Also, general clean-up of the Xlib-optimized glDraw/CopyPixels code.
2008-02-15Fix path to minstall in last commit.Adam Jackson
2008-02-15Install dri_interface.h in 'make install'.Adam Jackson
2008-02-15[intel] Allow attIndex to be negative to avoid defeating the >= 0 check.Eric Anholt
Otherwise, we would go wildly out of bounds if passed -1 (no renderbuffer), such as while doing LOCK_HARDWARE with glDrawBuffer(GL_NONE).
2008-02-15[915] Don't attempt our accelerated drawpixels if no color buffer is attached.Eric Anholt
Otherwise, glDrawBuffer(GL_NONE); glDrawPixels() results in a segfault when we try to emit the color buffer state during setup.
2008-02-15[915] Revert broken context creation change from IS_915 commit.Eric Anholt
The IS_945 case was left to fall through to the 830 case, along with the not-recognized-at-all case, making that dead code.
2008-02-15Fix glBindTexture crash (bug 14514)Brian
2008-02-15Fix parallel build by making symlinks before makedepend.Adam Jackson
2008-02-15Fix sis_dri on ia64.Adam Jackson
2008-02-15Fix build on ia64.Adam Jackson
2008-02-15Add IS_915(), simplify IS_9XX() a bit.Adam Jackson
2008-02-15[intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm.Eric Anholt
2008-02-15Add E7221 variant to i915.Adam Jackson
2008-02-15Trivial SELinux awareness. Enable with --enable-selinux.Adam Jackson
Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so.
2008-02-15fix bug with generated fragment programs if vertex shader is activeRoland Scheidegger
When generating a fragment program from fixed function, checking texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too since the former also represents texture enables from an active vertex shader.
2008-02-15i965: don't swizzle fogcoord if FogOption is FOG_NONE.Xiang, Haihao
fix #10788 issue on 965.
2008-02-15i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915.Xiang, Haihao
2008-02-14Add TTM buffer object based texture from pixmap implementation.Kristian Høgsberg
Currently only implemented for intel hw.
2008-02-14Hook up i915 driver to new DRI2 infrastructure.Kristian Høgsberg
2008-02-14Add new DRI2 infrastructure.Kristian Høgsberg
2008-02-14i965: use setup attributes as inputs when allocating registersXiang, Haihao
for WM payload. fix #10767
2008-02-14[i965] flip point spriteZou Nan hai
2008-02-14[i965] gl_FrontFacing supportZou Nan hai
2008-02-14i965: remove unused hal hooksDave Airlie
These don't appear to have ever been used.
2008-02-13[965] Fix ARB_occlusion_query from intel_screen.c merge.Eric Anholt
It wasn't being initialized at screen setup, so we were getting stub entrypoints even though it was exposed as enabled. Fixes arbocclude mesa demo.
2008-02-13[intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965.Eric Anholt
The 965 path wasn't setting pClipRects for batch submission since it didn't want kernel cliprect handling before. The 915 path also grew the INTEL_NO_HW=1 option for testing just driver overhead.
2008-02-13When mapping, wait on the buffer's fence, not hardware idle, in bufmgr_fakeEric Anholt
2008-02-13Remove O(n^2) debugging code from non-debug path of dri_bufmgr_fake.Eric Anholt
2008-02-13_mesa_swizzle_ubyt_image: Don't use single swizzle_copy callXiang, Haihao
if components don't match. fix #13508
2008-02-12[intel] Remove cached reloc data buffer now that it's not a BO.Eric Anholt
It's not worth the extra effort to avoid a free/malloc, and we'd rather auto-size the reloc data buffer at some point so we don't need to have max_relocs.
2008-02-12[intel] Fix type of some more flags variables for uint64_t flags.Eric Anholt
Harmless since we don't yet have any bits above 31 for flags.
2008-02-12[intel] Note when BO map/unmap fail with TTM.Eric Anholt
2008-02-12[intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups.Eric Anholt
2008-02-12[965] Remove stale brw_state_cache.c comment and function export.Eric Anholt
2008-02-12glapi: Correct prerequisites for gl_and_glX_API.xmlDan Nicholson
The indirect_dispatch.h and indirect_table.c source files use gl_and_glX_API.xml in their generation rather than glX_API.xml, but it wasn't listed in their prerequisites. In turn, gl_and_glX_API.xml uses glX_API.xml, but this is already listed in $(COMMON_GLX).
2008-02-12glapi: Use make automatic variables to clean up the commandsDan Nicholson
Make use of the make automatic variables $@ (the target) and $< (first prerequisite) to clean up the commands for the glapi generation. This improves readability and guards against typos since words are repeated less frequently.
2008-02-12glapi: Use variable for indent and flagsDan Nicholson
Put the path to indent and the flags to call it with in configs/default rather than in the Makefile. This makes it easier to change the values globally.
2008-02-12nouveau: ddx versioning changedBen Skeggs
2008-02-08[directfb] Added RGB444 and RGB555.Claudio Ciccani
Also added color expansion for RGB16, ARGB1555 and ARGB4444.
2008-02-08[glut-directfb] Fixed displaying of single buffered window.Claudio Ciccani
2008-02-08[glut-directfb] When converting microseconds to milliseconds, round to the ↵Claudio Ciccani
next integer.
2008-02-07[965] Flush icache on new batch, not just new context.Eric Anholt
This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit.
2008-02-06[915] Fix COS function using same plan as SIN.Eric Anholt
The previous COS function failed badly outside of [-pi/2, pi/2].
2008-02-06[915] Use a quartic term to improve the accuracy of SIN results.Eric Anholt
This is described in the link in the comment, and is the same technique that r300 uses.
2008-02-06[915] Fix fp SIN function, and use a quadratic approximation instead of Taylor.Eric Anholt
The Taylor series notably fails at producing sin(pi) == 0, which leads to discontinuity every 2*pi. The quadratic gets us sin(pi) == 0 behavior, at the expense of going from 2.4% THD with working Taylor series to 3.8% THD (easily seen on comparative graphs of the two). However, our previous implementation was producing sin(pi) < -1 and worse, so any reasonable approximation is an improvement. This also fixes the repeating behavior, where the previous implementation would repeat sin(x) for x>pi as sin(x % pi) and the opposite for x < -pi.
2008-02-05[965] Bug 14314: assertion failure with with !AIGLX and depth=24 visual.Eric Anholt