• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    Rasterization Tests
20
21Tests:
22 + dEQP-GLES2.functional.rasterization.*
23
24Includes:
25 + Primitive rasterization
26   - Points
27   - Lines
28   - Triangles
29 + Individual triangles, triangle strips and triangle fans
30 + Varying interpolation in all primitives
31 + Projected (w != 1) and non-projected (w == 1) coordinates
32 + Fill rule verification
33 + Culling
34 + Multisample rasterization
35
36Description:
37
38This test set compares images rendered by a reference software
39rasterizer to images rendered by the target. Rasterized points, lines
40and triangles are compared to reference, and a deviation of 1 pixel in
41position is allowed.
42
43Fill rules are tested using additive blend so that pixels on shared
44triangle edges are filled exactly once. Because exact fill rules are
45not specified, reference rasterizer uses all valid combinations of
46LEFT, RIGHT, TOP and BOTTOM.
47
48Value interpolation is tested for lines and triangles with
49vertex-specific colors, small deviation in interpolated color is allowed.
50
51Multisample rasterization is tested with points, lines and triangles.
52Because sampling pattern is unknown, deviation in produced colors is
53allowed.
54