summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-12-03mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUMBrian Paul
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.
2010-12-03mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment typeBrian Paul
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.
2010-12-03mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME queryBrian Paul
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.
2010-12-02mesa: replace more MAX_WIDTH stack allocations with heap allocationsBrian Paul
2010-12-02mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul
2010-12-02mesa: replace large/MAX_WIDTH stack allocations with heap allocationsBrian Paul
2010-12-02mesa: Temporary hack to prevent stack overflow on windowsJosé Fonseca
e.g. st_readpixels is trying to alloca() an huge ammount of memory from the stack.
2010-12-02mesa: Add getters for ARB_copy_buffer's attachment points.Eric Anholt
Fixes more complaints by oglconform.
2010-12-02mesa: Add getters for the rest of the supported draw buffers.Eric Anholt
MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform.
2010-12-02mesa: raise max texture sizes to 16KBrian Paul
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.
2010-12-01glsl: Lower ir_binop_pow to a sequence of EXP2 and LOG2Ian Romanick
2010-12-01glsl: Use M_LOG2E constant instead of calling log2Ian Romanick
2010-11-29mesa: check for posix_memalign() errorspontus lidman
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-24mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.Kenneth Graunke
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.
2010-11-24mesa: added _mesa_format_image_size64()Brian Paul
2010-11-24mesa: add assertion and update comment in _mesa_format_image_size()Brian Paul
2010-11-23mesa: use gl_shader_type enumBrian Paul
2010-11-23mesa: replace #defines with new gl_shader_type enumBrian Paul
2010-11-22mesa: Clean up header file inclusion in syncobj.h.Vinson Lee
2010-11-23mesa: fix regression from b4bb6680200b5a898583392f4c831c02f41e63f7Xiang, Haihao
Pending commands to the previous context aren't flushed since commit b4bb668 Reported-by: Oleksiy Krivoshey <oleksiyk@gmail.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
2010-11-21mesa: fix get_texture_dimensions() for texture array targetsBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31779
2010-11-21mesa: hook up GL 3.x entrypointsBrian Paul
Fix up some details in the xml files and regenerate dispatch files.
2010-11-21mesa: fix error msg typoBrian Paul
2010-11-20mesa: Clean up header file inclusion in stencil.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in shared.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in shaderapi.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in scissor.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in renderbuffer.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in readpix.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in rastpos.h.Vinson Lee
2010-11-20mesa: Clean up header file inclusion in polygon.h.Vinson Lee
2010-11-18mesa: pass gl_format to _mesa_init_teximage_fields()Brian Paul
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.
2010-11-18mesa: Clean up core.h.Chia-I Wu
Remove version.h and context.h from core.h.
2010-11-17mesa: upgrade to glext.h version 66Brian Paul
The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too.
2010-11-18mesa: Don't spam the console in a debug build unless some spam is requested.Eric Anholt
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.
2010-11-16mesa: minor clean-ups in context codeBrian Paul
2010-11-16mesa: reorder texture_error_check() paramsBrian Paul
To better match other functions.
2010-11-16mesa: 80-column wrappingBrian Paul
2010-11-16mesa: whitespace cleanupsBrian Paul
2010-11-16mesa: fix error messages and minor reindentingBrian Paul
2010-11-15mesa: Add definitions for inverse hyperbolic function on MSVC.Vinson Lee
2010-11-15mesa: add more work-arounds for acoshf(), asinhf(), atahf()Brian Paul
2010-11-13mesa: Clean up header file inclusion in points.h.Vinson Lee
2010-11-12mesa: consolidate assertions in teximage codeBrian Paul
2010-11-11mesa: fix glDeleteBuffers() regressionBrian Paul
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.
2010-11-11mesa: make glIsBuffer() return false for never bound buffersBrian Paul
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.
2010-11-11mesa: handle more pixel types in mipmap generation codeBrian Paul
NOTE: This is a candidate for the 7.9 branch.
2010-11-11mesa: add missing formats in _mesa_format_to_type_and_comps()Brian Paul
NOTE: this is a candidate for the 7.9 branch
2010-11-11mesa: improve error messageBrian Paul
2010-11-11mesa: #include mfeatures.h in enums.hBrian Paul