1 ------------------------------------------------------------------------- 2 drawElements Quality Program Test Specification 3 ----------------------------------------------- 4 5 Copyright 2014 The Android Open Source Project 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 ------------------------------------------------------------------------- 19 Scissoring Tests 20 21 Tests: 22 + dEQP-GLES2.functional.scissor.* 23 + dEQP-GLES3.functional.scissor.* 24 25 Includes: 26 + Primitives 27 - Points 28 - Lines 29 - Triangles 30 + Clears (including GLES 3 only ones) 31 + Framebuffer blits (GLES 3) 32 + Scissor configurations 33 - Enclosing rendered area 34 - Enclosed by rendered area (if applicable) 35 - Partially containing rendered area 36 - (Partially) outside render target 37 38 39 Excludes: 40 + Blits to/from multiple buffers 41 + Partially clipped points 42 43 Description: 44 45 This test set compares images rendered by the target with the scissor test 46 enabled to references generated with the scissor test disabled but with 47 areas outside the scissor rectangle cleared by the test logic. 48 49 All primitive types are tested in all reasonable scissor configurations 50 listed above. Points are tested in a somewhat limited fashion since 51 support for point sizes above one is not required. 52 53 After clearing with scissoring enabled, depth and stencil clears disable 54 scissoring and render a colored fullscreen quad with depth & stencil 55 tests requiring values set by the previous clears to produce the final output. 56