summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Clean up header file inclusion in texformat.h.Vinson Lee2010-12-041-1/+1
|
* mesa: Clean up header file inclusion in texenvprogram.h.Vinson Lee2010-12-041-1/+1
|
* mesa: Clean up header file inclusion in texcompress_s3tc.h.Vinson Lee2010-12-041-1/+5
|
* mesa: Clean up header file inclusion in texcompress.h.Vinson Lee2010-12-041-1/+4
|
* mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUMBrian Paul2010-12-031-3/+5
| | | | | | | | | In find_value() check if we've hit the 0th/invalid entry before checking if the pname matches. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31987 NOTE: This is a candidate for the 7.9 branch.
* mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment typeBrian Paul2010-12-031-1/+1
| | | | | | | | | If querying the default/window-system FBO's attachment type, return GL_FRAMEBUFFER_DEFAULT (per the GL_ARB_framebuffer_object spec). See http://bugs.freedesktop.org/show_bug.cgi?id=31947 NOTE: This is a candidate for the 7.9 branch.
* mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME queryBrian Paul2010-12-031-2/+2
| | | | | | | | | | | | Return 0 instead of generating an error. See http://bugs.freedesktop.org/show_bug.cgi?id=30993 Note that piglit fbo-getframebufferattachmentparameter-01 still does not pass. But Mesa behaves the same as the NVIDIA driver in this case. Perhaps the test is incorrect. NOTE: This is a candidate for the 7.9 branch.
* mesa: replace more MAX_WIDTH stack allocations with heap allocationsBrian Paul2010-12-022-38/+111
|
* mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul2010-12-021-4/+34
|
* mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul2010-12-021-3/+24
|
* mesa: Temporary hack to prevent stack overflow on windowsJosé Fonseca2010-12-021-0/+17
| | | | | e.g. st_readpixels is trying to alloca() an huge ammount of memory from the stack.
* mesa: Add getters for ARB_copy_buffer's attachment points.Eric Anholt2010-12-021-0/+13
| | | | Fixes more complaints by oglconform.
* mesa: Add getters for the rest of the supported draw buffers.Eric Anholt2010-12-021-0/+8
| | | | | MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform.
* mesa: raise max texture sizes to 16KBrian Paul2010-12-024-114/+213
| | | | | | | | | | | This allows 16K x 16K 2D textures, for example, but we don't want to allow that for 3D textures. The new gl_constants::MaxTextureMBytes field is used to prevent allocating too large of texture image. This allows a 16K x 32 x 32 3D texture, for example, but prevents 16K^3. Drivers can override this limit. The default is currently 1GB. Apps should use the proxy texture mechanism to determine the actual max texture size.
* glsl: Lower ir_binop_pow to a sequence of EXP2 and LOG2Ian Romanick2010-12-011-0/+1
|
* glsl: Use M_LOG2E constant instead of calling log2Ian Romanick2010-12-011-0/+4
|
* mesa: check for posix_memalign() errorspontus lidman2010-11-291-1/+2
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.Kenneth Graunke2010-11-241-6/+11
| | | | | | | | | | | | Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495.
* mesa: added _mesa_format_image_size64()Brian Paul2010-11-242-0/+34
|
* mesa: add assertion and update comment in _mesa_format_image_size()Brian Paul2010-11-241-1/+2
|
* mesa: use gl_shader_type enumBrian Paul2010-11-231-3/+3
|
* mesa: replace #defines with new gl_shader_type enumBrian Paul2010-11-234-15/+22
|
* mesa: Clean up header file inclusion in syncobj.h.Vinson Lee2010-11-221-1/+5
|
* mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7Xiang, Haihao2010-11-231-0/+7
| | | | | | | Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <[email protected]> Signed-off-by: Xiang, Haihao <[email protected]>
* mesa: fix get_texture_dimensions() for texture array targetsBrian Paul2010-11-211-5/+5
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779
* mesa: hook up GL 3.x entrypointsBrian Paul2010-11-215-6320/+6864
| | | | Fix up some details in the xml files and regenerate dispatch files.
* mesa: fix error msg typoBrian Paul2010-11-211-1/+1
|
* mesa: Clean up header file inclusion in stencil.h.Vinson Lee2010-11-201-1/+2
|
* mesa: Clean up header file inclusion in shared.h.Vinson Lee2010-11-201-1/+1
|
* mesa: Clean up header file inclusion in shaderapi.h.Vinson Lee2010-11-201-1/+3
|
* mesa: Clean up header file inclusion in scissor.h.Vinson Lee2010-11-201-1/+2
|
* mesa: Clean up header file inclusion in renderbuffer.h.Vinson Lee2010-11-201-1/+1
|
* mesa: Clean up header file inclusion in readpix.h.Vinson Lee2010-11-201-1/+2
|
* mesa: Clean up header file inclusion in rastpos.h.Vinson Lee2010-11-201-1/+4
|
* mesa: Clean up header file inclusion in polygon.h.Vinson Lee2010-11-201-1/+2
|
* mesa: pass gl_format to _mesa_init_teximage_fields()Brian Paul2010-11-185-108/+160
| | | | | | | | | | | This should prevent the field going unset in the future. See bug http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background. Also remove unneeded calls to clear_teximage_fields(). Finally, call _mesa_set_fetch_functions() from the _mesa_init_teximage_fields() function so callers have one less thing to worry about.
* mesa: Clean up core.h.Chia-I Wu2010-11-181-2/+0
| | | | Remove version.h and context.h from core.h.
* mesa: upgrade to glext.h version 66Brian Paul2010-11-174-12/+14
| | | | | The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too.
* mesa: Don't spam the console in a debug build unless some spam is requested.Eric Anholt2010-11-181-2/+4
| | | | | | It's annoying to use test suites under a Mesa debug build because pretty output is cluttered with stderr's continuous reports that you're still using the debug driver.
* mesa: minor clean-ups in context codeBrian Paul2010-11-161-9/+26
|
* mesa: reorder texture_error_check() paramsBrian Paul2010-11-161-15/+15
| | | | To better match other functions.
* mesa: 80-column wrappingBrian Paul2010-11-161-13/+16
|
* mesa: whitespace cleanupsBrian Paul2010-11-161-35/+37
|
* mesa: fix error messages and minor reindentingBrian Paul2010-11-161-6/+9
|
* mesa: Add definitions for inverse hyperbolic function on MSVC.Vinson Lee2010-11-151-0/+3
|
* mesa: add more work-arounds for acoshf(), asinhf(), atahf()Brian Paul2010-11-151-0/+3
|
* mesa: Clean up header file inclusion in points.h.Vinson Lee2010-11-131-1/+3
|
* mesa: consolidate assertions in teximage codeBrian Paul2010-11-121-10/+1
|
* mesa: fix glDeleteBuffers() regressionBrian Paul2010-11-111-2/+2
| | | | | | | | This fixes a regression (failed assertion) from commit c552f273f559968dfd770367e25329baccbcd0c4 which was hit if glDeleteBuffers() was called on a buffer that was never bound. NOTE: this is a candidate for the 7.9 branch.
* mesa: make glIsBuffer() return false for never bound buffersBrian Paul2010-11-111-14/+18
| | | | | | | Use a dummy buffer object as we do for frame/renderbuffer objects. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514 Note: this is a candidate for the 7.9 branch.