1*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 2*35238bceSAndroid Build Coastguard WorkerdrawElements Quality Program Test Specification 3*35238bceSAndroid Build Coastguard Worker----------------------------------------------- 4*35238bceSAndroid Build Coastguard Worker 5*35238bceSAndroid Build Coastguard WorkerCopyright 2014 The Android Open Source Project 6*35238bceSAndroid Build Coastguard Worker 7*35238bceSAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License"); 8*35238bceSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License. 9*35238bceSAndroid Build Coastguard WorkerYou may obtain a copy of the License at 10*35238bceSAndroid Build Coastguard Worker 11*35238bceSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 12*35238bceSAndroid Build Coastguard Worker 13*35238bceSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software 14*35238bceSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS, 15*35238bceSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16*35238bceSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and 17*35238bceSAndroid Build Coastguard Workerlimitations under the License. 18*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 19*35238bceSAndroid Build Coastguard Worker GL3 conditional render stress tests 20*35238bceSAndroid Build Coastguard Worker 21*35238bceSAndroid Build Coastguard WorkerTests: 22*35238bceSAndroid Build Coastguard Worker + dEQP-GL3.stress.conditional_render.* 23*35238bceSAndroid Build Coastguard Worker 24*35238bceSAndroid Build Coastguard WorkerIncludes: 25*35238bceSAndroid Build Coastguard Worker + Multiple concurrent queries/renders 26*35238bceSAndroid Build Coastguard Worker + Query and conditional geometry significantly apart 27*35238bceSAndroid Build Coastguard Worker - For tiled renderers 28*35238bceSAndroid Build Coastguard Worker 29*35238bceSAndroid Build Coastguard WorkerExcludes: 30*35238bceSAndroid Build Coastguard Worker 31*35238bceSAndroid Build Coastguard WorkerDescription: 32*35238bceSAndroid Build Coastguard Worker 33*35238bceSAndroid Build Coastguard WorkerConditional rendering stress tests use a large number of conditional rendering 34*35238bceSAndroid Build Coastguard Workercalls under various conditions. 35*35238bceSAndroid Build Coastguard Worker 36*35238bceSAndroid Build Coastguard WorkerCall count and distant query tests prepare all vertex arrays before rendering. 37*35238bceSAndroid Build Coastguard WorkerAll tests are based on using occlusion queries with known results and rendering 38*35238bceSAndroid Build Coastguard Workerthe same scene with geometry culled either by conditional rendering or the 39*35238bceSAndroid Build Coastguard Workertest logic. The results are compared to verify correctness. 40*35238bceSAndroid Build Coastguard Worker 41*35238bceSAndroid Build Coastguard WorkerRendering is ordered so that all occlusion queries are started before any 42*35238bceSAndroid Build Coastguard Workerconditional rendering is done. 43*35238bceSAndroid Build Coastguard Worker 44*35238bceSAndroid Build Coastguard WorkerCall count test use many occlusion queries and simple occluder geometry. Every 45*35238bceSAndroid Build Coastguard Workersecond occlusion query is set to fail. Failing occlusion query geometry is 46*35238bceSAndroid Build Coastguard Workerlimited within a small region of the screen. Passing query geometry is evenly 47*35238bceSAndroid Build Coastguard Workerspread around the screen. Conditionally rendered geometry is evenly spread. 48*35238bceSAndroid Build Coastguard Worker 49*35238bceSAndroid Build Coastguard WorkerDistant query tests have maximal screen distance between the query geometry 50*35238bceSAndroid Build Coastguard Workerand the rendering the query controls. The setup is equivalent to the call 51*35238bceSAndroid Build Coastguard Workercount cases with the exception of the distribution of the primitives rendered. 52*35238bceSAndroid Build Coastguard WorkerOcclusion query geometry is roughly on the opposing edge of the screen as the 53*35238bceSAndroid Build Coastguard Workergeometry it controls. All edges have occluders. 54