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    GL3 conditional render stress tests
20e5c31af7Sopenharmony_ci
21e5c31af7Sopenharmony_ciTests:
22e5c31af7Sopenharmony_ci + dEQP-GL3.stress.conditional_render.*
23e5c31af7Sopenharmony_ci
24e5c31af7Sopenharmony_ciIncludes:
25e5c31af7Sopenharmony_ci + Multiple concurrent queries/renders
26e5c31af7Sopenharmony_ci + Query and conditional geometry significantly apart
27e5c31af7Sopenharmony_ci   - For tiled renderers
28e5c31af7Sopenharmony_ci
29e5c31af7Sopenharmony_ciExcludes:
30e5c31af7Sopenharmony_ci
31e5c31af7Sopenharmony_ciDescription:
32e5c31af7Sopenharmony_ci
33e5c31af7Sopenharmony_ciConditional rendering stress tests use a large number of conditional rendering
34e5c31af7Sopenharmony_cicalls under various conditions.
35e5c31af7Sopenharmony_ci
36e5c31af7Sopenharmony_ciCall count and distant query tests prepare all vertex arrays before rendering.
37e5c31af7Sopenharmony_ciAll tests are based on using occlusion queries with known results and rendering
38e5c31af7Sopenharmony_cithe same scene with geometry culled either by conditional rendering or the
39e5c31af7Sopenharmony_citest logic. The results are compared to verify correctness.
40e5c31af7Sopenharmony_ci
41e5c31af7Sopenharmony_ciRendering is ordered so that all occlusion queries are started before any
42e5c31af7Sopenharmony_ciconditional rendering is done.
43e5c31af7Sopenharmony_ci
44e5c31af7Sopenharmony_ciCall count test use many occlusion queries and simple occluder geometry. Every
45e5c31af7Sopenharmony_cisecond occlusion query is set to fail. Failing occlusion query geometry is
46e5c31af7Sopenharmony_cilimited within a small region of the screen. Passing query geometry is evenly
47e5c31af7Sopenharmony_cispread around the screen. Conditionally rendered geometry is evenly spread.
48e5c31af7Sopenharmony_ci
49e5c31af7Sopenharmony_ciDistant query tests have maximal screen distance between the query geometry
50e5c31af7Sopenharmony_ciand the rendering the query controls. The setup is equivalent to the call
51e5c31af7Sopenharmony_cicount cases with the exception of the distribution of the primitives rendered.
52e5c31af7Sopenharmony_ciOcclusion query geometry is roughly on the opposing edge of the screen as the
53e5c31af7Sopenharmony_cigeometry it controls. All edges have occluders.
54