summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: avoid flushing depth buffer cache on swapbuffersKeith Whitwell2009-08-292-9/+16
| | | | | | | | | There's no need to push out depth buffer contents on swapbuffers. Note that this change doesn't throw away depth buffer changes, it simply holds them in the cache over calls to swapbuffers. The hope is that swapbuffers will be followed by a clear() which means in that case we won't have to write the changes out.
* llvmpipe: also shortcircuit non-texture tile lookupsKeith Whitwell2009-08-292-18/+31
|
* llvmpipe: shortcircuit repeated lookups of the same tileKeith Whitwell2009-08-293-97/+156
| | | | | | | | | The lp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
* llvmpipe: remove unused vars in lp_setup.cKeith Whitwell2009-08-291-5/+0
|
* llvmpipe: use bitwise logic to setup quad masks in lp_setupKeith Whitwell2009-08-291-25/+40
|
* llvmpipe: simplify flush_spansKeith Whitwell2009-08-291-53/+19
| | | | No loss of performance, but simpler code.
* llvmpipe: make some small steps to flush texture cache less frequentlyKeith Whitwell2009-08-296-35/+70
| | | | No performance gain yet, but the code is a bit cleaner.
* llvmpipe: remove backwards dependency from tilecache to llvmpipeKeith Whitwell2009-08-2914-65/+62
| | | | | | | | The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie llvmpipe). Remove llvmpipe parameter to all the tilecache function calls, and also remove the need to keep a llvmpipe pointer in the sampler structs.
* llvmpipe: Rename preprocessor symbols too.José Fonseca2009-08-2930-113/+113
|
* llvmpipe: Pixel packing/unpacking and loop code generators.José Fonseca2009-08-297-1/+689
| | | | | Just a small proof of concept plus a standalone test app. Not integrated with the rest of the driver yet.
* util: Pixel format database.José Fonseca2009-08-297-0/+2397
| | | | | | | There are some inconsistencies in pipe_format, but above all, there simply aren't enough bits in an enum to conveniently store all information about a pixel format we need to be able to dynamically generate pixel packing/unpacking code.
* llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca2009-08-2956-0/+11080
|
* Put 'extern' first on the line to silence GCC warnings.Ian Romanick2009-08-281-2/+2
|
* i965: Use VBOs in the VBO module on 965, now that we have ARB_map_buffer_range.Eric Anholt2009-08-281-0/+2
| | | | This looks like it's a small win on blender.
* vbo: Fix array pointer calculation for MapBufferRange-mapped vertex data.Eric Anholt2009-08-281-1/+3
| | | | | We would end up with the offset from the start of the mapping rather than the offset from the start of the buffer.
* intel: Add support for GL_ARB_map_buffer_range.Eric Anholt2009-08-285-35/+189
| | | | | Passes glean's bufferObject test, and should provide good performance in the cases applications are expected to use.
* i965: Implement ARB_oq CheckQuery in the intended way.Eric Anholt2009-08-281-6/+1
| | | | | Previously we blocked because I hadn't added the libdrm function. Now it's there, so update your libdrm.
* radeon: Fix swtcl emit pediction.Pauli Nieminen2009-08-294-45/+70
| | | | | | Problem was to find the correct place to run prediction. Only place that is called for every primitive is ALLOC_VERTS so we have to do prediction there before allocation.
* i915g: Add cursor case for scanout layoutJakob Bornecrantz2009-08-281-12/+13
|
* i915g: Don't forget to init buffer ptrsJakob Bornecrantz2009-08-281-2/+2
|
* st/xorg: disable composite accelration for nowZack Rusin2009-08-281-0/+4
|
* st/xorg: bind samplers before compositionZack Rusin2009-08-281-2/+35
|
* st/xorg: normalize coords for the src operands in the vertex shaderZack Rusin2009-08-282-23/+65
|
* radeon: Fix scissors for dri1.Pauli Nieminen2009-08-281-4/+21
| | | | DRI1 has to set scissors in framebuffer coordinates.
* r300g: pretty up the new drm code a bitJoakim Sindholt2009-08-281-7/+7
| | | | As it turns out, I made some boners. This corrects them (I hope)
* st/xorg: If migrating from a sw pixmap to a hw pixmap upload old contentsJakob Bornecrantz2009-08-281-0/+15
|
* st/xorg: Null devPrivate.ptr when unmappingJakob Bornecrantz2009-08-281-0/+1
|
* st/xorg: Fix scons build.Michel Dänzer2009-08-281-0/+1
|
* r300g: support new drm_apiJoakim Sindholt2009-08-282-20/+49
|
* drm_api: Operate on textures instead of buffersJakob Bornecrantz2009-08-2811-235/+223
| | | | | | | | | Most use cases just got the buffer from the texture and then called into one of the get_handle functions. Also with this patch it would be easier to move to a generic function for getting handles from textures and textures from handles, that is exposed via the screen.
* st/xorg: Fix some warningsJakob Bornecrantz2009-08-283-7/+6
|
* st/dri: Fix some warningsJakob Bornecrantz2009-08-283-2/+3
|
* st/xorg: Pass dri driver name as driverName on screenJakob Bornecrantz2009-08-283-7/+4
|
* Revert "st/xorg/dri: Pass texture formats via the DRI2 protocol flags."Jakob Bornecrantz2009-08-282-7/+11
| | | | | | This reverts commit a33e9ea3b9b7ac98d6e9bc385bbbe7eac2eb73d0. As this change breaks both radeon and nouveau
* r100/r200: Bring back old PolygonStripple for DRI1.Pauli Nieminen2009-08-2811-14/+37
| | | | DRI1 didn't have support for command buffer emit for stripple.
* r100/r200: Share PolygonStripple code.Pauli Nieminen2009-08-285-56/+30
|
* r200: Fix piglit paths test.Pauli Nieminen2009-08-282-11/+17
| | | | | Polygon stipple has to go to command buffer because special ioctl is disabled. Piglit doesn't like HyperZ warning so disable it for kms.
* r600: fix scissor also.Dave Airlie2009-08-281-2/+2
| | | | I forgot about r600 being here.
* radeon: fix scissors harder.Dave Airlie2009-08-283-6/+6
| | | | this makes gnome-shell work on r300 for me
* intel: Add support for ARB_copy_buffer.Eric Anholt2009-08-272-2/+93
| | | | Passes glean's bufferObject test for this extension.
* r300: Fix emit prediction to account scissor emitting correctly.Pauli Nieminen2009-08-281-1/+1
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-273-15/+17
|\
| * swrast: fix incorrect tri culling in selection/feedback mode.Brian Paul2009-08-272-7/+9
| | | | | | | | See bug 16866.
| * mesa: direct program debug output to stderr instead of stdoutmarvin242009-08-271-9/+9
| |
* | i915: Fix undefined symbol as of eabe12df44a41e97fb5736959e8864ddbd01be14Eric Anholt2009-08-271-0/+1
| |
* | st/xorg: set vertex and fragment shader for the current opZack Rusin2009-08-271-2/+21
| |
* | st/xorg: bind rasterizer stateZack Rusin2009-08-271-2/+6
| |
* | st/xorg: set blend state for exaZack Rusin2009-08-271-2/+40
| |
* | st/xorg: bind framebuffer and viewport for exaZack Rusin2009-08-275-103/+226
| |
* | st/xorg: create and destroy shader cacheZack Rusin2009-08-272-0/+8
| |