aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-232-14/+2
|\
| * mesa: remove FBO texture depth/stencil testBrian Paul2009-10-231-12/+0
| | | | | | | | | | The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
| * mesa: fix broken _mesa_str_checksum()Brian Paul2009-10-231-2/+2
| |
* | mesa: simplify att->CubeMapFace assignmentBrian Paul2009-10-231-6/+1
| |
* | mesa: refactor, new print_shader_info()Brian Paul2009-10-231-25/+36
| |
* | mesa: rework error checking code for glGetCompressedTexImage()Brian Paul2009-10-231-48/+122
| | | | | | | | | | | | Do all error checking in new getcompressedteximage_error_check() func. Move some additional PBO checks out of the driver fallbacks into the error checking functions.
* | mesa: remove misplaced VERBOSE_TEXTURE testsBrian Paul2009-10-232-5/+5
| |
* | mesa: more detailed error messages in fbo codeBrian Paul2009-10-231-2/+5
| |
* | Merge remote branch 'origin/mesa_7_6_branch'Eric Anholt2009-10-2314-133/+193
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_fbo.c src/mesa/drivers/dri/intel/intel_mipmap_tree.c src/mesa/drivers/dri/intel/intel_mipmap_tree.h src/mesa/drivers/dri/intel/intel_tex_copy.c src/mesa/drivers/dri/intel/intel_tex_image.c
| * intel: Keep track of x,y offsets in miptrees and use them for blitting.Eric Anholt2009-10-238-140/+118
| | | | | | | | | | | | | | | | | | By just using offsets, we confused the hardware's tiling calculations, resulting in failures in miptree validation and blit clears. Fixes piglit fbo-clearmipmap. Bug #23552. (automatic mipmap generation)
| * mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formatsBrian Paul2009-10-231-1/+9
| | | | | | | | | | Need to return the actual compressed format when the user originally requested a generic compressed format.
| * mesa: added _mesa_compressed_format_to_glenum()Brian Paul2009-10-232-0/+54
| | | | | | | | | | | | Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
| * mesa: change s3tc vs. fxt1 priority when choosing compressed formatsBrian Paul2009-10-231-8/+8
| |
| * ARB prog parser: Fix parameter array size comparisonIan Romanick2009-10-222-2/+2
| | | | | | | | | | | | | | | | Array indexes are invalid when >= the maximum, but array sizes are only in valid when > the maximum. This prevented programs from declaring a single maximum size array. See the piglit vp-max-array test.
* | i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface().Eric Anholt2009-10-231-1/+2
| |
* | glapi: Always build libglapi.a.Chia-I Wu2009-10-2312-19/+24
| | | | | | | | | | | | | | | | This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <[email protected]>
* | 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 <[email protected]>
* | mesa/dri: Remove extension_helper.h.Chia-I Wu2009-10-232-6652/+0
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | mesa: Enable remap table in core.Chia-I Wu2009-10-2327-465/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | 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 <[email protected]>
* | 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 the swizzling parts of ExtSwizzleKeith Whitwell2009-10-231-2/+0
| | | | | | | | | | | | | | | | | | 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-231-8/+15
| | | | | | | | | | | | | | | | | | | | | | 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.
* | 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-227-19/+74
|\|
| * 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.
| * mesa: code refactoring- new _mesa_finish(), _mesa_flush()Brian Paul2009-10-222-8/+37
| |
| * 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.
* | mesa: fix up vbo commentsBrian Paul2009-10-221-8/+14
| |
* | mesa: added _mesa_dump_texture()Brian Paul2009-10-222-3/+28
| |
* | Kill off trident.Corbin Simpson2009-10-229-2988/+0
| | | | | | | | | | Hm. I could have said "chew trident and spit it out," or perhaps "spear trident," instead. Dohoho.
* | Nuke s3v.Corbin Simpson2009-10-2228-7719/+1
| | | | | | | | As per FDO #17889.
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-224-7/+80
|\| | | | | | | git+ssh://[email protected]/git/mesa/mesa
| * r600: set barrier for tex inst if dst is used earlier, might overwrite it ↵Andre Maasikas2009-10-221-2/+25
| | | | | | | | otherwise
| * r600: need to export something from PSAndre Maasikas2009-10-222-2/+19
| | | | | | | | | | | | | | Also avoids empty shader for "END" - seems to be somewhat valid fp Maybe this can be done differently in the future (fake FRAG_RESULT_COLOR already in Map_Fragment_Program() or is there a way to program the chip to not hang in case of no exports.
| * r600: add beginnings of ARL instructionAndre Maasikas2009-10-222-3/+33
| |
| * mesa: Fix Mac OS build.Vinson Lee2009-10-201-0/+3
| | | | | | | | | | strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.
* | mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul2009-10-212-2/+77
| |
* | intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).Eric Anholt2009-10-201-1/+1
| | | | | | | | Bug #24435
* | meta: Fix the BufferSubData in meta clear to be BufferData.Eric Anholt2009-10-201-3/+2
| | | | | | | | | | Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The other meta code could probably also use the same treatment.
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-1910-231/+250
|\| | | | | | | | | | | git+ssh://[email protected]/git/mesa/mesa regenerated lex.yy.c