1 ------------------------------------------------------------------------- 2 drawElements Quality Program Test Specification 3 ----------------------------------------------- 4 5 Copyright 2014 The Android Open Source Project 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 ------------------------------------------------------------------------- 19 Occlusion query stress tests 20 21 Tests: 22 + dEQP-GLES3.stress.occlusion_query.* 23 24 Includes: 25 + Uses primitives drawn with GL_TRIANGLES 26 + Uses query target ANY_SAMPLES_PASSED 27 28 Excludes: 29 + Occlusion query result verification based on framebuffer 30 31 Description: 32 33 Occlusion query stress tests generate large amounts of occlusion queries 34 in order to test implementation's ability to handle them. First a 35 specified number of occluding triangles are drawn. Then the occlusion 36 query is started, specified number of target triangles are drawn and the 37 occlusion query is terminated. After all occlusion queries and triangle 38 draws are executed, glFinish() is called and all query results are read. 39 40 Actual query result values are not verified - only trouble-free result 41 retrieval is tested. Query result correctness can be implemented later 42 by inspecting framebuffer contents. 43