Tag 'mesa_7_5_rc1' created by Brian Paul <bri...@vmware.com> at 2009-05-08 21:09 +0000
Mesa 7.5 release candidate 1 Changes since mesa_20090313: Adam Jackson (2): intel: Avoid mapping the texture image for CopyTex{,Sub}Image glx: Make glXGetScreenDriver() work for DRI2 Alan Coopersmith (7): r300_cmdbuf.c: convert cast to a form supported by Sun cc mklib improvements for Solaris Convert u_int*_t to C99 standard uint*_t Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc define __builtin_expect for non-gcc compilers in two more glx files Add Solaris to OS'es using X in eglplatform.h egl/main/Makefile: Add dependency of install target on default build target Alan Hourihane (14): slang: if we detect an if/break or if/continue within a loop and we're Revert "slang: if we detect an if/break or if/continue within a loop and we're" slang: redo the last commit for if/break & if/continue tests as it slang: if/else/break & if/else/continue work for unrolled loops mesa: check renderbuffer is defined before use. egl: try harder for eglGetProcAddress() egl: fix comment slang: support uniform arrays slang: initialize the context mesa: bump MAX_PROGRAM_TEMPS to 256 (there's some big shaders out there) slang: ensure structure elements have their array length set mesa: ensure pbo stencil buffers are mapped before use gallium: when using gl_PointCoord ensure we use the correct attribute. demos: ensure display lists are destroyed for next generation Alex Deucher (1): R300: add quadpipe overrides Ben Skeggs (6): st/dri2: use pipe_screen.is_format_supported to choose depth/stencil format nouveau: rewrite winsys in terms of drm_api, support dri2 state tracker nouveau: fix some pipe_buffer reference counting issues nv50: fix typo in nv50_query.c nv50: adapt for new clear interface nv50: fix mrt clear Brian Paul (257): swrast: use better _swrast_compute_lambda() function st: update texture comments softpipe: need to set tc->transfer=NULL after destroying the transfer object softpipe: more texture transfer fixes. st: clean up some if-statment code st: need to free/realloc pipe texture when we're handed image level > last_level tests: remove/update old comments mesa: use the IROUND() macro in pixel packing code glsl: when debug pragma is on, emit comments about function calls/inlines glsl: change GLSL #pragma initialization glslcompiler: added new options to override debug/optimization pragmas docs: updated Mesa extension enum info mesa: linear scan register allocation for shader programs mesa: add new internal state var for window size gallium: remove use of origin_lower_left tgsi: minor comments softpipe: reformatting, comments, minor clean-ups demos: add LDFLAGS for corender target, bug 20844 egl: don't use __FUNCTION__ in error messages gl: update include/GL/glext.h to version 48 glew: fix GLEW_LIB_NAME egl: include stdint.h to get the c99 integer typedefs tgsi: pass zero vector to texture sampler for 1D case instead of NULL st: init the default texture to (0,0,0,1) mesa: minor reformatting, whitespace changes gallium: added util_is_inf_or_nan() function to u_math.h softpipe: use util_is_inf_or_nan() draw: added Nan/Inf assertion in debug code mesa: fix bug in GPU codegen for fixed-function two-sided lighting tgsi: added some helpful debug functions in the tgsi interpreter mesa: minor tweaks in append_token() for printing state var strings glsl: fix texgen state variable tokens in emit_statevars() mesa: fix a recursive display list problem swrast: fix glDrawBuffer(GL_FRONT_AND_BACK) mesa: use correct tex unit lod bias for TXB instruction glsl: implement compiling/linking of separate compilation units demos: added progs/glsl/linktest.c to test linking of separate compilation units swrast: do texture sampling/combining in floating point swrast: general clean-up of texture combine code swrast: refactor depth/shadow sampling code mesa: texture combine clean-ups swrast: use float4_array typedef to simplify the code a bit mesa: switch texel fetch functions from GLchan to GLfloat mesa: convert more texture fetch functions to return GLfloat mesa: simplify ycbcr->rgb conversion code swrast: minor improvements, clean-ups in texcombine code swrast: remove unused parameter swrast: fix bad optimization check swrast: remove old texture_apply() code; always use texture combine code dri: use BorderColor instead of _BorderChan mesa: get rid of gl_texture_object::_BorderChan swrast: remove unused integer lerp functions glsl: fix segfault in linker when vertex or fragment shader was missing mesa: don't call ctx->Driver.Draw/CopyPixels() if width or height is zero mesa: don't call ctx->Driver.ReadPixels() if width or height is zero i965: whitespace changes, comments i965: fix indentation i965: rename scratch_buffer -> scratch_bo to be consistant with other buffers i965: comments, whitespace changes i965: formatting clean-ups i965: remove unneeded #includes i965: comments, clean-up in prepare_wm_surfaces() i965: fix comment typo i965: remove 'nr' param from get_src/dst_reg() functions i965: add support for float literal instruction operands i965: comments for sampling code i965: comments for brw_SAMPLE() mesa: clean up formatting and use 'return' instead of 'break' consistantly mesa: more error message info i965: new and updated comments i965: added new brw_dp_READ_4() function i965: minor code movement, new comment i965: code to debug/dump instruction immediates i965: comments i965: do negation and Abs in get_src_reg_imm() i965: code to setup a constant buffer sampler i965: remove unused code for sampling a constant buffer i965: check-point commit of new constant buffer support i965: change args to get_src_reg() to prep for new constant buffer support i965: fix response length param in brw_dp_READ_4() i965: another checkpoint commit of new constant buffer support i965: s/GL_FALSE/BRW_COMPRESSION_NONE/ i965: added brw_same_reg() i965: more const buffer debug code mesa: replace assertion with conditional in _mesa_opcode_string() glx: remove unused local var in determineTextureFormat() i965: remove unused var mesa: don't normalize spot light direction until validation time mesa: rename some gl_light fields to be clearer mesa: for OPCODE_LIT, use _mesa_pow() instead of exp() and log() mesa: only clear matrix MAT_DIRTY_INVERSE flag when we actually compute the inverse mesa: replace >= with > when testing if we've exceeded max local params mesa: fix parameter counting in ARB vertex/fragment program parsing mesa: in mesa_add_named_constant(), avoid adding duplicate constants softpipe: add additional surface formats in tile cache code mesa: remove extra semicolons mesa: whitespace and comment clean-up mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCE mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new file intel: #include texgetimage.h cell: update clear() code to catch up to gallium changes swrast: fix texture border color interpretation st: rename a helper function st: as with swrast, interpret texture border color according to texture format swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV mode softpipe: clean up the buffer clear and tile cache code a little swrast: fix secondary color add for glBitmap swrast: asst. clean-ups in texcombine code swrast: more texcombine clean-ups swrast: restore !shader check around add_specular() glsl: don't optimize program if MESA_GLSL=nopt docs: document the MESA_GLSL env var, other misc GLSL updates glsl: enable the new linear scan register allocator code mesa: fix incorrect component ordering for sRGB8 texture fetch/store swrast: fix point rendering function selection mesa: add another special/optimized case in _mesa_unpack_depth_span() softpipe: minor debug-help changes in softpipe_transfer_map() st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels() st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal format docs: more info for 7.4 release notes docs: updated Cell driver info docs: bump Gallium version number gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM) mesa: minor datatype changes in optimization code i965: move the fetch_constants() call before setting conditional mod state i965: init current_const[i].index = -1 i965: clean-ups, debug code in brw_wm_glsl.c i965: set BRW_MASK_DISABLE flag in "send" instruction in brw_dp_READ_4() i965: free shader's constant buffer in brwDeleteProgram() mesa: fix potential recursive locking deadlock in _mesa_HashWalk() st: reformatting and clean-ups in texture code st: make loops over 3D texture slices a litte more intuitive st: add const qualifiers, use GL types st: consolidate format->usage computation st: remove comp_byte parameter to st_texture_create() gallium: remove unneeded compressed=0 assignment gallium: remove unneeded compressed=0 assignment st: rearrange some code to be a little more clear st: remove unneeded "is compressed" check st: remove another unneeded 'is compressed' comparison i965simple: remove pipe_texture::compressed reference gallium: updated comments in p_screen.h gallium: change // comment to /* */ style i965: new SURF_INDEX_ macros demos: fix aspect ratio in Reshape() i965: re-org of some of the new constant buffer code gallium: comments for surface_copy(), surface_fill() in p_context.h swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT code gallium: remove pipe_texture::compressed field intel: added screen->dri2.loader null pointer check in intel_flush() i965: added null const_buffer pointer check in update_constant_buffer() mesa: asst. progs/test/Makefile files mesa: reduce makefile output i965: clean-up in prepare_wm_surfaces() i965: remove unused var i965: checkpoint commit: VS constant buffers i965: fix VS constant buffer reads mesa: use standard offsetof() macro mesa: remove NV vertex/fragment program print/debug code mesa: move #define for GL_PROGRAM_BINARY_LENGTH_OES mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functions mesa: merge the prog_src_register::NegateBase and NegateAbs fields glx: added null pointer check in glXGetFBConfigs() tests: another extended swizzle test gallium: new, simple RGBA surface create/destroy helpers st: decompress_with_blit() path for glGetTexImage(). st: st_equal_formats() function to compare gallium/GL pixel formats st: check for fast memcpy path in decompress_with_blit() st: remove XXX comment demos: use larger buffer for snprintf() call, see bug 21220 mesa: add distclean target to top-level Makefile i965: fix const buffer temp register clobbering i965: handle address reg in get_dst() i965: implement relative addressing for VS constant buffer reads i965: const buffer debug code (disabled) i965: minor debug output changes i965: disable using immediate values for MOV instructions Merge branch 'register-negate' docs: separate compilation units in 7.5 demos: set init window size, not pos demos: move glewInit() after glutCreateWindow() demos: move glewInit() call, fixes crash/bug 21247 i965: updated CURBE allocation code mesa: minor tweak to error message dri: __driUtilMessage(): not all messages are errors dri: build DRI swrast driver too mesa: build a float[4] value in _mesa_add_sampler() to avoid random values i915: fix broken indirect constant buffer reads mesa: suppress extra newline intel: make sure polygon mode is set properly in intel_clear_tris() demos: new glsl/array.c demo demos: fix usage text mesa: add switch case for GL_VERTEX_STATE_PROGRAM_NV in _mesa_new_program() demos: fix incorrect assertion intel: #include polygon.h to silence warning i965: use region width, height in brw_update_renderbuffer_surface() demos: move glslnoise.c demo to glsl/noise2.c demos: move streaming_rect.c demo to tests/ demos: move glutfx demo to tests/ demos: move texdown.c to tests/ demos: move tests/fbotexture.c to demos/ demos: move tests/projtex.c to demos/ demos: move tests/dinoshade.c to demos/ demos: move demos/occlude.c (old HP extension) to tests demos: move demos/texobj.c to tests/ docs: removed/added demo programs demos: updated .gitignore list demos: added glsl/texaaline.c program and overhaul the Makefile swrast: fix pointer arithmetic error in get_texel_array() softpipe: fix softpipe_is_buffer/texture_referenced() regression st: report GL_OUT_OF_MEMORY instead of asserting demos: check that GL version is 2.0 or higher i965: const correctness mesa: print parameter list dirty state flag mask mesa: print internal.current[i] attrib mesa: new _NEW_PROGRAM_CONSTANTS flag st: do away with dynamic state atom for const buffers st: use the static atoms[] array directly swrast: simplify state update logic for fragment shader const buffers st: play it safe for now and check _NEW_PROGRAM for shader const buffer atom st: also check _NEW_PROGRAM flag for vertex shader constant buffers mesa: Fix buffer overflow when parsing generic vertex attributes. mesa: fix _mesa_dump_textures(), add null ptr check st: comments, license, copyright gallium: license, copyright mesa: fix comment typo mesa: minor state-update changes in histogram code i965: revert part of commit 4f4907d69f9020ce17aef21b6431d2dd65e01982 mesa: more informative error messages i965: use drm_intel_gem_bo_map/unmap_gtt() when possible, otherwise dri_bo_subdata() mesa: fix up error/warning/debug output newlines tgis: SSE code generator doesn't yet support indirect addressing of temp regs i965: only upload constant buffer data when we actually need the const buffer demos: asst. updates, clean-ups swrast: add missing break in clamp_rect_coord_linear() i965: avoid segfault in intel_update_renderbuffers() if using DRI1 softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced() mesa: added _mesa_check_soa_dependencies() function tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled) i915simple: remove duplicated i915_context.c in C_SOURCES demos: silence warning mesa: update linux-static, linux-x86-static configs docs: notes about new version number meaning in release notes docs: bring in 7.4 doc updates from mesa_7_4_branch docs: asst. updates for 7.5 release docs: fix typo configs: bump MESA_MINOR to 5 mesa: remove -devel suffix from version mesa: fix state validation bug for glCopyTex[Sub]Image() st: create renderbuffer's pipe_surface in st_render_texture() glx: replace Xmalloc() calls with Xcalloc() gallium: fix texcoords for cubemap mipmap generation mesa: unmap buffer objects during context tear-down swrast: fix span clipping bug mesa: set version to 7.5-rc1 mesa: omit files that were removed from git Carl-Johan Kjellander (1): egl: Fix newline typo in Makefiles Christoph Bumiller (1): nv50: fix viewport state update Corbin Simpson (101): r300-gallium: Fix spacing. r300-gallium: Always rasterize at least one color. r300-gallium: r500-fs: Add writemasks and some flexibility for MOV/SWZ. r300-gallium: Actually set stride when creating textures. dri2-gallium: Add occlusion query support at the state tracker level. r300-gallium: r500-fs: Setup immediates. radeon-gallium: Add my R580 to the xorg PCI ID list. r300-gallium: Fix vertex memory offsets. r300-gallium: Emit constants as floats, not uints. r300-gallium: r500-fs: Actually handle consts and imms correctly. r300-gallium: r500-fs: Add dot products. r300-gallium: r500-fs: Add DPH. r300-gallium: r500-fs: Stub out the simple scalar ops. r300-gallium: r500-fs: MUL. r300-gallium: Cleanup a few things. r300-gallium: r500-fs: Working ADD and MUL, add more sop stuff. r300-gallium: r500-fs: Clamp only when saturation flags are set. r300-gallium: r500-fs: Add ABS. r300-gallium: Fix relocation for textures. r300-gallium: r500-fs: CMP/MOV/SWZ, negation, ADD/MAD/MUL/SUB. r300-gallium: Clean up some code, un-special-case scalar ops. r300-gallium: r500-fs: Texture insts, ABS, moar comments. r300-gallium: r500-fs: Properly set up TEX/OUT. r300-gallium: More query stuff. r300-gallium: r500-fs: Fixup immediate->constant counting a bit. r300-gallium: Debugging for the more sensitive card registers. r300-gallium: Quick little cleanup of surface_fill state. r300-gallium: Emit invariant state, no matter what. r300-gallium: Move all unsorted state into invariant state. r300-gallium: Fixup registers for viewport state. r300-gallium: Viewport state storage. r300-gallium: Emit viewport state. r300-gallium: A bit more invariant state. r300-gallium: Clean up some emit, and some state handlers. r300-gallium: Clean up r300_swtcl_emit. r300-gallium: Properly offset scissors. r300-gallium: Clean up surface_fill, prep for surface_copy code. r300-gallium: Simplify/neaten up packet3. r300-gallium: Put r300_cs_inlines to bed. r300-gallium: Misspelled macro name. r300-gallium: r500-fs: Remove unused variable. r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking. r300-gallium: r300-fs: Moar. r300-gallium: Use CMP for MOV on r300. r300-gallium: Add some surface_copy. r300-gallium: Handful of small leftovers. r300-gallium: Fix strange build error. r300-gallium: Fix hardlock when no colors or textures are present. r300-gallium: Emit the "right" sequence of colors. r300-gallium: Allow surface_fill to clear depth/stencil buffers too. r300-gallium: Properly redo shaders when constant buffer changes size. r300-gallium: r500-fs: If recompiling a shader, overwrite old insts. r300-gallium: RGBA, not ARGB, after all. r300-gallium: Stubs for vertex shaders. r300-gallium: Add vertex shader emit. r300-gallium: Moar vert shader emit. r300-gallium: Backwards test. r300-gallium: Add vertex shader for surface_copy. r300-gallium: Fix compiler warnings. r300-gallium: Translate vertex shader magic numbers. r300-gallium: r500 surface_copy fragment shader. r300-gallium: Clean up compile warnings and strict compile errors. radeon: Fix compile warnings, compile errors. Add scons build support for radeon/r300. r300-gallium: Move swtcl_emit to render to reflect its true purpose. r300-gallium: Fix bad register write. radeon: If the CS emit fails, dump it to stderr. r300-gallium: Calculate vert shader inputs for HW TCL. radeon: A bit of indent and line break cleanup. r300-gallium: Update clear() code. r300-gallium: vs: Expand instruction emission. r300-gallium: vs: Moar vert shaders. r300-gallium: Update state handlers/setters for vertex shaders. r300-gallium: Properly interface with Draw for vert shaders. r300-gallium: Re-translate shaders if constants change. r300-gallium: vs: Use a tab to properly set up OVM. r300-gallium: vp: Moar. r300-gallium: Properly setup HW/SW TCL controls. r300-gallium: Fix surface_copy too. r300-gallium: vs: Add MUL. r300-gallium: vs: Add MAD. r300-gallium: Add vertex shader constant emit. r300-gallium: Properly emit indexbufs. r300-gallium: Clean up vertex format setup. r300-gallium: Finish up cleanup of vertex format state. r300-gallium: Split up vertex format tallying for HW and SW TCL. r300-gallium: vs: Dot products. r300-gallium: Point size is at OVM position 15, not 1. r300-gallium: Don't use indexbufs for now. r300-gallium: Use viewport state. r300-gallium: Clean up FB state emit. r300-gallium: Fix vertex shader OVM counting. r300-gallium: Correctly flush Draw. radeon: Use PCI_MATCH_ANY for xorg driver. radeon-r300: Fix a bit of breakage. radeon: Fix cast and comment. r300-gallium: Don't bother with conditional double define. r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI. r300-gallium, radeon-winsys: Space accounting. r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe. radeon: Don't even bother with things too big to fit into our card. Dan Nicholson (4): Use the specified X11 headers for xlib mesa autoconf: Clean up some m4 usage autoconf: Add switch for optional EGL egl: Don't install demodriver Eric Anholt (18): Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format. i965: Fix occlusion query when no other WM state updates occur. i965: Fix trailing "d" in debug output for 3DSTATE_VERTEX_ELEMENTS. i965: Clean up a bit of mess with unneeded variables in emit_interp. i965: Fix fog coordinate g,b,a values when glFrontFacing isn't used. i965: Fix glFrontFacing in twoside GLSL demo. intel: Clean up some a leftover from sedding of bufmgr context->screen move. i965: Use GTT maps when available to upload vertex arrays and system VBOs. intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls. intel: Fix segfault when doing SW mipmap generation with a PBO texture upload. mesa: Update texenv program when _NEW_ARRAYS is updated as well. i915: Add decode of dest buffer variables (destination format) i915: Use DEBUG_WM (like 965) for printing the fragment program out. i965: Clean up output of WM SS state dump, and add format output. intel: Add support for argb1555, argb4444 FBOs and fix rgb565 fbo readpixels. i915: Remove dead i830TexEnv and i915TexEnv. intel: Take advantage of GL_READ_ONLY_ARB to map to GEM bo_map write flag. i965: Support drawing to FBO cube faces other than positive X. Ian Romanick (10): DRI2: Provide an interface for drivers to flush front-buffer rendering intel / DRI2: Track and flush front-buffer rendering DRI2: Assume that there is always a front buffer intel / DRI2: Accept fake front-buffer from loader DRI2: Don't fault on NULL DrawBuffer DRI2: Implement protocol for DRI2GetBuffersWithFormat DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormat intel / DRI2: When available, use DRI2GetBuffersWithFormat intel: Initialize region ptr to prevent assertion in intel_region_reference intel: Fix more issues with the combined depth-stencil attachment Jakob Bornecrantz (39): progs/tests: Ignores progs/trivial: Ignores trace: Dump buffer data via buffer writes trace: Re-init refcounters just incase trace: Fix memory leak progs/trivial: Add tri-fbo-tex-mip progs/tests: Update mipmap_limits to show image and colors progs/trivial: Add quad-tex-sub progs/trivial: Make quad-tex-sub repeat patterns st/gl: Only transfer needed parts in st_TexSubimage trace: Formalize on a standard for data size pair trace: Fix args to buffer write debug: Add function for writing transfers to files progs/tests: Build texcompress2 with scons st/egl: Fix warning st/egl: Set dpms to on when showing screens progs: Ignores st: If the hw supports it do hw conversion of texture uploads mesa: Report name for missing s3tc functions util: Fix surface usage progs/tests: Make texcompress2 get texture trace: Simplify trace_buffer function trace: Fix is_referenced functions trace: Keep screen objects on lists xlib/trace: Fixup xlib trace progs/glsl: Update ignore progs/demos: Update ignore autoconf: Build gallium softpipe when driver=xlib st: Wait to create bitmap transfer until needed trace: Enable dumping to be turned on and off trace: Add initializer for static variables util: Add more entry points for dumping to bmp gallium-intel: Link dri2 driver with softpipe gallium-intel: Cache software switch gallium-intel: Fix warning gallium-intel: Fix build of dri driver gallium-intel: Create a i965_dri.so symlink progs/tests: Add mipmap_comp for mipmap testing with compressed textures progs/tests: Update ignores Jeremy Huddleston (2): Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined Updated CPU_TO_LE32 to work on darwin José Fonseca (155): progs: Try to read the texture from the current dir, if full path fails. scons: Promote declaration-after-statement to error. Detect more warnings. util: bitmask data type. util: Realloc takes bytes. tgsi: Restore statement ordering. progs: Build the wgl examples with scons. gallium: Explain what happens if buffer_flush_mapped_range isn't called. util: Add a new macro for testing empty lists. scons: Support building with the Windows SDK. scons: Move MSVC specific away from Mingw builds. draw: Use size_t (for x86_64). util: Don't use x86 asm on x86_64. util: Use size_t (for x86_64). wgl: Use SetWindowLongPtr. wgl: Use right integer type. python: s/num_cbufs/nr_cbufs/ python: s/pitch/stride/ python: Tweak instructions. python: Allow to dump all images to disk. python: List packages needed on debian systems. python: Use Ansi escape codes regardless of output is a tty or not. python/trace: Control the interpreter from command line options. python: Use a sequential number to identify each call. python/retrace: Use the call no when dumping images. trace: Number calls. trace: Update readme. python: Show call no in image window. translate: Avoid unused variable warning. softpipe: Include declarations. trace: Defer the cast to after the check for enabled trace. python: Catchup buffer_destroy interface change. python: Pass transfers to the tile functions. python: Transfer only the requested tile. python: Use pipe_buffer_read/write. python: Drop st_buffer. python: Make swig bindings python independent. python: Fix the texture test. python: Don't bypass vs/clip/viewport by default. mesa: Use the python executable from sys.executable. mesa: Support Z24S8 wherever S8Z24 is supported. util: Support Z24S8/Z24X8. wgl: Remove unused cruft. wgl: Don't flush surface if it is NULL. scons: Get python extensions building correctly on windows. python: Update instructions for windows. python: Dont touch old pipe_winsys. python: Hide away the surface usage flags. python: Set the surface GPU access flags. python: Set correct transfer mode. python: Force unsigned comparison. python/test: Move the image comparison logic to the base test class. python/test: Move the test description logic to the base class. python: Don't use deprecated clear_value field. python: Cleanup. python: Read rgba8 with a single transfer. python: Use depth buffer in the triangle example. gallium: Move pf_is_depth_stencil to p_format.h. python: Add nblocksx/y members to surfaces. python: Make get/put_tile_raw more user friendlier. python/test: More descriptive test name. python/test: New test for texture transfers. python/test: Dump a classification tree of the results when finished testing. python/test: Flush stdout to keep in sync with debug info on stderr. python/test: Infer type (continuous/discrete) from object type. python/test: Limit tree depth. util: Enable assembly breakpointt on x86_64. python/test: New test for rendering into textures. python/test: Set executable permission bit. python/test: Dump classification tree to text file too. python/test: Cleanup. python/test: Ignore test output files. python/test: New test for surface copies. util: Lookup symbol names from addresses. util: Fix x86_64 build. r300-gallium: Skeleton for integrating into the python statetracker. mesa: Fix orientation adjustment for reading stencil pixels. stw: Choose a color buffer format that matches the visual. mesa: Don't attempt to free the dummy program. trace: Match pipe_context::clear prototype. trace: Simplify cast wrappers. wgl: Integrate the trace driver on debug builds. python: Cope with null surfaces. python: Fix method renaming. python/retrace: Handle recent traces. trace: Make call no global. trace: Make calls dumping threadsafe. python/retrace: Allow to specify the range of calls of interest. python/retrace: Use colors on windows console. python: Don't try to finish a null fence. python/retrace: Try to cope with failures creating textures. wgl: Add const qualifier to global constant data. stw: Normalize symbols prefix. stw: Use wglext.h's defines and prototypes. wgl: More symbol naming normalization. wgl: Move the framebuffer list to the device. Avoid recursive locking. wgl: Catch the attempt of releasing a context which is not current. wgl: Use hooks instead of subclassing the window. wgl: Use more stw_* names. gdi: Use stw_* names. gallium: Use "flags" consistently. trace: Use 'flags' name consistently. wgl: Remove unused member. trace: Dump the fence, not its pointer. python: Fix bad pointer. stw: Free the mesa framebuffer. stw: Don't make assumptions about integer size. stw: Reorder the pixelformats, so that no alpha pixelformats get chosen before alpha. wgl: Combine alpha pixelformat info in color. wgl: Move pixel format information into device structure. mesa: Don't define WGL_ARB_extensions_string in mesa_wgl.h. progs: Port glxinfo to wgl. wgl: Slightly simplify pixelformat creation. wgl: Keep copies of the PIXELFORMATDESCRIPTOR structures. wgl: Walk through the pixel formats combinations. wgl: Query the screen for supported formats. wgl: Note down the gallium pixel formats, instead of re-guessing them. wgl: Protect the framebuffer with a lock. mesa: Fix gcc assembly enable logic. scons: Recent Windows DDK do not include LIB.EXE. scons: Support winddk 6001.18002. mesa: TGSI translation of multiple render targets. Merge branch 'gallium-s3tc' scons: Cleanup. python/retrace: Rename module as it conflicts with a builtin module. wgl: Flip the pixel format order. wgl: Put commas in the right places. pipe: Fix InterlockedDecrement usage. pipe: Get the p_atomic_dec_zero logic right this time. softpipe: Remove softpipe_winsys. softpipe: Fix softpipe_is_texture_referenced prototype. softpipe: Simplify softpipe_create's prototype. mesa: Handle failure to create a transfer. mesa: Correct the gl_dispatch_stub_xxx prototypes. wgl: Don't implement broken gl_dispatch_stub_xxx. gdi: Don't implement broken gl_dispatch_stub_xxx. stw: Use a statically initiallized gl proc table. mesa: Call _mesa_snprintf instead of snprintf. util: Remove unix includes. wgl: Implement WGL_EXT_extensions_string extension. wgl: Cope with pre-existing threads. wgl: Store current HDC/HGLRC in stw_context. pb: Dump the fenced buffer sizes. pb: Save the stack backtrace when creating/mapping a debug buffer. wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL. wgl: Include alpha bits in pixel format's cColorBits field. util: Limit the stack walk to avoid referencing undefined memory. scons: Don't use deprecated Options. wgl: Implemente SwapLayerBuffers. wgl: Implement ShareLists. mesa: Make _mesa_share_state thread safe. wgl: Remove unused variable. wgl: Add assertion for missing function. wgl: Enforce a minimum 1x1 framebuffer size. wgl: Export pixelformats with accumulation bits. wgl: Grow the maximum number of pixel formats to cope with the new accum pixel formats. Keith Whitwell (61): mesa/st: don't call finish in st_glFlush() mesa/st: add check for null front renderbuffer gallium: no need to keep a copy of shader tokens in state tracker gallium: consolidate bypass_vs and bypass_clipping flags pipe/atomic: clean up #ifdef maze draw: use AOS_ERROR rather than clash-prone ERROR() macro util: avoid clashprone UINT, UBYTE enum values pipe/atomic: dont use ms interlock calls from gcc tests: add simplest mipgen test st: call _glapi_check_multithread from st_make_current gallium/util: add upload manager helper module gallium: remove remaining references to origin_lower_left progs/fp: pass texcoord to triangle, add a test shader draw: update aa points shader comment vpglsl: add missing SConscript progs/trivial: draw non-interleaved arrays out of one vbo progs/trivial: add fflushes for cygwin mesa/st: bump gallium version to 0.3 progs/vp: add pointsize + clamp test progs/vp: more psiz tests vbo: cache last dlist vertex in malloced memory gallium: add #warning to mutex-based atomic implementation util: flush stdout before emitting debug_printf on stderr gallium: simplify further the logic for selecting mutex implementation util: don't set unused blend state tests/mipmap_view: add linear/nearest key st: assert on pipe_buffer_create failure trivial/tri-viewport.c - add guide lines, more triangles, make interactive mesa/progs: fix scons build after recent demo moves trivial/tri_viewport: add width/height keys trivial/tri_viewport: add space==reset key trivial/tri-viewport: add more out-of-bounds background quads trivial/tri-viewport: add keys for frustrum/ortho and z coordinate mesa: protect driver.flush() with FLUSH_CURRENT tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture demos/readpix: add option to draw triangle instead of drawpix shadowtex: fflush stdout for cygwin pipebuffer: don't fail when validating mapped buffers mesa/st: fix incorrect face, level in compress_with_blit util/time: add util_time_sleep() for windows userspace mesa/st: workaround for crashes in st_copy_texsubimage util/indices: remove debug prints progs: add fflushes for cygwin mesa/st: translate VERT_ATTRIB_GENERIC8..15 in st_translate_vertex_program gallium/draw: add ability to print out active pipeline stages mesa/st: remove duplicate offset calculation mesa/main: protect driver.finish with FLUSH_CURRENT mesa/st: protect internal flushes with FLUSH_CURRENT trivial: add line-flat.c gallium/draw: cope with unused vertex_elements progs/trivial: add vbo-noninterleaved test gallium/tgsi: hack around linker/archiver breakage mesa/main: set PREFER_DP4 to match position_invarient code mesa: more complete fix for transform_invarient glitches progs/trivial: add test for vertex program invarient transform stw: fix potential uninitialized use of curctx scons: mingw is broken with -O1 and higher util/upload: catch failures to map_range and return error mesa/st: cope with non-ibo index data in st_draw_feedback.c mesa/st: remove redundant call to st_finish in CopyTexSubImage mesa/st: keep surface_copy arguments positive Lars Henning Wendt (1): mesa: fix bad mask bit in clip plane restore code for glPopAttrib() Maciej Cencora (4): r300: cleanup swtcl a little r300: fix register-negate branch merge regression r300: r300 hw doesn't support any input modifiers in tex insts r300: always emit output insts after all KIL insts Mathias Gottschlag (3): r300-gallium: Fix CS size mismatch r300-gallium: Set framebuffer pitch on every framebuffer change. r300-gallium: Add a draw_flush() to r300_flush(). Micah Dowty (1): util: Add debug_printf_once Michal Krol (84): vbo: Silence integer-to-pointer warnings. mesa: Silence compiler warnings. wgl: Port glthreads to WGL. tgsi: Document NV_vertex_program3 instruction set operations.` tgsi: Begin documenting NV_gpu_program4 instruction set operations. softpipe: Use p_atomic_read, not atomic_read. gallium: Include p_compiler.h for integer types. gallium: pipe_mutex_init() is of type void. gallium: Use macro parameter names consistently. gallium: Implement atomic interface for windows user mode subsystem. gallium: Implement atomic for MSVC on x86. python: size is not a member of pipe_constant_buffer any more. python: pipe_vertex_buffer's pitch member has been renamed to stride. python: Use transfer object to read from a surface. tgsi: Silence const pointer cast warnings. python: Do not pass screen object to pipe_buffer_reference. python: Include `p_winsys_screen.h'. python: Fix build after refcount rework. gallium: Provide unprotected atomic implementation for display and miniport interfaces. gallium: Use `_new' name, `new' is a reserved keyword in C++. python: Return on unknown pixel format. tgsi: Begin documenting NV_geometry_program4 instruction set operations. tgsi: Begin documenting GLSL instruction set operations. tgsi: Document ps_1_1 instruction set operations. tgsi: Document ps_1_4 instruction set operations. tgsi: Document ps_2_0 instruction set operations. wgl: Port sharedtex_mt to WGL. tgsi: Begin documenting ps_2_x instruction set operations. tgsi: Document vs_1_1 instruction set operations. tgsi: Document vs_2_0 instruction set operations. swrast: Silence compiler warnings, give better structure to the code as a result. wgl: Add an `-s' option to wglthreads to force single-threaded operation. slang: Use _mesa_snprintf() wrapper. stw: Keep per-thread storage for current context and pixel format. winsys/gdi: Init state tracker's per-thread data. stw: Use u_handle_table to maintain context list. progs/wgl: Make context current to get GL_RENDERER string. progs/wgl: Create GL context in a thread that actually uses it. stw: Do not err on nil context handle in MakeCurrent(). progs/wgl: Send a resize message after context have been created. st: Silence compiler warnings. tgsi: Document KIL, KILP instructions. python: Fix tri sample. tgsi: Document BRA opcode. tgsi: Explain symbols used in instruction set documentation. tgsi: Condition codes are implied in KILP. python/regress: Initial commit for vertex shader regression tests. python/regress: Add more vertex shader tests. python/regress: Rename test files from *.txt to *.sh -- won't be .gitignored. python/regress: Add vertex shader test for XPD. python/regress: Indent. python/regress: Fix vertex shader XPD test. python/regress: Add vertex shader DST test. python/regress: Add vertex shader EX2 test. tgsi/doc: Fix typo. tgsi: Provide alternate instruction mnemonics in tgsi info. tgsi: Lookup alternate instruction mnemonics when parsing tgsi text. python/regress: Add vertex shader FRC test. python/regress: Add vertex shader LRP test. tgsi: Fix structure members initialisation. python/regress: Add more vertex shader test cases. python/regress: Do not create zbuf for vertex shader test. python/regress: Do not generate HTML summary for vertex shader test. python/regress: Add vertex shader source modifier tests. tgsi/text: Allow `-|src|` variant of `-(|src|)`. util/debug: Initialise local variables. python/regress: Add relative addressing tests. python/regress: vertex shader FRC test does not use IN[1]. tgsi/text: Allow optional component selection for indirect registers. tgsi/exec: Actually enable switch-case for FLR. python/regress: vertex shader srcmod swz test does not use TEMP[0]. python/regress: Use A8R8G8B8 rendertarget format. python/regress: Use X8R8G8B8 rendertarget in vertex shader test. python/regress: Initial fragment shader test suite. python/regress: Remove trailing whitespace. python/regress: Clean up driver clear() interface. tgsi/sse2: Fix LIT instruction. tgsi/sse2: Fix ARL instruction. draw: Fix LIT instruction. tgsi/sse2: Fix build. draw: Fix vertex_header initialisation. draw: Silence pointer-to-integer cast warning. rtasm: Silence `static function not used' warning. tgsi/sse2: Cleanup NRM/NRM4 implementation. Michel Dänzer (18): gallium: Remove remnants of reference counting internals outside of p_refcnt.h. r300: Texture size limit cleanups. Revert "dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers." gallium: Remove some little-used fields from struct pipe_surface. gallium: Add utility helper for packing combined depth/stencil values. gallium: Clean up driver clear() interface. radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16. gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build. intel: Handle ARB_vertex_buffer_object state in intel_clear_tris(). gallium: Fix glDraw/CopyPixels fragment program leak. Update GALLIUM_AUXILIARY_DIRS in configure.ac to match configs/default. gallium: Fix up xorg state tracker build. gallium: Always include xorg-server.h before other X server headers. gallium/intel/gem: Use softpipe rather than i915simple if INTEL_SOFTPIPE is set. gallium: Make the intel xorg winsys start up with any Intel chipset. gallium: Handle non-NULL data pointer in EXA ModifyPixmapHeader hook. gallium: Add SCons build support for the DRI state tracker. r300: Increase reference count of texture objects referenced by current state. Robert Ellison (3): i965: fix point rasterization when rendering to FBO Mesa: allow suppression of debug messages in a debug build Avoid a segfault in shader compilation Robert Noland (1): Build dri drivers for powerpc and sparc on FreeBSD. Roland Scheidegger (16): fix various small intel blitter issues gl: update glext.h to version 48 gl: add new OGL 3.1 enums to glext.h mesa: add new signed rgba texture format glapi: remove a couple accidental GL_ prefixes glapi regenerate mesa: add _rev signed rgba texture format i965: add support for signed rgba texture format mesa: fix a glGetTexImage issue with base-converted texture formats i965: srgb texture fixes fix ugly copy/paste error in mipmap generation code mesa: fix TexParameter functions intel: fix small compressed texture upload intel: fix max anisotropy supported i915: fix fix for anisotropic filtering i965: fix point size issue Samuel Thibault (1): GNU/Hurd fixes Shuang He (1): demos: Clean up allocated Textures and Display Lists when demo quit Thomas Hellstrom (22): gallium: Add simple atomic class api. gallium: Use struct pipe_atomic for pipe refcounts. xdemos: Fix sharedtex_mt. xlib st: Fix makeCurrent. stw: Fix makeCurrent. dri glx: Propagate driver MakeCurrent errors. dri glx: Fix dri_util::driBindContext glx: MakeCurrent fixes. gallium: Make sure we flush before some texture / buffer operations. r300-gallium: Fixup for commit 9b75627fab5bf2ea90f27ddd31b60c54895f6de6. gallium: Create OGL state tracker wrappers for various CPU access operations. gallium: Reinstate unconditional flushes. gallium: Update the drm_api. gallium: Move the dri2 state tracker since we're about to extend it to dri1. gallium: Add a dri1 api gallium: Update the dri2 state tracker to support dri1. gallium: indent and cleanfile the dri state-tracker. gallium: Rename the dri state tracker lib to libdridrm.a gallium dri st: Fix up some comments and minor bugs. st: Add an st_get_current() function. gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT() gallium dri st: Propagate the drawable info when we bind to new drawables. Tom Fogal (2): Use variable library name in pkg-config output. Fix symbol list for mangled Mesa on Darwin. Tormod Volden (2): mesa: Prepend "-Wl," to linking options mklib: replace if/expr with case Vinson Lee (1): mesa: update/fix doxygen comments Younes Manton (4): nouveau: bypass_vs_clip_and_viewport mesa: .gitignore nouveau: Frontbuffer needs to be marked as linear. dri glx: Swap before checking for cliprects. Zack Rusin (1): egl: don't crash with one more khronos api michal (4): python: Use new bypass_vs_clip_and_viewport rasteriser flag. python: Use transfer objects to initialise texture data. python: Do not pass shader_state to util shader functions. python: Include missing `p_compiler.h' header. --- Makefile | 14 SConstruct | 12 bin/mklib | 72 common.py | 10 configs/default | 2 configs/linux-dri | 2 configs/linux-static | 6 configs/linux-x86-static | 5 configure.ac | 103 docs/MESA_texture_signed_rgba.spec | 214 docs/cell.html | 13 docs/download.html | 6 docs/enums.txt | 14 docs/extensions.html | 1 docs/news.html | 20 docs/relnotes-7.4.1.html | 79 docs/relnotes-7.4.html | 26 docs/relnotes-7.5.html | 31 docs/relnotes.html | 1 docs/shading.html | 32 include/EGL/eglext.h | 4 include/EGL/eglplatform.h | 5 include/GL/glext.h | 158 include/GL/internal/dri_interface.h | 59 include/GL/internal/glcore.h | 4 include/GL/mesa_wgl.h | 7 progs/SConscript | 1 progs/demos/.gitignore | 7 progs/demos/Makefile | 8 progs/demos/SConscript | 10 progs/demos/dinoshade.c | 914 + progs/demos/fbotexture.c | 621 + progs/demos/glslnoise.c | 201 progs/demos/glutfx.c | 189 progs/demos/ipers.c | 18 progs/demos/occlude.c | 234 progs/demos/projtex.c | 1028 + progs/demos/readpix.c | 67 progs/demos/shadowtex.c | 2 progs/demos/streaming_rect.c | 327 progs/demos/teapot.c | 11 progs/demos/texdown.c | 477 progs/demos/texobj.c | 284 progs/demos/tunnel.c | 9 progs/demos/tunnel2.c | 9 progs/fp/fp-tri.c | 6 progs/fp/kil-pos.txt | 9 progs/fp/kil-texcoord-sgt.txt | 8 progs/fp/kill-pos.txt | 9 progs/fp/swz3.txt | 5 progs/glsl/.gitignore | 4 progs/glsl/Makefile | 271 progs/glsl/array.c | 261 progs/glsl/bump.c | 3 progs/glsl/linktest.c | 258 progs/glsl/noise2.c | 201 progs/glsl/texaaline.c | 369 progs/redbook/polyoff.c | 3 progs/samples/blendeq.c | 2 progs/tests/.gitignore | 22 progs/tests/Makefile | 20 progs/tests/SConscript | 12 progs/tests/afsmultiarb.c | 2 progs/tests/dinoshade.c | 912 - progs/tests/fbotexture.c | 621 - progs/tests/floattex.c | 43 progs/tests/glutfx.c | 189 progs/tests/jkrahntest.c | 2 progs/tests/mipgen.c | 207 progs/tests/mipmap_comp.c | 295 progs/tests/mipmap_limits.c | 197 progs/tests/mipmap_view.c | 282 progs/tests/occlude.c | 234 progs/tests/projtex.c | 1030 - progs/tests/shader_api.c | 8 progs/tests/streaming_rect.c | 327 progs/tests/texcompress2.c | 24 progs/tests/texdown.c | 477