summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul2009-12-311-0/+5
| | | | | | | For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
* mesa: implement per-buffer color maskingBrian Paul2009-12-291-0/+2
| | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* mesa: minor reformatting/rewrapping in dd.hBrian Paul2009-12-111-6/+7
|
* mesa: remove unused ctx->Driver.ActiveTexture() hookBrian Paul2009-12-111-5/+0
|
* mesa: updated commentBrian Paul2009-12-111-1/+1
|
* mesa: remove unused vertex array driver hooksBrian Paul2009-11-161-28/+0
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-9/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * mesa: remove ctx->Driver.CompressedTextureSize() hookBrian Paul2009-10-241-7/+0
| | | | | | | | It always just called _mesa_compressed_texture_size() anyway.
| * mesa: removed gl_texture_image::CompressedSize fieldBrian Paul2009-10-011-1/+1
| | | | | | | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-2/+2
| | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* | mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul2009-10-141-6/+0
| |
* | mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul2009-10-141-1/+0
|/
* mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt2009-09-081-1/+16
|
* ARB sync: Add support for GL_ARB_sync to swrastIan Romanick2009-09-031-0/+16
| | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work.
* ARB sync: Add infrastructure for glGetInteger64vIan Romanick2009-09-031-0/+2
|
* mesa: change ctx->Driver.BufferData() to return GLboolean for success/failureBrian Paul2009-09-031-3/+3
| | | | | Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa.
* mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt2009-09-011-1/+5
| | | | | | | | | Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <[email protected]>
* mesa: new CopyBufferSubData() driver hookBrian Paul2009-06-021-0/+6
|
* mesa: remove unused matrixType param from ctx->Driver.UniformMatrix() functionsBrian Paul2009-04-141-1/+1
|
* mesa: remove GL_MESA_program_debug extensionBrian Paul2009-03-071-3/+0
| | | | This was never fully fleshed out and hasn't been used.
* Merge commit 'origin/gallium-0.1'Keith Whitwell2009-03-031-0/+32
|\ | | | | | | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
| * mesa: add MapBufferRange driver callbacksKeith Whitwell2009-03-031-0/+26
| | | | | | | | | | | | Will be needed in coming GL extensions (GL_map_buffer_range, GL 3.0). Will be used by the vbo module to avoid reallocating vbo's at each draw primitive call.
| * mesa: Add BeginVertices driver callKeith Whitwell2009-03-031-0/+6
| | | | | | | | | | Provides notification to the VBO modules prior to the first immediate call. Pairs with FlushVertices()
| * mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-081-0/+2
| | | | | | | | The old implementation could overwrite the caller's param buffer.
| * mesa: add parenthesisBrian Paul2008-06-181-3/+3
| |
| * Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-02-081-2/+1
| |
| * Added ctx->Driver.GenerateMipmap() driver hookBrian2008-02-061-0/+7
| |
| * Rework gallium and mesa queries a little.Keith Whitwell2007-12-111-0/+2
| | | | | | | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries.
| * Implement query object interface.Brian2007-09-111-3/+3
| | | | | | | | | | | | This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
| * Move guts of glRasterPos down into T&L module.Brian2007-09-061-0/+5
| |
* | mesa: display list clean-upsBrian2009-01-311-2/+2
| | | | | | | | Rename some structs and fields to be more consistant with the rest of mesa.
* | mesa: added ctx->Driver.ValidateFramebuffer() callbackBrian Paul2009-01-221-0/+2
| | | | | | | | | | | | Called from the _mesa_test_framebuffer_completeness() function to give the driver the chance to make a framebuffer as incomplete if it doesn't meet some specific hardware restriction.
* | mesa: add parenthesisBrian Paul2008-09-211-3/+3
| | | | | | | | (cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)
* | mesa: move rastpos helper to tnlKeith Whitwell2008-09-211-0/+5
| |
* | mesa: improved driver query interfaceKeith Whitwell2008-09-211-3/+5
| | | | | | | | Brought over from gallium-0.2 branch.
* | mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-081-0/+2
| | | | | | | | The old implementation could overwrite the caller's param buffer.
* | Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-05-091-2/+1
| | | | | | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
* | Added ctx->Driver.GenerateMipmap() driver hookDave Airlie2008-05-091-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øgsberg2008-02-251-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 ↵Brian2007-11-291-0/+5
|/ | | | t_vb_program.c
* fix mesa fb bindingRoland Scheidegger2007-07-191-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/Brian2007-02-251-3/+3
|
* Overhaul of GLSL API functions, dispatching, etc.Brian2006-12-191-0/+52
|
* update commentsBrian Paul2006-11-011-17/+6
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-011-12/+3
|
* Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul2006-10-181-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 obsoleteBrian Paul2006-10-151-5/+5
|
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-101-2/+3
| | | | debug) it's only used there.
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-201-5/+5
| | | | "gl_" to match other structs.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-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.