Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: increase max texture image units and GLSL samplers to 16 | Brian Paul | 2008-12-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places. | ||||
* | mesa: remove some assertions that are invalid during context tear-down | Brian Paul | 2008-09-15 | 1 | -1/+4 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 1 | -96/+92 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 1 | -61/+15 |
| | | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine. | ||||
* | add a number of PBO validate/map/unmap functions | Brian | 2008-03-21 | 1 | -2/+185 |
| | | | | Helper functions for (some) drivers, including swrast. | ||||
* | For _mesa_share_state(), update the context's references to the new share ↵ | Brian | 2007-08-23 | 1 | -71/+99 |
| | | | | group's objects (Shane Blackett) | ||||
* | silence C++ warnings | Brian | 2007-01-23 | 1 | -2/+2 |
| | |||||
* | move a conditional into an assertion | Brian Paul | 2006-09-21 | 1 | -3/+6 |
| | |||||
* | Error detection/reporting was broken in several places. | Brian Paul | 2006-08-25 | 1 | -45/+70 |
| | |||||
* | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | 2006-08-23 | 1 | -5/+5 |
| | | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver. | ||||
* | remove unused var | Brian Paul | 2006-06-12 | 1 | -2/+0 |
| | |||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 1 | -43/+37 |
| | | | | | | | 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. | ||||
* | Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() call | Brian Paul | 2006-06-03 | 1 | -79/+86 |
| | | | | and cast. Simplifies the code a little bit elsewhere. | ||||
* | minor clean-ups | Brian Paul | 2006-06-02 | 1 | -20/+21 |
| | |||||
* | try removing need for the uintptr_t casts | Brian Paul | 2005-12-01 | 1 | -2/+5 |
| | |||||
* | Port Mesa to build on a P64 platform (e.g., Win64). P64 platforms | Karl Schultz | 2005-05-05 | 1 | -2/+2 |
| | | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer. | ||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -1/+1 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | change gl_buffer_object's Size field to GLsizeiptrARB type | Brian Paul | 2005-03-03 | 1 | -1/+1 |
| | |||||
* | unlock mutex upon error return (Jeff Muizelaar) | Brian Paul | 2005-02-12 | 1 | -0/+1 |
| | |||||
* | mesa-main-0-NULL.patch from Jeff Muizelaar | Keith Whitwell | 2005-02-11 | 1 | -1/+1 |
| | |||||
* | Update glDeletePrograms/Buffers() so that the ID is freed immediately, like | Brian Paul | 2005-01-20 | 1 | -12/+6 |
| | | | | texture objects. | ||||
* | Don't allow queries/etc of buffer object 0 - it's invisible to users. | Brian Paul | 2004-11-22 | 1 | -23/+21 |
| | | | | Misc clean-ups. | ||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -3/+4 |
| | | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions. | ||||
* | Remove redundant error checking. | Brian Paul | 2004-10-31 | 1 | -22/+48 |
| | | | | | Added _mesa_buffer_unmap(). Minor clean-ups. | ||||
* | VBO RefCount fix (David Reveman) | Brian Paul | 2004-09-27 | 1 | -0/+9 |
| | |||||
* | also fix possible delete bugs with buffer objects and vertex/fragment programs | Brian Paul | 2004-09-14 | 1 | -3/+6 |
| | |||||
* | Update the doxygen configuration file. | Jose Fonseca | 2004-09-09 | 1 | -2/+1 |
| | | | | Minor updates/fixes to the source documentation. | ||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -1/+13 |
| | | | | 1015696) | ||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 1 | -0/+76 |
| | | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet. | ||||
* | yet another take on VBO deleting and reference counting | Brian Paul | 2004-03-04 | 1 | -1/+53 |
| | |||||
* | more changes to VBO reference counting and deletion | Brian Paul | 2004-03-03 | 1 | -36/+7 |
| | |||||
* | set buffer object default Usage and Access | Brian Paul | 2004-02-13 | 1 | -2/+4 |
| | |||||
* | Do more bookkeeping of vertex buffer object reference counts. | Brian Paul | 2004-02-11 | 1 | -0/+6 |
| | | | | Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT). | ||||
* | Before calling _mesa_create_context(), initialize a dd_function_table struct | Brian Paul | 2004-01-20 | 1 | -12/+0 |
| | | | | | | | | | | 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. | ||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -11/+11 |
| | | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. | ||||
* | fix an error message | Brian Paul | 2003-10-21 | 1 | -1/+1 |
| | |||||
* | Move initialization of default ctx->Driver.buffer-object-functions into | Brian Paul | 2003-10-19 | 1 | -0/+12 |
| | | | | bufferobj.c so all the drivers don't have to worry about them. | ||||
* | minor tweaks | Brian Paul | 2003-10-15 | 1 | -2/+2 |
| | |||||
* | bufObj->Access wasn't being set | Brian Paul | 2003-10-14 | 1 | -1/+3 |
| | |||||
* | minor fix in buffer_object_get_target() | Brian Paul | 2003-10-14 | 1 | -1/+1 |
| | |||||
* | Assorted casts to silence g++ warnings. | Brian Paul | 2003-09-19 | 1 | -1/+1 |
| | |||||
* | Add casts to prevent signed/unsigned compare compiler warnings. | Karl Schultz | 2003-09-18 | 1 | -4/+4 |
| | |||||
* | Fixed/added some error checks. | Brian Paul | 2003-09-17 | 1 | -27/+31 |
| | | | | | Allow one buffer to be bound to multiple targets. Rebind buffer 0 when deleting currently bound buffer. | ||||
* | unbind vertex arrays from buffer in DeleteBuffersARB() | Brian Paul | 2003-09-17 | 1 | -1/+26 |
| | |||||
* | More work on ARB_vertex_buffer_object. | Brian Paul | 2003-09-17 | 1 | -47/+88 |
| | | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes. | ||||
* | Some work on ARB_vertex_buffer_object. | Brian Paul | 2003-09-15 | 1 | -20/+27 |
| | | | | Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c | ||||
* | Added prototypes for internal functions to bufferobj.h. | Brian Paul | 2003-09-09 | 1 | -37/+23 |
| | | | | Minor code clean-ups. | ||||
* | Added most of the infrastructure required to support | Ian Romanick | 2003-09-09 | 1 | -80/+527 |
| | | | | ARB_vertex_buffer_object. THIS IS INCOMPLETE. | ||||
* | Merge Jose's documentation and core Mesa changes from embedded branch | Keith Whitwell | 2003-07-17 | 1 | -1/+1 |
| | |||||
* | fix MapBufferARB() return type | Brian Paul | 2003-05-10 | 1 | -4/+6 |
| |