Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add parenthesis | Brian Paul | 2008-09-21 | 1 | -3/+3 |
| | | | | (cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d) | ||||
* | mesa: move rastpos helper to tnl | Keith Whitwell | 2008-09-21 | 1 | -0/+5 |
| | |||||
* | mesa: improved driver query interface | Keith Whitwell | 2008-09-21 | 1 | -3/+5 |
| | | | | Brought over from gallium-0.2 branch. | ||||
* | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | 2008-07-08 | 1 | -0/+2 |
| | | | | The old implementation could overwrite the caller's param buffer. | ||||
* | Remove unused texunit parameter to ctx->Driver.GenerateMipmap() | Brian | 2008-05-09 | 1 | -2/+1 |
| | | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7) | ||||
* | Added ctx->Driver.GenerateMipmap() driver hook | Dave Airlie | 2008-05-09 | 1 | -0/+7 |
| | | | | | | | | (cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031) Conflicts: src/mesa/drivers/common/driverfuncs.c | ||||
* | Change GetCompressedTexImage in dd_function_table to not take const pointers. | Kristian Høgsberg | 2008-02-25 | 1 | -2/+2 |
| | | | | | They're changed by the intel driver implementation and thus not const. Fixes compilation warning. | ||||
* | New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵ | Brian | 2007-11-29 | 1 | -0/+5 |
| | | | | t_vb_program.c | ||||
* | fix mesa fb binding | Roland Scheidegger | 2007-07-19 | 1 | -1/+1 |
| | | | | | | | | Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now). | ||||
* | s/GetFragmentProgramRegister/GetProgramRegister/ | Brian | 2007-02-25 | 1 | -3/+3 |
| | |||||
* | Overhaul of GLSL API functions, dispatching, etc. | Brian | 2006-12-19 | 1 | -0/+52 |
| | |||||
* | update comments | Brian Paul | 2006-11-01 | 1 | -17/+6 |
| | |||||
* | Remove x/y/width/height parameters from Clear functions. | Brian Paul | 2006-11-01 | 1 | -12/+3 |
| | |||||
* | Don't pass x/y/width/height to ctx->Driver.Accum(). | Brian Paul | 2006-10-18 | 1 | -3/+2 |
| | | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear(). | ||||
* | updated comments, mark GetBufferSize() and ResizeBuffers() as obsolete | Brian Paul | 2006-10-15 | 1 | -5/+5 |
| | |||||
* | Move the fp_machine struct into s_nvfragmprog.c since (except for program | Brian Paul | 2006-10-10 | 1 | -2/+3 |
| | | | | debug) it's only used there. | ||||
* | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | 2006-07-20 | 1 | -5/+5 |
| | | | | "gl_" to match other structs. | ||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -0/+10 |
| | | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. | ||||
* | Put color index attribute into the 6th attribute slot. | Brian Paul | 2006-04-25 | 1 | -1/+0 |
| | | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct. | ||||
* | No longer alias generic vertex attribs with conventional attribs for ↵ | Brian Paul | 2006-04-25 | 1 | -0/+3 |
| | | | | GL_ARB_vertex_program. | ||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 1 | -5/+5 |
| | |||||
* | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | 2006-03-20 | 1 | -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 branch | Brian Paul | 2006-03-15 | 1 | -0/+2 |
| | |||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-01-09 | 1 | -1/+1 |
| | |||||
* | Added FinishRenderTexture() device driver function to indicate when | Brian Paul | 2005-12-01 | 1 | -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 Paul | 2005-11-16 | 1 | -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 then | Brian Paul | 2005-11-12 | 1 | -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 extension | Brian Paul | 2005-11-08 | 1 | -0/+6 |
| | |||||
* | Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback. | Brian Paul | 2005-09-14 | 1 | -6/+0 |
| | |||||
* | Replace ctx->Driver.StencilOp/Func/Mask() functions with | Brian Paul | 2005-09-13 | 1 | -9/+1 |
| | | | | ctx->Driver.Stencil*Separate() functions. | ||||
* | Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵ | Brian Paul | 2005-09-02 | 1 | -2/+4 |
| | | | | | | yet). Extends the query mechanism to query elapsed time while rendering. | ||||
* | Rearrange the code related to GL_ARB_occlusion_object to generalize query | Brian Paul | 2005-08-27 | 1 | -0/+8 |
| | | | | objects for future types of queries. | ||||
* | Change prototype for TextureMemCpy to return void* (was void). | Karl Schultz | 2005-05-24 | 1 | -1/+1 |
| | |||||
* | Import Thomas Helstrom's SSE memcpy code from the via X.org driver. | Keith Whitwell | 2005-05-23 | 1 | -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 Paul | 2005-05-04 | 1 | -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 drivers | Keith Whitwell | 2005-03-22 | 1 | -0/+5 |
| | |||||
* | More GL_EXT_framebuffer_object: rename some things, added device driver hooks. | Brian Paul | 2005-02-24 | 1 | -1/+12 |
| | |||||
* | Determine ahead of time whether a display list will include vertices | Keith Whitwell | 2005-01-22 | 1 | -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 Paul | 2005-01-12 | 1 | -1/+10 |
| | |||||
* | Added driver hooks for GetTexImage() and GetCompressedTexImage(). | Brian Paul | 2004-12-12 | 1 | -4/+20 |
| | | | | Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c | ||||
* | Change the dispatch offsets for the VertexAttrib*NV functions so they don't | Brian Paul | 2004-11-27 | 1 | -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_buffers | Brian Paul | 2004-10-02 | 1 | -0/+2 |
| | |||||
* | minor doxygen updates | Brian Paul | 2004-05-14 | 1 | -3/+0 |
| | |||||
* | Removed the old teximage code. | Brian Paul | 2004-04-27 | 1 | -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 Paul | 2004-03-21 | 1 | -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 existing | Keith Whitwell | 2004-02-14 | 1 | -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 Romanick | 2004-01-27 | 1 | -1/+1 |
| | | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation. | ||||
* | added device driver hooks for BindProgram, NewProgram, DeleteProgram | Brian Paul | 2004-01-23 | 1 | -0/+13 |
| | |||||
* | Remove dd_function_table::BlendFunc. All drivers now use | Ian Romanick | 2004-01-21 | 1 | -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 struct | Brian Paul | 2004-01-20 | 1 | -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. |