blob: 2752fb1710e79c9f99207f2e8be2253fa8c3bd81 [file] [log] [blame]
-------------------------------------------------------------------------
drawElements Quality Program Test Specification
-----------------------------------------------
Copyright 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-------------------------------------------------------------------------
Color buffer clears
Tests:
+ dEQP-GLES2.functional.color.clear.*
Includes:
+ Full-screen color buffer clears: glClear(), glClearColor()
+ glScissor() effect on color buffer clears
+ glColorMask() effect on color buffer clears
+ Combined glScissor() and glColorMask() effect
Excludes:
+ glViewport() effect on color buffer clears
+ Out-of-rande inputs for glClearColor()
+ Depth and stencil buffer clears
Description:
Color clear tests are organized based on the feature set used in the
test case. Each test case performs multiple iterations, each consisting
of multiple color clears. Parameters, such as color, scissor rectangle
or color mask are chosen using deterministic random number generator.
Results are verified by building a reference image and comparing it
against the rendered image at the end of each iteration.