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