aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* mesa: handle more pixel types in mipmap generation codeBrian Paul2010-11-111-0/+166
| | | | NOTE: This is a candidate for the 7.9 branch.
* mesa: add missing formats in _mesa_format_to_type_and_comps()Brian Paul2010-11-111-1/+26
| | | | NOTE: this is a candidate for the 7.9 branch
* mesa: improve error messageBrian Paul2010-11-111-1/+2
|
* mesa: #include mfeatures.h in enums.hBrian Paul2010-11-111-0/+1
|
* mesa: Fix printf format warnings.Vinson Lee2010-11-101-1/+1
|
* mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisampleIan Romanick2010-11-101-2/+2
| | | | | | | | | | | | | Previously queries of MAX_SAMPLES were only allowed with ARB_framebuffer_object, but EXT_framebuffer_multisample also enables this query. This seems to only effect the i915. All other drivers support both extensions or neither extension. This patch is based on a patch that Kenneth sent along with the report. NOTE: this is a candidate for the 7.9 branch. Reported-by: Kenneth Waters <[email protected]>
* mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricapsRoland Scheidegger2010-11-104-16/+3
| | | | | | | | DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
* mesa: Clean up header file inclusion in pixelstore.h.Vinson Lee2010-11-101-1/+2
|
* mesa: Clean up header file inclusion in pixel.h.Vinson Lee2010-11-101-1/+6
|
* mesa: no-op glBufferSubData() on size==0Brian Paul2010-11-091-0/+3
| | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31439 NOTE: this is a candidate for the 7.9 branch
* mesa: Clean up header file inclusion in nvprogram.h.Vinson Lee2010-11-091-1/+3
|
* mesa: Clean up header file inclusion in multisample.h.Vinson Lee2010-11-091-1/+3
|
* mesa: Clean up header file inclusion in matrix.h.Vinson Lee2010-11-091-1/+2
|