summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
AgeCommit message (Collapse)Author
2004-11-27Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul
Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
2004-11-25Some new comments, clean-up formatting, etc.Brian Paul
2004-11-22handle ENABLE_BIT for EXT_stencil_two_sideDaniel Borca
2004-11-12added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device driversDaniel Borca
2004-10-27add entries for extensions ARB_shader_objects, ARB_fragment_shader andMichal Krol
ARB_vertex_shader
2004-10-16Add support for OES_read_format. As soon as glext.h is updated with theIan Romanick
enums for this extension, the changes to gl.h can be removed.
2004-10-07Add Roland Scheidegger's S3TC patch. This patch does not implement theEric Anholt
(patented) S3TC/DXTC algorithms, but adds an option to dlopen a library module providing functions to do so. Because it uses dlopen, it is only enabled if USE_EXTERNAL_DXTN_LIB=1 is defined (which is only in linux-dri config, so far). It adds support for S3TC to several DRI drivers, and adds a DRI config option to force enabling S3TC even if the software compression/decompression is unavailable. This may allow people to use apps that require S3TC even though they don't have a license to implement the patented material themselves, if those apps use precompressed textures. Ideally we would get permission from the current holder of the patents to implement the algorithm in Mesa, at which point the dlopen mess could go away. Until then, this allows some to run applications they couldn't otherwise, and hopefully will provide us with more push to get the final step of getting that permission done.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-09-14also fix possible delete bugs with buffer objects and vertex/fragment programsBrian Paul
2004-09-14Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.Brian Paul
Added a DeletePending flag to texture object struct to fix that. Other misc clean-ups.
2004-09-13changes towards GL_ARB_point_sprite (two-zero)Daniel Borca
2004-07-02a few commentsBrian Paul
2004-06-11remove the 3dfx CatchSignals stuff (the var was alwasy set)Brian Paul
2004-05-12Added big-endian texture formats.Brian Paul
Moved CI->RGBA palette lookup into texel fetch function.
2004-05-10Add EXT_vertex_cull support to mesaKeith Whitwell
2004-05-04Fix minor warnings found with g++.Brian Paul
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-21Fix up some assorted issues with initialization of vertex program registers.Brian Paul
Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-03-04yet another take on VBO deleting and reference countingBrian Paul
2004-03-03comments, capitalization, misc-clean-upsBrian Paul
2004-02-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul
function
2004-02-28replace color table FloatTable boolean with Type enumBrian Paul
2004-02-24added some const keywordsBrian Paul
2004-02-17added FogOption to fragment_program structBrian Paul
2004-02-17added FixedToDouble() macroBrian Paul
2004-02-08fully parameterize the macros for fixed-point arithmeticBrian Paul
2004-02-06Refactor "class" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state.
2004-02-06Added flags for _all_ extensions to the gl_extensions struct so that driversBrian Paul
can disable any extension if necessary.
2004-01-28Move FRAG_BIT_ definitions to mtypes.h so that NEED_SECONDARY_COLOR() macroKeith Whitwell
works globally.
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-23Change software alpha plane pointers from void* to GLchan*, eliminate some ↵Brian Paul
casts.
2004-01-23Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell
2004-01-23Initial support for floating point and signed texture formats.Brian Paul
New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
2004-01-05Re-commit t_vertex.[ch] changes to fd.o server.Keith Whitwell
2003-12-12remove TexCoordInterleaveFactor. Clean up _mesa_InterleavedArrays()Brian Paul
2003-11-29Fix generic/conventional vertex array glitches.Brian Paul
Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and generic enable bits do not alias. In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc. In t_array_import.c give priority for generic arrays over conventional arrays on an individual basis, not all or none.
2003-11-25current raster color index should be GLfloatBrian Paul
2003-11-25Remove unnecessary usage of __FUNCTION__.Brian Paul
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-11-21more texture compressionDaniel Borca
2003-11-19Initial checking of new ARB_frag/vertex program parserKarl Rasche
2003-11-12Ville Syrjala's logic op patchBrian Paul
2003-11-10Redo array element checking for vertex array buffers.Brian Paul
Now, compute ctx->Array._MaxElement as the min of enabled array's max element. Test against ctx->Array._MaxElement in glDrawArrays/Elements. Note: testing in glArrayElement not done yet. Only do element checking if ctx->Const.CheckArrayBounds is set.
2003-10-22Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul
Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.