commit | 0d33d3db0cf50556beb99d883f9cbfe14fd99304 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Mon Nov 20 15:08:51 2017 |
committer | Nicolas Boichat <drinkcat@google.com> | Wed Dec 05 00:08:49 2018 |
tree | a5fdea97bed5fd1a118170d1a62edb901df1893b | |
parent | e31f01c1e20afc37a29981cf1affa98907dbb26e [diff] |
teglImageFormatTests: call glFinish after creating the buffer in the client API According to section 3.7.3.2 (Order of Rendering Operations Between Contexts) of the EGL spec, the application is responsible for synchronization between different rendering contexts even in the same thread. Some of the tests execute a sequence of operations like this (see MultiContextRenderTests::init): 1. ctx0: create image 2. ctx0: read from image 3. ctx0: clear image 4. ctx1: recreate image 5. ctx0: read from image 6. ctx1: read from image This change adds a call to glFinish between steps 4 and 5 that is needed for correctness. Note that other parts of the same file already call glFinish, e.g. the various Render actions. Components: EGL VK-GL-CTS issue: 857 Affects: dEQP-EGL.functional.image.render_multiple_contexts.gles2_*_read_pixels Bug: b/117489304 Change-Id: I4dc50f7516374405596653d7006165819b95b6fa
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.