Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix sis_dri on ia64. | Adam Jackson | 2008-02-15 | 1 | -0/+2 |
| | |||||
* | Fix build on ia64. | Adam Jackson | 2008-02-15 | 1 | -2/+2 |
| | |||||
* | Add IS_915(), simplify IS_9XX() a bit. | Adam Jackson | 2008-02-15 | 2 | -20/+15 |
| | |||||
* | [intel] Bug #13636: Allow recursive buffer mapping in bufmgr_ttm. | Eric Anholt | 2008-02-15 | 2 | -3/+19 |
| | |||||
* | Add E7221 variant to i915. | Adam Jackson | 2008-02-15 | 2 | -0/+6 |
| | |||||
* | Trivial SELinux awareness. Enable with --enable-selinux. | Adam Jackson | 2008-02-15 | 1 | -3/+19 |
| | | | | | Avoids AVC warnings when allocating executable memory by first checking if the current process has permission to do so. | ||||
* | fix bug with generated fragment programs if vertex shader is active | Roland Scheidegger | 2008-02-15 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | i965: don't swizzle fogcoord if FogOption is FOG_NONE. | Xiang, Haihao | 2008-02-15 | 1 | -0/+5 |
| | | | | fix #10788 issue on 965. | ||||
* | i915: set fogcoord to (f,0,0,1). fix #10788 issue on 915. | Xiang, Haihao | 2008-02-15 | 1 | -1/+1 |
| | |||||
* | Add TTM buffer object based texture from pixmap implementation. | Kristian Høgsberg | 2008-02-14 | 5 | -17/+162 |
| | | | | Currently only implemented for intel hw. | ||||
* | Hook up i915 driver to new DRI2 infrastructure. | Kristian Høgsberg | 2008-02-14 | 6 | -45/+277 |
| | |||||
* | Add new DRI2 infrastructure. | Kristian Høgsberg | 2008-02-14 | 2 | -14/+227 |
| | |||||
* | i965: use setup attributes as inputs when allocating registers | Xiang, Haihao | 2008-02-14 | 3 | -3/+4 |
| | | | | for WM payload. fix #10767 | ||||
* | [i965] flip point sprite | Zou Nan hai | 2008-02-14 | 1 | -2/+2 |
| | |||||
* | [i965] gl_FrontFacing support | Zou Nan hai | 2008-02-14 | 1 | -0/+30 |
| | |||||
* | i965: remove unused hal hooks | Dave Airlie | 2008-02-14 | 5 | -114/+0 |
| | | | | These don't appear to have ever been used. | ||||
* | [965] Fix ARB_occlusion_query from intel_screen.c merge. | Eric Anholt | 2008-02-13 | 2 | -6/+14 |
| | | | | | 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. | ||||
* | [intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965. | Eric Anholt | 2008-02-13 | 5 | -374/+207 |
| | | | | | | 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. | ||||
* | When mapping, wait on the buffer's fence, not hardware idle, in bufmgr_fake | Eric Anholt | 2008-02-13 | 1 | -2/+19 |
| | |||||
* | Remove O(n^2) debugging code from non-debug path of dri_bufmgr_fake. | Eric Anholt | 2008-02-13 | 1 | -4/+7 |
| | |||||
* | _mesa_swizzle_ubyt_image: Don't use single swizzle_copy call | Xiang, Haihao | 2008-02-13 | 1 | -0/+1 |
| | | | | if components don't match. fix #13508 | ||||
* | [intel] Remove cached reloc data buffer now that it's not a BO. | Eric Anholt | 2008-02-12 | 1 | -26/+4 |
| | | | | | | 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. | ||||
* | [intel] Fix type of some more flags variables for uint64_t flags. | Eric Anholt | 2008-02-12 | 1 | -2/+3 |
| | | | | Harmless since we don't yet have any bits above 31 for flags. | ||||
* | [intel] Note when BO map/unmap fail with TTM. | Eric Anholt | 2008-02-12 | 1 | -6/+26 |
| | |||||
* | [intel] Fix INTEL_DEBUG=bufmgr after relocation interface fixups. | Eric Anholt | 2008-02-12 | 1 | -2/+1 |
| | |||||
* | [965] Remove stale brw_state_cache.c comment and function export. | Eric Anholt | 2008-02-12 | 2 | -33/+12 |
| | |||||
* | glapi: Correct prerequisites for gl_and_glX_API.xml | Dan Nicholson | 2008-02-12 | 1 | -2/+2 |
| | | | | | | | 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). | ||||
* | glapi: Use make automatic variables to clean up the commands | Dan Nicholson | 2008-02-12 | 1 | -46/+50 |
| | | | | | | | 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. | ||||
* | glapi: Use variable for indent and flags | Dan Nicholson | 2008-02-12 | 1 | -9/+7 |
| | | | | | | 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. | ||||
* | nouveau: ddx versioning changed | Ben Skeggs | 2008-02-12 | 1 | -1/+6 |
| | |||||
* | [directfb] Added RGB444 and RGB555. | Claudio Ciccani | 2008-02-08 | 1 | -13/+75 |
| | | | | Also added color expansion for RGB16, ARGB1555 and ARGB4444. | ||||
* | [965] Flush icache on new batch, not just new context. | Eric Anholt | 2008-02-07 | 1 | -1/+1 |
| | | | | | This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit. | ||||
* | [915] Fix COS function using same plan as SIN. | Eric Anholt | 2008-02-06 | 1 | -35/+63 |
| | | | | The previous COS function failed badly outside of [-pi/2, pi/2]. | ||||
* | [915] Use a quartic term to improve the accuracy of SIN results. | Eric Anholt | 2008-02-06 | 1 | -23/+54 |
| | | | | | This is described in the link in the comment, and is the same technique that r300 uses. | ||||
* | [915] Fix fp SIN function, and use a quadratic approximation instead of Taylor. | Eric Anholt | 2008-02-06 | 1 | -42/+57 |
| | | | | | | | | | | | 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. | ||||
* | [965] Bug 14314: assertion failure with with !AIGLX and depth=24 visual. | Eric Anholt | 2008-02-05 | 1 | -1/+4 |
| | |||||
* | [965] Fix TTM relocation caching overzealousness. | Eric Anholt | 2008-02-05 | 1 | -0/+47 |
| | | | | | | | | | | | | | | The failure mode that was a available was: reloc 1 -> target_buf exec: PRESUMED_OFFSET wrong, buffer migrates, r1 entry updated. reloc 2 -> target_buf exec: suppose buffer migrates again. PRESUMED_OFFSET wrong. r2 entry updated. reloc 1 -> target_buf exec: suppose buffer doesn't migrate. PRESUMED_OFFSET right. no relocations performed. r1 has stale pointer at original location. Failures were reported with OGLconform's VBO test and SPECviewperf90, though I haven't confirmed that this fixes it. | ||||
* | i965: adjust the byte order of clear color. fix #14165 | Xiang, Haihao | 2008-02-05 | 1 | -1/+2 |
| | |||||
* | Replace usage of DRM_BO_FLAG_MEM_TT in intel_regions.c with local/cached. | Eric Anholt | 2008-02-04 | 1 | -2/+8 |
| | | | | | | In addition to potentially binding when it was about to be mapped anyway, failure to use CACHED_MAPPED means eating a full wbinvd on validate. Thanks to airlied for catching this. | ||||
* | Allow first != 0 in mesa CVA handling, and add more error checking. | Eric Anholt | 2008-02-04 | 3 | -9/+27 |
| | |||||
* | [965] Convert brw_draw_upload to managing dri_bos, not gl_buffer_objects. | Eric Anholt | 2008-02-04 | 4 | -209/+126 |
| | | | | | This helps us avoid a bunch of mess with gl_client_arrays that we filled with unused data and confused readers. | ||||
* | [965] Remove dead structure in brw_draw_upload.c. | Eric Anholt | 2008-02-04 | 1 | -24/+0 |
| | |||||
* | [965] Move temporary vbo array storage into the function using it. | Eric Anholt | 2008-02-04 | 2 | -38/+25 |
| | |||||
* | [965] Remove dead brw_vertex_element members. | Eric Anholt | 2008-02-04 | 2 | -5/+0 |
| | |||||
* | [965] Add a wrapper around interleaved copy_array_to_vbo_array for profiling. | Eric Anholt | 2008-02-04 | 1 | -7/+18 |
| | | | | | If compiled with optimization, it shouldn't appear at all, and helps me for now. | ||||
* | [965] Avoid overloaded use of the term 'input' for clarity. | Eric Anholt | 2008-02-04 | 1 | -13/+9 |
| | |||||
* | [965] Replace VEP/VBP state structures with inline batch emits. | Eric Anholt | 2008-02-04 | 2 | -67/+66 |
| | |||||
* | r300: fix isosurf on rs690 | Dave Airlie | 2008-02-04 | 1 | -2/+9 |
| | |||||
* | i965: fix potential NULL pointer dereference. The third region | Xiang, Haihao | 2008-02-03 | 1 | -0/+3 |
| | | | | isn't created at all for 965 | ||||
* | [965] Fix indentation. | Eric Anholt | 2008-02-01 | 1 | -6/+6 |
| |