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