Tag 'mesa_3_5' created by Jouk Jansen <jo...@hrem.stm.tudelft.nl> at 1970-01-01 00:00 +0000
Changes since mesa_3_3: Alan Hourihane (6): fix cast fix glxinfo to query current display. add FINISH function at end of each render_* function Add quad and quad_strip fix use of projected vertices with notex vertices when DO_PTEX isn't set. remove a HAVE_ELTS that I'd stuck before. Brian Paul (630): added placeholders for 3.4 and 3.5 info 3.5 release notes added missing widgets-mesa/src/*.c files, updated version numbers to 3.5 install glext.h too test against an epsilon magnitude in gl_rotation_matrix() glGetTexParameter(GL_TEXTURE_RESIDENT) didn't query device driver initialize texture priorities to 1.0, clean-up of _mesa_PrioritizeTextures() define GL_GLEXT_PROTOTYPES before including mesa_wgl.h removed GLU 1.2 symbols test handling of lots of textures updated by Alessandro Pisani added include/GL/mesa_wgl.h to tar file list fixed return val bug in glAreTexturesResident() updates from mes...@billbaxter.com updated Phil's email address added NULL parameter checking to API functions added GetInteger/Float/Double/Boolean/Pointer device driver functions bumped MESA_MINOR to 5 updated version to 3.5 fixed depth mask bug in fxddClear(DD_DEPTH_BIT) fixed segfault problem when using MESA_GLX_FX removed all dependencies on XMesa fixed some warnings (Alan H.) fixed typo which disabled simple_DrawPixels added missing radius multiplication factor to sphere code optimized glDrawPixels for glPixelZoom(1,-1) (Andrew Gee) implemented new ImageTransferState bitmask fixed image transfer errors basic glDrawPixels convolution implemented more convolution work, not done increased max convolution filter size added convolve.c to file list use ImageTransferState print UNDEFINED MODE over samples that are undefined in the GL spec changed quad vertex colors to be tessellation invariant finished separable filter functions moved convolution API functions to convolve.c enabling 1D convolution caused a problem added convolve.h header updated some comments don't free ctx inside _mesa_initialize_context() if error, caller does that. changed default Shininess to 6 added MESA_FF_R8_G8_B8 (alpha filled to 0xff) format finished compressed texture support (Bill White) added more extensions testing code added _mesa_pack_float_rgba_span() more convolution work renamed some variables convolution for glTexImage[123]D now works added more resolutions (Andy Sloane) fbiRev and tmuRev weren't getting initialized when using Glide3 added Glide3 bug fix info added new extensions initial check-in destBytesPerRow was uninitialized in make_texture_image() finished convolution enabled GL_EXT_convolution and GL_ARB_imaging added convolution, ARB_imaging items Fixed bug in fill_texture_image(). Clean-up in _mesaGetTexImage() added const to _mesa_select_tex_object() added tracing facility from Loki added tracing facility from Loki GetConvolution/SeparableFilter() now finished use clear_proxy_teximage() instead of MEMSET() passing proxy targets to glGetTexImage() should generate GL_INVALID_ENUM oops- forgot convolution for glGetTexImage. Done now. replaced ## with CONCAT macro test for __bsdi__ for XFree86 silence compiler warning (zoomY0) added device driver function for texture proxy testing newly organized Xlib driver files renamed Xlib driver files added xmesa_update_span_funcs() Removed ctx->Driver.LogicOp(). added device driver changes added OSMesaCreateContextExt() Use OSMesaCreateContextExt() if using Mesa 3.5 or later added OSMesaCreateContextExt item changed gl_frame_buffer Xmax and Ymax to be exclusive boundary values removed ctx->Driver.Dither function added dither key option removed unused NEW_DRVSTATE flags added Dither, NEW_DRVSTATE info Removed immediate struct's maybe_transform_vb pointer. Win32 update (Chris Morley) Win32 updates (Chris Morley) added some casts (Takaaki Nomura) better fps computation terrain demo data better FPS calculation init mutex added format/type error check to draw_rgba_pixels() packing of GLushort packed types was broken replaced GL_RGBA with GL_BGRA for GL_UNSIGNED_SHORT_1_5_5_5_REV datatype added cursor key info to instructions explicitly init some texture vars updated comments use cpml.h on Alpha (AlanH) moved DECLARE_XFORM_GROUP macros outside of gl_init_3dnow_asm_transforms() to silence compiler warnings added more warning options to linux-elf-debug config added FPS calculation removed unused struct display_list_compilation added trace support (Loki) Added GL_MESA_trace extension (Loki) added GL_MESA_trace support added some missing const keywords in GetString set default window pos, changed 4 to GL_RGBA new comments, misc clean-up removed unused display_list struct added GL_ARB_texture_env_add use GL_NEAREST texture filter Replaced preprocessor symbol GL_MESA_TRACE with MESA_TRACE. First batch of OpenGL SI related changes: added imports.c renamed gl_copy_context to _mesa_copy_context include types.h new params for SpecificCompressedTexFormat() (Bill White) removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled instead generalized support for N texure units added fps output support for N texture units textured line test more work to support N texture units improved to test alpha blending with texture palette drawing color-index image to RGB window was broken better handling of GLX_DEPTH_SIZE in glXChooseVisual() brighter colors update TriangleCaps in GL_POINT/POLYGON_SMOOTH cases if depthBits == 0, set DepthMask = 2^16 to fix per-fragment fog problems use gray background, memset TempImage to white to help with debugging added _mesa_get_teximages_from_driver() ported render begin/end calls from Mesa 3.4 More fixes for MAX_TEXTURE_UNITS > 2. Seems to work now. GL_MAX_TEXTURE_UNITS_ARB is now 3 improved blending accuracy to fix Glean test failures call Driver.SetReadBuffer() in clear_color_buffers() to fix colormasked clear bug glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly Rewrote get_static_proc_address(). It made mistakes in some situations use 1.1 glPolygonOffset instead of glPolygonOffsetEXT Changes for multitexture > 3, code clean-ups. polygon offset changes; added Visual->MRD field fixed a texture enable bug added a proper idle() function fixed 386/x86 mismatches, reordered a few configs generate separate libOSMesa library ala XFree86/DRI added libOSMesa.so info added idle() func, enable fog by default Put a white texel in each corner of each texture. signal NEW_TEXTURING if there's a Driver.BindTexture() function added incomplete() debug function/macro added a glFinish() call fixed value for GLU_NURBS_MODE clarified meaning of DEFAULT_SOFTWARE_DEPTH_BITS value removed X86/*.m4 files from tar archive added GL_BGR case to bytes_per_pixel() Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c added info about GL_EXT_secondary_color and GL_EXT_fog_coord restored test for __alpha in _mesa_win_fog_coords_from_z() Basic work to support deep color channels: New colormac.h file for color-related macros. More GLchan color channel changes. more minor header file re-org (moved CONST, ASSERT, INLINE to config.h) renamed Current.ByteColor Current.Color set *t->flag = enabled in gl_extensions_add(), otherwise, extension booleans weren't set Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead. big overhaul of the demo, works better now removed debug printf added comment explaining why the demo is flawed Always call Driver.SetReadBuffer() in copy pixels functions, just to be safe print number of texture units update for separate libOSMesa.so lib added some missing backslashes GL_MESA_packed_depth_stencil extension spec added GL_MESA_packed_depth_stencil extension MESA_trace extension (Loki) update to GL_MESA_trace extension enums New implementation of antialiased lines. Mesa should now pass the remaining hooked in new AA line code, minor clean-up added swrast/s_aaline.c removed obsolete VB vars added buffer test to xmesa_choose_point(), fixes X protocol error added a setup function for selection/feedback test ctx->RenderMode in chooser functions, removed dead code test ctx->RenderMode in chooser functions adjust x/y/zoffset parameters to fill_texture_image() by texture border width fixed mipmap setup bug updated with bug fix from 3.4 branch GL_BGR case was misplaced in _mesa_is_legal_format_and_type() (Jeff Hartmann) restored call to _mesa_select_tex_image() in _mesa_GetTexImage() patched to silence compiler warnings (Martin Lindhe) removed old TexImage() and TexSubImage() functions minor changes to silence compiler warnings renamed to histogram renamed imaging files to histogram since that's what's inside replaced s_imaging.h with s_histogram.h replaced _NEW_IMAGING with _NEW_PIXEL latest sources from Loki removed tr_attrib.c init WrapR to GL_REPEAT mode fixed another texImage mistake in _mesa_GetTexImage() bumped version to 3.5 removed unused var Removed Driver.Color() and Driver.Index() functions. removed unused set_color() and set_index() functions more Driver.Color, Driver.Index updates rewrite of _mesa_win_fog_coords_from_z() so that both perspective and orthographic projection are handled correctly Replaced ctx->Point.Size with ctx->Point._Size added includes to silence warnings Minor header file changes to silence warnings. hacked demo to test multi-texture projective textures Mark Kilgard's reflection/shadow dino demo test texture palettes with multitexture added more programs Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars. removed #include <tgmath.h> minor multi-tex changes, changed MAX_TEXTURE_UNITS to 4 added some RENDER_START/RENDER_FINISH macros. Minor GLchan changes minor clean-ups minor clean-ups (Klaus Niederkrueger) call RENDER_START/FINISH in read_color_image() call gl_update_state() if needed in glGetColorTable, glGetConvolutionFilter minor updates for widgets-mesa/ fixed GLX_PBUFFER value map glIndex* functions to glIndexi() (glIndexub was looping back to glIndexub) Added MaxClipPlanes and MaxLights to gl_constants struct so T&L minor changes to fix compiler warnings Set ENABLE_LIGHT according to ctx->Light.Enabled whether or not added new source directories to LIB_FILES fixed a convolution pixel store bug Pass scale and bias values to _mesa_scale_and_bias_rgba(). fixed parameter mis-ordering bug in Driver.StencilSpan calls changed error tests for depth and stencil buffers added -s option to control when glXSwapBuffers() is called call glFinish() before getting t1 time minor comments, clean-up Compute attenuated point size in a new pipeline stage. Initial work on GL_MESA_sprite_point extension. initial draft added LL_MESA_sprite_point extension fixed bug 123918: glXCopySubBuffer() y position off by one standardized GLX extensions header include glxext.h unless GLX_GLXEXT_LEGACY is defined more detailed texture error messages added GL_RESCALE_NORMAL cases added queries for convolution enables initialize convolution filters to zero define GL_ARB_imaging set default table size to 0, minor error check fix adjust texture size for convolution in glCopyTex[Sub]Image[123]D() _MultiTextureEnabled was being computed incorrectly generate GL_INVALID_OPERATION error for bad image format/type combinations minor changes to fix compile problems/warnings disabled GLX_SGIS_multisample (temporarily) since its tokens aren't defined clipping, fog, texture optimizations (Klaus Niederkrueger) disabled two optimized textured triangle functions because of texcoord interpolation errors improved precision of glReadPixels for colorbuffers < 24bpp tweaked truecolor dither kernel setup code added glReadPixels item use inverted Y coordinate for choosing dither value (conformance fixes) replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger) fixed conformance problems in min/max and histogram result packing added some more GLX extension entrypoints (fix GLUT link problems when using glxext.h) updated glXSet3DfxModeMESA() prototype types Renamed texture object _P to _MaxLevel and _M to _MaxLambda. added more GLX extension function stubs minor fog clean-ups (Klaus Niederkrueger) Polygon._OffsetAny wasn't being computed set visual->MRD to 2.0 minor GLchan-related changes include state.h Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h) missed a few color macro changes minor clean-up More color macro clean-ups. New point rasterization functions based on template code that added divide by zero checks added divide by zero check minor bug fixes changed some point functions, new picking code added divide by zero check added underflow check in validate_shine_table() Fixed bug in MinMagThresh computation. Added PointSize and PointParametersfv to dd interface, for completeness. initialize Driver.RenderPrimitive to _swsetup_RenderPrimNoop removed unneeded TXTR_COORD macros (Stephen Tse) fixed a small error in import_color(), include m_translate.h updated ctx->Driver functions for s/w setup test check-in fixed glTexSubImage error check bug #128775 added dispatch override mechanism, used by trace extension Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. space-bar = pause animation added support for 4 texture units minor tweaks added DestroyHeads() to test clean-up code Lots of GLchan datatype changes. minor tweaks removed the unused/broken GL_PGI_misc_hints extension redo _mesa_PopAttrib() to call Mesa state functions so derived state is updated updated spec updates to the trace extension optimized lambda computation (Klaus Niederkrueger) fixed computation of _MultiTextureEnabled (again) only compute separate specular if texturing really enabled removed unused vars GL_SHADE_MODEL wasn't popped correctly fixed inverted Y coord for dithering in write_span_DITHER_5R6G5B_ximage() last segment of AA stippled lines wasn't drawn fixed half pixel offset bug in aa point code added packed types to glGetMinMax and glGetHistogram error checks make gluPerspective() call glMultMatrix() instead of glFrustum() to get correct error semantics replaced frustrum with frustum added mesa_profile extern decl misc updates to match latest device driver changes added _mesa_adjust_image_for_convolution() Overhaul of texture image handling. added a number of debugging tests to be sure drivers handle texture images correctly updated texture image handling - STILL UNTESTED made some changes to the initialization of gl_texture_image fields new texture image routines work now remove unused functions check texture texel type before using optimized sampling functions added some code for proxy texture tests fixed divide by zero problem added divide by zero checks fixed texel indexing bug in _mesa_GetTexImage() GLchan fixes fixed bugs in _mesa_clear_depth_buffer(), bug #131366 fixed bytesPerValue bug in OSMesaGetDepthBuffer() minor changes from XFree86 (dawes) minor updates to sync w/ XFree86 changes fixed RGB over/underflow bug for tiny triangles (bug 128969) added ctx->Driver.ResetLineStipple, misc clean-up added debug assertions to be sure drivers initialize all required function pointers fixed GL_SET bug gl_error clean-ups removed bogus assertions fixed bug in gl_validate_all_lighting_tables() found with CI mode conformance tests fixed a few CI mode span bugs and a dither bug fixed an assertion fixed a CI mode segfault, minor clean-ups removed a misplaced _mesa_logicop_ci_span() call updated with 3.4 and 3.4.1 entries fixed a CI-mode spot light conformance failure, but still not clear why minor scissor optimizations (Klaus Niederkrueger) added n-key to toggle nice fog, other minor clean-ups moved depth/index/stencil span packing into image.c Work in glGetTexImage() to return GL_COLOR_INDEX images. added MESA_GLX_FORCE_CI env var (useful for conformance testing) Changed FetchTexel() function pointer arguments. added a bunch of extensions (Ray Tice) Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions plug in fallback teximage DD functions Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture. demo of GL_SGIX_shadow added shadowtex added shadow extensions added extension #ifdef/#endifs more 3.5 updates fixed GL_LUMINANCE_ALPHA bug in fetch_2d_texel() removed some bogus code improvements to regions_overlap() function fixed bug in _mesa_stencil_and_ztest_pixels() found w/ DRI mga driver another fix in _mesa_stencil_and_ztest_pixels() for hardware fallbacks bilinear sampling of depth textures added a cube map error check tiny change to a gl_problem() call added filtering option, compute shadow tex size from window size fixed extension checking in _mesa_BlendEquation() Disable most extensions by default. Drivers should enable them as needed. minor extension tweaks more tweaks colortable w/ size=0 wasn't handled correctly added fog coord clamping signal _NEW_TEXTURE in all teximage functions fixed glitches in error checking of imaging extensions GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead. Now there's four possible display modes: removed some bogus error checks added s/w alpha buffer clearing fixed mistake in alpha buffer clear test fixed _mesa_getenv() weirdness changed AlphaFunc() ref from GLclampf to GLchan optimized lambda calculation (Klaus Niederkrueger) lots of gl_*() to _mesa_*() namespace clean-up more namespace clean-ups used indent to clean-up the code more clean-ups replaced gl_test_os_katmai*() with _mesa_test_os_katmai*() GL_EXT_fog_coord test GL_EXT_secondary_color test added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macros fixed segfaults when tex unit 1 enabled, but not unit 0 (conform) added Driver.BlendColor() function, for completeness added some casts in the 16-bit GLchan macros, just to be safe _MinMagThresh[] should be GLfloat fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots of potential problems added an assertion in the init code, just to be safe More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. test 16-bit/channel rendering changed bincoeff var to GLfloat, fixes bug introduced in previous check-in processed by indent to improve readability do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined fixed RBGA ifdef typo use IROUND() instead of (int) cast (Klaus Niederkrueger) removed ARB_texture_env_add bool flag, use EXT_texture_env_add flag SGI SI GLU library added CCFLAGS and CPLUSPLUS definitions SGI SI GLU 1.3 header updated for SGI SI GLU added SI GLU info fix for gl_ztrick bug (Ove Kaaven) fixes to make old GLU code compile with new GLU 1.3 header depth images were broken by latest teximage changes, this fixes the problem sync'd with the latest changes in XFree86 (cygwin stuff) minor re-org in sample_depth_texture() renamed some vars, added a bunch of comments use new texture conversion code, still have to do image rescaling minor updates for 3.5 added teximage rescaling code. untested at this point clean-up in _swrast_choose_triangle() added GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3 minor comment update added GL_ARB_texture_env_dot3 enums enable GL_ARB_texture_env_combine and GL_ARB_texture_env_dot3 in _mesa_enable_sw_extensions() fixed Min/Max lod clamp bug minor tweak to visual setup for accum buffers added silly mesa_hack() function and -b option gears using GLX instead of GLUT added glxgears added GL_ARB_texture_border_clamp test texture wrap modes change glTexImage3D() internalFormat to GLenum to match other OpenGLs removed DO_GEOMETRY silence compiler warnings moved shadow code into teapot.c clean-up of tunnel demos set initial window pos double buffer by default. if drawSmooth, use 50% alpha at top of polygon added rules for readtex.c and readtex.h texFormat was a random value in _mesa_store_teximage3d(), fix by undoing last changes fixed RGBA/RGB typo pass dst and src to CONVERT_TEXEL() macros to fix non-ANSI problems New mechanism for thread-safe GL API dispatch. C-based dispatch is faster. remove TEST_L and JZ instructions; always jump through the _glapi_Dispatch pointer removed a debug message simplify test for specific texture formats use Image[i]->TexFormat to check for mipmap consistency check for startX off the right edge of the window adjustment to coverage sample positions compilation updates Removed DD_Z_NEVER. silence a compiler warning fixed compilation problems related to ctx->_Enabled removal texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D() add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions to accomodate negative offsets correctly querying proxy texture image info was segfaulting because of NULL TexFormat pointer applied David's patch for parsing display's server:screen string clear pixel value wasn't byteswapped for scissored clears in clear_32bit_ximage() fixed wglUseFontBitmapsA() bugs (Frank Warmerdam) include fxdrv.h before other headers (Ivan Kalvatchev) another fix to clear_32bit_ximage() Updated bug report info in _mesa_problem() More texture image changes. fixed tmpTexelSize computation bug GL_INTENSITY case was incorrect in extract_float_rgba() replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling _mesa_base_texture_format() Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus Niederkrueger) fixed some divide by zero conformance problems Reimplemented glPopAttrib code for GL_TEXTURE_BIT. It now calls the Moved FRAC macro out of mmath.h into s_texture.c since it's only used there b-key toggles between textures w/ and w/out border added a work-around in _swrast_copy_texsubimage[123]d() to fix alpha channel problem in some DRI drivers (see comments) added missing 'break' in _mesa_TexEnvfv(), better error messages return hex string for unknown tokens in _mesa_lookup_enum_by_nr() fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays() replaced ac->count with ac->count - ac->start in import_texcoord(), as in the other import functions another fix in import_texcoord() Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues. minor optimization to dot3 computation added SecondaryColor functions added GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_border_clamp (temporary until SGI updates this file) bug fixes, added missing state query cases removed glext.h hacks check-in of old updates Fixed a texture conversion problem: sometimes need to produce an intermediate improved a glBindTexture error message Minor fixes for Win32 (Karl Schultz). compilation fixes - texturing isn't working at this time fixed two mistakes in texture combine code assign texImage->FetchTexel only if NULL texture image code updates (not finished) fixed problems with texel component size queries in glGetTexLevelParameter() reordered a few blend enums added -i and -h options fixed typo in GL_ARB_transpose_matrix minor simplification in glGetTexLevelParameter added ShowAlphaBuffer feature - 'a' key added -Wundef to linux-debug compiler flags fixed a potential tex obj reference count problem involving multi-texture flush pipeline in WMesaSwapBuffers (Frank Warmerdam) fixed mem leak in XFreeFontInfo() call Added Makefile support for building libOSMesa16.so which is Mesa compiled added 16-bit/channel rendering info added _mesa_free_framebuffer_data() changed xmesa_visual and xmesa_buffer structs to directly include GLvisual and GLframebuffer structs instead of pointers added -display option sync with XFree86/DRI glcore.h, now identical applied Diego Santa Cruz's patch to triangulateRectCenter() minor XFree86 change changed parameters to _mesa_rescale_teximage2d() teximage updates. seems to work fine. fixed vertex color problems minor clean-ups and warning fixes added assertion to catch infinite loop in _tnl_fixup_compiled_cassette() - might help Keith interpolate fog valus as floats, not fixed - fixed the swrast fog problem do FLUSH_VERTICES() in glGet*() functions to make occlusion testing work, perhaps needed for other cases, like GL_CURRENT_COLOR added info about driver status in 3.5 sample plane equations at fragment centers, not lower-left corner set MRD to 1.0, fixes new Glean polygon offset failure fixed minor logic error in _mesa_StencilOp() make sure rotation plugged into sin/cos lookup tables is always positive, fixes FP exception don't call _mesa_win_fog_coords_from_z() if fog is disabled, fixes FP exception missed a GLfixed->GLfloat fog change check for tiny values in dir[] vector in calcposobjs(), prevents FP underflows later fixed Y flip problem in read_rgba_pixels() (Frank Warmerdam) fixed font/bitmap x-offset bug (Frank Warmerdam) fixed FP underflow problem in kfact computation minor clean-ups fixed loop bug in _mesa_ConvolutionFilter2D() check hardware type and use SETUP_SNAP if needed removed linux-386-opt-V2-glide config since FX_V2 symbol has no significance anymore minor clean-up fixed bad texture border test (sometimes caused a segfault) applied Jeff & Keith's optimization to write_span_mono_pixmap() RGBA mode GL_NAND was wrong, fixed 16-bit GLchan support fixed some divide by zero problems found w/ conform added check for zero-length spans, avoids potential problems later redo previous change in a more defensive way fixed scissor clear problem (Michael Saunders) New triangle rasterization code. Store per-span initial/step values in the changed MAX_HEIGHT to 2048 New IFLOOR, ICEIL macros from Josh Vanderhoof. Fixes problems with moved some misplaced compiler flags from CC assigment to CFLAGS minor clean-ups and more comments increase FOG_MAX to 10.0 to fix CI conformace failure _mesa_pack_index_span() was broken for non-GLubyte datatypes Apply antialiasing coverage factor to alpha after texture application, added latest 3.5 changes generate INVALID_OPERATION if active texture != 0 in glMap[12][fd] use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon) removed (void) index; statement fixed Width/Height typo (Jeff Hartmann) fixed two GL error calls fixed a bad error string in ClientActiveTexture() added missing #undefs at end of file s/Height/height/ (Jeff Potter) initial support for GL_SGIS_generate_mipmap extension added multitexture support fixed a number of multi-texture line bugs a little more work on GL_SGIS_generate_mipmap SPARC assembly optimizations from David Miller. updated copyright added 3.4.2 changes, SPARC assembly import from 3.4 branch fix bug 426657: need to clamp RGBA before color table lookups added color table clamp bugfix prototyping some new stuff Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers. added GL_SGIS_generate_mipmap Initial changes to allow Mesa and its fake GLX to be built into XFree86 libGL. change GLXContext and GLXFBConfig typedefs added some casts so that older glx.h can be used changed #if OLD_VMS to #ifdef OLD_VMS added missing GLX_SGIS_multisample tokens added void to __GLXextFuncPtr more work on XMesa / libGL integration removed unused var infrastructure for GL_ARB_multisample s/void */GLvoid */ added new functions to GLX_functions[] removed some old DRI-isms added math/m_debug_clip.c more DRI libGL-related changes forgot to check-in yesterday added test for EXT_fog_coord added current raster fog coord and related code GLubyte -> GLchan fix fixed s/w alpha channel bug swapped in/out arguments to interp_func. Improved comments replaced #ifdef 0 with #if 0 applied Klaus Niederkrueger's CHAN_BITS==32 patch added minor comments removed some code in XMesaDestroyContext() which could lead to a segfault filled in a bunch of the function template strings minor clean-ups test for X86_FXSR_MAGIC to be sure we have the _fpstate.magic field, needed for SSE signal handler use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems (bug 430689) only copy GLubyte[4] as a GLuint on x86 added COPY_4UBV bug fix add check for NULL malloc (from Stanford metacompilation analysis) fixed minor display list bugs (#431517) check for PB overflow in general_flat_rgba_line() Snap triangle x,y vertices to 1/16 subpixel positions. added latest line and triangle bug fixes disable pixel transfer ops for glGetTexImage(), per the spec don't compile glClientActiveTextureARB() into display lists, per the spec always feedback unit 0 texcoords removed old, redundant CurrentTransformUnit state var moved glTexEnvi calls to better logical locations fixed a +/- typo in the Y coord setup fixed an assertion Allow different max texture sizes for 1/2D, 3D and cube maps. disabled an assertion that doesn't seem to be needed fixed a comment define both GL_ALL_CLIENT_ATTRIB_BITS and GL_CLIENT_ALL_ATTRIB_BITS (spec and SI don't agree) replace 255 with CHAN_MAX Enable GL_ARB_texture_compression for XMesa/GLX driver. Texture Added fi_type union typedef to glheader.h. Consolidated source files. Since the re-org a number of source files replaced -g with -O3 under linux-x86 tar file list updates for 3.5 fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups. more updates to tar file lists for 3.5 add m4/ directory to tar file list added a few missing si-glu files removed beta from version string updates for the 3.5 release also print GL_MAX_TEXTURE_SIZE bumped version numbers Gareth Hughes (68): General cleanups. Disable gl_katmai_project_vertices and Added SSE prefetching instructions. General cleanups. Added SSE streaming store instructions, external symbol directives. Major audit of all Mesa's x86 assembly code. This round is basically Major audit of all Mesa's x86 assembly code. This round is basically Change animated apps to double-buffered visuals by default. Added trivial CVA test for testing HW driver fastpaths, good for testing Change transformation from ortho to perspective so we get the MGA elt - Fix tnl/t_context.h inclusion. Add basic timing information. Enable double-buffering, count not even multiple of three. Merge Mesa 3.4 test for operating system support for SSE. Allow operating system SSE support test to be overridden with an Add GL_POINTS as a primitive, including with CVA DrawElements. Useful Implementation of GL_EXT_texture_env_dot3. Upgrade to (patched) version 7 of glext.h Some more work on interal debugging, timing routines for things that Force texture download every time to handle lazy texture downloads. Add missing copy in _mesa_noop_Color4fv(). More generic vtxfmt template, useful for creating neutral tnl module as Add a couple of missing functions. Support for swappable tnl modules. Clean up install, restore for exec vtxfmts. Minor cleanups. Consistent copyright info (version number, date) across all files. Add missing header file include. Add missing header file. - Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we've Undo -D_POSIX_SOURCE change, fix the way the katmai support test is Nope, -ansi spoils that... Initial templates for immediate mode fastpaths, or custom tnl modules. Fix typo. - Port 3.4 texture utils, texture format work to 3.5 (including new Remove old code, fix a few comments. Fix header info. Fix error message. Make assertions take new GLchan formats into account. Remove #endif. Add missing header file include. More updates. Radeon tnl module still disabled by default. Make COPY_FLOAT available to a wider audience. Revert back to new tessellator, check version string to be sure we're Make ESC quit. Fix compilation with GLU 1.1 Add PolygonOffset driver callback. Fix texture format enum values (Brian Paul). Minor updates. Remove formats that no longer exist. Initial demo of GL_EXT_texture_filter_anisotropic extension. Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro. Some more minor cleanups of macros. Fix ASSERT_OUTSIDE_SAVE_BEGIN_END() macro as well. - Minor cleanups of ctx->Driver.Current*Primitive usage. Updates required for DRI drivers on mesa-3-5-branch. Delete libGLU.so* from ../lib before installing it. More informative display of texture parameters. More texture format updates. Drivers now need only plug an appropriate New type system for assembly code. Asm files should now include - Restore texImage->IntFormat. Add missing GEN_SOURCES definitions. Make generation of matypes.h more transparent. Consolidation of asm code in 3.5 Remove all traces of CULL_MASK_ACTIVE. Initial new Win32 build support. More to come. More cleanups. Add new tests. Fix long-standing FP exception bug in _mesa_x86_cliptest_points4(). Initial commit of cliptest work. More to come shortly. Jon Taylor (14): Lots of misc. bugfixes to bring GGIMesa in sync with the latest Mesa sources. * Updated the autoconf/automake/libtool build system Small compile fix * Auto* build fixes Added GGI-style debugging harness to GGIGLUT. * More work on the auto* build system More auto* build fixes swrast setup fixes More auto* build system fixes More auto* build system updates Added a new configure.in flag, --enable-glut-build. Fixed GGIMesa build problems. Added missing #include "mmath.h" Misc build fixes Jouk Jansen (30): Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Committing in . Modified Files: Modified Files: Modified Files: Committing in . Modified Files: Committing in . Committing in . Committing in . Committing in . Committing in . VMS compile update Committing in . Committing in . Committing in . Modified Files: Modified Files: Committing in . Committing in . Modified Files: Keith Whitwell (129): Implement EXT_fog_coord and EXT_secondary_color. Do per-pixel fog when GL_FOG_HINT is GL_NICEST. Replace the flags Mesa was using for ctx->NewState with a new set test cvs commit logging Removed references to gcc's __FUNCTION__ macro. Rearrange VERT_* flags to support 4 texture units. Remove dead code in FX driver. Moved software rasterizer functionality to new directory. Moved the software rasterizer to a new directory. Lots of changes: A new module to provide RasterSetup and advanced triangle/line/point Reorganized software rasterizer as a module which manages its own state, Use the new software rasterizer. Reworked optimized line,tri,point Reworked to use the new software rasterizer. Optimized line/tri functions - Changes for new software rasterizer modules fixed very obvious fog bug Cleanup of derived state calculation prior to seperating software T&L Move the transform and lighting code to two new directories fix lvalue cast on ctx->swtnl_im Support for swappable t&l modules, including an example one in the FX New files... Fixed a couple of bugs that crept into last commit Major rework of tnl module fix xscreensaver cores The array cache. Fixes for compiling assembly (disable unused 'masked' versions) fix sproingies bug Fix evalpoints bug (samples/nurb) fix demos/fire, enable lazy vertex flushing try and force a log message try and force a log message try and force a log message try and force a log message try and force a log message try and force a log message try and force a log message Add render stage for unclipped vb's to fx driver. Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex various compilation/warning fixes Moved glcore.h to a location prefixed by 'GL/internal', for compatibility Modify X11 driver and fake glx to store a GLcontext Bring the FX driver into line with core mesa changes. Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers revert XMesaCreateContext changes Add call to Driver.RenderPrimitive() Still need 'DD_TRI_CULL_FRONT_BACK' Fixed 'IRound' to 'IROUND' in mmath.h Resync with new XFree version of this file Fix crash in book/stencil. Use correct pv in swrast lines routines fix conform dlist test Fixed conform feedback and drawelements tests. Fix several conformance problems. Hack solution to line stipple problem. Fixes for performance bug on compiled array element paths. Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixels Update implementations of Driver.Clear(). Fast no-copy drawarrays for large tristrips rework to correctly respect _ac_import_range() Use a lookup table to compute exponents in tnl fogging code. Slightly Correctly calculate size for disabled texcoord arrays. Fix propogation of material values in VB's that don't reach the lighting Fixed conform problems with recent material tracking change. Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when Fix state bitmasks for invalidating line,tri,point functions. (won't fix Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs. Template work Initialize Line._Width Templates are in working order. Bugfixes for vertex format, templates Uncomment some defaults. Add missing cases for viewport transform. Remove INVALIDATE_STORED_VERTICS Fix typo Changes for ffb DO_POINT renamed DO_POINTS Revert earlier changes protecting against null VB->TexCoordPtr[x]. Do Remove dead #define. Fix cut&paste bug exposed by clipbug.c demo. Fix lineloops. Split driver struct into swrast/tnl/core components. New files Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT. Remove ENABLE_* flags, ctx->_Enabled. Fix calculation of fog coordinate in translate_vertex(). Perform fixup on material values Fix striding of color material inputs. (Fixes glean colorLitPerf) Remove values from VB->importable_data as those arrays are removed Add more options, including '-10','-100' and '-1000' to limit nr of vertices. no-copy drawarrays for remaining non-fan primitives first pass at eval fixes Support for floating point color representation in tnl module. add specialized interp for backcolor, edgeflags fix color copying in twosided quads Allow drivers to provide a dynamic CHECK_HW_DIVIDE, to turn the divide off More HW_DIVIDE checks. typo Restore optimization for cva glArrayElement operation. Lots more eval fixes fix from Jouk removed debug float color changes add disabled test to turn on vertex snapping. fix for moebius infinite loop fix eval/colormaterial interaction Don't scale basealpha by 255 now it's a float. Use correct PV when clipping. Add FLUSH_CURRENT() calls to fix ordering problems (incl. hierarchical fix possible segfault on destroy context add missing translate functions remove debug code Replace PipelineStart, PipelineFinish with RunPipeline. Clean up Driver interface changes Set 'prefer_float_colors' true, now that tnl uses them natively. Clean up translation of array elements, copying of elts in pure-elt made render path selection more flexible fix a couple of small bugs Clean up _tnl_Begin/begin/hard_begin. increase blocksize, remove dead opcodes Fix for glean texgen test. typo fix for Jouk's glplanet bug Fix order of decomposition of quad. Comment out __FUNCTION__ usage. rerun vertex stage on _MESA_NEW_NEED_EYE_COORDS apply David Miller's quad/backcolor patch Working implementation of glArrayElt that decomposes to regular Add api_arrayelt.c New files to provide glEvalPoint, glEvalCoord implementations for fixed some GL_POINTS probs Adaptor code that lets tnl convert compiled (display list) cassettes back davem69 (6): Add USE_SPARC_ASM diagnostics to print_info. Python script for making glapi_sparc.S Generate this now that I know which Sparc optimized GLAPI dispatch table. SPARC normal tnl optimizations. Remove dependency on MESA sources from gl* files pesco (7): * include/GL/Makefile.am: ENABLE_GLUT_BUILD -> NEED_GLUT * demos/Makefile.am (INCLUDES): Added -I$(top_srcdir)/util. Forgot to add newly created files. * gen_srclists.sh: Use getopt to parse the command line. Added command * si-glu/libnurbs/: Undid move of glimports.h, mystdio.h, mystdlib.h. * common_rules.make: Created to hold the conditional build rule * src/swrast_setup/ss_tritmp.h (quad): Changed name of this function to --- Make-config | 531 Makefile.X11 | 533 docs/MESA_packed_depth_stencil.spec | 233 docs/MESA_sprite_point.spec | 193 docs/MESA_trace.spec | 360 docs/README.X11 | 6 docs/RELNOTES-3.4.1 | 22 docs/RELNOTES-3.4.2 | 22 docs/RELNOTES-3.5 | 228 docs/VERSIONS | 123 include/GL/Makefile.am | 29 include/GL/fxmesa.h | 6 include/GL/gl.h | 97 include/GL/gl_mangle.h | 146 include/GL/glext.h | 212 include/GL/glu.h | 823 include/GL/glx.h | 25 include/GL/glxext.h | 534 include/GL/internal/glcore-new.h | 424 include/GL/internal/glcore.h | 424 include/GL/mesa_wgl.h | 248 include/GL/osmesa.h | 58 include/GL/svgamesa.h | 8 include/GL/vms_x_fix.h | 880 include/GL/xmesa.h | 13 progs/demos/Makefile.BeOS-R4 | 9 progs/demos/Makefile.X11 | 31 progs/demos/Makefile.cygnus | 4 progs/demos/anisotropic.c | 220 progs/demos/bounce.c | 35 progs/demos/clearspd.c | 8 progs/demos/descrip.mms | 6 progs/demos/drawpix.c | 44 progs/demos/fire.c | 96 progs/demos/geartrain.c | 294 progs/demos/gloss.c | 6 progs/demos/ipers.c | 46 progs/demos/isosurf.c | 621 progs/demos/lodbias.c | 2 progs/demos/multiarb.c | 58 progs/demos/osdemo.c | 27 progs/demos/paltex.c | 131 progs/demos/pixeltex.c | 2 progs/demos/ray.c | 59 progs/demos/readpix.c | 24 progs/demos/reflect.c | 51 progs/demos/shadow.c | 119 progs/demos/shadow.h | 18 progs/demos/shadowtex.c | 528 progs/demos/teapot.c | 147 progs/demos/terrain.c | 50 progs/demos/terrain.dat | 1 progs/demos/tessdemo.c | 597 progs/demos/texcyl.c | 53 progs/demos/texdown.c | 32 progs/demos/texenv.c | 96 progs/demos/trispd.c | 10 progs/demos/tunnel.c | 80 progs/demos/tunnel2.c | 70 progs/demos/tunneldat.c | 83 progs/demos/tunneldat.h | 395 progs/demos/winpos.c | 30 progs/redbook/picksquare.c | 2 progs/redbook/stencil.c | 21 progs/redbook/wrap.c | 2 progs/samples/fog.c | 24 progs/samples/line.c | 4 progs/samples/olympic.c | 10 progs/samples/overlay.c | 2 progs/samples/sphere.c | 228 progs/samples/star.c | 5 progs/samples/stretch.c | 2 progs/samples/wave.c | 14 progs/tests/Makefile | 38 progs/tests/cva.c | 154 progs/tests/dinoshade.c | 891 progs/tests/fogcoord.c | 99 progs/tests/manytex.c | 381 progs/tests/multipal.c | 408 progs/tests/osdemo16.c | 291 progs/tests/projtex.c | 1028 + progs/tests/seccolor.c | 145 progs/tests/sharedtex.c | 437 progs/tests/texline.c | 251 progs/tests/texwrap.c | 235 progs/xdemos/Makefile.X11 | 7 progs/xdemos/glxgears.c | 497 progs/xdemos/glxheads.c | 4 progs/xdemos/glxinfo.c | 194 progs/xdemos/manywin.c | 74