Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: only check errors when the state change in glCullFace() | Samuel Pitoiset | 2017-07-31 | 1 | -9/+10 |
| | | | | | | | | When this GL call is a no-op, it should be a little faster in the errors path only. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | mesa: only check errors when the state change in glProvokingVertex() | Samuel Pitoiset | 2017-07-31 | 1 | -3/+3 |
| | | | | | | | When this GL call is a no-op, it should be a little faster. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> | ||||
* | Revert "st/mesa: release sampler views when redefining a texture in ↵ | Marek Olšák | 2017-07-31 | 1 | -2/+0 |
| | | | | | | | | | | st_context_teximage" This reverts commit 5c1241268ba9b240cb79ab9a30c5255b176c83c9. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101961 Cc: 17.2 <[email protected]> | ||||
* | xmlconfig: move into src/util | Nicolai Hähnle | 2017-07-31 | 42 | -4396/+29 |
| | | | | | | | | v2: attempt to fix Android build (Emil) v3: add missing include path Reviewed-by: Marek Olšák <[email protected]> (v1) | ||||
* | xmlconfig: remove GL type dependencies | Nicolai Hähnle | 2017-07-31 | 1 | -6/+4 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | st/glsl_to_nir: move nir_lower_io to drivers | Nicolai Hähnle | 2017-07-31 | 1 | -2/+1 |
| | | | | | | | This allows drivers more freedom in how exactly they want to lower I/O, e.g. first lowering I/O to temporaries. Reviewed-by: Marek Olšák <[email protected]> | ||||
* | st/mesa: get rid of st_glsl_types | Nicolai Hähnle | 2017-07-31 | 5 | -162/+13 |
| | | | | | | | It's a duplicate of glsl_type::count_attribute_slots. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | st/glsl_to_nir: use nir_lower_samplers_as_deref when requested by the driver | Nicolai Hähnle | 2017-07-31 | 1 | -1/+6 |
| | | | | Reviewed-by: Marek Olšák <[email protected]> | ||||
* | st/glsl_to_nir: fix the case where NIR clone testing is enabled | Nicolai Hähnle | 2017-07-31 | 1 | -1/+2 |
| | | | | | | | In that case, prog->nir must be assigned at the end. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Marek Olšák <[email protected]> | ||||
* | mesa: add KHR_no_error support to glPointSize() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add point_size() helper | Samuel Pitoiset | 2017-07-31 | 1 | -8/+15 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glVertexArrayElementBuffer() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add vertex_array_element_buffer() helper | Samuel Pitoiset | 2017-07-31 | 1 | -21/+38 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glTextureSubImage*D() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+68 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add texturesubimage_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -30/+45 |
| | | | | | | | And make texturesubimage() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDetachShader() and glDetachObjectARB() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+29 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add detach_shader_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -9/+21 |
| | | | | | | | And make detach_shader() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDrawTransformFeedback*() | Samuel Pitoiset | 2017-07-31 | 1 | -3/+10 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glNamedFramebufferDrawBuffers() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+21 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDrawBuffers() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+19 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add draw_buffers_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -115/+130 |
| | | | | | | | And make draw_buffers() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDeleteBuffers() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add delete_buffers() helper | Samuel Pitoiset | 2017-07-31 | 1 | -10/+17 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glNamedFramebufferRenderbuffer() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+19 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glFramebufferRenderbuffer() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+27 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add framebuffer_renderbuffer_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -46/+63 |
| | | | | | | | And make framebuffer_renderbuffer() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDeleteTextures() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add delete_textures() helper | Samuel Pitoiset | 2017-07-31 | 1 | -14/+20 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glNamedFramebufferDrawBuffer() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+19 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDrawBuffer() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+19 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add draw_buffer_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -6/+14 |
| | | | | | | | And make draw_buffer() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glBindTextures() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+12 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add bind_textures() helper | Samuel Pitoiset | 2017-07-31 | 1 | -19/+28 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glBindTexture() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add bind_texture() helper | Samuel Pitoiset | 2017-07-31 | 1 | -13/+23 |
| | | | | | | | For KHR_no_error support. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: rename bind_texture() to bind_texture_object() | Samuel Pitoiset | 2017-07-31 | 1 | -6/+5 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glMemoryBarrierByRegion() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+10 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add memory_barrier_by_region() helper | Samuel Pitoiset | 2017-07-31 | 1 | -5/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glMultiDrawArrays() | Samuel Pitoiset | 2017-07-31 | 1 | -2/+9 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glMinSampleShading() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+10 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add min_sample_shading() helper | Samuel Pitoiset | 2017-07-31 | 1 | -9/+15 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glBlendEquationSeparate() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add blend_equation_separate() helper | Samuel Pitoiset | 2017-07-31 | 1 | -28/+39 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glPrimitiveRestartIndex() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add primitive_restart_index() helper | Samuel Pitoiset | 2017-07-31 | 1 | -4/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glGenerate*Mipmap() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+32 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add generate_texture_mipmap_error() helper | Samuel Pitoiset | 2017-07-31 | 1 | -18/+28 |
| | | | | | | | And make generate_texture_mipmap() always inline. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error support to glDeleteSamplers() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+13 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add delete_samplers() helper | Samuel Pitoiset | 2017-07-31 | 1 | -11/+17 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> | ||||
* | mesa: add KHR_no_error to glDeleteVertexArrays() | Samuel Pitoiset | 2017-07-31 | 2 | -0/+11 |
| | | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> |