summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_5_branch'Brian Paul2009-07-137-17/+117
|\
| * tgsi: update some assertionsBrian Paul2009-07-101-4/+4
| |
| * tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | Same story as in the tgsi_dump.c code (see prev commit).
| * tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | | | | | | | | | Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future.
| * tgis: implement indirect addressing for destination registersBrian Paul2009-07-106-11/+101
| | | | | | | | Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
* | r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson2009-07-081-6/+1
| | | | | | | | Seriously.
* | r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson2009-07-081-4/+7
| | | | | | | | These will come back in someday, when we can properly use them.
* | r300-gallium: Unify sampler and texture emit.Corbin Simpson2009-07-083-39/+26
| | | | | | | | They have to cross into each other's registers.
* | r300-gallium: Mipmap setup.Corbin Simpson2009-07-082-10/+19
| | | | | | | | (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
* | r300g: Add endian fix to vertex fetcher setup.Corbin Simpson2009-07-081-2/+9
| | | | | | | | As reported and initially tested by MrCooper.
* | gallium: Add endian detection to p_config.Corbin Simpson2009-07-081-0/+13
| |
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-046-124/+261
|\|
| * gallium: Fixes for clobbering stencil values in combined depth/stencil textures.Michel Dänzer2009-07-071-1/+27
| | | | | | | | | | Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
| * wgl: Make the stw_framebuffer destructions threadsafe.José Fonseca2009-07-065-82/+186
| | | | | | | | | | | | | | Ensure no other thread is accessing a framebuffer when it is being destroyed by acquiring both the global and per-framebuffer mutexes. Normal access only needs the global lock to walk the linked list and acquire the per-framebuffer mutex.
| * wgl: Check for multiple threads before GET_CURRENT_CONTEXT.José Fonseca2009-07-061-2/+8
| | | | | | | | | | Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush the first thread context while still in use.
| * wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.José Fonseca2009-07-061-44/+45
| | | | | | | | | | | | | | | | | | | | According to http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it can be masked out by the application. Also there were some weird bogus WM_SIZE 0x0 messages when starting sharedtex_mt which we don't get like this.
* | Merge commit 'origin/openvg-1.0'Zack Rusin2009-07-0650-0/+18857
|\ \
| * | OpenVG 1.0 State TrackerZack Rusin2009-05-0150-0/+18857
| | | | | | | | | | | | Import of the OpenVG 1.0 state tracker for Gallium.
* | | gallium: rearrange some members to avoid memory holes/paddingZack Rusin2009-07-062-8/+8
| | | | | | | | | | | | plus it saves us a cacheline in the cso
* | | pipebuffer: handle possible null pointer dereferenceZack Rusin2009-07-062-0/+4
| | | | | | | | | | | | reported by clang static analyzer
* | | cso: possible null pointer dereferenceZack Rusin2009-07-061-0/+4
| | | | | | | | | | | | reported by clang static analyzer
* | | util: fix possible null pointer usageZack Rusin2009-07-064-11/+46
| | | | | | | | | | | | found by the clang static analyzer
* | | exa: some infrastucture work for accelerating compositeZack Rusin2009-07-065-49/+130
| | |
* | | radeon-gallium: Compile warning fix.Corbin Simpson2009-07-051-1/+1
| | | | | | | | | | | | Fixes flush during validation, in case a buffer is double-validated.
* | | radeon-gallium: Use FLINK to do proper global buffers.Corbin Simpson2009-07-053-2/+26
| | |
* | | radeon-gallium: Wait for BOs before mapping them.Corbin Simpson2009-07-051-0/+2
| | |
* | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-039-26/+96
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * | st/wgl: don't advertise WGL_EXT_swap_interval stringKeith Whitwell2009-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a tweak to a previous fix -- it's not necessary to actually advertise this extension to prevent these games from crashing -- they ignore the extension string anyway. It's sufficient to just have GetProcAddress return some dummy function addresses for SwapInterval. Given we don't really implement this funcitonality, this is a better fix.
| * | wgl: Lookup framebuffers by HWND whenever possible.José Fonseca2009-07-031-0/+10
| | | | | | | | | | | | | | | Some applications create several HDCs for the same window, so spite the WGL API is geared towards HDCs it is not reliable searching by HDC.
| * | util: Increase OutputDebugStringA to 4k.José Fonseca2009-07-011-4/+2
| | | | | | | | | | | | | | | | | | | | | According to http://unixwiz.net/techtips/outputdebugstring.html that's how big the buffer is. The 512bytes limitation is in kernel mode.
| * | st/wgl: dummy implementation of wgl swapinterval extensionKeith Whitwell2009-07-014-0/+63
| | | | | | | | | | | | | | | | | | | | | Required as some applications retrieve and call these functions regardless of the fact that we don't advertise the extension and further more the results of wglGetProcAddress are NULL.
| * | gallium: fix the front face semanticsZack Rusin2009-07-013-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
| * | wgl: Optimize wglGetProcAddress.José Fonseca2009-07-011-6/+6
| | | | | | | | | | | | Do linear search only if prefix matches.
* | | Nuke old trace-drm integration.Corbin Simpson2009-07-021-165/+0
| | | | | | | | | | | | AFAICT nobody will miss it.
* | | r300g: Readd trace driver supportJakob Bornecrantz2009-07-021-0/+5
| | |
* | | i915g: Readd trace driver supportJakob Bornecrantz2009-07-021-0/+5
| | |
* | | trace: Add drm api integrationJakob Bornecrantz2009-07-024-12/+265
| | | | | | | | | | | | | | | | | | This is okay since drm_api.h doesn't have any external dependancies, one could make it only compile on platforms that support drm.
* | | r300g: Fix recursive Draw flush.Corbin Simpson2009-07-012-1/+7
| | | | | | | | | | | | | | | | | | Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3
* | | r300g: Use floats for surface_copy texcoords, use correct src and dest.Corbin Simpson2009-07-011-16/+17
| | | | | | | | | | | | This makes demos/copypix better-looking. Horizontal dimensions are right now.
* | | radeon-gallium: Adapt to drm_api changes.Corbin Simpson2009-07-012-23/+33
| | | | | | | | | | | | Note that trace debugging is temporarily gone. I'll rework it later.
* | | nouveau: return some supported zeta formatsBen Skeggs2009-07-0111-1/+51
| | |
* | | nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs2009-07-016-0/+12
| | |
* | | nouveau: fix build...Ben Skeggs2009-07-011-19/+24
| | |
* | | drm/st: Remove drm_api struct from driversJakob Bornecrantz2009-07-017-12/+33
| | | | | | | | | | | | | | | | | | Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-304-8/+21
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_draw.c
| * | util: Set PIPE_BUFFER_USAGE_FLUSH_EXPLICIT when calling ↵José Fonseca2009-06-301-1/+3
| | | | | | | | | | | | buffer_flush_mapped_range.
| * | gallium: New PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag for ↵José Fonseca2009-06-303-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer_flush_mapped_range. When a buffer was mapped for write and no explicit flush range was provided the existing semantics were that the whole buffer would be flushed, mostly for backwards compatability with non map-buffer-range aware code. However if the buffer was mapped/unmapped with nothing really written -- something that often happens with the vbo -- we were unnecessarily assuming that the whole buffer was written. The new PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag (based from ARB_map_buffer_range 's GL_MAP_FLUSH_EXPLICIT_BIT flag) allows to clearly distinguish the legacy usage from the nothing written usage.
* | | gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul2009-06-304-4/+0
| | | | | | | | | | | | | | | | | | | | | This was only present for the sake of GL_ARB_shadow_ambient which we never implemented in Gallium. If we someday want GL_ARB_shadow_ambient we can implement it in the state tracker by adding a MAD after the relevant TEX instructions.
* | | identity: Create a drm_api wrapperJakob Bornecrantz2009-06-305-1/+230
| | |
* | | drm/st: Return drm_api struct from a functionJakob Bornecrantz2009-06-3023-59/+102
| | |