summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Force off ZTOP optimizations for now.Corbin Simpson2009-08-181-1/+2
|
* r300g: Utilize DONTBLOCK.Corbin Simpson2009-08-181-8/+19
| | | | Also ALGYRHYTHMS.
* radeon-gallium: Oh, look, we *do* already support DONTBLOCK.Corbin Simpson2009-08-181-6/+5
| | | | Well, okay, the kernel doesn't, but that's no excuse for us! :3
* r300g: Massively cleanup OQ.Corbin Simpson2009-08-186-29/+174
| | | | Still broken, but compiles cleaner, behaves better, etc.
* r300g: Add high_second_pipe cap for R3xx chipsets.Corbin Simpson2009-08-182-1/+11
| | | | | This name is totally subject to change if ever I need to separate R3xx for some other reason.
* radeon-gallium: Stop using outdated ioctls.Corbin Simpson2009-08-181-11/+3
|
* Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson2009-08-186-2/+46
| | | | | | | | | | This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-187-6/+44
|\
| * tgsi/ppc: we don't implement saturation modes yetBrian Paul2009-08-181-0/+5
| |
| * tgsi/sse: we don't implement saturation modes yetBrian Paul2009-08-181-0/+4
| | | | | | | | Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
| * mesa: when emitting vertex program fog, set yzw=0,0,1Brian Paul2009-08-181-0/+2
| | | | | | | | Fixes piglit fp-fog failure with gallium.
| * progs/demos: print more info in fbotexture.cBrian Paul2009-08-141-4/+24
| |
| * gallium: Always map for READ flag when DISCARD is not set.José Fonseca2009-08-141-0/+7
| | | | | | | | | | | | | | | | | | | | This prevents the driver from discarding a buffer when the whole buffer is mapped for writing, but only a portion is effectively written. This is a temporary fix, because WRITE shouldn't imply DISCARD. The full fix implies using PIPE_BUFFER_USAGE_DISCARD, throughout the code, and will go only into master.
| * trace: Remove space next to the class attribute of the trace.José Fonseca2009-08-141-1/+1
| |
| * python/retrace: Open bz2 files correctly.José Fonseca2009-08-141-1/+1
| |
* | egl/xlib: move call to create_configs() after we set the Xdpy fieldBrian Paul2009-08-181-2/+2
| |
* | mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS queryBrian Paul2009-08-182-1/+5
| |
* | radeon: balance dma buffer mappingPauli Nieminen2009-08-181-0/+4
| | | | | | | | | | In radeonRefillCurrentDmaRegion() make sure we unmap the previous buffer.
* | egl: Create the front texture the properlyJakob Bornecrantz2009-08-181-25/+9
| |
* | r300: Movde debug output from stdout to stderr in copiler.Pauli Nieminen2009-08-181-8/+8
| | | | | | | | Signed-off-by: Pauli Nieminen <[email protected]>
* | r200: make use of DMA buffers for Elts a lot better.Dave Airlie2009-08-183-11/+18
| | | | | | | | | | | | | | This allows us to return the unused portion of the dma buffer to the allocator instead of wasting nearly 16k a pop. Cherry picked and ported to new code by Pauli.
* | r200: Fix missing offset from elt buffer pointer.Pauli Nieminen2009-08-181-1/+1
| | | | | | | | Signed-off-by: Pauli Nieminen <[email protected]>
* | radeon: Optimize memory handling for dma operations.Pauli Nieminen2009-08-1816-93/+163
| | | | | | | | | | | | | | | | | | | | We keep dma buffer objects in list untill they have been unused for many draw operations. Current limit of having 100 flushes is just guess for good performance/memory trade off. Moving WARN_ONCE macro to common context because it is used in multiple drivers. Signed-off-by: Pauli Nieminen <[email protected]>
* | r300: fix the build on big endianAlex Deucher2009-08-181-1/+1
| |
* | gallium: improved comments, minor whitespace changesBrian Paul2009-08-181-7/+10
| |
* | egl: Remove eglhash.c and eglhash.h.Chia-I Wu2009-08-186-391/+0
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Add back handle checking.Chia-I Wu2009-08-182-2/+116
| | | | | | | | | | | | | | Handle checking was done using hash tables. Now that they are gone, we have to loop over the lists. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Make lookup functions static inline.Chia-I Wu2009-08-183-101/+79
| | | | | | | | | | | | progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Remove hash table for displays.Chia-I Wu2009-08-184-78/+64
| | | | | | | | | | | | | | The hash table was used to map a display to a handle. It is simpler to cast directly. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Remove hash table for surfaces.Chia-I Wu2009-08-183-33/+6
| | | | | | | | | | | | | | The hash table was used to map a surface to a handle. It is simpler to cast directly. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: _eglCloseDriver should be no-op.Chia-I Wu2009-08-183-8/+7
| | | | | | | | | | | | | | Move drv->API.Terminate call to eglTerminate. Remove _eglReleaseDisplayResource as drivers are doing it. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Some per-driver data should be per-display.Chia-I Wu2009-08-1813-95/+138
| | | | | | | | | | | | | | Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Change the way drivers are loaded.Chia-I Wu2009-08-186-103/+199
| | | | | | | | | | | | | | | | | | Driver is chosen and preloaded when eglGetDisplay is called. Later when eglInitialize is called, the same driver is matched to initialize the display. Also, add new, but unused, hooks to EGLDriver to allow a driver to probe a display or unload itself. Signed-off-by: Chia-I Wu <[email protected]>
* | egl: Overhaul driver API.Chia-I Wu2009-08-1825-884/+898
| | | | | | | | | | | | | | | | | | | | | | | | The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <[email protected]>
* | r600: fix buildDave Airlie2009-08-183-1/+4
| |
* | r300: remove warning introduced with OQDave Airlie2009-08-181-1/+0
| |
* | radeon/r200: fix build after OQ commitsDave Airlie2009-08-185-3/+7
| |
* | r300: OQ reworkDave Airlie2009-08-1816-299/+381
| | | | | | | | | | | | | | | | | | | | | | | | Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530.
* | r300: fix missing BEGIN/END batchesDave Airlie2009-08-181-0/+2
| |
* | r300: fix big endian buildDave Airlie2009-08-181-0/+1
| |
* | gallium: memset() tgsi_exec_machine to all zeros in tgsi_exec_machine_create()Brian Paul2009-08-171-8/+2
| | | | | | | | This fixes invalid values for CondStackTop, LoopStackTop, etc.
* | demos/glsl: remove glutInitWindowPosition() callsBrian Paul2009-08-1718-18/+0
| |
* | r600: fix counting error after the last commitAlex Deucher2009-08-171-1/+1
| |
* | r600: make sure the number of indices is validAlex Deucher2009-08-171-1/+54
| | | | | | | | | | | | make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example.
* | radeon: remove RADEON_DEBUG_BO stuffAlex Deucher2009-08-1710-237/+16
| | | | | | | | | | This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
* | nv50: remove a few cases of directly casting struct pipe_contextMaarten Maathuis2009-08-172-3/+3
| |
* | nv50: borrow some flushing code from the ddxMaarten Maathuis2009-08-171-3/+11
| | | | | | | | | | - This fixes neverball corruption. - I'm unsure about what we're actually flushing here.
* | gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.Maarten Maathuis2009-08-171-3/+3
| |
* | nv50: whitespace fixes and deobfuscationMaarten Maathuis2009-08-179-69/+85
| |
* | cell: fix incorrect pipe_transfer testsBrian Paul2009-08-171-2/+4
| | | | | | | | The value is an enum, not a bitmask.