1*61046927SAndroid Build Coastguard Worker 2*61046927SAndroid Build Coastguard Worker Mesa 6.1 release notes 3*61046927SAndroid Build Coastguard Worker 4*61046927SAndroid Build Coastguard Worker August 18, 2004 5*61046927SAndroid Build Coastguard Worker 6*61046927SAndroid Build Coastguard Worker PLEASE READ!!!! 7*61046927SAndroid Build Coastguard Worker 8*61046927SAndroid Build Coastguard Worker 9*61046927SAndroid Build Coastguard Worker 10*61046927SAndroid Build Coastguard WorkerIntroduction 11*61046927SAndroid Build Coastguard Worker------------ 12*61046927SAndroid Build Coastguard Worker 13*61046927SAndroid Build Coastguard WorkerMesa uses an even/odd version number scheme like the Linux kernel. 14*61046927SAndroid Build Coastguard WorkerOdd numbered versions (such as 6.1) designate new developmental releases. 15*61046927SAndroid Build Coastguard WorkerEven numbered versions (such as 6.0) designate stable releases. 16*61046927SAndroid Build Coastguard Worker 17*61046927SAndroid Build Coastguard Worker 18*61046927SAndroid Build Coastguard WorkerNew Features 19*61046927SAndroid Build Coastguard Worker------------ 20*61046927SAndroid Build Coastguard Worker 21*61046927SAndroid Build Coastguard WorkerHalf-precision floating point (GLhalf) pixel formats are supported 22*61046927SAndroid Build Coastguard Workerin Mesa, but the feature isn't exposed yet since the ARB extension 23*61046927SAndroid Build Coastguard Workerhasn't been finalized yet. 24*61046927SAndroid Build Coastguard Worker 25*61046927SAndroid Build Coastguard Worker 26*61046927SAndroid Build Coastguard WorkerTexture image handling 27*61046927SAndroid Build Coastguard Worker---------------------- 28*61046927SAndroid Build Coastguard Worker 29*61046927SAndroid Build Coastguard WorkerThe code which implements image conversion, pixel transfer ops, etc 30*61046927SAndroid Build Coastguard Workerfor glTexImage commands has been rewritten. 31*61046927SAndroid Build Coastguard Worker 32*61046927SAndroid Build Coastguard WorkerNow the gl_texture_format struct has a new StoreImage function 33*61046927SAndroid Build Coastguard Workerpointer. Each texture format must implement this function. The 34*61046927SAndroid Build Coastguard Workerfunction is totally responsible for converting the user's texture 35*61046927SAndroid Build Coastguard Workerimage into the specific format. A few helper functions makes this 36*61046927SAndroid Build Coastguard Workerrelatively simple. 37*61046927SAndroid Build Coastguard Worker 38*61046927SAndroid Build Coastguard WorkerOverall, the code is much simpler, cleaner and easier to work with 39*61046927SAndroid Build Coastguard Workernow. Adding new texture formats is straight-forward and there's no 40*61046927SAndroid Build Coastguard Workerlonger any distinction between "hardware" and "software" formats. 41*61046927SAndroid Build Coastguard Worker 42*61046927SAndroid Build Coastguard WorkerFinally, the code for compressed texture images has been reorganized 43*61046927SAndroid Build Coastguard Workeras well. 44*61046927SAndroid Build Coastguard Worker 45*61046927SAndroid Build Coastguard WorkerRemoved files: 46*61046927SAndroid Build Coastguard Worker texutil.c 47*61046927SAndroid Build Coastguard Worker texutil.h 48*61046927SAndroid Build Coastguard Worker texutil_tmp.h 49*61046927SAndroid Build Coastguard Worker 50*61046927SAndroid Build Coastguard WorkerNew files: 51*61046927SAndroid Build Coastguard Worker texcompress_s3tc.c 52*61046927SAndroid Build Coastguard Worker texcompress_fxt1.c 53*61046927SAndroid Build Coastguard Worker 54*61046927SAndroid Build Coastguard Worker 55*61046927SAndroid Build Coastguard Worker 56*61046927SAndroid Build Coastguard WorkerDriver / context changes 57*61046927SAndroid Build Coastguard Worker------------------------ 58*61046927SAndroid Build Coastguard Worker 59*61046927SAndroid Build Coastguard WorkerThe _mesa_create_context() and _mesa_initialize_context() function 60*61046927SAndroid Build Coastguard Workerparameters have changed. They now take a pointer to a struct 61*61046927SAndroid Build Coastguard Workerdd_function_table. Drivers can initialize this table by calling 62*61046927SAndroid Build Coastguard Worker_mesa_init_driver_functions(). Drivers should then plug in the special 63*61046927SAndroid Build Coastguard Workerfunctions they implement. In particular, the ctx->Driver.NewTextureObject 64*61046927SAndroid Build Coastguard Workerpointer _must_ be set so that the default texture objects created in 65*61046927SAndroid Build Coastguard Worker_mesa_create/initialize_context() are correctly built. 66*61046927SAndroid Build Coastguard Worker 67*61046927SAndroid Build Coastguard WorkerThe _mesa_init_driver_functions() function allows a lot of redundant code 68*61046927SAndroid Build Coastguard Workerto be removed from the device drivers (such as initializing 69*61046927SAndroid Build Coastguard Workerctx->Driver.Accum to point to _swrast_Accum). Adding new functions to 70*61046927SAndroid Build Coastguard Workerthe dd_function_table can be done with less hassle since the pointer can 71*61046927SAndroid Build Coastguard Workerbe initialized in _mesa_init_driver_functions() rather than in _all_ the 72*61046927SAndroid Build Coastguard Workerdrivers. 73*61046927SAndroid Build Coastguard Worker 74*61046927SAndroid Build Coastguard Worker 75*61046927SAndroid Build Coastguard WorkerDevice Drivers 76*61046927SAndroid Build Coastguard Worker-------------- 77*61046927SAndroid Build Coastguard Worker 78*61046927SAndroid Build Coastguard WorkerMesa advertises itself as supporting OpenGL 1.2, 1.3, 1.4 or 1.5 79*61046927SAndroid Build Coastguard Workerdepending on the device driver's capabilities. For example, if the 80*61046927SAndroid Build Coastguard Workerdriver enables all the ARB extensions which are part of OpenGL 1.5 81*61046927SAndroid Build Coastguard Workerthen glGetString(GL_VERSION) will return "1.5". Otherwise, it'll 82*61046927SAndroid Build Coastguard Workerreturn "1.4" or the next lower version that implements all required 83*61046927SAndroid Build Coastguard Workerfunctionality. 84*61046927SAndroid Build Coastguard Worker 85*61046927SAndroid Build Coastguard WorkerA number of Mesa's software drivers haven't been actively maintained for 86*61046927SAndroid Build Coastguard Workersome time. We rely on volunteers to maintain many of the drivers. 87*61046927SAndroid Build Coastguard WorkerHere's the current status of all included drivers: 88*61046927SAndroid Build Coastguard Worker 89*61046927SAndroid Build Coastguard WorkerDriver Status 90*61046927SAndroid Build Coastguard Worker---------------------- --------------------- 91*61046927SAndroid Build Coastguard WorkerXMesa (Xlib) implements OpenGL 1.5 92*61046927SAndroid Build Coastguard WorkerOSMesa (off-screen) implements OpenGL 1.5 93*61046927SAndroid Build Coastguard WorkerGlide (3dfx Voodoo1/2) implements OpenGL 1.3 94*61046927SAndroid Build Coastguard WorkerSVGA implements OpenGL 1.3 95*61046927SAndroid Build Coastguard WorkerWind River UGL implements OpenGL 1.3 96*61046927SAndroid Build Coastguard WorkerWindows/Win32 implements OpenGL 1.5 97*61046927SAndroid Build Coastguard WorkerDJGPP implements OpenGL 1.5 98*61046927SAndroid Build Coastguard WorkerGGI implements OpenGL 1.3 99*61046927SAndroid Build Coastguard WorkerBeOS implements OpenGL 1.5 100*61046927SAndroid Build Coastguard WorkerAllegro needs updating 101*61046927SAndroid Build Coastguard WorkerD3D needs updating 102*61046927SAndroid Build Coastguard Worker 103*61046927SAndroid Build Coastguard Worker 104*61046927SAndroid Build Coastguard Worker 105*61046927SAndroid Build Coastguard WorkerOther Changes 106*61046927SAndroid Build Coastguard Worker------------- 107*61046927SAndroid Build Coastguard Worker 108*61046927SAndroid Build Coastguard WorkerSee the VERSIONS file for more details about bug fixes, etc. in Mesa 6.1. 109*61046927SAndroid Build Coastguard Worker 110*61046927SAndroid Build Coastguard Worker 111*61046927SAndroid Build Coastguard Worker---------------------------------------------------------------------- 112