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 Pixel Buffer Object tests 20*35238bceSAndroid Build Coastguard Worker 21*35238bceSAndroid Build Coastguard WorkerTests: 22*35238bceSAndroid Build Coastguard Worker + dEQP-GLES3.functional.pbo.* 23*35238bceSAndroid Build Coastguard Worker 24*35238bceSAndroid Build Coastguard WorkerIncludes: 25*35238bceSAndroid Build Coastguard Worker + Creating and destroying pixel pack and unpack buffers 26*35238bceSAndroid Build Coastguard Worker + Writing buffer data using glBufferData() and glBufferSubData() 27*35238bceSAndroid Build Coastguard Worker + Mapping PBOs 28*35238bceSAndroid Build Coastguard Worker + Reading pixels to pixel pack buffer 29*35238bceSAndroid Build Coastguard Worker + Copying between pixel buffer objects (2012.3) 30*35238bceSAndroid Build Coastguard Worker + Texture pack modes used in combination with pixel pack buffers 31*35238bceSAndroid Build Coastguard Worker 32*35238bceSAndroid Build Coastguard WorkerExcludes: 33*35238bceSAndroid Build Coastguard Worker + Specifying textures from PBOs 34*35238bceSAndroid Build Coastguard Worker - Fully covered in texture specification tests 35*35238bceSAndroid Build Coastguard Worker + Negative API tests 36*35238bceSAndroid Build Coastguard Worker - Will be added in 2012.3 37*35238bceSAndroid Build Coastguard Worker + Buffer queries 38*35238bceSAndroid Build Coastguard Worker - Will be added in 2012.4 39*35238bceSAndroid Build Coastguard Worker 40*35238bceSAndroid Build Coastguard WorkerDescription: 41*35238bceSAndroid Build Coastguard Worker 42*35238bceSAndroid Build Coastguard WorkerPixel buffer object tests create pixel pack buffer or unpack buffer. Data is 43*35238bceSAndroid Build Coastguard Workerwritten to buffer either using glBuffer(Sub)Data() or mapping buffer. After 44*35238bceSAndroid Build Coastguard Workerthe write data is verified to be correct by mapping the buffer. Additionally, 45*35238bceSAndroid Build Coastguard Workerfor pixel pack buffers readpixels is issued with PBO bound. The readpixels result 46*35238bceSAndroid Build Coastguard Workeris verified by doing the same operation without pack buffer and then comparing 47*35238bceSAndroid Build Coastguard Workerthe results. 48