Home | History | Annotate | Download | only in GLES2
      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     Negative API tests
     20 
     21 Tests:
     22  + dEQP-GLES2.functional.negative_api.*
     23 
     24 Includes:
     25  + Negative tests for all API functions capable of producing errors
     26  + Test cases are organized into following categories:
     27 	- Buffer API
     28 	- Fragment API
     29 	- Shader API
     30 	- State API & Special Functions
     31 	- Texture API
     32 	- Vertex Array API
     33 
     34 Excludes:
     35  + Tests for API functions that cannot produce errors
     36 
     37 Description:
     38 
     39 Negative API test set goes through all GL commands that are capable of
     40 producing error states. First, each command is used incorrectly, and then
     41 GL errors are queried with glGetError(). If the received error code does
     42 not match the specification, the test case is failed.
     43 
     44 Test log includes a quote from the specification indicating the conditions
     45 for the error, which error code was expected and which error code was
     46 returned by the implementation.
     47 
     48 Not all commands, such as glFinish() or glIsBuffer(), are capable of
     49 producing errors, and thus are not included in the test set.
     50