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