summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: simplify proxy texture code in texture_error_check()Brian Paul2010-12-071-49/+51
|
* mesa: Clean up header file inclusion in viewport.h.Vinson Lee2010-12-071-1/+2
|
* mesa: Clean up header file inclusion in varray.h.Vinson Lee2010-12-071-1/+5
|
* mesa: Clean up header file inclusion in transformfeedback.h.Vinson Lee2010-12-071-1/+6
|
* mesa: Clean up header file inclusion in texrender.h.Vinson Lee2010-12-071-1/+3
|
* mesa: consolidate glTexImage1/2/3D() codeBrian Paul2010-12-061-294/+161
| | | | | Something similar could be done for glCopyTex[Sub]Image() and the compressed texture image functions as well.
* mesa: set gl_texture_object::_Complete=FALSE in incomplete()Brian Paul2010-12-061-27/+5
|
* mesa: test for cube map completeness in glGenerateMipmap()Brian Paul2010-12-063-0/+49
| | | | | | | The texture is not cube complete if the base level images aren't of the same size and format. NOTE: This is a candidate for the 7.9 branch.
* mesa: Clean up header file inclusion in texobj.h.Vinson Lee2010-12-041-1/+2
|
* mesa: Clean up header file inclusion in texgetimage.h.Vinson Lee2010-12-041-1/+5
|
* 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
|