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    Scissoring Tests
20e5c31af7Sopenharmony_ci
21e5c31af7Sopenharmony_ciTests:
22e5c31af7Sopenharmony_ci + dEQP-GLES2.functional.scissor.*
23e5c31af7Sopenharmony_ci + dEQP-GLES3.functional.scissor.*
24e5c31af7Sopenharmony_ci
25e5c31af7Sopenharmony_ciIncludes:
26e5c31af7Sopenharmony_ci + Primitives
27e5c31af7Sopenharmony_ci   - Points
28e5c31af7Sopenharmony_ci   - Lines
29e5c31af7Sopenharmony_ci   - Triangles
30e5c31af7Sopenharmony_ci + Clears (including GLES 3 only ones)
31e5c31af7Sopenharmony_ci + Framebuffer blits (GLES 3)
32e5c31af7Sopenharmony_ci + Scissor configurations
33e5c31af7Sopenharmony_ci   - Enclosing rendered area
34e5c31af7Sopenharmony_ci   - Enclosed by rendered area (if applicable)
35e5c31af7Sopenharmony_ci   - Partially containing rendered area
36e5c31af7Sopenharmony_ci   - (Partially) outside render target
37e5c31af7Sopenharmony_ci
38e5c31af7Sopenharmony_ci
39e5c31af7Sopenharmony_ciExcludes:
40e5c31af7Sopenharmony_ci + Blits to/from multiple buffers
41e5c31af7Sopenharmony_ci + Partially clipped points
42e5c31af7Sopenharmony_ci
43e5c31af7Sopenharmony_ciDescription:
44e5c31af7Sopenharmony_ci
45e5c31af7Sopenharmony_ciThis test set compares images rendered by the target with the scissor test
46e5c31af7Sopenharmony_cienabled to references generated with the scissor test disabled but with
47e5c31af7Sopenharmony_ciareas outside the scissor rectangle cleared by the test logic.
48e5c31af7Sopenharmony_ci
49e5c31af7Sopenharmony_ciAll primitive types are tested in all reasonable scissor configurations
50e5c31af7Sopenharmony_cilisted above. Points are tested in a somewhat limited fashion since
51e5c31af7Sopenharmony_cisupport for point sizes above one is not required.
52e5c31af7Sopenharmony_ci
53e5c31af7Sopenharmony_ciAfter clearing with scissoring enabled, depth and stencil clears disable
54e5c31af7Sopenharmony_ciscissoring and render a colored fullscreen quad with depth & stencil
55e5c31af7Sopenharmony_citests requiring values set by the previous clears to produce the final output.
56