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