| ------------------------------------------------------------------------- |
| 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. |
| ------------------------------------------------------------------------- |
| Multisample framebuffer object tests |
| |
| Tests: |
| + dEQP-GLES3.functional.fbo.msaa.* |
| |
| Includes: |
| + Creating framebuffer objects with multisample color, depth and stencil buffers |
| + All specification-mandated color, depth and stencil formats |
| + Basic rendering to MSAA framebuffer objects |
| + Minimum of 1, 4 and 8 samples |
| + Multisample resolve in glBlitFramebuffer() |
| |
| Excludes: |
| + Coverage value computation in primitive rasterization |
| - Will be covered in primitive rasterization test set (2012.2) |
| |
| Description: |
| |
| Each test case exercises a combination of sample count and color, depth |
| and stencil renderbuffer formats. Simple scene is rendered to the framebuffer |
| object in such way that all allocated buffers will be exercised. Multisampled |
| colorbuffer contents are then resolved to non-multisampled renderbuffer |
| using glBlitFramebuffer() and read from there using glReadPixels(). |
| |
| Resulting image is compared agaist an image produced by a reference renderer. |