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 Buffer management and data transfer tests 20 21 Tests: 22 + dEQP-GLES3.functional.buffers.* 23 24 Includes: 25 + Creating and destroying buffers 26 + Mapping buffers 27 - Reading and writing to buffers 28 - MAP_INVALIDATE_RANGE_BIT 29 - MAP_INVALIDATE_BUFFER_BIT 30 - MAP_FLUSH_EXPLICIT_BIT 31 - MAP_UNSYNCHRONIZED_BIT 32 + Copying buffers 33 + Data verification by using buffer in rendering 34 + Data verification using buffer mapping 35 36 Excludes: 37 + Writing buffer data with glBufferData, glBufferSubData 38 - Will be covered in 2012.3 release 39 + Negative API tests 40 - Will be covered in separate negative API test set 41 42 Description: 43 44 Buffer tests perform a sequence of API calls that modify the buffer data. 45 All buffer-related calls are written to log for inspection. 46 47 Buffer contents are verified by either mapping buffer for reading or using 48 buffer in rendering as a vertex array, uniform buffer or pixel unpack buffer. 49 Results are compared against reference data or reference rendering. 50