summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
AgeCommit message (Collapse)Author
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.
2003-10-09Eric's mesa-depth32.diffKeith Whitwell
2003-09-18Move context ASSERT/FLUSH macros to context.hBrian Paul
2003-09-18remove MESA_TRACE stuffBrian Paul
2003-09-18removed unused NoRaster and Rendering fields from GLcontextBrian Paul
2003-09-17remove unused Target field from gl_buffer_objectBrian Paul
2003-09-17GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul
vertex arrays.
2003-09-17More work on ARB_vertex_buffer_object.Brian Paul
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
2003-09-15Some work on ARB_vertex_buffer_object.Brian Paul
Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
2003-09-09Added most of the infrastructure required to supportIan Romanick
ARB_vertex_buffer_object. THIS IS INCOMPLETE.
2003-09-02Added support for EXT_texture_mirror_clamp and the single wrap modeIan Romanick
that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
2003-08-31Moved some shared vertex/fragment program code into new program.c file.Brian Paul
Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state.
2003-08-28Added OpenGL 1.4's per-texture LOD bias.Brian Paul
2003-08-23Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick
subset of GL_NV_point_sprite (which was already supported).
2003-08-22Added support for GL_IBM_multimode_draw_arrays.Ian Romanick
Added non-static entrypoints and the name string for GL_SUN_multi_draw_arrays (identical to GL_EXT_multi_draw_arrays). Made add_newer_entrypoints (in src/mesa/main/context.c) table driven. This reduced the size of context.o by about 3KB.
2003-08-17Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul
hook in global state references, etc. for ARB programs.
2003-08-05Store material attributes in an Attrib[] style array. This is aKeith Whitwell
first step to reviving/rescuing the 'vtx' rework from the old mesa tree.