diff options
author | marha <marha@users.sourceforge.net> | 2013-11-19 07:52:09 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-11-19 07:52:09 +0100 |
commit | 73db05c85f7a8cf2439f7c333ede6ff2dc4877d7 (patch) | |
tree | 99d99330efd4e8270d3c40a58a3b1576d9780f75 /mesalib | |
parent | 7c20de6c7fb53ed404d4df0d975328318810ce01 (diff) | |
download | vcxsrv-73db05c85f7a8cf2439f7c333ede6ff2dc4877d7.tar.gz vcxsrv-73db05c85f7a8cf2439f7c333ede6ff2dc4877d7.tar.bz2 vcxsrv-73db05c85f7a8cf2439f7c333ede6ff2dc4877d7.zip |
libxcb xcb-proto xserver mesa git update 19 nov 2013
xserver commit da9997f89f14ab619f244d5b2e80a423b028c789
libxcb commit 5d1dbb468bb0f834eaa8adea6daf6729808ca429
libxcb/xcb-proto commit 281790373e625cc1e9f67b39fe0d687f279edbfb
mesa commit 21ae5135dd30bbd2ec7d2b44e07b6cb1d6425d9e
Diffstat (limited to 'mesalib')
-rw-r--r-- | mesalib/docs/GL3.txt | 276 | ||||
-rw-r--r-- | mesalib/docs/relnotes/10.0.html | 7 | ||||
-rw-r--r-- | mesalib/include/GL/osmesa.h | 19 | ||||
-rw-r--r-- | mesalib/src/gallium/Automake.inc | 2 | ||||
-rw-r--r-- | mesalib/src/mesa/main/performance_monitor.c | 3 | ||||
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_format.c | 6 |
6 files changed, 168 insertions, 145 deletions
diff --git a/mesalib/docs/GL3.txt b/mesalib/docs/GL3.txt index a8cffab44..5f6fa7e80 100644 --- a/mesalib/docs/GL3.txt +++ b/mesalib/docs/GL3.txt @@ -18,164 +18,164 @@ are exposed in the 3.0 context as extensions. Feature Status ----------------------------------------------------- ------------------------ -GL 3.0: - -GLSL 1.30 DONE (i965, r600, radeonsi) -glBindFragDataLocation, glGetFragDataLocation DONE -Conditional rendering (GL_NV_conditional_render) DONE (i965, r300, r600, radeonsi, swrast) -Map buffer subranges (GL_ARB_map_buffer_range) DONE (i965, r300, r600, radeonsi, swrast) -Clamping controls (GL_ARB_color_buffer_float) DONE (i965, r300, r600, radeonsi) -Float textures, renderbuffers (GL_ARB_texture_float) DONE (i965, r300, r600, radeonsi) -GL_EXT_packed_float DONE (i965, r600, radeonsi) -GL_EXT_texture_shared_exponent DONE (i965, r600, radeonsi, swrast) -Float depth buffers (GL_ARB_depth_buffer_float) DONE (i965, r600, radeonsi) -Framebuffer objects (GL_ARB_framebuffer_object) DONE (i965, r300, r600, radeonsi, swrast) -Half-float DONE (i965, r300, r600, radeonsi, swrast) -Non-normalized Integer texture/framebuffer formats DONE (i965, r600, radeonsi) -1D/2D Texture arrays DONE (i965, r600, radeonsi) -Per-buffer blend and masks (GL_EXT_draw_buffers2) DONE (i965, r600, radeonsi, swrast) -GL_EXT_texture_compression_rgtc DONE (i965, r300, r600, radeonsi, swrast) -Red and red/green texture formats DONE (i965, r300, r600, radeonsi, swrast) -Transform feedback (GL_EXT_transform_feedback) DONE (i965, r600, radeonsi) -Vertex array objects (GL_APPLE_vertex_array_object) DONE (all drivers) -sRGB framebuffer format (GL_EXT_framebuffer_sRGB) DONE (i965, r600, radeonsi) -glClearBuffer commands DONE -glGetStringi command DONE -glTexParameterI, glGetTexParameterI commands DONE -glVertexAttribI commands DONE -Depth format cube textures DONE (i965, r600, radeonsi) -GLX_ARB_create_context (GLX 1.4 is required) DONE - - -GL 3.1: - -GLSL 1.40 DONE (i965, r600, radeonsi) -Forward compatible context support/deprecations DONE (i965, r600, radeonsi) -Instanced drawing (GL_ARB_draw_instanced) DONE (i965, r600, radeonsi, swrast) -Buffer copying (GL_ARB_copy_buffer) DONE (i965, r300, r600, radeonsi, swrast) -Primitive restart (GL_NV_primitive_restart) DONE (i965, r300, r600, radeonsi) -16 vertex texture image units DONE (i965, r600, radeonsi) -Texture buffer objs (GL_ARB_texture_buffer_object) DONE for OpenGL 3.1 contexts (i965, r600, radeonsi) -Rectangular textures (GL_ARB_texture_rectangle) DONE (i965, r300, r600, radeonsi, swrast) -Uniform buffer objs (GL_ARB_uniform_buffer_object) DONE (i965, r600, radeonsi, swrast) -Signed normalized textures (GL_EXT_texture_snorm) DONE (i965, r300, r600, radeonsi) - - -GL 3.2: - -Core/compatibility profiles DONE -GLSL 1.50 DONE (i965) -Geometry shaders DONE (i965) -BGRA vertex order (GL_ARB_vertex_array_bgra) DONE (i965, r300, r600, radeonsi, swrast) -Base vertex offset(GL_ARB_draw_elements_base_vertex) DONE (i965, r300, r600, radeonsi, swrast) -Frag shader coord (GL_ARB_fragment_coord_conventions) DONE (i965, r300, r600, radeonsi, swrast) -Provoking vertex (GL_ARB_provoking_vertex) DONE (i965, r300, r600, radeonsi, swrast) -Seamless cubemaps (GL_ARB_seamless_cube_map) DONE (i965, r600, radeonsi) -Multisample textures (GL_ARB_texture_multisample) DONE (i965, r600, radeonsi) -Frag depth clamp (GL_ARB_depth_clamp) DONE (i965, r600, swrast, radeonsi) -Fence objects (GL_ARB_sync) DONE (i965, r300, r600, radeonsi, swrast) -GLX_ARB_create_context_profile DONE - - -GL 3.3: - -GLSL 3.30 DONE (i965) -GL_ARB_blend_func_extended DONE (i965, r600, radeonsi, softpipe) -GL_ARB_explicit_attrib_location DONE (i915, i965, r300, r600, radeonsi, swrast) -GL_ARB_occlusion_query2 DONE (i965, r300, r600, radeonsi, swrast) -GL_ARB_sampler_objects DONE (i965, r300, r600, radeonsi) -GL_ARB_shader_bit_encoding DONE (i965, r600, radeonsi) -GL_ARB_texture_rgb10_a2ui DONE (i965, r600, radeonsi) -GL_ARB_texture_swizzle DONE (i965, r300, r600, radeonsi, swrast) -GL_ARB_timer_query DONE (i965, r600, radeonsi) -GL_ARB_instanced_arrays DONE (i965, r300, r600, radeonsi) -GL_ARB_vertex_type_2_10_10_10_rev DONE (i965, r600, radeonsi) +GL 3.0 --- all DONE: i965, nv50, nvc0, r600, radeonsi + + GLSL 1.30 DONE () + glBindFragDataLocation, glGetFragDataLocation DONE + Conditional rendering (GL_NV_conditional_render) DONE (r300, swrast) + Map buffer subranges (GL_ARB_map_buffer_range) DONE (r300, swrast) + Clamping controls (GL_ARB_color_buffer_float) DONE (r300) + Float textures, renderbuffers (GL_ARB_texture_float) DONE (r300) + GL_EXT_packed_float DONE () + GL_EXT_texture_shared_exponent DONE (swrast) + Float depth buffers (GL_ARB_depth_buffer_float) DONE () + Framebuffer objects (GL_ARB_framebuffer_object) DONE (r300, swrast) + Half-float DONE (r300, swrast) + Non-normalized Integer texture/framebuffer formats DONE () + 1D/2D Texture arrays DONE () + Per-buffer blend and masks (GL_EXT_draw_buffers2) DONE (swrast) + GL_EXT_texture_compression_rgtc DONE (r300, swrast) + Red and red/green texture formats DONE (r300, swrast) + Transform feedback (GL_EXT_transform_feedback) DONE () + Vertex array objects (GL_APPLE_vertex_array_object) DONE + sRGB framebuffer format (GL_EXT_framebuffer_sRGB) DONE () + glClearBuffer commands DONE + glGetStringi command DONE + glTexParameterI, glGetTexParameterI commands DONE + glVertexAttribI commands DONE + Depth format cube textures DONE () + GLX_ARB_create_context (GLX 1.4 is required) DONE + + +GL 3.1 --- all DONE: i965, nv50, nvc0, r600, radeonsi + + GLSL 1.40 DONE () + Forward compatible context support/deprecations DONE () + Instanced drawing (GL_ARB_draw_instanced) DONE (swrast) + Buffer copying (GL_ARB_copy_buffer) DONE (r300, swrast) + Primitive restart (GL_NV_primitive_restart) DONE (r300, ) + 16 vertex texture image units DONE () + Texture buffer objs (GL_ARB_texture_buffer_object) DONE for OpenGL 3.1 contexts () + Rectangular textures (GL_ARB_texture_rectangle) DONE (r300, swrast) + Uniform buffer objs (GL_ARB_uniform_buffer_object) DONE (swrast) + Signed normalized textures (GL_EXT_texture_snorm) DONE (r300) + + +GL 3.2 --- all DONE: i965 + + Core/compatibility profiles DONE + GLSL 1.50 DONE () + Geometry shaders DONE () + BGRA vertex order (GL_ARB_vertex_array_bgra) DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + Base vertex offset(GL_ARB_draw_elements_base_vertex) DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + Frag shader coord (GL_ARB_fragment_coord_conventions) DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + Provoking vertex (GL_ARB_provoking_vertex) DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + Seamless cubemaps (GL_ARB_seamless_cube_map) DONE (nvc0, r600, radeonsi) + Multisample textures (GL_ARB_texture_multisample) DONE (nvc0, r600, radeonsi) + Frag depth clamp (GL_ARB_depth_clamp) DONE (nv50, nvc0, r600, swrast, radeonsi) + Fence objects (GL_ARB_sync) DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + GLX_ARB_create_context_profile DONE + + +GL 3.3 --- all DONE: i965 + + GLSL 3.30 DONE () + GL_ARB_blend_func_extended DONE (nv50, nvc0, r600, radeonsi, softpipe) + GL_ARB_explicit_attrib_location DONE (i915, nv50, nvc0, r300, r600, radeonsi, swrast) + GL_ARB_occlusion_query2 DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + GL_ARB_sampler_objects DONE (nv50, nvc0, r300, r600, radeonsi) + GL_ARB_shader_bit_encoding DONE (nv50, nvc0, r600, radeonsi) + GL_ARB_texture_rgb10_a2ui DONE (r600, radeonsi) + GL_ARB_texture_swizzle DONE (nv50, nvc0, r300, r600, radeonsi, swrast) + GL_ARB_timer_query DONE (nv50, nvc0, r600, radeonsi) + GL_ARB_instanced_arrays DONE (nv50, nvc0, r300, r600, radeonsi) + GL_ARB_vertex_type_2_10_10_10_rev DONE (r600, radeonsi) GL 4.0: -GLSL 4.0 not started -GL_ARB_texture_query_lod DONE (i965) -GL_ARB_draw_buffers_blend DONE (i965, r600, radeonsi, softpipe) -GL_ARB_draw_indirect started (Christoph) -GL_ARB_gpu_shader5 started -GL_ARB_gpu_shader_fp64 not started -GL_ARB_sample_shading DONE (i965) -GL_ARB_shader_subroutine not started -GL_ARB_tessellation_shader not started -GL_ARB_texture_buffer_object_rgb32 DONE (i965, r600, radeonsi, softpipe) -GL_ARB_texture_cube_map_array DONE (i965, r600, softpipe) -GL_ARB_texture_gather DONE (i965) -GL_ARB_transform_feedback2 DONE (i965, r600, radeonsi) -GL_ARB_transform_feedback3 DONE (i965, r600, radeonsi) + GLSL 4.0 not started + GL_ARB_texture_query_lod DONE (i965) + GL_ARB_draw_buffers_blend DONE (i965, r600, radeonsi, softpipe) + GL_ARB_draw_indirect started (Christoph) + GL_ARB_gpu_shader5 started + GL_ARB_gpu_shader_fp64 not started + GL_ARB_sample_shading DONE (i965) + GL_ARB_shader_subroutine not started + GL_ARB_tessellation_shader not started + GL_ARB_texture_buffer_object_rgb32 DONE (i965, r600, radeonsi, softpipe) + GL_ARB_texture_cube_map_array DONE (i965, r600, softpipe) + GL_ARB_texture_gather DONE (i965) + GL_ARB_transform_feedback2 DONE (i965, r600, radeonsi) + GL_ARB_transform_feedback3 DONE (i965, r600, radeonsi) GL 4.1: -GLSL 4.1 not started -GL_ARB_ES2_compatibility DONE (i965, r300, r600, radeonsi) -GL_ARB_get_program_binary DONE (0 binary formats) -GL_ARB_separate_shader_objects some infrastructure done -GL_ARB_shader_precision not started -GL_ARB_vertex_attrib_64bit not started -GL_ARB_viewport_array not started + GLSL 4.1 not started + GL_ARB_ES2_compatibility DONE (i965, r300, r600, radeonsi) + GL_ARB_get_program_binary DONE (0 binary formats) + GL_ARB_separate_shader_objects some infrastructure done + GL_ARB_shader_precision not started + GL_ARB_vertex_attrib_64bit not started + GL_ARB_viewport_array not started GL 4.2: -GLSL 4.2 not started -GL_ARB_texture_compression_bptc not started -GL_ARB_compressed_texture_pixel_storage not started -GL_ARB_shader_atomic_counters DONE (i965) -GL_ARB_texture_storage DONE (all drivers) -GL_ARB_transform_feedback_instanced DONE (i965, r600, radeonsi) -GL_ARB_base_instance DONE (i965, nv50, nvc0, r600, radeonsi) -GL_ARB_shader_image_load_store not started -GL_ARB_conservative_depth DONE (all drivers that support GLSL 1.30) -GL_ARB_shading_language_420pack DONE (all drivers that support GLSL 1.30) -GL_ARB_internalformat_query DONE (i965, r300, r600, radeonsi) -GL_ARB_map_buffer_alignment DONE (r300, r600, radeonsi) + GLSL 4.2 not started + GL_ARB_texture_compression_bptc not started + GL_ARB_compressed_texture_pixel_storage not started + GL_ARB_shader_atomic_counters DONE (i965) + GL_ARB_texture_storage DONE (all drivers) + GL_ARB_transform_feedback_instanced DONE (i965, r600, radeonsi) + GL_ARB_base_instance DONE (i965, nv50, nvc0, r600, radeonsi) + GL_ARB_shader_image_load_store not started + GL_ARB_conservative_depth DONE (all drivers that support GLSL 1.30) + GL_ARB_shading_language_420pack DONE (all drivers that support GLSL 1.30) + GL_ARB_internalformat_query DONE (i965, r300, r600, radeonsi) + GL_ARB_map_buffer_alignment DONE (r300, r600, radeonsi) GL 4.3: -GLSL 4.3 not started -GL_ARB_arrays_of_arrays not started -GL_ARB_ES3_compatibility DONE (i965) -GL_ARB_clear_buffer_object not started -GL_ARB_compute_shader not started -GL_ARB_copy_image not started -GL_KHR_debug DONE (all drivers) -GL_ARB_explicit_uniform_location not started -GL_ARB_fragment_layer_viewport not started -GL_ARB_framebuffer_no_attachments not started -GL_ARB_internalformat_query2 not started -GL_ARB_invalidate_subdata DONE (all drivers) -GL_ARB_multi_draw_indirect not started -GL_ARB_program_interface_query not started -GL_ARB_robust_buffer_access_behavior not started -GL_ARB_shader_image_size not started -GL_ARB_shader_storage_buffer_object not started -GL_ARB_stencil_texturing not started -GL_ARB_texture_buffer_range DONE (nv50, nvc0, i965, r600, radeonsi) -GL_ARB_texture_query_levels DONE (i965) -GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample) -GL_ARB_texture_view not started -GL_ARB_vertex_attrib_binding DONE (all drivers) + GLSL 4.3 not started + GL_ARB_arrays_of_arrays not started + GL_ARB_ES3_compatibility DONE (i965) + GL_ARB_clear_buffer_object not started + GL_ARB_compute_shader not started + GL_ARB_copy_image not started + GL_KHR_debug DONE (all drivers) + GL_ARB_explicit_uniform_location not started + GL_ARB_fragment_layer_viewport not started + GL_ARB_framebuffer_no_attachments not started + GL_ARB_internalformat_query2 not started + GL_ARB_invalidate_subdata DONE (all drivers) + GL_ARB_multi_draw_indirect not started + GL_ARB_program_interface_query not started + GL_ARB_robust_buffer_access_behavior not started + GL_ARB_shader_image_size not started + GL_ARB_shader_storage_buffer_object not started + GL_ARB_stencil_texturing not started + GL_ARB_texture_buffer_range DONE (nv50, nvc0, i965, r600, radeonsi) + GL_ARB_texture_query_levels DONE (i965) + GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample) + GL_ARB_texture_view not started + GL_ARB_vertex_attrib_binding DONE (all drivers) GL 4.4: -GLSL 4.4 not started -GL_MAX_VERTEX_ATTRIB_STRIDE not started -GL_ARB_buffer_storage not started -GL_ARB_clear_texture not started -GL_ARB_enhanced_layouts not started -GL_ARB_multi_bind not started -GL_ARB_query_buffer_object not started -GL_ARB_texture_mirror_clamp_to_edge DONE (i965, nv30, nv50, nvc0, r300, r600, radeonsi, swrast) -GL_ARB_texture_stencil8 not started -GL_ARB_vertex_type_10f_11f_11f_rev DONE (i965, r600) + GLSL 4.4 not started + GL_MAX_VERTEX_ATTRIB_STRIDE not started + GL_ARB_buffer_storage not started + GL_ARB_clear_texture not started + GL_ARB_enhanced_layouts not started + GL_ARB_multi_bind not started + GL_ARB_query_buffer_object not started + GL_ARB_texture_mirror_clamp_to_edge DONE (i965, nv30, nv50, nvc0, r300, r600, radeonsi, swrast) + GL_ARB_texture_stencil8 not started + GL_ARB_vertex_type_10f_11f_11f_rev DONE (i965, r600) More info about these features and the work involved can be found at diff --git a/mesalib/docs/relnotes/10.0.html b/mesalib/docs/relnotes/10.0.html index eabe77f83..1e4f7716f 100644 --- a/mesalib/docs/relnotes/10.0.html +++ b/mesalib/docs/relnotes/10.0.html @@ -55,6 +55,7 @@ Note: some of the new features are only available with certain drivers. <li>GL_ARB_vertex_attrib_binding</li> <li>GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g</li> <li>GL_KHR_debug</li> +<li>GLX_MESA_query_renderer</li> </ul> @@ -64,7 +65,11 @@ TBD. <h2>Changes</h2> -TBD. +<ul> +<li>Removed X.Org state tracker (unmaintained and broken)</li> +<li>Removed the video-accel r300 targets</li> +<li>Removed the video-accel softpipe targets</li> +</ul> </div> </body> diff --git a/mesalib/include/GL/osmesa.h b/mesalib/include/GL/osmesa.h index 10c472d49..16ee89ae4 100644 --- a/mesalib/include/GL/osmesa.h +++ b/mesalib/include/GL/osmesa.h @@ -60,8 +60,8 @@ extern "C" { #include <GL/gl.h> -#define OSMESA_MAJOR_VERSION 6 -#define OSMESA_MINOR_VERSION 5 +#define OSMESA_MAJOR_VERSION 10 +#define OSMESA_MINOR_VERSION 0 #define OSMESA_PATCH_VERSION 0 @@ -270,6 +270,21 @@ OSMesaGetProcAddress( const char *funcName ); GLAPI void GLAPIENTRY OSMesaColorClamp(GLboolean enable); + +/** + * Enable/disable Gallium post-process filters. + * This should be called after a context is created, but before it is + * made current for the first time. After a context has been made + * current, this function has no effect. + * If the enable_value param is zero, the filter is disabled. Otherwise + * the filter is enabled, and the value may control the filter's quality. + * New in Mesa 10.0 + */ +GLAPI void GLAPIENTRY +OSMesaPostprocess(OSMesaContext osmesa, const char *filter, + unsigned enable_value); + + #ifdef __cplusplus } #endif diff --git a/mesalib/src/gallium/Automake.inc b/mesalib/src/gallium/Automake.inc index b6b9b367a..1e4a34f5d 100644 --- a/mesalib/src/gallium/Automake.inc +++ b/mesalib/src/gallium/Automake.inc @@ -65,11 +65,11 @@ GALLIUM_VDPAU_LINKER_FLAGS = \ -shared \ -no-undefined -# TODO: add -export-symbols-regex GALLIUM_XVMC_LINKER_FLAGS = \ -module \ -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \ -shared \ + -export-symbols-regex '^XvMC' \ -no-undefined GALLIUM_VDPAU_LIB_DEPS = \ diff --git a/mesalib/src/mesa/main/performance_monitor.c b/mesalib/src/mesa/main/performance_monitor.c index 6491b4200..4981e6fb2 100644 --- a/mesalib/src/mesa/main/performance_monitor.c +++ b/mesalib/src/mesa/main/performance_monitor.c @@ -547,6 +547,7 @@ _mesa_GetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GET_CURRENT_CONTEXT(ctx); struct gl_perf_monitor_object *m = lookup_monitor(ctx, monitor); + bool result_available; if (m == NULL) { _mesa_error(ctx, GL_INVALID_VALUE, @@ -569,7 +570,7 @@ _mesa_GetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, } /* If the monitor has never ended, there is no result. */ - bool result_available = m->Ended && + result_available = m->Ended && ctx->Driver.IsPerfMonitorResultAvailable(ctx, m); /* AMD appears to return 0 for all queries unless a result is available. */ diff --git a/mesalib/src/mesa/state_tracker/st_format.c b/mesalib/src/mesa/state_tracker/st_format.c index 33c2ca661..ec2552384 100644 --- a/mesalib/src/mesa/state_tracker/st_format.c +++ b/mesalib/src/mesa/state_tracker/st_format.c @@ -45,6 +45,7 @@ #include "pipe/p_defines.h" #include "pipe/p_screen.h" #include "util/u_format.h" +#include "st_cb_texture.h" #include "st_context.h" #include "st_format.h" @@ -1726,6 +1727,7 @@ st_ChooseTextureFormat(struct gl_context *ctx, GLenum target, struct st_context *st = st_context(ctx); enum pipe_format pFormat; unsigned bindings; + enum pipe_texture_target pTarget = gl_target_to_pipe(target); if (target == GL_TEXTURE_1D || target == GL_TEXTURE_1D_ARRAY) { /* We don't do compression for these texture targets because of @@ -1782,12 +1784,12 @@ st_ChooseTextureFormat(struct gl_context *ctx, GLenum target, } pFormat = st_choose_format(st, internalFormat, format, type, - PIPE_TEXTURE_2D, 0, bindings, ctx->Mesa_DXTn); + pTarget, 0, bindings, ctx->Mesa_DXTn); if (pFormat == PIPE_FORMAT_NONE) { /* try choosing format again, this time without render target bindings */ pFormat = st_choose_format(st, internalFormat, format, type, - PIPE_TEXTURE_2D, 0, PIPE_BIND_SAMPLER_VIEW, + pTarget, 0, PIPE_BIND_SAMPLER_VIEW, ctx->Mesa_DXTn); } |