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 Sampler tests 20e5c31af7Sopenharmony_ci 21e5c31af7Sopenharmony_ciTests: 22e5c31af7Sopenharmony_ci + dEQP-GLES2.functional.texture.sampler.* 23e5c31af7Sopenharmony_ci 24e5c31af7Sopenharmony_ciIncludes: 25e5c31af7Sopenharmony_ci + glTexImage3D(), glTexImage2D(), glTexSubImage3D(), glTexSubImage2D() 26e5c31af7Sopenharmony_ci - Selected texture formats 27e5c31af7Sopenharmony_ci - Randomized usage 28e5c31af7Sopenharmony_ci + glCopyTexImage2D(), glCopyTexSubImage2D() 29e5c31af7Sopenharmony_ci - All texture formats 30e5c31af7Sopenharmony_ci - Randomized usage 31e5c31af7Sopenharmony_ci + glTexStorage2D() and glTexStorage3D() 32e5c31af7Sopenharmony_ci - All formats 33e5c31af7Sopenharmony_ci - 2D, 2D array, cube map and 3D textures 34e5c31af7Sopenharmony_ci + All pixel transfer modes 35e5c31af7Sopenharmony_ci + Specifying textures from pixel buffer objects 36e5c31af7Sopenharmony_ci 37e5c31af7Sopenharmony_ciExcludes: 38e5c31af7Sopenharmony_ci + Texture formats are more thoroughly exercised in texture format tests 39e5c31af7Sopenharmony_ci + Negative API tests 40e5c31af7Sopenharmony_ci - Will be added in 2012.3 41e5c31af7Sopenharmony_ci 42e5c31af7Sopenharmony_ciDescription: 43e5c31af7Sopenharmony_ci 44e5c31af7Sopenharmony_ciTexture specification tests create a complete texture object using texture 45e5c31af7Sopenharmony_cispecification APIs. The exact functions called depends on the feature being 46e5c31af7Sopenharmony_citested. All texture levels, faces (for cube maps) and slices (for 2D array 47e5c31af7Sopenharmony_citextures and 3D textures) are then rendered and compared against a image produced 48e5c31af7Sopenharmony_ciby a reference renderer. 49