summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa/main: linear_to_nonlinear is not always available.Chia-I Wu2009-11-061-24/+38
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/es: Add support for GL_OES_draw_texture.Chia-I Wu2009-11-053-0/+16
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again.Chia-I Wu2009-11-052-2/+8
| | | | | | They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Include headers with directory prefixes.Chia-I Wu2009-11-052-5/+5
| | | | | | This allows different sets of generated sources and headers to be used. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Add more OpenGL ES types to glheader.h.Chia-I Wu2009-11-051-0/+7
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Add support for point size array in _mesa_GetPointerv.Chia-I Wu2009-11-051-0/+5
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* glapi: Allow normal entry points to be skipped.Chia-I Wu2009-11-051-0/+4
| | | | | | | | | | | Reorganize glapitemp.h such that it is possible to skip normal entry points or protocol entry points by defining _GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS. Protocol entry points are those with different GLX protocols. They are skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined. Signed-off-by: Chia-I Wu <[email protected]>
* mesa: fix infinite loop bug in _mesa_drawbuffers()Brian Paul2009-11-051-1/+2
| | | | | Fixes bug 24946. This regression came from 8df699b3bb1aa05b633f05b121d09d812c86a22d.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-11-044-178/+179
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def
| * mesa: fix broken pack_histogram() case for GLhalfBrian Paul2009-11-041-3/+4
| |
| * mesa: silence warning from gcc 4.4.1Brian Paul2009-11-041-2/+2
| |
| * mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul2009-11-032-173/+173
| | | | | | | | Revised version of a patch from Karl Schultz.
| * mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz2009-11-032-12/+12
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | mesa: clean-up, remove some flushing in FBO functionsBrian Paul2009-11-031-7/+11
| | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
* | mesa: fix indentationBrian Paul2009-11-031-2/+1
| |
* | mesa: clean-up formattingBrian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()Brian Paul2009-11-031-7/+10
| |
* | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()Brian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()Brian Paul2009-11-031-9/+29
| |
* | mesa: use ffs() to shorten loop in _mesa_drawbuffers()Brian Paul2009-11-031-6/+10
| |
* | mesa: added assertion, another commentBrian Paul2009-11-031-1/+3
| |
* | mesa: added commentBrian Paul2009-11-021-0/+2
| |
* | mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-13/+4
| |
* | mesa: make _mesa_get_current_tex_objec() publicBrian Paul2009-11-022-31/+33
| |
* | mesa: fix incorrect approx bits/channel for fxt1 formatsBrian Paul2009-11-021-2/+2
| | | | | | | | See bug 24806.
* | mesa: better error messageBrian Paul2009-10-301-2/+2
| |
* | mesa: fix inverted buffer object testBrian Paul2009-10-301-1/+1
| | | | | | | | Fixes bug 24799.
* | mesa: fix incorrect format info for MESA_FORMAT_SL8Brian Paul2009-10-301-3/+3
| | | | | | | | Fixes bugs 24798 and 24801.
* | mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888Brian Paul2009-10-291-1/+1
| | | | | | | | | | | | If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout.
* | mesa: lift memcpy_get_tex_image() code from intel driver into core MesaBrian Paul2009-10-291-1/+83
| | | | | | | | The code should work for any driver.
* | mesa: refactor _mesa_get_teximage() codeBrian Paul2009-10-291-158/+302
| | | | | | | | Break different formats into different functions to make it easier to read.
* | mesa: Add MESA_FORMAT_Z24_X8.José Fonseca2009-10-294-1/+62
| |
* | mesa: consolidate some code in _mesa_GetCompressedTexImageARB()Brian Paul2009-10-291-6/+2
| |
* | mesa: move pixels==NULL check in glGetTexImage()Brian Paul2009-10-291-9/+10
| |
* | mesa: consolidate some code in _mesa_GetTexImage()Brian Paul2009-10-291-6/+2
| |
* | mesa: move, clean-up _mesa_print_texture()Brian Paul2009-10-293-57/+64
| |
* | mesa: fix some tests in subtexture_error_check2()Brian Paul2009-10-291-23/+22
| | | | | | | | | | Don't use hard-coded compressed block sizes. Update comments and error strings.
* | mesa: remove unneedded is_srgb_teximage() functionBrian Paul2009-10-291-24/+2
| | | | | | | | Use _mesa_get_format_color_encoding() function instead.
* | glsl: make shader substitution a little betterBrian Paul2009-10-291-3/+16
| |
* | mesa: move declaration to prevent unused var warningBrian Paul2009-10-291-1/+1
| |
* | mesa: Fix compilation errors and warnings when features are disabled.Chia-I Wu2009-10-293-12/+13
| | | | | | | | | | | | Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <[email protected]>
* | mesa/main: Make FEATURE_texture_s3tc follow feature conventions.Chia-I Wu2009-10-294-9/+39
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.Chia-I Wu2009-10-294-43/+20
| | | | | | | | | | | | Also remove the unused initialization and GLchan fetch functions. Signed-off-by: Chia-I Wu <[email protected]>
* | mesa/main: Never return NULL in _mesa_get_texstore_func.Chia-I Wu2009-10-291-3/+25
| | | | | | | | Signed-off-by: Chia-I Wu <[email protected]>
* | mesa: remove old, unused #defineBrian Paul2009-10-281-2/+0
| |
* | mesa: move some gl_texture_image and gl_renderbuffer fields aroundBrian Paul2009-10-281-3/+5
| |
* | mesa: minor code movementBrian Paul2009-10-282-36/+33
| |
* | Merge branch 'texformat-rework'Brian Paul2009-10-2830-4105/+3654
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: choose texture format in _mesa_get_fallback_texture()Brian Paul2009-10-281-0/+5
| | |
| * | mesa: choose texture format in core mesa, not driversBrian Paul2009-10-252-16/+48
| | | | | | | | | | | | | | | | | | Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.