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 Buffer management and data transfer tests 20 21Tests: 22 + dEQP-GLES3.functional.buffers.* 23 24Includes: 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 36Excludes: 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 42Description: 43 44Buffer tests perform a sequence of API calls that modify the buffer data. 45All buffer-related calls are written to log for inspection. 46 47Buffer contents are verified by either mapping buffer for reading or using 48buffer in rendering as a vertex array, uniform buffer or pixel unpack buffer. 49Results are compared against reference data or reference rendering. 50