summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* move a bunch of gl2/shading language structs from mtypes.h to shaderobjects.hBrian Paul2005-11-191-81/+0
|
* Reduce stderr noise.Aapo Tahkola2005-11-181-2/+2
|
* In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.Brian Paul2005-11-181-43/+13
| | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries.
* move _mesa_update_state() calls before error tests that depend on ↵Brian Paul2005-11-171-11/+11
| | | | framebuffer completeness
* improved error checking in error_check_format_type()Brian Paul2005-11-171-6/+6
|
* additional comments about GL_DEPTH_STENCIL buffersBrian Paul2005-11-161-2/+9
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-6/+4
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* added depthstencil.cBrian Paul2005-11-161-0/+3
|
* Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul2005-11-167-23/+740
| | | | | depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
* added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul2005-11-162-8/+59
|
* add GL_INVALID_FRAMEBUFFER_OPERATION_EXT in _mesa_error()Brian Paul2005-11-161-0/+3
|
* check for ctx==NULL, bug 4087Brian Paul2005-11-151-1/+2
|
* Added _mesa_light() helper function so we can avoid transforming thenBrian Paul2005-11-124-96/+150
| | | | | un-transforming light positions and spot directions when popping light state off the attribute stack.
* Added OSMesaColorClamp(), bug 4917Brian Paul2005-11-124-13/+7
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-125-27/+33
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* Make _mesa_is_proxy_texture() non-static and use in a few more places.Brian Paul2005-11-114-82/+39
| | | | | Use COPY_4FV() where possible. Added some comments, clean-ups.
* s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul2005-11-102-18/+26
|
* fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul2005-11-101-1/+1
|
* Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul2005-11-103-16/+14
| | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
* fix popping of GL_EYE_PLANE state (bug 4996)Brian Paul2005-11-091-10/+20
|
* Bug 4996.Brian Paul2005-11-093-40/+38
| | | | | Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
* Move COPY_FLOAT() macro down into glide driver.Brian Paul2005-11-092-16/+14
| | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
* At keithw's request, remove all traces of the "fragment program to C" andIan Romanick2005-11-081-5/+0
| | | | TCC experiment.
* s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul2005-11-081-1/+1
|
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-086-26/+201
|
* Unify vertex/fragment program instuctions.Brian Paul2005-11-052-34/+33
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* remove unneeded #includesBrian Paul2005-11-052-4/+0
|
* Replace parameter_type enum in program.[ch], use register_file enums instead.Brian Paul2005-11-051-11/+14
|
* minor improvements in _mesa_init_teximage_fields()Brian Paul2005-11-051-9/+9
|
* better ffs() function (bug 4956)Brian Paul2005-11-041-6/+20
|
* fix MinGW problems (bug 4956)Brian Paul2005-11-041-1/+1
|
* Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul2005-11-022-13/+16
|
* Several fp and vp tweaks:Keith Whitwell2005-11-012-34/+58
| | | | | | | | | | | | | | | | | | | | | | - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-017-44/+92
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* clean-up commentsBrian Paul2005-10-291-6/+9
|
* fix GLX server resize/crash when resizing windowsBrian Paul2005-10-212-1/+4
|
* descrip.mms syntax correctionJouk Jansen2005-10-201-1/+1
|
* updated for new mm.c, execmem.c filesBrian Paul2005-10-191-0/+6
|
* move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul2005-10-181-11/+8
|
* Lots of clean-ups. Replace __inline__ with INLINE macro. Use theBrian Paul2005-10-183-50/+134
| | | | | _mesa_calloc(), _mesa_free() functions. Clean-up formatting, doxygen-style comments.
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-184-0/+392
| | | | | executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
* remove unused _mesa_log2() (bug 4468)Brian Paul2005-10-121-3/+0
|
* change test for presence of accum bufferBrian Paul2005-10-081-1/+1
|
* Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul2005-10-084-28/+64
| | | | etc. after calling glRenderBufferStorageEXT gave undefined results.
* Populate arb_fp_instruction negate field correctly.Keith Whitwell2005-10-071-1/+1
|
* Fix a number of point size attenuation problems.Brian Paul2005-10-073-44/+52
| | | | Move size clamping into the rasterization function.
* fix byteswapping bug in _mesa_texstore_ycbcr() (Benjamin Herrenschmidt)Brian Paul2005-10-051-7/+7
|
* Remove _IsPowerOfTwo from gl_texture_object, not really needed.Brian Paul2005-10-052-8/+0
|
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-054-23/+23
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-057-51/+56
| | | | _BaseFormat to be consistant with gl_renderbuffer.