summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* st/egl: Allow APIs other than OpenGL.Chia-I Wu2009-11-105-20/+41
| | | | | | | | This is done by stopping linking to libmesagallium.a and removing DRI related stuff. The state tracker an application links to decides the API supported. Signed-off-by: Chia-I Wu <[email protected]>
* egl_softpipe: Clean up Makefile.Chia-I Wu2009-11-101-10/+5
| | | | | | Fix generation of depend. Link to the dynamic libraries used. Signed-off-by: Chia-I Wu <[email protected]>
* gallium: Allow state trackers to install files.Chia-I Wu2009-11-061-1/+5
| | | | | | State trackers like es or vega need to install their libraries. Signed-off-by: Chia-I Wu <[email protected]>
* st/es: Add OpenGL ES state trackers.Chia-I Wu2009-11-053-0/+90
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* gallium/xlib: Fix missing symbols when GLX_INDIRECT_RENDERING is defined.Chia-I Wu2009-11-051-0/+30
| | | | | | | | When GLX_INDIRECT_RENDERING is defined, some symbols are used in libglapi.a but are not defined. Define them through the help of glapitemp.h. Signed-off-by: Chia-I Wu <[email protected]>
* softpipe: Implement PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE for destination.José Fonseca2009-11-051-2/+10
| | | | It is a valid and tested combination on D3D9.
* g3dvl: remove a debug lineCooper Yuan2009-11-051-1/+0
|
* g3dvl: add scissor settingCooper Yuan2009-11-054-0/+13
|
* r300g: add polygon modeMarek Olšák2009-11-045-3/+67
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: fix the size of CS when emitting the fragprog constant bufferMarek Olšák2009-11-041-1/+1
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* r300g: set the correct offset in a colorbuffer surfaceMarek Olšák2009-11-041-8/+9
| | | | | | | | | Suggested by Joakim Sindholt. Also, put flushing of colorbuffers _before_ the framebuffer state setup, suggested by docs. Signed-off-by: Corbin Simpson <[email protected]>
* r300g: add color channel maskingMarek Olšák2009-11-044-5/+19
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* st/xorg: these flushes shouldn't be necessaryZack Rusin2009-11-041-6/+0
| | | | performance optimization
* util: Remove homegrown Windows KM profiler.José Fonseca2009-11-043-332/+0
| | | | | It's not sampling based so its results are biased towards functions called many times.
* tgsi/ureg: Allow for multiple extended instruction tokens.Michal Krol2009-11-042-75/+94
| | | | | For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling.
* nv50: fix shader emit_tex for cube texturesChristoph Bumiller2009-11-041-14/+36
|
* nv50: add abs-modifier for emit_minmaxChristoph Bumiller2009-11-041-17/+31
|
* nv50: add 3d texture tiling and mip-mappingChristoph Bumiller2009-11-044-37/+114
| | | | | | | | | Mip-mapped 3D textures are not arrays of 2D layers with a mip-map layout like 2D textures, therefore we cannot use image_nr == depth for them. Making use of "volume tiling" modes now, the allowed modes are 0xZY where Z <= 5 and y <= 5.
* llvmpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-031-24/+10
| | | | | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading. Based on Michal's softpipe commit eb699d64ec7057032139baccedcb0694ca41d706.
* llvmpipe: remove old prim_setup draw stageKeith Whitwell2009-11-0310-386/+59
| | | | | | | Everything now goes through the draw_vbuf handler, the same as regular drivers. Based on Keith's commit 4fe0fc3eba1f79beda890a5016359d549bab6ad4.
* llvmpipe: Respect gl_rasterization_rules in primitive setup.José Fonseca2009-11-031-18/+30
| | | | | Based on Michal's identical commit for softpipe (ca9c413647bf9efb5ed770e3a655bc758075aec7).
* python/retrace: Cope with null constant buffers.José Fonseca2009-11-031-1/+1
|
* python/retrace: Add missing colon.José Fonseca2009-11-031-1/+1
|
* tgsi: Up tgsi_exec's control flow nesting to 32.Michal Krol2009-11-031-3/+3
|
* tgsi/ureg: Add negate and swizzle for predicates.Michal Krol2009-11-022-22/+208
|
* gallium/util: add casts to silence warningsBrian Paul2009-11-021-3/+3
|
* tgsi/ureg: Update for gallium interface changes.Michal Krol2009-11-022-22/+69
|
* tgsi: Update for gallium interface changes.Michal Krol2009-11-0210-542/+137
|
* gallium: Cleanup predicate and condition code TGSI tokens.Michal Krol2009-11-022-99/+20
| | | | | | | | | | | | | | | | | | There is little point in having a special TGSI token just to handle predicate register updates. Remove tgsi_dst_register_ext_predicate token and instead use a new PREDICATE register file to update predicates. Actually, the contents of the obsolete token are being moved to tgsi_instruction_ext_predicate, where they should be from the very beginning. Remove the NVIDIA-specific condition code tokens -- nobody uses them and they can be emulated with predicates if needed. Introduce PIPE_CAP_SM3 that indicates whether a driver supports SM3-level instructions, and in particular predicates. Add PIPE_CAP_MAX_PREDICATE_REGISTERS that can be used to query the driver how many predicate registers it supports (currently it would be 1).
* softpipe: Sanitise shader semantic and interpolator handling.Michal Krol2009-11-021-24/+10
| | | | | Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
* nouveau: Assume all texture blankets are linear for now.Younes Manton2009-11-013-2/+7
|
* r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson2009-11-015-14/+28
| | | | Cleared out my git stash.
* r300g: fix geometry corruptionsMaciej Cencora2009-11-011-2/+14
| | | | PVS flush is needed before changing the vertex shader or vertex shader constants.
* r300g: split constant buffer and shader emittionMaciej Cencora2009-11-015-98/+152
|
* r300g: Adopt osiris' PSC data and swizzle.Corbin Simpson2009-11-011-40/+88
| | | | A fair amount more flexible and easier to maintain.
* nv50: handle TGSI_SEMANTIC_FACEChristoph Bumiller2009-11-011-0/+25
|
* nv50: make IF condition safeChristoph Bumiller2009-11-011-1/+3
| | | | | Don't assume that a SET that writes to IF's argument directly precedes the IF.
* nv50: implement TGSI_OPCODE_AND/OR/XORChristoph Bumiller2009-11-011-0/+47
| | | | | Will use AND for gl_FrontFacing, the face input is either 0 or 0xffffffff.
* nv50: fix textures with block size != cppChristoph Bumiller2009-10-312-37/+48
| | | | | | | | | | | First, using width * block size as pitch is evidently wrong if a block contains more than 1 texel. For tiled textures, since a block occupies a contiguous area of memory, y addressing in m2mf has to be done by block index, not the y coordinate itself. This should fix compressed textures.
* nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton2009-10-317-0/+15
|
* nv50: use SIFC also for shader uploadChristoph Bumiller2009-10-313-56/+120
| | | | Adds a more generic SIFC transfer function.
* nv50: make MRTs workChristoph Bumiller2009-10-312-0/+15
| | | | | | | We have to indicate to the hw whether the FP exports multiple colour results. Method 0x121c is used to specify the number of RTs. Also deactivate zeta explicitly if there's no zsbuf.
* r300g: correct the pitch calculation for smaller mipmapsMarek Olšák2009-10-312-7/+2
|
* r300g: pretend NPOT supportMarek Olšák2009-10-311-1/+3
| | | | | It's requires to get GL2.1, therefore, much more piglit tests can be used for testing. Figure out later how to emulate this.
* r300g: fix reading from the destination buffer in blendingMarek Olšák2009-10-311-0/+2
|
* r300g: add precalculating of pixel pitch, add a new NPOT flagMarek Olšák2009-10-313-17/+42
|
* r300g: remove unnecessary assertionsMarek Olšák2009-10-312-5/+2
| | | | Also, correct typos in comments.
* r300g: fix crash in r300_is_texture_referencedMarek Olšák2009-10-312-2/+2
| | | | Also, a subtle fix in emitting a texture state
* softpipe: Respect gl_rasterization_rules in primitive setup.Michal Krol2009-10-301-14/+26
|
* st/xorg: fix scaling ov xv data, plus some cleanupsZack Rusin2009-10-293-28/+57
|