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