mesa: Changes to 'refs/tags/mesa_7_5'
Tag 'mesa_7_5' created by Brian Paul <brianp@vmware.com> at 2009-07-17 22:49 +0000
Mesa 7.5 release
Changes since mesa_20090313:
Adam Jackson (2):
intel: Avoid mapping the texture image for CopyTex{,Sub}Image
glx: Make glXGetScreenDriver() work for DRI2
Aidan Thornton (1):
Initialize psp->waitX/waitGL for swrast_dri.so.
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
Arthur HUILLET (1):
mesa: fix transform_points_3d_no_rot using undefined values in %xmm0
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 (410):
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
mesa: added more gallium Makefiles to tarball list
mesa: Fixed a texture memory leak
trivial: destroy window upon exit
st: do proper refcounting for framebuffer surfaces
mesa: reference counting for gl_array_object
mesa: clean-up vertex array object VBO unbinding and delete/refcounting
mesa: delete array objects before buffer objects during context tear-down
intel: create a private gl_array_object for intel_clear_tris(), fix bug 21638
intel: added null ptr check
docs: updates from the 7.4 branch
mesa: bump version to 7.5-rc2
docs: emphasize the incomplete status of the nouveau/R300 gallium drivers
docs: link to 7.5 relnotes
mesa: added linux-osmesa-static config
st: fix incorrect target parameter to screen->is_format_supported()
softpipe: add texture target sanity check assertion
mesa: comments for _mesa_generate_mipmap_level()
st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()
mesa: assign trb->Base.StencilBits in update_wrapper().
mesa: use MAX_ values instead of literals
vbo: fix incorrect loop limit in bind_array_obj()
mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE
mesa: added comment
mesa: allow GL_BITMAP type in _mesa_image_image_stride()
demos: fix multitex.c VertCoord attribute mapping
vbo: fix crash in vbo_exec_bind_arrays()
mesa: fix loop over generic attribs in update_arrays()
softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON
demos: add missing dependencies for util files
draw: reset extra_vp_outputs.slot to zero in widepoint_flush()
st/mesa: fix incorrect sprite origin when drawing to FBO/texture
mesa: add #define FEATURE_ARB_pixel_buffer_object
mesa: release VBO and PBO references upon context destruction
tgsi: increase MAX_LABELS to 4096
st/mesa: increase ST_MAX_SHADER_TOKENS to 8k
softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering
softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()
mesa: bump version to 7.5-rc3
mesa: EXT_vertex_array_bgra fixes
mesa: bump MAX_PROGRAM_ENV_PARAMS from 128 to 256
mesa: better error message for invalid texture unit index
st/mesa: remove invalid assertion
glsl: Fix preprocessor define argument parsing for dead sections.
st/mesa: fix incorrect bufObj Length assignment, remove unneeded assertion
glsl: Expand nested preprocessor macros.
docs: document GLSL preprocessor fixes
mesa: disable texture unit error check in _mesa_MatrixMode()
glsl: Fix symbol replacement handling in preprocessor.
swrast: fix state validation bug for changing program constants
glsl: Handle continuation characters in preprocessor.
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
vbo: fix assertion, #define IMM_BUFFER_NAME
st/mesa: fix typo s/BFC0/BFC1/
mesa: add default function for ctx->Driver.CheckQuery() hook
mesa: rework vertex shader output / fragment shader input attribute matching
util: additional function pointers
demos: update fbotexture.c to use EXT or ARB functions exclusively
mesa: fix REMAINDER() macro
mesa: fix incorrect viewport clamping in _mesa_set_viewport()
softpipe: fix out of bounds quad rasterization bug
i965: fix bugs in projective texture coordinates
GLX: attempt to fix glean makeCurrent test cases.
st/glx: added null ptr check in Fake_glXCreatePixmap()
mesa: added null ptr check in Fake_glXCreatePixmap()
mesa: rework viewport/scissor initialization code
intel: remove extra \n from warning string
softpipe: return alpha=1 in shadow_compare() function
mesa: create/use a fallback texture when bound texture is incomplete
vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program
mesa: fix some potential state-restore issues in pop_texture_group()
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS
mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS
mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs
i965: added intelFlush() call in intel_get_tex_image()
demos: fix issues in glxcontexts.c
docs: updated Mesa release instructions
glsl: Added gl_shader_state::EmitContReturn field
Revert "slang: if/else/break & if/else/continue work for unrolled loops"
glsl: don't unroll loops containing continue/break
demos: improve argv parsing in fslight.c
glsl: added slang_assemble_ctx::EmitContReturn field, init
glsl: added slang_operation_add_children() and slang_oper_child() helpers
glsl: implement continue->break transformation for for-loops
glsl: remove debug code, misc clean-up
glsl: don't allocate 0-length children array in slang_operation_copy()
glsl: added slang_operation_literal_int/bool() helper functions
glsl: implement continue->break translation for do-while loops
glsl: use new _slang_loop_contains_continue() helper function
glsl: use _slang_loop_contains_continue_or_break() to check for unrolling
glsl: added slang_oper_child_const()
glsl: fix a bug involving 'continue' in 'for' loops
glsl: implement _slang_gen_while_without_continue()
st/mesa: query PIPE_CAP_TGSI_CONT_SUPPORTED
glsl: remove obsolete comment
glsl: use slang_generate_declaration() to consolidate some code
glsl: added slang_operation_insert_child()
glsl: check-point: declare _returnFlag
glsl: added slang_oper_num_children() helper
glsl: added slang_operation_free_children()
glsl: fix uninitialized var in _slang_gen_for_without_continue()
glsl: fix up scoping for parent/children in slang_operation_copy()
glsl: checkpoint: replace 'return' with __returnFlag=true;
glsl: add comments
glsl: use new helper functions in _slang_gen_logical_and/or()
glsl: checkpoint: predicate __retVal = expr with __returnFlag
glsl: remove test for loop unrolling when we hit conditional cont/break
glsl: rework loop nesting code
glsl: comments, field reordering
glsl: fix assorted regressions related to early-return-removal
glsl: code refactoring for return statements
glsl: silence a problem warning
glsl: added slang_variable::is_global field
glsl: predicate assignments according to __returnFlag
glsl: overhaul 'return' statement handling
glsl: move/simplify error checking for 'return' statements
gallium: added PIPE_CAP_TGSI_CONT_SUPPORTED
softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED query
cell: PIPE_CAP_TGSI_CONT_SUPPORTED query
docs: document for/continue bug fix
mesa: bump version to 7.5-rc4
mesa: raise MAX_VARYING (number of shader varying vars) to 16
docs: increase max varying vars to 16
docs: bring in 7.4.3 and 7.4.4 release notes, news
docs: bring over news updates from 7.4 branch
docs: fix typos, remove old text from relnotes file
glsl: check number of varying variables against the limit
docs: detect when too many varying vars are used
progs/glsl: link with GLEW library
intel: added null ptr check
progs/glsl: link with GLEW library
glx: fix null pointer dereference segfault (bug 22546)
mesa: only use fallback texture when using shaders, not fixed-function (take two)
docs: document glMaterial/glShadeModel display list optimization
glsl: fix incorrect indexing for gl_TextureMatrix[i][j]
glsl: do const parameter optimization for array element actual parameters
docs: document gl_TextureMatrix[i][j] array indexing bug fix
demos: set 4th component of texcoord to 1.0
vbo: fix vbo/dlist memory leak
tgis: implement indirect addressing for destination registers
st/mesa: implement indirect addressing for destination registers
tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
tgsi: update some assertions
mesa: regenerated enums.c file
mesa: fix texture border color code for glPopAttrib()
Fix state flag dependencies for fixed function fragment program updates.
docs: update links to Gallium wiki page on freedesktop.org
docs: news entry for 7.5 release
docs: set date for 7.5 release
mesa: set version to 7.5
mesa: set version to 7.5
progs/glsl: finish conversion to GLEW
progs/util: remove extfuncs.h (we use GLEW instead)
Carl Worth (1):
minstall: Don't copy over an identical file
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 (6):
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
osmesa: Allow building standalone in all three channel widths
osmesa: Link with -ldl for dlopen code
Eric Anholt (36):
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.
intel: Map write-only buffer objects through the GTT when possible.
intel: Skip the DRI2 renderbuffer update when doing Viewport on an FBO.
intel: Use GL_FRONT_AND_BACK for stencil clearing.
intel: Use FRONT_AND_BACK for StencilOp as well.
i965: Fix register allocation of GLSL fp inputs.
i965: Fix varying payload reg assignment for the non-GLSL-instructions path.
i915: Only use the new 945 cube layout for compressed textures.
i915: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.
mesa: Mark FBOs with compressed color attachments as FBO-incomplete.
intel: Don't complain on falling back from PBO fastpaths.
i956: Make state dependency of SF on drawbuffer bounds match Mesa's.
i915: Restore the Viewport and DepthRange functions on 8xx.
i915: Fall back on NPOT textured metaops on 830-class.
i915: Don't put VBOs in graphics memory unless required for an operation.
intel: Fix glClear behavior versus display lists.
intel: Fix other metaops versus GL_COMPILE_AND_EXECUTE dlists.
i915: Fix assertion failure on remapping a non-BO-backed VBO.
i965: Remove bad constant buffer constant-reg-already-loaded optimization.
Hanno Böck (1):
gallium: replace lib with $(LIB_DIR)
Ian Romanick (17):
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
Test either GL_FRONT_LEFT or GL_FRONT for front-buffer rendering
intel: Clip to window after calling Driver.TexImage2D
Fast path when rebinding the same texture in single context environment
intel / DRI2: Additional flush of fake front-buffer to real front-buffer
demos: Fix vsync checking in glxgears
mesa: From float type modifier from values to large for singles
intel: Bump driver data, add RC3 tag
Jakob Bornecrantz (51):
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
st/gl: Fix mip gen for compressed textures
progs/tests: Add some scissor tests
stw: If stfb not set don't call into mesa
pipebuffer: Silence out of heap space debug print
mesa: Only do read write when we don't have a depth value to write
mesa: Enable uploads of only depth to z24s8 textures
progs/tests: Add tests for glCompressedTexSubImage
st/gl: Add support for glCompressedTexSubImage
st/gl: Add stubs for CompressedTexSubImage[1D|3D]
progs/tests: Add yet another mipmap test
progs/tests: Tests more views in mipmap_comp_tests
progs/tests: Use compressed texture in mipmap_comp_tests
Jeremy Huddleston (2):
Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined
Updated CPU_TO_LE32 to work on darwin
Jon TURNEY (2):
Cygwin build fixes
xdemos: Fix xdemos which default to using display :0.0 to default to $DISPLAY
José Fonseca (250):
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.
mesa: Add success/failures return value to _mesa_make_current.
mesa: Check/propagate return value on st_make_current.
mesa: Output warnings to debugger on Windows.
wgl: Remove unused field.
wgl: Rename function.
wgl: Fix debugging output.
wgl: Use the right pixel format.
wgl: Ensure we only create framebuffers for HDC associated with a window.
wgl: Cleanup framebuffer destruction logic.
progs/wgl: Use an invisible window in wglinfo.
progs/wgl: Small cleanup to wglinfo.
wgl: Destroy the framebuffer when the window is destroyed.
util: Fix 24 to 32 bit expansion binary arithmetic expression.
util: Support Z24S8/Z24X8 -> unsigned conversion.
util: Unsaved change missing from last commit.
scons: Output nice summary messages instead of long command lines.
scons: Less aggressive optimizations for MSVC 64bit compiler.
Revert "scons: Less aggressive optimizations for MSVC 64bit compiler."
mesa: Allocate tokens from the heap.
mesa: Use matching signedness for the counter as upper bound.
gallium: Shorthand functions for computing stride and sizes for a rect.
mesa: Pure software accum buffer.
mesa: Single precision constants.
util: Single precision constants.
mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.
mesa: Fix typo in bitmask.
mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.
meas: Use a read/write transfer when writing stencil component, but not touching the depth component.
mesa: Take the format from the right structure.
progs: Port fp programs to GLEW.
python/tests: Test sampling from a depth texture.
mesa: Remove dead code.
mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format.
gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.
mesa: Use new pf_is_depth_and_stencil inline.
wgl: Fix prototype.
python/retrace: Interpret is_texture_referenced/is_buffer_referenced.
python/retrace: Show the contents of the depth/stencil and surfaces before/after transfers.
progs/tests: Use opaque colors.
softpipe: Fix softpipe_is_texture_referenced.
gallium: Ensure assert macro is defined before being used in p_thread.h
rtasm: Use 32bit constant.
mesa: Use integer type with appropriate sign.
mesa: Use type modifier for float constants.
mesa: Use appropriate float/integer types.
mesa: Always return a value.
python/tests: Cleanup texture_sample.
python/tests: Add is_depth_stencil_format utility function.
progs/wgl: Fix assertion failure in wglthreads' texture creation.
progs/wgl: Use appropriate types to silence msvc warnings.
progs/wgl: Quit after displaying usage for -h option.
gallium: Avoid atomic ops / locking when src is dst.
progs/wgl: Allow resizing wglthreads' windows.
wgl: Factor out some repetitive code into inline functions.
docs: Document building with SCons.
scons: Debug build by default.
progs/wgl: Get wglShareLists working in wglthreads.
progs/wgl: Tweak the initialization wait in wglthreads.
progs/wgl: Fix shreadtex_mt too.
Revert "scons: Debug build by default."
wgl: Move all thread related code together.
wgl: Fix window resizing in multithread applications.
pipebuffer: Use a type consistently for sizes/offsets.
trace: Use size_t consistently.
draw: Replace pointer arithmetic with cast.
util: Add cast.
scons: Output the friendly "Linking ..." message when creating DLLs with MinGW.
wgl: Handle flush after a window is destroyed.
scons: Don't use C specific options with g++
scons: Tool to build with DirectX SDK.
scons: Use -Bsymbolic linker option.
scons: Disable optimizations only for gcc-4.2
scons: Don't raise an exception when DXSDK is not found.
wgl: Optimize wglGetProcAddress.
mesa: Unbind depth/stencil surface from pipe_framebuffer when none is attached.
util: Increase OutputDebugStringA to 4k.
gallium: New PIPE_BUFFER_USAGE_FLUSH_EXPLICIT flag for buffer_flush_mapped_range.
util: Set PIPE_BUFFER_USAGE_FLUSH_EXPLICIT when calling buffer_flush_mapped_range.
mesa: Set FLUSH_EXPLICIT_BIT flags when calling FlushMappedBufferRange.
mesa: Assume depth textures have a single level unless told otherwise.
wgl: Lookup framebuffers by HWND whenever possible.
wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.
wgl: Check for multiple threads before GET_CURRENT_CONTEXT.
wgl: Make the stw_framebuffer destructions threadsafe.
mesa: Report the true face number when flushing.
scons: Monkey patch os.spawnve on Windows to become thread safe.
python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.
python/retrace: Interpret surface_copy.
python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.
wgl: Expose pipe_screen/pipe_context via an extension.
python: Hack to prevent segmentation faults when python exits.
mesa: Fix logbase2.
python/retrace: Flush stdout before calling the pipe driver.
python/retrace: Dump the surface copy contents.
python/retrace: Process the call no passed to --to option inclusively.
Keith Whitwell (111):
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
Reply to: