1e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
2e5c31af7Sopenharmony_cidrawElements Quality Program Test Specification
3e5c31af7Sopenharmony_ci-----------------------------------------------
4e5c31af7Sopenharmony_ci
5e5c31af7Sopenharmony_ciCopyright 2014 The Android Open Source Project
6e5c31af7Sopenharmony_ci
7e5c31af7Sopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License");
8e5c31af7Sopenharmony_ciyou may not use this file except in compliance with the License.
9e5c31af7Sopenharmony_ciYou may obtain a copy of the License at
10e5c31af7Sopenharmony_ci
11e5c31af7Sopenharmony_ci     http://www.apache.org/licenses/LICENSE-2.0
12e5c31af7Sopenharmony_ci
13e5c31af7Sopenharmony_ciUnless required by applicable law or agreed to in writing, software
14e5c31af7Sopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS,
15e5c31af7Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16e5c31af7Sopenharmony_ciSee the License for the specific language governing permissions and
17e5c31af7Sopenharmony_cilimitations under the License.
18e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
19e5c31af7Sopenharmony_ci    Pixel Buffer Object tests
20e5c31af7Sopenharmony_ci
21e5c31af7Sopenharmony_ciTests:
22e5c31af7Sopenharmony_ci + dEQP-GLES3.functional.pbo.*
23e5c31af7Sopenharmony_ci
24e5c31af7Sopenharmony_ciIncludes:
25e5c31af7Sopenharmony_ci + Creating and destroying pixel pack and unpack buffers
26e5c31af7Sopenharmony_ci + Writing buffer data using glBufferData() and glBufferSubData()
27e5c31af7Sopenharmony_ci + Mapping PBOs
28e5c31af7Sopenharmony_ci + Reading pixels to pixel pack buffer
29e5c31af7Sopenharmony_ci + Copying between pixel buffer objects (2012.3)
30e5c31af7Sopenharmony_ci + Texture pack modes used in combination with pixel pack buffers
31e5c31af7Sopenharmony_ci
32e5c31af7Sopenharmony_ciExcludes:
33e5c31af7Sopenharmony_ci + Specifying textures from PBOs
34e5c31af7Sopenharmony_ci   - Fully covered in texture specification tests
35e5c31af7Sopenharmony_ci + Negative API tests
36e5c31af7Sopenharmony_ci   - Will be added in 2012.3
37e5c31af7Sopenharmony_ci + Buffer queries
38e5c31af7Sopenharmony_ci   - Will be added in 2012.4
39e5c31af7Sopenharmony_ci
40e5c31af7Sopenharmony_ciDescription:
41e5c31af7Sopenharmony_ci
42e5c31af7Sopenharmony_ciPixel buffer object tests create pixel pack buffer or unpack buffer. Data is
43e5c31af7Sopenharmony_ciwritten to buffer either using glBuffer(Sub)Data() or mapping buffer. After
44e5c31af7Sopenharmony_cithe write data is verified to be correct by mapping the buffer. Additionally,
45e5c31af7Sopenharmony_cifor pixel pack buffers readpixels is issued with PBO bound. The readpixels result
46e5c31af7Sopenharmony_ciis verified by doing the same operation without pack buffer and then comparing
47e5c31af7Sopenharmony_cithe results.
48