summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
Commit message (Collapse)AuthorAgeFilesLines
...
* glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.Eric Anholt2010-08-131-0/+21
| | | | | This lets drivers override ir_to_mesa with their own codegen, or at least have a native alternative.
* mesa: refactor shader api / object codeBrian Paul2010-06-101-48/+6
| | | | | Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
* mesa: more transform feedback infrastructureBrian Paul2010-05-101-0/+16
| | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
* mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul2010-05-071-21/+0
| | | | | Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
* mesa: remove some commentsBrian Paul2010-04-201-12/+10
|
* mesa: implement core Mesa support for GL_ARB_draw_instancedBrian Paul2010-04-041-0/+5
|
* Grammar and spelling fixesJeff Smith2010-03-121-1/+1
| | | | | Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
* APPLE_object_purgeable: coreChris Wilson2010-03-051-0/+17
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-031-4/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
* core: Implement GL_OES_EGL_image entry pointsKristian Høgsberg2010-02-241-0/+11
|
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-041-3/+7
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* Merge branch 'master' into opengl-es-v2Chia-I Wu2010-01-121-40/+15
|\ | | | | | | | | Conflicts: src/mesa/main/dd.h
| * 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
| |
* | mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu2009-11-051-0/+10
|/ | | | Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* 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 <ian.d.romanick@intel.com>
* 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)