1e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
2e5c31af7Sopenharmony_cidrawElements Quality Program Test Specification
3e5c31af7Sopenharmony_ci-----------------------------------------------
4e5c31af7Sopenharmony_ci
5e5c31af7Sopenharmony_ciCopyright 2014 The Android Open Source Project
6e5c31af7Sopenharmony_ci
7e5c31af7Sopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License");
8e5c31af7Sopenharmony_ciyou may not use this file except in compliance with the License.
9e5c31af7Sopenharmony_ciYou may obtain a copy of the License at
10e5c31af7Sopenharmony_ci
11e5c31af7Sopenharmony_ci     http://www.apache.org/licenses/LICENSE-2.0
12e5c31af7Sopenharmony_ci
13e5c31af7Sopenharmony_ciUnless required by applicable law or agreed to in writing, software
14e5c31af7Sopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS,
15e5c31af7Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16e5c31af7Sopenharmony_ciSee the License for the specific language governing permissions and
17e5c31af7Sopenharmony_cilimitations under the License.
18e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
19e5c31af7Sopenharmony_ci    Framebuffer blit tests
20e5c31af7Sopenharmony_ci
21e5c31af7Sopenharmony_ciTests:
22e5c31af7Sopenharmony_ci + dEQP-GLES3.functional.fbo.blit.*
23e5c31af7Sopenharmony_ci
24e5c31af7Sopenharmony_ciIncludes:
25e5c31af7Sopenharmony_ci + Copying whole framebuffer
26e5c31af7Sopenharmony_ci + Copying sub-framebuffer
27e5c31af7Sopenharmony_ci + Scaling in copy
28e5c31af7Sopenharmony_ci   - Nearest and linear filtering
29e5c31af7Sopenharmony_ci + Copying depth values
30e5c31af7Sopenharmony_ci + Copying stencil values
31e5c31af7Sopenharmony_ci + All supported conversions
32e5c31af7Sopenharmony_ci + Pixel ownership test
33e5c31af7Sopenharmony_ci + Scissor test
34e5c31af7Sopenharmony_ci + sRGB conversion
35e5c31af7Sopenharmony_ci
36e5c31af7Sopenharmony_ciExcludes:
37e5c31af7Sopenharmony_ci + Negative tests
38e5c31af7Sopenharmony_ci   - Will be covered in separate negative API test set
39e5c31af7Sopenharmony_ci + MSAA resolve in glBlitFramebuffer()
40e5c31af7Sopenharmony_ci   - Covered in MSAA FBO tests
41e5c31af7Sopenharmony_ci
42e5c31af7Sopenharmony_ciDescription:
43e5c31af7Sopenharmony_ci
44e5c31af7Sopenharmony_ciFramebuffer blit tests will create two framebuffers with configurations
45e5c31af7Sopenharmony_cidefined by the test case. Both are initialized with color, depth and
46e5c31af7Sopenharmony_cistencil data. A copy defined by the test case is performed between first
47e5c31af7Sopenharmony_ciand second framebuffer. If depth and/or stencil values were copied,
48e5c31af7Sopenharmony_cia rendering command that will use the copied depth/stencil values is
49e5c31af7Sopenharmony_cisubmitted to the target framebuffer.
50e5c31af7Sopenharmony_ci
51e5c31af7Sopenharmony_ciRendered image is compared against a reference image computed by a reference
52e5c31af7Sopenharmony_cirendering code.
53