summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [intel] Move bufmgr back to context instead of screen, fixing glthreads.Eric Anholt2007-12-1232-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 fenceKeith Packard2007-12-111-1/+1
|
* Use previous buffer offsets to compute proposed relocationsKeith Packard2007-12-112-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 initializedRoland Scheidegger2007-12-112-2/+2
|
* [965] Hook up DEBUG_BUFMGR output for bufmgr_fake.Eric Anholt2007-12-101-0/+2
|
* [965] Convert the driver to dri_bufmgr interface and enable TTM.Eric Anholt2007-12-0740-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 Anholt2007-12-071-3/+0
|
* [965] Move brw_surface_state stack allocation into the function using it.Eric Anholt2007-12-071-30/+28
|
* i915: fix the error in the previos commit.Xiang, Haihao2007-12-071-1/+1
|
* i915: Check the program size when uploading a program. fix bug 13494Xiang, Haihao2007-12-071-6/+8
|
* Minor followup fixes for the previous commit.Michel Dänzer2007-12-061-1/+4
|
* Always call dlopen in DriverOpen.George Nassas2007-12-062-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 Anholt2007-12-055-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 Anholt2007-12-055-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()Brian2007-12-051-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 obscuredXiang, Haihao2007-12-051-0/+3
| | | | by another window.
* fix span->facing computation and gl_FrontFacing initializationBrian2007-12-042-6/+5
|
* Fix gl_FrontFacing compilation problemBrian2007-12-041-1/+2
|
* [965] Change constant buffer from state structs to plain batch emission.Eric Anholt2007-12-031-40/+22
| | | | Reduces diff to branch which has a relocation in this state emit.
* fix DD_TRI_LIGHT_TWOSIDE bug (#13368)Brian2007-12-031-4/+4
|
* Fix the library name in glw.pcDan Nicholson2007-12-031-1/+1
| | | | Fix a copy and paste error s/GLU/GLw/ in glw.pc.
* added missing quote charBrian2007-12-031-1/+1
|
* i915: Fix up state changes for i8xx.Michel Dänzer2007-12-031-6/+56
|
* [intel] Move batch bo_unmap from TTM code to shared, and add more asserts.Eric Anholt2007-11-303-2/+8
|
* [intel] Add failure path printfs to relocation code and some comments.Eric Anholt2007-11-301-3/+32
|
* [intel] Simplify TTM relocation code by passing around bufmgr struct.Eric Anholt2007-11-301-24/+26
|
* [intel] Fix the type and naming of the flags/mask args to TTM functions.Eric Anholt2007-11-304-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 sanityEric Anholt2007-11-301-308/+343
|
* fix-build: remove ctx->_Facing assignmentBrian2007-11-301-8/+0
|
* fix broken two-sided stencilBrian2007-11-3015-25/+57
|
* Updates of some OpenVMS makefiles.joukj2007-11-301-1/+2
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-30154-11676/+10687
|\
| * i965: if source depth to render target is set,Xiang, Haihao2007-11-301-0/+14
| | | | | | | | it should be handled in fb_write.
| * i965: use uncompressed instruction to ensure onlyXiang, Haihao2007-11-301-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 Anholt2007-11-293-6/+17
| |
| * New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-294-1/+56
| | | | | | | | t_vb_program.c
| * cleanups, commentsBrian2007-11-291-27/+28
| |
| * Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.cBrian2007-11-294-102/+101
| |
| * r200: Fix texture format regression on big endian systems.Michel Dänzer2007-11-281-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, Haihao2007-11-281-0/+2
| | | | | | | | It makes quake4-demo works well on 965.
| * remove drawable from hash table when window is deleted (see bug 13091)WuNian2007-11-271-0/+1
| |
| * use DEFAULT_SOFTWARE_DEPTH_BITSDelle2007-11-271-9/+11
| |
| * set fp->UsesKill when emitting OPCODE_KILBrian2007-11-271-2/+8
| |
| * improve 24-bit Z to 32-bit Z conversionBrian2007-11-271-2/+3
| |
| * i965: The jump instruction count is addedXiang, Haihao2007-11-271-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 Whitwell2007-11-266-1/+56
| | | | | | | | This could lead to incorrect rendering or even lockups.
| * i915: Some additional blit fixes and assertions.Michel Dänzer2007-11-261-8/+24
| |
| * libGL: Make sure a valid value is returned for GLX_BIND_TO_MIPMAP_TEXTURE_EXT.Michel Dänzer2007-11-251-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änzer2007-11-252-2/+2
| |
| * Consolidate texture fetch code and use partial derivatives when possible.Brian2007-11-233-75/+79
| |