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