summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
Commit message (Collapse)AuthorAgeFilesLines
* merge from texman branchmesa_20060325Brian Paul2006-03-261-5/+5
|
* Lots of changes/fixes for rendering to framebuffer objects.Brian Paul2006-03-201-5/+3
| | | | | | | - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
* sync with texmem branchBrian Paul2006-03-151-0/+2
|
* s/GLuint/GLbitfield/Brian Paul2006-01-091-1/+1
|
* Added FinishRenderTexture() device driver function to indicate whenBrian Paul2005-12-011-0/+3
| | | | | rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
* Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul2005-11-161-1/+2
| | | | | depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
* Added _mesa_light() helper function so we can avoid transforming thenBrian Paul2005-11-121-1/+4
| | | | | un-transforming light positions and spot directions when popping light state off the attribute stack.
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-081-0/+6
|
* Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.Brian Paul2005-09-141-6/+0
|
* Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul2005-09-131-9/+1
| | | | ctx->Driver.Stencil*Separate() functions.
* Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵Brian Paul2005-09-021-2/+4
| | | | | | yet). Extends the query mechanism to query elapsed time while rendering.
* Rearrange the code related to GL_ARB_occlusion_object to generalize queryBrian Paul2005-08-271-0/+8
| | | | objects for future types of queries.
* Change prototype for TextureMemCpy to return void* (was void).Karl Schultz2005-05-241-1/+1
|
* Import Thomas Helstrom's SSE memcpy code from the via X.org driver.Keith Whitwell2005-05-231-0/+13
| | | | | | Add a TextureMemCpy callback, called from texstore.c when copying texture data via the memcpy_texture() path. Enable this code in the via driver - 100% speedup in texdown.c results.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-5/+10
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* add FreeTexImageData hook to help single-copy texturing in driversKeith Whitwell2005-03-221-0/+5
|
* More GL_EXT_framebuffer_object: rename some things, added device driver hooks.Brian Paul2005-02-241-1/+12
|
* Determine ahead of time whether a display list will include verticesKeith Whitwell2005-01-221-3/+4
| | | | | | which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems.
* Some initial work for OpenGL 2.0: glStencilFunc/Op/MaskSeparate() functions.Brian Paul2005-01-121-1/+10
|
* Added driver hooks for GetTexImage() and GetCompressedTexImage().Brian Paul2004-12-121-4/+20
| | | | Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c
* Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul2004-11-271-1/+9
| | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-0/+2
|
* minor doxygen updatesBrian Paul2004-05-141-3/+0
|
* Removed the old teximage code.Brian Paul2004-04-271-11/+7
| | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-17/+3
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Make it easier for drivers to create "subclasses" of the existingKeith Whitwell2004-02-141-1/+11
| | | | | | | program struct hierarchy. Add driver callbacks to enable the above and make it possible to track more changes to program objects.
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-1/+1
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* added device driver hooks for BindProgram, NewProgram, DeleteProgramBrian Paul2004-01-231-0/+13
|
* Remove dd_function_table::BlendFunc. All drivers now useIan Romanick2004-01-211-1/+0
| | | | | | dd_function_table:BlendFuncSeparate. If a driver does not actually support EXT_blend_func_separate, it can assume that the RGB and alpha blend functions are the same.
* Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul2004-01-201-59/+40
| | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-17/+18
|
* texture compressionDaniel Borca2003-10-291-0/+11
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-61/+61
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* move some functions, add some commentsBrian Paul2003-09-171-32/+40
|
* Added most of the infrastructure required to supportIan Romanick2003-09-091-0/+33
| | | | ARB_vertex_buffer_object. THIS IS INCOMPLETE.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-240/+492
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* New device driver hooks for texture object and texture image creation toBrian Paul2003-04-011-4/+11
| | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-2/+6
| | | | | | | Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-9/+1
| | | | | | Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
* new texture compression infrastructureBrian Paul2002-09-271-50/+1
|
* GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul2002-09-061-1/+10
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-24/+11
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-8/+7
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* vertex program attribute array workBrian Paul2002-04-211-1/+3
|
* buffer resize changesBrian Paul2002-03-161-6/+12
|
* More suport for t&l driversKeith Whitwell2002-02-131-3/+3
| | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls
* vertex program check-inBrian Paul2001-12-141-1/+4
|
* dispatch changes to minimize hassle with XFree86 libGLBrian Paul2001-12-041-9/+9
|
* API dispath updatesBrian Paul2001-11-181-9/+9
|