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 Pixel Buffer Object tests 20 21 Tests: 22 + dEQP-GLES3.functional.pbo.* 23 24 Includes: 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 32 Excludes: 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 40 Description: 41 42 Pixel buffer object tests create pixel pack buffer or unpack buffer. Data is 43 written to buffer either using glBuffer(Sub)Data() or mapping buffer. After 44 the write data is verified to be correct by mapping the buffer. Additionally, 45 for pixel pack buffers readpixels is issued with PBO bound. The readpixels result 46 is verified by doing the same operation without pack buffer and then comparing 47 the results. 48