summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glapi: Move dispatch marcos to glapidispatch.h.Chia-I Wu2009-10-234-3983/+4014
| | | | | | dispatch.h is kept as a wrapper to glapidispatch.h. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* mesa/dri: Remove extension_helper.h.Chia-I Wu2009-10-232-6652/+0
| | | | Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* mesa: Enable remap table in core.Chia-I Wu2009-10-2331-546/+66
| | | | | | | | | | | | | This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* mesa/main: Add support for remap table.Chia-I Wu2009-10-236-0/+6416
| | | | | | | This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* st/xorg: lots of fixes related to compositingZack Rusin2009-10-234-93/+109
| | | | | fixes transformations, rendering with multiple bound textures, xrender matrix conversions plus some cleanups
* r600: remove duplicate stride settingAndre Maasikas2009-10-231-4/+0
| | | | | Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
* r600: for position invariant programs reading vert_pos is not always known ↵Andre Maasikas2009-10-231-0/+5
| | | | at this point
* gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell2009-10-2315-346/+11
| | | | | | Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
* cell: typo from ExtSwizzle commitKeith Whitwell2009-10-231-1/+1
|
* gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell2009-10-2326-489/+96
| | | | | | | | | These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
* gallium: remove noise opcodesKeith Whitwell2009-10-2310-77/+20
| | | | | | | | | | | Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
* progs/demos: add fps to multiarbKeith Whitwell2009-10-231-0/+16
|
* r300g: last changes's typo, miss a include fileCooper Yuan2009-10-231-0/+1
|
* r300g: add flush_frontbuffer function to display video surfaceCooper Yuan2009-10-231-1/+51
|
* g3dvl: pass display and screen to g3dvl when creating video private contextCooper Yuan2009-10-233-5/+7
|
* r600: remove remains of old tnl pipelineAlex Deucher2009-10-237-268/+41
|
* r600: fix render size predictionAlex Deucher2009-10-233-20/+20
|
* r600: remove old tnl pipelineAlex Deucher2009-10-232-192/+34
|
* r600: clean up context creationAlex Deucher2009-10-231-102/+100
| | | | Make it more consistent with other radeon drivers.
* Revert "Store clipping distance for user clip planes as part of vertex ↵Ian Romanick2009-10-224-132/+18
| | | | | | | | | | processing" This reverts commit f058b25881e08c9d89a33345e5c84e1357396932. This change is completely wrong in so many ways. When clip distances are generated as part of vertex processing, they must be interpolated to perform clipping. Geometric clipping goes right out the window.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-229-20/+85
|\
| * intel: flush old context before binding new contextBrian Paul2009-10-221-2/+15
| | | | | | | | | | Per the GLX spec, when changing rendering contexts, the old context should first be flushed.
| * glx: don't destroy context immediately if it's currently boundBrian Paul2009-10-221-0/+10
| | | | | | | | | | | | | | According to the GLXDestroyContext() man page, the context should not immediately be destroyed if it's bound to some thread. Wait until it's unbound to really delete it. The code for doing the later part is already present in MakeContextCurrent() so no change was needed there.
| * mesa: code refactoring- new _mesa_finish(), _mesa_flush()Brian Paul2009-10-222-8/+37
| |
| * progs/xdemos: fix command line flag typoBrian Paul2009-10-221-1/+1
| |
| * i965: fix hacked Fallback usage in brw_prepare_vertices()Brian Paul2009-10-222-2/+6
| | | | | | | | | | | | | | | | Setting intel->Fallback = 1 clobbered any fallback state that was already set. Not sure where this hack originated (the git history is a little convoluted). Define and use a new BRW_FALLBACK_DRAW bit instead. This shouldn't break anything and could potentially fix some bugs (but no specific ones are known).
| * intel: define INTEL_FALLBACK_DRIVER for driversBrian Paul2009-10-221-0/+1
| |
| * intel: Fallback field is a bitmask, use GLbitfieldBrian Paul2009-10-223-5/+14
| |
| * i965: remove unused brw_context::tmp_fallback fieldBrian Paul2009-10-221-1/+0
| |
| * i965: remove unused BRW_FALLBACK_TEXTURE bitBrian Paul2009-10-221-1/+1
| | | | | | | | | | The value was probably wrong too. It was the same as INTEL_FALLBACK_DRAW_BUFFER.
* | docs: document 'useprog' debug optionBrian Paul2009-10-221-0/+1
| |
* | mesa: fix up vbo commentsBrian Paul2009-10-221-8/+14
| |
* | mesa: added _mesa_dump_texture()Brian Paul2009-10-222-3/+28
| |
* | st/xorg: fix the makefile when used with new xextprotoZack Rusin2009-10-221-0/+2
| |
* | r300g: Enable more stuff in r300_screen, cleanup comments.Corbin Simpson2009-10-223-16/+23
| | | | | | | | Also enable 24-bit depth buffers without stencil.
* | r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson2009-10-223-23/+74
| |
* | nv50: handle PIPE_TEX_FILTER_ANISO caseChristoph Bumiller2009-10-222-15/+13
| | | | | | | | | | Set the same bits as for linear filtering (in addition to max anisotropy), and 2 unknown bits I've seen set.
* | nouveau: nv30: rewrite so we can render only in depth bufferPatrice Mandin2009-10-221-20/+35
| |
* | nouveau: nv30: use a8r8g8b8 as depth texture format for z24s8Patrice Mandin2009-10-221-4/+4
| |
* | Kill off trident.Corbin Simpson2009-10-2213-2992/+4
| | | | | | | | | | Hm. I could have said "chew trident and spit it out," or perhaps "spear trident," instead. Dohoho.
* | Nuke s3v.Corbin Simpson2009-10-2231-7722/+4
| | | | | | | | As per FDO #17889.
* | r300g: Clean up duplicate code in r300_render.Corbin Simpson2009-10-221-45/+4
| |
* | r300g: Move render functions to r300_render.Corbin Simpson2009-10-224-65/+249
| | | | | | | | Part of the fastpath cleanup.
* | scons: Hack LLVM support on Windows.José Fonseca2009-10-221-2/+43
| | | | | | | | | | Doesn't quite work yet though, as small differences in the compilation flags used when building LLVM and Mesa cause link failures for STL symbols.
* | llvmpipe: Avoid yet another variable size array.José Fonseca2009-10-221-2/+4
| |
* | llvmpipe: Define rdtsc for MSVC.José Fonseca2009-10-221-3/+14
| |
* | llvmpipe: Avoid variable size arrays.José Fonseca2009-10-223-4/+7
| | | | | | | | Not really variable size, but MSVC still doesn't like them.
* | llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.José Fonseca2009-10-221-79/+17
| |
* | llvmpipe: Utility function to double the bit width of a type.José Fonseca2009-10-222-5/+28
| |
* | llvmpipe: Factor vector packing/unpacking to a separate source file.José Fonseca2009-10-225-237/+519
| | | | | | | | | | These functions will be needed to implement many of the 8bit operations, and they are quite complex on its own.