зеркало из https://github.com/AvaloniaUI/angle.git
2c8f084543
We add a novel multiview multisampling extension that includes the requirement to explicitly resolve the multisampled framebuffer. The explicit resolve is much more straightforward to implement on top of OpenGL and D3D11 than implicit resolve found in the native extension OVR_multiview_multisampled_render_to_texture. It also has predictable performance characteristics. The extension allows multiview drawing to 2D multisample texture arrays and is now enabled on both the GL backend and the D3D11 backend. The implementation is fairly simple, as it involves just small changes in validation to allow multisampled framebuffer attachments. The multiview rendering logic is exactly the same regardless of whether multisampling is enabled. For the most part the same tests are used to test both multisampled and non-multisampled rendering. The tests will use a different framebuffer setup depending on the test param. They resolve the multisampled framebuffer to a non-multisampled framebuffer prior to any readbacks from the framebuffer. Some of the tests are adjusted so that they have the correct sub-pixel positioning of multisampled quads, so there won't be any pixels that would be just partially covered. The tests don't have any tolerance for partially covered pixels - if we find any platforms where the tests run into a sub-pixel positioning corner case, tolerance may need to be added later. BUG=angleproject:2775 TEST=angle_end2end_tests Change-Id: I590d7f300a92ea5439f2720d9db14a7976db2e1d Reviewed-on: https://chromium-review.googlesource.com/1221214 Commit-Queue: Olli Etuaho <oetuaho@nvidia.com> Reviewed-by: Geoff Lang <geofflang@chromium.org> |
||
---|---|---|
.. | ||
ANGLE_client_arrays.txt | ||
ANGLE_depth_texture.txt | ||
ANGLE_explicit_context.txt | ||
ANGLE_explicit_context_gles1.txt | ||
ANGLE_framebuffer_blit.txt | ||
ANGLE_framebuffer_multisample.txt | ||
ANGLE_instanced_arrays.txt | ||
ANGLE_lossy_etc_decode.txt | ||
ANGLE_multiview.txt | ||
ANGLE_multiview_multisample.txt | ||
ANGLE_pack_reverse_row_order.txt | ||
ANGLE_program_binary.txt | ||
ANGLE_program_cache_control.txt | ||
ANGLE_request_extension.txt | ||
ANGLE_robust_client_memory.txt | ||
ANGLE_robust_resource_initialization.txt | ||
ANGLE_texture_compression_dxt.txt | ||
ANGLE_texture_multisample.txt | ||
ANGLE_texture_usage.txt | ||
ANGLE_timer_query.txt | ||
ANGLE_translated_shader_source.txt | ||
ANGLE_webgl_compatibility.txt | ||
CHROMIUM_bind_generates_resource.txt | ||
CHROMIUM_bind_uniform_location.txt | ||
CHROMIUM_compressed_copy_texture.txt | ||
CHROMIUM_copy_texture.txt | ||
CHROMIUM_sync_query.txt | ||
EGL_ANGLE_create_context_client_arrays.txt | ||
EGL_ANGLE_create_context_extensions_enabled.txt | ||
EGL_ANGLE_create_context_webgl_compatibility.txt | ||
EGL_ANGLE_d3d_share_handle_client_buffer.txt | ||
EGL_ANGLE_d3d_texture_client_buffer.txt | ||
EGL_ANGLE_device_creation.txt | ||
EGL_ANGLE_device_creation_d3d11.txt | ||
EGL_ANGLE_device_d3d.txt | ||
EGL_ANGLE_direct3d_display.txt | ||
EGL_ANGLE_direct_composition.txt | ||
EGL_ANGLE_display_texture_share_group.txt | ||
EGL_ANGLE_experimental_present_path.txt | ||
EGL_ANGLE_explicit_context.txt | ||
EGL_ANGLE_flexible_surface_compatibility.txt | ||
EGL_ANGLE_iosurface_client_buffer.txt | ||
EGL_ANGLE_keyed_mutex.txt | ||
EGL_ANGLE_platform_angle.txt | ||
EGL_ANGLE_platform_angle_context_virtualization.txt | ||
EGL_ANGLE_platform_angle_d3d.txt | ||
EGL_ANGLE_platform_angle_null.txt | ||
EGL_ANGLE_platform_angle_opengl.txt | ||
EGL_ANGLE_platform_angle_vulkan.txt | ||
EGL_ANGLE_program_cache_control.txt | ||
EGL_ANGLE_query_surface_pointer.txt | ||
EGL_ANGLE_robust_resource_initialization.txt | ||
EGL_ANGLE_software_display.txt | ||
EGL_ANGLE_stream_producer_d3d_texture.txt | ||
EGL_ANGLE_surface_d3d_texture_2d_share_handle.txt | ||
EGL_ANGLE_surface_orientation.txt | ||
EGL_ANGLE_window_fixed_size.txt | ||
EGL_ANGLE_x11_visual.txt | ||
EGL_CHROMIUM_create_context_bind_generates_resource.txt | ||
EGL_CHROMIUM_get_sync_values.txt | ||
EGL_EXT_create_context_robustness.txt | ||
EGL_EXT_device_query.txt | ||
EXT_blend_func_extended.txt | ||
EXT_blend_minmax.txt | ||
EXT_color_buffer_float.txt | ||
EXT_draw_buffers.txt | ||
EXT_robustness.txt | ||
EXT_texture_rg.txt | ||
EXT_texture_storage.txt | ||
KHR_parallel_shader_compile.txt |