Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [intel] Move bufmgr back to context instead of screen, fixing glthreads. | Eric Anholt | 2007-12-12 | 32 | -655/+504 |
| | | | | | | | | Putting the bufmgr in the screen is not thread-safe since the emit_reloc changes. It also led to a significant performance hit from pthread usage for the attempted thread-safety (up to 12% of a cpu spent on refcounting protection in single-threaded 965). The motivation had been to allow multi-context bufmgr sharing in classic mode, but it wasn't worth the cost. | ||||
* | Block in kernel waiting for fence | Keith Packard | 2007-12-11 | 1 | -1/+1 |
| | |||||
* | Use previous buffer offsets to compute proposed relocations | Keith Packard | 2007-12-11 | 2 | -1/+28 |
| | | | | | This takes advantage of the DRM_BO_HINT_PRESUMED_OFFSET change and allows the kernel to avoid mapping and re-writing buffers when relocations occur. | ||||
* | make sure state token values are fully initialized | Roland Scheidegger | 2007-12-11 | 2 | -2/+2 |
| | |||||
* | [965] Hook up DEBUG_BUFMGR output for bufmgr_fake. | Eric Anholt | 2007-12-10 | 1 | -0/+2 |
| | |||||
* | [965] Convert the driver to dri_bufmgr interface and enable TTM. | Eric Anholt | 2007-12-07 | 40 | -2465/+874 |
| | | | | | | | | | | | | | This is currently believed to work but be a significant performance loss. Performance recovery should be soon to follow. The dri_bo_fake_disable_backing_store() call was added to allow backing store disable like bufmgr_fake.c did, which is a significant performance win (though it's missing the no-fence-subdata part). This commit is a squash merge of the 965-ttm branch, which had some history I wanted to avoid pulling due to noisiness and brokenness at many points for git-bisecting. | ||||
* | [965] Remove dead code in upload_wm_surfaces. | Eric Anholt | 2007-12-07 | 1 | -3/+0 |
| | |||||
* | [965] Move brw_surface_state stack allocation into the function using it. | Eric Anholt | 2007-12-07 | 1 | -30/+28 |
| | |||||
* | i915: fix the error in the previos commit. | Xiang, Haihao | 2007-12-07 | 1 | -1/+1 |
| | |||||
* | i915: Check the program size when uploading a program. fix bug 13494 | Xiang, Haihao | 2007-12-07 | 1 | -6/+8 |
| | |||||
* | Minor followup fixes for the previous commit. | Michel Dänzer | 2007-12-06 | 1 | -1/+4 |
| | |||||
* | Always call dlopen in DriverOpen. | George Nassas | 2007-12-06 | 2 | -2/+7 |
| | | | | | | This increases the reference count for the driver binary, preventing it from getting unloaded prematurely in driDestroyDisplay. See https://bugs.freedesktop.org/show_bug.cgi?id=13541 . | ||||
* | Revert "[965] Add missing flagging of new stage programs for updating stage ↵ | Eric Anholt | 2007-12-05 | 5 | -94/+53 |
| | | | | | | | | | state." I had forgotten part of brw_state_cache.c that made this fix not relevant for master (last_addr comparison and flagging based on cache id). This reverts commit a4642f3d18bdaebaba31e5dee72fe5de9d890ffb. | ||||
* | [965] Add missing flagging of new stage programs for updating stage state. | Eric Anholt | 2007-12-05 | 5 | -53/+94 |
| | | | | | | Otherwise, choosing a new program wouldn't necessarily update the state, and and an old program could be executed, leading to various sorts of pretty pictures or hangs. | ||||
* | Fix endianness bug in _mesa_texstore_argb8888() | Brian | 2007-12-05 | 1 | -11/+13 |
| | | | | | | | On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res Also, clean-up nearby code to match. picked from gallium-0.1 branch | ||||
* | Don't Swap buffer if a DRIDrawable is entirely obscured | Xiang, Haihao | 2007-12-05 | 1 | -0/+3 |
| | | | | by another window. | ||||
* | fix span->facing computation and gl_FrontFacing initialization | Brian | 2007-12-04 | 2 | -6/+5 |
| | |||||
* | Fix gl_FrontFacing compilation problem | Brian | 2007-12-04 | 1 | -1/+2 |
| | |||||
* | [965] Change constant buffer from state structs to plain batch emission. | Eric Anholt | 2007-12-03 | 1 | -40/+22 |
| | | | | Reduces diff to branch which has a relocation in this state emit. | ||||
* | fix DD_TRI_LIGHT_TWOSIDE bug (#13368) | Brian | 2007-12-03 | 1 | -4/+4 |
| | |||||
* | Fix the library name in glw.pc | Dan Nicholson | 2007-12-03 | 1 | -1/+1 |
| | | | | Fix a copy and paste error s/GLU/GLw/ in glw.pc. | ||||
* | added missing quote char | Brian | 2007-12-03 | 1 | -1/+1 |
| | |||||
* | i915: Fix up state changes for i8xx. | Michel Dänzer | 2007-12-03 | 1 | -6/+56 |
| | |||||
* | [intel] Move batch bo_unmap from TTM code to shared, and add more asserts. | Eric Anholt | 2007-11-30 | 3 | -2/+8 |
| | |||||
* | [intel] Add failure path printfs to relocation code and some comments. | Eric Anholt | 2007-11-30 | 1 | -3/+32 |
| | |||||
* | [intel] Simplify TTM relocation code by passing around bufmgr struct. | Eric Anholt | 2007-11-30 | 1 | -24/+26 |
| | |||||
* | [intel] Fix the type and naming of the flags/mask args to TTM functions. | Eric Anholt | 2007-11-30 | 4 | -35/+35 |
| | | | | | The uint64_t flags (as defined by drm.h) were being used as unsigned ints in many places. | ||||
* | [intel] intel_bufmgr_ttm style sanity | Eric Anholt | 2007-11-30 | 1 | -308/+343 |
| | |||||
* | fix-build: remove ctx->_Facing assignment | Brian | 2007-11-30 | 1 | -8/+0 |
| | |||||
* | fix broken two-sided stencil | Brian | 2007-11-30 | 15 | -25/+57 |
| | |||||
* | Updates of some OpenVMS makefiles. | joukj | 2007-11-30 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 154 | -11676/+10687 |
|\ | |||||
| * | i965: if source depth to render target is set, | Xiang, Haihao | 2007-11-30 | 1 | -0/+14 |
| | | | | | | | | it should be handled in fb_write. | ||||
| * | i965: use uncompressed instruction to ensure only | Xiang, Haihao | 2007-11-30 | 1 | -0/+1 |
| | | | | | | | | | | Pixel Mask Copy is modified as the pixel shader thread turns off pixels based on kill instructions. | ||||
| * | [i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake. | Eric Anholt | 2007-11-29 | 3 | -6/+17 |
| | | |||||
| * | New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵ | Brian | 2007-11-29 | 4 | -1/+56 |
| | | | | | | | | t_vb_program.c | ||||
| * | cleanups, comments | Brian | 2007-11-29 | 1 | -27/+28 |
| | | |||||
| * | Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c | Brian | 2007-11-29 | 4 | -102/+101 |
| | | |||||
| * | r200: Fix texture format regression on big endian systems. | Michel Dänzer | 2007-11-28 | 1 | -3/+6 |
| | | | | | | | | | | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=13324 . Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets called for MESA_FORMAT_RGB888. | ||||
| * | i965: update RefCount when using Vertex/Fragment program. | Xiang, Haihao | 2007-11-28 | 1 | -0/+2 |
| | | | | | | | | It makes quake4-demo works well on 965. | ||||
| * | remove drawable from hash table when window is deleted (see bug 13091) | WuNian | 2007-11-27 | 1 | -0/+1 |
| | | |||||
| * | use DEFAULT_SOFTWARE_DEPTH_BITS | Delle | 2007-11-27 | 1 | -9/+11 |
| | | |||||
| * | set fp->UsesKill when emitting OPCODE_KIL | Brian | 2007-11-27 | 1 | -2/+8 |
| | | |||||
| * | improve 24-bit Z to 32-bit Z conversion | Brian | 2007-11-27 | 1 | -2/+3 |
| | | |||||
| * | i965: The jump instruction count is added | Xiang, Haihao | 2007-11-27 | 1 | -1/+1 |
| | | | | | | | | | | | | to IP pre-increment, and should point to the first instruction after the do instruction of the do-while block of code | ||||
| * | i915: Catch cases where not all state is emitted for a new batchbuffer. | Keith Whitwell | 2007-11-26 | 6 | -1/+56 |
| | | | | | | | | This could lead to incorrect rendering or even lockups. | ||||
| * | i915: Some additional blit fixes and assertions. | Michel Dänzer | 2007-11-26 | 1 | -8/+24 |
| | | |||||
| * | libGL: Make sure a valid value is returned for GLX_BIND_TO_MIPMAP_TEXTURE_EXT. | Michel Dänzer | 2007-11-25 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | If the server didn't send a value, assume it's not supported. A more generic solution might be better for this kind of problem, but an attempt for this failed (see https://bugs.freedesktop.org/show_bug.cgi?id=9264) and this allows compiz to work with drivers that support GL_EXT_framebuffer_object. | ||||
| * | intel: Fix relative symlinks. | Michel Dänzer | 2007-11-25 | 2 | -2/+2 |
| | | |||||
| * | Consolidate texture fetch code and use partial derivatives when possible. | Brian | 2007-11-23 | 3 | -75/+79 |
| | |