Tag 'unichrome-last-xinerama' created by Keith Whitwell <ke...@tungstengraphics.com> at 1970-01-01 00:00 +0000
Changes since mesa_4_1: Adam Jackson (27): Skeletal fallback-only DRI driver. Initial checkin, not quite working yet. Fix type conflict. use new interface for tdfx (phase 2) silence a warning _really_ fix parameters to StoreImage calls. Bug #1588: abort if no palette format matches. (Egbert Eich, Stefan Dirsch) Bug #1682: Mesa core code that gets linked into DRI drivers should never call Import sarea.h from Xorg, needed for client GLX code. Import the GLX client side library, formerly from xc/lib/GL/glx. Build it Bug #1679: Link DRI drivers against DRI_LIB_DEPS, not GL_LIB_DEPS. Add DRI_LIB_DEPS for the DRI drivers to link against. Remove expat from the Add glx/x11 to the DRI configs, and change the Solo configs to build glx/mini. remove a -Werror from testing. Bug #1713: Some rare libGL's have __glXFindDRIScreen defined but do not libGL needs libXxf86vm.a. static char * -> static char [] constify a few arrays. make render_quads_verts call EMIT_PRIM with the arguments in the right order, brown paper bag, r100 can't do hardware quads. Sync with Xorg head: mingw build fixes from Alexander Gottwald. Fix up glx/x11 to work when built with -fvisibility=hidden. fxt1_decode_1() needs to be non-static for the tdfx and glide drivers. Mark the XF86DRI client-side extension API as PUBLIC. _glapi_* is effectively PUBLIC API for the DRI drivers. Mark __driCreateNewScreen PUBLIC Also PUBLICize the config option table Import s3virge and trident drivers. Not functional yet; no Makefile, no DRI-aware DDX. Alan Hourihane (77): Check that ActiveTextureARB doesn't overflow MaxTextureUnits fix for framebuffer width and height when window hasn't been realized. fix fragment_program for Windows cast GLfloat mkdir the server directory, as using cvs with -P would prune an empty add the i810 driver - no kernel driver yet add the i830 driver - no kernel driver yet fix cut & paste errors add the SiS driver - no kernel driver yet add gamma driver - no kernel driver yet char -> GLubyte prevent from optimizing out by some compilers (from XFree86 CVS) bring over glcore.h changes from DRI trunk add tdfx DRI driver build fixes add SPARC ffb DRI driver build fixes build fix build fixes remove duplicate declaration #define GLAPIENTRYP GLAPIENTRY * check if GLAPIENTRYP is already set build fixes build fixes build fixes build fix merge latest DRI sis driver changes from the DRI trunk use _swrast_CopyPixels for XFree86 disable some DEBUG bring in common from DRI trunk bring over latest mga DRI driver from DRI trunk remove duplicate declarations fix compiler warning merge i810 DRI driver from DRI trunk merge r128 DRI driver from DRI trunk xmlconfig fixes for the new options xmlconfig fixes fix some _SOLO build problems fix _SOLO build problem fix a _SOLO build problem fix _SOLO build problem merge i830 DRI driver from DRI trunk sync some more of the r200 driver from the DRI trunk merge some more of the radeon DRI driver from the DRI trunk add SETPARAM ioctl reverse Keith's 'XFree86Server' glue. kill a warning build in SOLO environment some changes for SOLO build turn on tdfx in SOLO build fix bogus assertion that checked for an empty texture heap list before fix typo fix from DRI trunk fix for C++ fix printf warnings remove non-portable whitespace build fixes make note about needing to fix the drm driver to enable SAVAGE_CMD_DMA build fix for VMS fix the usage of GLX_MESA_allocate_memory disable under _SOLO build add SciTech's GLDirect driver for Windows. bring over build fixes from stable branch remove DitherValues If we can't allocate the rowimage - bail re-enable rect texture fix for older gcc's (from freedesktop bug id #419) Fix some warnings reverse some debug that slipped through silence warnings silence warning Check for some header defines before redefining functions. Silences warnings. silence warnings Use union type to avoid strict aliasing problems. uint*t -> u_int*t changes fix warning uint*t -> u_int*t Alex Deucher (1): Apply Eric's stencil wrap patch (Eric Anholt) Brian Paul (1386): updated email addresses fix culling problem (bug 630649) update versioning/extensions for OpenGL 1.4 / Mesa 5.0 preparation for 5.0 release bump OpenGL version to 1.4, Mesa version to 5.0 minor updates more version bumps fix potential bug in _mesa_align_calloc/malloc (Frank van Heesch) test both XFree86LOADER and IN_MODULE to see if we're being built as the glx module s/BZERO/_mesa_bzero/ remove debug printf s/sprintf/_mesa_sprintf/ s/printf/_mesa_printf/ don't call abort() remove some stray debug/abort code use wrappers from imports.h rather than stdio, stdlib, etc functions. s/getenv/_mesa_getenv/ added a comment about future work fix a few HPUX problems simple GL_EXT_stencil_wrap test program fix the occasional missing triangle bug tweak pipeline flags for vertex programming list bug fixes in 5.0 fix a typo renamed abs() function glu_abs() silence a bunch of warnings HPUX fixes fix for HPUX add support for GLX_ARB_multisample glxinfo update misc driver updates (Daniel Borca) FX driver fixes minor revision to 4.1 features support for GLX_ARB_multisample Updates for DOS driver from Daniel Borca. added GLUT and DOS updates fixed glTexParameteriv(GL_TEXTURE_BORDER_COLOR) error added some printfs to show current polygon mode and cull state minor multi-sample clean-ups a few dispatch pointers weren't set (glGenTexturesEXT for example) latest 5.0 bug fixes restored fixedEdges var (for VMS) surround fixedEdges decl by #ifndef NDEBUG / #endif added missing 1.4 glFogCoord functions added 1.4 functions added glFogCoord functions added glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawElements added a few more missing 1.4 entrypoints implemented automatic code gen and individual function validation fixed a few category lines fixed active stencil face query bug minor clean-up fixed active stencil face query declare tempI as Int, not Real (Jon Perry) multisample / polygon smooth test added P4 / 3DNow bug fix fix one-bit error in float->int Z calculation fix float->int Z calculation in _mesa_span_default_z() added Z calculation fix changes to vishandle usage to prevent segfault in some circumstances compilation fixes removed -malign-jumps apply scale factor before clapping for DOT3 latest 5.0 bug fixes html index to doc files, doxygen files omit dmesadxe.h from tar file minor update include imports.h init facing to zero last tweaks for 5.0 release optimized color buffer clear fallback (use mono-color span functions added comments about NULL mask parameter to span-write functions check for NULL span argument moved function declaration into the template, define the NAME to specify the function names template code for span functions for flat, memory-based frame buffers Lots of clean-ups. fix compilation problem (Philippe Houdoin) Overhaul of line drawing template code. Make better use of sw_span mechanism. bump version to 5.1 more clean-ups enable 1.4 extensions bring in a few AGP-related bits from 4.0.4 put FEATURE_NV_vertex_program around vpstate.h include fixed cube texture auto-mipmap generation bug (641363) set default texcoords for glBitmap/glDrawPixels added missing ctx parameter to _tnl_flush_immediate() calls fixed bad clear value added missing call to _mesa_write_mono_alpha_span() use polygon offset to avoid multi-pass Z-fighting artifacts mask is always non-null in write_rgba_pixels and write_monorgba_pixels remove GLUTAPIENTRY from __glutCloseDownGameMode added const to casts declar vsnprintf for OS/2 and VMS (Evgeny Kotsuba) added GL_DEPTH_COMPONENT to two assertions updated to use ARB extensions fix bad _mesa_printf() calls (mesa bug 646753) clean-ups, comments properly handle very wide images added _mesa_print_texunit_state() for debugging let _mesa_problem() take variable arguments use/test GL_SGIS_generate_mipmaps if available bug fixes added RELNOTES-5.1 file improved error message comment changes DOS updates from Daniel Borca. DOS updates obsolete added new DOS files fix glCopyTexSubImage2D error checking (bug 661907) fix typo in rotation code (bug 659677) move t->Image[i]->Format test (bug 659012) fix some float/ubyte mistakes (Daniel Borca) added font-related symbols moved ADD_L instruction (Linus Torvalds) s/16/32/ (Josh Vanderhoof) remove ADD_L altogether fix fog stride bugs (Michel Danzer) OSMesa16 updates (Eric Plante), added _mesa_strtof() added _mesa_strtof() remove const from _mesa_strtof() initial code for render-to-texture prototype render-to-texture GL_NV_fragment_program First batch of code for GL_NV_fragment_program. fragment program execution simple GL_NV_fragment_program test fix glDrawPixels hang when clipping update CurrentStack in glActiveTexture if needed (bug 669080) another fix for glDrawPixels + clipping add some casts fix IBM CPP warning (Evgeny Kotsuba) use R/G/B/ACOMP indexes (Evgeny Kotsuba) use COPY_CHAN4 macro fix an assertion check for NV_fragment_program for glGetString(GL_PROGRAM_ERROR_STRING_NV) GL_ATI_texture_env_combine3 extension new X86 CPU detection code (Petr Sebor) GL_SGI_texture_color_table extension (Eric Plante) GL_SGI_texture_color_table added missing break (Leif Delgass) glGet(GL_CURRENT_SECONDARY_COLOR) should return 4 values, not 3 improved solve_plane_chan() (Evgeny Kotsuba) push/pop color table state (Eric Plante) renamed dither-related preprocessor symbols (bug 536406) silence some warnings silence warning remove unused vars new texture enums (Leif Delgass) optimize compute_coveragef (Evgeny Kotsuba) remove bad assertion, fix minor bug in _mesa_lookup_rgba() Make GL_SGI_texture_color_table work per-texture unit. some casts (Evgeny Kotsuba) move ltor computation updated version test fix prefetch bug (Felix Kuhling) fix reported 3Dnow bug in _mesa_normal_tab (Felix Kuhling) update version numbers (Klaus Niederkrueger) print debug message when SSE is disabled by user (Klaus Neiderkrueger) updated with new functions (Bill Hoffman) use ARB flavor of window_pos extension unneeded (Daniel Borca) DOS updates (Daniel Borca) read/write files, not stdio (Daniel Borca) Use 'ndc' instead of 'proj' terminology. added a comment for _tnl_need_projected_coords() fix bug in popping texture color table state replace | with & (Laurent Desnogues) fix assertion in transfer_teximage() (Laurent Desnogues) disable normal xform code - see bug 673938 replace _mesa_strtof() with _mesa_strtod() added cvsclean target added rules for making bz2 files and md5 checksums added OS/2 includes replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h version bumps, etc more work on DEFINE/DECLARATION statements, symbol tables Implement parsing of texture instructions and prototype execution. fixed bad zoomed.zStep assignment (bug 687811) Replace some #defines with enums. (Klaus Niederkrueger) latest DOS updates (Daniel Borca) updated DOS files for tarball fix zoom/clipping bug 689964 use IROUND to convert depth values from float to int (bug 690728) added TEXTURE_*_INDEX tokens parser clean-ups Move span stuff from swrast.h to s_context.h (it's private). test if active texture is really changed in _mesa_ActiveTexture() silence warning with a cast added _mesa_find_line_column() parser clean-ups (use struct parse_state) use _mesa_find_line_column() casts to silence g++ warnings fix-up pixel_format enum stuff move matrix type enum out of GLmatrix struct parser clean-ups and simplifications pass the instruction to store_vector4(). implement KIL. assorted clean-ups and improvements set MAX_NV_FRAGMENT_PROGRAM_OUTPUTS to 3 more parser test programs s/Parse_SwizzleSrcReg/Parse_VectorSrc/. Parse +/- and absolute value syntax. More clean-ups. Parse scalar/vector literals and defined identifier sources. fix float color interpolation (bug 694461) fix a cast (bug 694546) fix GLchan==GLfloat bug in solve_plane_chan (bug 694546) minor typo updated version document latest source code changes Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] remove some MESA_DEBUG stuff removed extra _mesa_memset16() prototype added extern "C" for C++ added glFinish with comment better error messages (Leif Delgass) disable using optimized _mesa_sqrtf() for now added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof) silence a GLchan=GLfloat warning with a cast fix GLchan=GLfloat problems added OS/2 version of IROUND (Evgeny Kotsuba) minor updates Documentation/website overhaul. The website content and doc/ directory minor tweaks DOS update (Daniel Borca) test GLfloat OSMesa rendering fix/improve glAreTextures/ProgramsResident (Jose Fonseca) added Klaus Niederkruger, html clean-up DJGPP tweaks DJGPP tweaks include macros.h Clean-up of parser error handling/reporting. simple NV_fragment_program texture test added fptest1, fptexture, texrect, etc Fix up some fragment program texture enable issues. added -lstc++ info, convert more plain text to html clean-ups, re-org in preparation for fragment program work use TEX_UNIT_LOOP macro to coalesce some code Store partial derivative values in sw_span structure. move #include glheader.h before extern C namespace added comments Rewrite of fragment program named parameters, constants, etc. Not done. remove/obfuscate all remaining email addresses fix GL_COLOR_MATERIAL bug subset spec (was subset.html in embedded-1-branch) add 2, not 4, in _mesa_get_compressed_formats() disable prototyped GLX_ARB_render_texture extension store correct EXP result replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] histogram code move, remove s_histogram.[ch] from Makefiles remove some unfinished code accidently checked in fixed ColorMask problem for front-buffer rendering minor clean-ups, comments, etc fix EXP instruction and ARL-relative addressing DOS updates from Daniel Borca added entries for GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_NV_fragment_program entrypoints proper dispatch for NV_fragment_program functions added _mesa_print_nv_vertex_instruction() disable normal xform code for now added GL_ARB_vertex_buffer_object functions minor updates fix texgen msg strings print GL_MULTISAMPLE_ARB Basic infrastructure for GL_ARB_vertex_buffer_object. remove duplicate line remove debug printf enable 1.4 extensions 5.0.1 updates minor change added 5.0.1 info added MD5 checksums minor updates fixed bad texgen Q problem use gluSphere instead of glutSphere so we get texcoords reduce memory needed for vertex attributes (allocate on demand) minor clean-ups, const qualifiers clean-ups, const qualifiers Remove dead code. added gnumake/gmake info _mesa_realloc() fix comments New device driver hooks for texture object and texture image creation to use structure containment to derive xmesa_context from GLcontext s/gl_ctx/mesa/ and misc clean-ups fix default compare mode fix GL_LIST_MODE, GL_CURRENT_MATRIX_STACK_DEPTH_NV and GL_CURRENT_MATRIX_NV queries GL_FOG_COORDINATE_SOURCE_EXT query was missing GL_SECONDARY_COLOR_ARRAY_SIZE_EXT query was returning stride improve some error messages minor initialization fixes added GL_FRAGMENT_PROGRAM_NV (Alan Matsuoka) clean-up current state initialization added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target() fix double-memory free in XMesaDestroyContext simplify CEILF, FLOORF, FABSF stuff some texture compression odds & ends more memory-related fixes Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height fragment program named constants and named program parameters basically work now test glProgramNamedParameter4fNV() Added gcc-sl target and shared lib shell script (Philip Brown) fix color array mixup fix typo minor parser fixes, program print-out fixes Demo of per-pixel lighting with a fragment program. initialize attribute vectors to 4 components scalar source reg can be a scalar or vector literal added _mesa_realloc() Added ctx->Texture._EnabledCoordUnits bitfield. fix some problems parsing scalar source arguments add missing return in raster_pos4f() fix string compare bug basic work on GL_ARB_vertex_buffer_object Added GL_ARB_vertex_buffer_object tokens Added function pointer typedefs for GL_NV_fragment_program add support for swap and sync extensions (Ian Romanick) fix typo fix typo remove a const Some groundwork for GL_ARB_vertex/fragment_program. fix depth texture tex env bug (#719903) checkpoint: more infrastructure for GL_ARB_vertex/fragment_program. temporary GL_ARB_fragment_program tokens Added arbprogram.c to Makefiles. added LoadProgramNV and RequestResidentProgramsNV Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting. clean up usage of extension function pointers fix some glBindProgramNV/ARB details more GL_ARB_vertex/fragment_program bits more GL_ARB_fragment_program tokens minor re-org of program matrix, program local parameter limits fix .c / .h typo use INDEX8_SPAN_ARGS fix minor warnings casts silence warnings added a cast silence warning alias ARB/NV program functions where possible added GL_EXT_depth_bounds_test Implemented GL_EXT_depth_bounds_test. fix DDX, DDY instructions (probably not finished though) remove unneeded unsigned int / zero comparisons remove unneeded fragment program test fix function prototypes for manging (Bill Hoffman) updated with newest functions fix glIsBufferARB() prototype new comments (Klaus Niederkruger) LOG2() clean-up (Klaus Niederkrueger) don't try to clear non-existant buffers updated for glIsBufferARB change global_grid_u0/u1 to REAL (Eric Cazeaux) Ian's buffer swap extensions Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places. more docs (Klaus Niederkruger) updates from Ian minor updates fixed delete statement (bug 721765) added comment about MAX_WIDTH and textures clamp fog color fix MapBufferARB() return type fix scalar literal parsing glitches initialize condition codes before running program added GL_ARB_vertex_program functions remove temporary stuff version 18 of glext.h updated with new glext.h stuff added a couple casts autoconf/automake updated for newer versions (bug 734362) a couple casts (Evgeny Kotsuba) check buffer->UseSoftware*Buffer in _mesa_free_framebuffer_data() Version defines. include "version.h" in a few files. glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB). added MESA_VERSION() macro, etc (Holger Waechtler) silence some warnings (Evgeny Kotsuba) s/_T_VBXFORM_H/_T_IMM_EXEC_H/ applied Ian's misc patches display both YCbCr and RGB image (Ian) include readtex.h misc changes from testing minor clean-ups added GL_NV_light_max_exponent minor error check tweaks for NV_light_max_exponent setup default programs for GL_ARB_vertex/fragment_program Replace most mklib.* scripts with a new uber-mklib script with more features. Remove a bunch of really old/obsolete configs. latest updates for 5.1 updated release steps remove test file Added GL_LIB_NAME / GLU_LIB_NAME so the default name for the libraries updated rule for make OSMesa lib (Brad King) s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown) Added GL_EXT_texture_rectangle (identical to GL_NV_texture_rectangle) comments regarding window sizing updated old-style makefiles for new tree fixed secondary color typo add missing vertex attribs in _tnl_copy_to_current() update for new directory tree fix GL_CURRENT_VERTEX_ATTRIB_ARB queries GL_EXT_texture_rectangle, directory tree info fixes for x86 builds Further makefile clean-up, concentrated on the x86 assembly files. moved from main/ to glapi/ clean up _tnl_copy_to_current() added missing types to _mesa_VertexAttribPointerARB() new buffer/context visual compatibility test (Phil Brown) added null pointer check in tnl_copy_to_current() s/ATTRIB_h/ATTRIB_H/ added new GL_ARB_v_p instructions More clean-ups and re-org Implemented GL_ARB_occlusion_query (not 100% finalized). GL_ARB_occlusion_query demo. fix typo, added space/anim control GLUT for OS/2 (Evgeny Kotsuba) fix include paths (Daniel Borca) DOS updates for new tree (Daniel Borca) add a few more digits to PI to make Evgeny happy DOS updates (Daniel Borca) Simplify extension string handling. tweak checks for display list zero Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation). added GL_ARB_texture_non_power_of_two GL_ARB_texture_non_power_of_two test program bigger window fix int/float conversion for GL_TEXTURE_PRIORITY in gl[Get]TexParameteri[v] minor fixes in _mesa_TexGen[id]v() to silence valgrind fix conformance glitch introduced with NPOT extension added GL_VERSION check DOS updates from Daniel Borca more DOS updates from Daniel Borca Fix up some loose ends from the last big check-in. Fix up FEATURE_* defines in config.h Karl Rasche's ARB_vertex_program parser Numbered productions for ARB_vertex_program grammar (Karl Rasche) Initial implementation of GL_MESA_program_debug - a vertex/fragment program test program for GL_MESA_program_debug extension vertex/fragment debugger extension tokens, functions for GL_MESA_program_debug Implement debugger callback, etc for vertex programs. Misc clean-ups. Restore more code lost during last big merge. New interactive debugging code - vertex or fragment program. remove printf fill in chapter 5, 6 text fix GL_SGI_texture_colortable bugs fix a few more glitches from last big check-in if texture color table is enabled, use the color table's format to evaluate the texture env function don't include malloc.h (bug 776574) replace assertion with conditional Updates from Daniel Borca. Added TOP to point to top of tree to find includes and libs updated item 1.4 added info about Mesa-newtree placeholder files remove temporary prototypes fix a bunch of warnings prep for OpenGL 1.5 added arbfrag/vertparse fix some broken links Re-org of register files for vertex/fragment programs. Will be easier to register file changes minor code improvement in glGenTextures simplify some python code glPixelMap[f/ui/us]v()'s size parameter is GLsizei, not GLint. Fix glPixelMap: s/GLint/GLsizei/ glPixelMap fix DOS and glide driver updates from Daniel Borca updates from Daniel Borca restore gcc-sl config patch to import Jon Smirl's work from Bitkeeper glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work test program to exercise glDraw/ReadPixels(GL_DEPTH_COMPONENT) and pixel zooming indentation fix regenerated for GL_IBM_multimode_draw_arrays fix PFNGLMULTIMODEDRAWARRAYSIBMPROC latest extensions and updates make _glapi_get_proc_address() return NULL if function doesn't start with gl prefix Added OpenGL 1.4's per-texture LOD bias. space bar to toggle animation remove a bunch of the extension definitions from the legacy section added GL_EXT_texture_lod_bias to OpenGL 1.4 feature list remove unused bytes variable Updates from Daniel Borca Move clamping of texture LOD bias to texture application time. fix minor warnings with casts s/GLuint/GLint/ Moved some shared vertex/fragment program code into new program.c file. added minor assertion added program.c plus minor fixes update parameter indexing always assign texcoord[i][3] to silence valgrind s/DP4/DP3/ s/DP4/DP3/ fix fog.End error update from Daniel Borca add missing glNormal, glVertex calls (Michal Wozniak) fix-up CXXFLAGS (bug 757292) pbuffer info added GLUT_CFLAGS to compile GLUT with -fexceptions (bug 726223) remove -malign-loops=2 -malign-functions=2 (bug 738020) add -lCrun for sunos5, added sunos5-smp (Greg M) include math.h ARB_point_sprite is not part of OpenGL 1.5 fix a few typos for linux-solo added fbdev/DRI and MiniGLX info assorted updates a little more MiniGLX info Added new opcodes for ARB_fragment_program, like ABS, CMP, TXB, etc. import 5.0.2 info move SWIZZLE_ZERO/ONE tokens to program.h implement SWZ and TXB. some code clean-up files for CVS to ignore Updated for 5.0.2 release. updated info for Mesa 5.1 update directories misc updates move GL_MESA_program_debug code into program.c fix typo more debugger development use GL_GLEXT_PROTOTYPES update sunos5 targets (Greg Menke) SunOS tweaks (Greg Menke) Remove all the swap_control stuff from glxgears demo (restored to vers 1.2). fix timer bug (801485) remove last of mklib.solaris stuff Added prototypes for internal functions to bufferobj.h. remove duplicate sunos5-smp entries plug in vertex buffer object functions display list support for ARB_vertex/fragment_program Allow glTexImage1/2/3D to specify width/height/depth = 0. allow glTexImage1/2/3D width/height/depth = 0 Some work on ARB_vertex_buffer_object. minor simplification fix up FEATURE_* defines set ARB_vertex_buffer_object in _mesa_enable_sw_extensions() move some functions, add some comments move a comment changed a comment More work on ARB_vertex_buffer_object. added call to _mesa_enable_1_5_extensions() new casts GL_ARB_vertex_buffer_object working now, at least for non-indexed test GL_ARB_vertex_buffer_object Implement GL_ELEMENT_ARRAY_BUFFER_ARB for buffer objects. Exercise the GL_ELEMENT_ARRAY_BUFFER_ARB path s/GL_READ_WRITE_ARB/GL_WRITE_ONLY_ARB/ unbind vertex arrays from buffer in DeleteBuffersARB() Fixed/added some error checks. remove unused Target field from gl_buffer_object updated with new extension info assorted updates Remove FLT_MIN definition to imports.h removed unused NoRaster and Rendering fields from GLcontext version tweaks remove MESA_TRACE stuff Move context ASSERT/FLUSH macros to context.h Move macros from header to C file. Updated some comments s/_backface_sign/_BackfaceSign/ tweak an error message Move away from using the ctx->_TriangleCaps bitfield. a few less occurances of _TriangleCaps added note about _TriangleCaps minor updates summary of Mesa's extension enum values Assorted casts to silence g++ warnings. casts apply patch #740145 from SourceForge remove a _TriangleCaps reference minor clean-ups new enum values for GL_MESA_program_debug enum updates added info about vertex/fragment program debugger GL_ARB_point_sprite demo updates from Daniel Borca improved 'clean' targets (Otto Solares) fix error message (bug 816876) Eric Plante's updates for OSMesa16. old/unused remove bogus _swrast_texture_table_lookup() call (Eric Plante) add switch defaults to silence warnings don't use color table's format to determine texture env functions don't request accum buffer in color index mode s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ fix some sphere texgen bugs (reported by Daniel Borca) added GL_ARB_point_sprite demo, texgen bug fix minor fix in buffer_object_get_target() bufObj->Access wasn't being set exercise more vertex buffer object functions remove some cruft minor tweaks initialize GetBufferSubData pointer fix minor warnings from g++ 3.2 protect whole file with #ifdef FX added GL_ARB_point_sprite tokens obsolete update list of files for tarballs add .dsp files to tarballs fix CVS info Move initialization of default ctx->Driver.buffer-object-functions into fix an error message wrap in #ifdef FX / #endif added more debug code and tests Initial work for bounds checking of vertex arrays and vertex buffer objects. s/GLuint */GLvoid */ added MorphOS instructions (Matt Sealey) Pass $(MKLIB_OPTIONS) to mklib script to allow setting extra options. minor fix to glutSetColor prototype (Evgeny Kotsuba) prefix MAKELIB with TOP in default case (Matt Sealey) another tweak from Matt Sealey fix AccessViolation bug (#835861) added wgl bug fix s/xoffset/zoffset/ (Cedric Gautier) added glTexSubImage3D bug fix comments s/GGIMesaContext/ggi_mesa_context_t/ Redo array element checking for vertex array buffers. Ville Syrjala's logic op patch updated 5.0.2 tarballs added Ville's RGBA blend fix no-op glAccum in selection/feedback mode (per Mark Kilgard's updates to the 1.5 spec) added glAccum bug fix remove GL_GLEXT_LEGACY fix texgen bug 597589 fix comments about Cr==V, Cb==U Some groundwork for supporting GLhalf datatype. added missing <type> error checking in read_index_pixels() added reference to original half/float conversion code fix a bunch of warnings reformat comments for 80-column viewing s/byte/GLubyte/ and other minor clean-ups fix some bugs in computation of DDX, DDY commands GL_ARB_point_sprite is not part of 1.5 pass ctx to fetch_vector4_deriv() added OpenGL 1.5 tokens and functions not yet put into glext.h include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr added GL_ARB_vertex/fragment_program and new vertex code minor error string improvement whitespace and comment changes fix YCBCR assertion and disable assertion in auto-mipmap code set the VB->FogCoordPtr with the other legacy pointers updated list of new/old src files generate the OpenGL 1.5 entrypoints minor cast fixes oops, fix glitches in 1.5 functions updated after APIspec fixes Remove unnecessary usage of __FUNCTION__. added a cast remove __FUNCTION__ hack silence a warning fix a lot of warnings found with g++ casts for g++ fix assorted g++ warnings Otto Solares' patch to add radeon 9200 added SoftGL link current raster color index should be GLfloat updated CVS info added link to Chromium updated NetReality -> Pansophica fix an error test if id==0 in glGetQueryObject, raise GL_INVALID_OPERATION more tweaks to error checking and reporting Fix generic/conventional vertex array glitches. Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when s/texUnit->Enabled/enableBits/ (Karl Rasche) updated list of files since merging vtx branch fix __sparc_v9__ test to exclude linux (bug 852204) added description of faster glDraw/CopyPixels code Fix some problems with glDrawElements and vertex buffer objects. Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings. don't use new glDrawPixel routines in Xserver press f key to toggle front/back drawing/copying Fix a front/back CopyPixels glitch. don't include GL/gl.h, define GLAPIENTRYP if not defined include glheader.h first, to prevent warnings about GLAPIENTRYP being redefined s/APIENTRY/GLAPIENTRY/ for 1.5 functions basic API work for FBConfigs & Pbuffers glFBDev driver from embedded-2 branch. Basic info about the glFBDev interface/driver. tweaks for SunOS conditionally define GLAPIENTRYP to prevent some warnings in linux-solo added drivers/fbdev/glfbdev.c Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment added fbdev/glfbdev.c to tarball list replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall) check for null dpy in Fake_glXGetConfig() fix visinfo typo new Makefiles lists of common source files improved makefiles makefile improvements new makefiles uncomment-out tdfx driver updated list of files applied Felix's patch for configuration system remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays() check swrast->NewState in Draw/CopyPixels functions Updates from Philippe Houdoin. added BeOS files, src/mesa/sources file init vars to silence warnings call _ae_destroy_context() and _ae_invalidate_state() from the proper places fix some matypes.h glitches fixed bad touch command Assorted mklib tweaks. fix GL_MIN/MAX w/ glBlendFuncSeparate bug (Ian Romanick) s/Makefile.X11/Makefile.solo/ for make clean updated location of config.h updates for 5.1 release added MD5 checksums for 5.1 tarballs added link to RELNOTES-5.1 Version bumps, etc for Mesa 6.0 the optimized UNCLAMPED_FLOAT_TO_UBYTE macro was broken updated CVS info added info about S3TC texture compression added -fPIC -fomit-frame-pointer etc to sunos5-gcc configs (bug 868737) latest updates whitespace changes and new comments added missing descrip.mms files to tar file list remove BMRT link added Aqsis link updates for 6.0 release reindent the code set StringPos field in parse_vp_instruction (Mesa bug 873011) Change < to <= when testing counts against ctx->Const.MaxArrayLockSize, re-enable SSE code, except for the _mesa_sse_transform_points4_identity() function. Use the x86 version instead regenerated to support new 1.5 functions, etc. Use same steps for Linux and OpenBSD. added aix-gcc config added OSMESA_LIB_DEPS needed for some platforms removed MAKELIB lines. tweak openbsd config aix-gcc tweaks more aix-gcc tweaking add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some comments call _mesa_delete_texture_object() from in the driver's DeleteTexture function fix vertex program debugger issues (Bug 874382) change -O to -O2 for aix-gcc comment-out the touch/rm depend lines make executable added note about mklib permissions latest bug fixes updated to version 21 with OpenGL 1.5 support remove stuff that's now in glext.h glDeleteProgramsARB() failed for fragment programs (bug 876160) exercise glDeleteProgramsARB updated glext.h, fixed bug 876160 tweak aix-gcc config bump MAX_WIDTH/HEIGHT to 4K pixels latest changes, bug fixes added blurb about NVIDIA extensions use -G not -shared for gcc on SunOS change MALLOC to CALLOC to silence valgrind error in _playback_copy_to_current() Cosmetic changes. fix -fomit-frame_pointer typo tweaks for 6.0 release bump version to 6.1 (new development) added some missing FLUSH_VERTICES calls tweak openbsd config tweak OpenBSD and SunOS commands make second param of driParseConfigFiles() const include sched.h to get sched_yield() prototype s/char/GLubyte/ to silence warnings include texobj.h to silence warnings change Data ptr from GLbyte to GLubyte to silence warnings Change get_ust_nop()'s parameter from int64_t to uint64_t to silence warnings. minor changes to silence warnings fix glitch from previous check-in (pointer vs int) omit CVS directories from tarballs, bump version to 6.1 remove incorrect comments, added _mesa_bzero() call in _mesa_initialize_texture_object() replace CALLOC with MALLOC in _mesa_new_texture_object() replace -lm with $(GL_LIB_DEPS) to get -lexpat _mesa_init_driver_functions() to initialize dd_function_table Before calling _mesa_create_context(), initialize a dd_function_table struct initial 6.1 release notes with info about recent _mesa_create_context changes, etc. Undo some bits from last check-in related to the ctx->Driver.NewTextureObject remove _mesa_check_driver_hooks() - it's really not too useful anymore don't call glVertex functions directly, call _glapi_Dispatch->Vertex(), etc misc updates Initial support for floating point and signed texture formats. fix assorted compilation issues a few more tweaks more fixing for tdfxUpdateTexturePalette Change software alpha plane pointers from void* to GLchan*, eliminate some casts. added device driver hooks for BindProgram, NewProgram, DeleteProgram added link to ORSA (per request) New glXUseRotatedXFontMESA() function. Like glXUseXFont(), but takes initial info for version 6.1 Some initial RGB and RGBA floating point texture formats. New error checking in _mesa_GetTexImage(). updated GLUT link replace MALLOC w/ CALLOC to silence valgrind warnings remove bogus assertion in DeleteTexture() function change PFNGLXGETUSTPROC's argument from uint64_t to int64_t to match the DRI s/BlendEquatioRGB/BlendEquationRGB/ patch from bug 885992 minor fixes to glw's touch depend tweak the #if test for defining _ASMAPI (fixes IRIX problem) fix C++ link issues on IRIX fix ARCHOPT typo more IRIX tweaks replace spaces w/ tabs more descriptive error strings Via Unichrome/cle266 driver (Erdi Chen) Minor fixes for recent Mesa 6.1 changes added unichrome directory glBindProgramARB wasn't getting compiled into display lists (bug 887383) add missing CXX, CXXFLAGS for osf1 (Bug 886628) don't call gl functions directly, jump through _glapi_Dispatch table enable program and arrays by default, minor clean-ups add vparray.c, fix indentation added _NEW_PROGRAM to check_state flags for pipeline stages (fixes vparray demo bug) minor #ifdef fix added display list option (l key) tweak comments glXChooseFBConfig() didn't handle GLX_FBCONFIG_ID option updated list of env vars s/getenv/_mesa_getenv/ another pbuffer demo (Andrew Lentvorski) added Daniel Stone for getting CVS access fix two-sided lighting / vertex program bug (#887330) another tweak to two-sided detection test fix stores to vertex state program registers fix typo fix glXChooseFBConfig bug 890167 bring in Keith's _math_matrix_ortho() compiler work-around update function mangling and add comment about it to gl.h added GLU_INCOMPATIBLE_GL_VERSION Added flags for _all_ extensions to the gl_extensions struct so that drivers implement Fake_glXCreateWindow() to fix bug #890894 added an additional comment about mipmap generation fully parameterize the macros for fixed-point arithmetic Updated to handle generic vertex attributes accessed vi glArrayElement(). tweak solaris-x86-gcc and ggi targets Restore some of the previous code for handling conventional vertex attributes some useful matrix functions Do more bookkeeping of vertex buffer object reference counts. Fix the problem found with UT after I had added support for glVertexAttrib. bunch of assorted updates/changes Minor re-org of state for fog and precision options. new comments, rename some stuff set buffer object default Usage and Access init secondary color to (0,0,0,1). remove some redundant initializations. info about precompiled libs for Solaris added note about kernel modules Minor clean-ups of variable scopes, initializations, etc. some code clean-ups remove incorrect negation in fog coord computation Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles added FixedToDouble() macro added FogOption to fragment_program struct some debug code just some reformatting added SPAN_W define DO_FRAGMENT_FOG=1 to test fragment program fog option A bit of an overhaul of the fog code. compute fog coord in eye space, not clip space A few more tweaks to fog code. recent bug fixes/changes (fog, glArrayElement, triangle rasterization) some minor tweaks fix typo (Matt Case) updates from Erdi Chen glDrawArrays loop was wrong added some const keywords Yet another revision of _ae_update_state(). Issue both conventional AND upgraded to version 22 s/transform/tnl/ added some GLAPIENTRY keywords, minor clean-ups fix incorrect texcoord attribute index jump through dispatch table instead of calling gl functions directly turns out we probably need a _tnl_allow_pixel_fog() function afterall call _tnl_allow_pixel/vertex_fog() funcs use ABS(Z) when computing blend factors added _tnl_allow_vertex/pixel_fog() calls Fix C/C++ calling conventions problem (Bug 904854) fix library naming glitches (bug 904867) fix another glDrawArrays indexing bug, jump through _glapi_Dispatch functions check for invalid vertex/fragment program in glBegin check for invalid fragment program in glDrawPixels, glCopyPixels and glBitmap check for null paramList fix PK2H, UP2H, PK2US bugs move _mesa_load_state_parameters() to state validation stage paltex demo from recent texcombine changes. Minor clean-ups replace color table FloatTable boolean with Type enum consolidate some code move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan() rename some span pack/unpack functions for better uniformity consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() function minor clean-ups Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the