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