[Piglit] [PATCH 00/15] Tests for DSA Framebuffers
laura at jlekstrand.net
Thu Mar 5 18:01:10 PST 2015
A few notes:
- You should ignore the support_[core|compat]_context = * statements at
the top of the files for now. Please do not bikeshed on these
commits. This issue should be decided definitively on a separate
thread on the mesa-dev mailing list.
- Some of these tests were tricky, so they are a commit series, starting
with a non-DSA test and followed by several refactors.
- The Invalidate*Framebuffer* functions in Mesa do nothing but throw
errors, so the test for those functions tests errors and trivial calls.
If you would like to test these functions on a driver other than
Mesa, feel free to submit a more thorough test to the Piglit ML at a
Laura Ekstrand (15):
arb_direct_state_access: Test for CreateFramebuffers.
arb_direct_state_access: Testing glCreateFramebuffers "in the wild."
arb_direct_state_access: Testing NamedFramebufferRenderbuffer.
arb_direct_state_access: Test NamedFramebufferTexture[Layer].
arb_direct_state_access: Testing glCheckNamedFramebufferStatus.
arb_direct_state_access: Testing CheckNamedFramebufferStatus errors.
arb_direct_state_access: Testing BlitNamedFramebuffers.
arb_direct_state_access: Testing Invalidate*Framebuffer*.
arb_direct_state_access: Testing glClearNamedFramebuffer*.
arb_direct_state_access: Add test for glDrawBuffer/glReadBuffer.
arb_direct_state_access: Testing glNamedFramebufferDrawBuffer.
arb_direct_state_access: Testing NamedFramebufferReadBuffer.
arb_direct_state_access: Add non-DSA test for DrawBuffers.
arb_direct_state_access: Testing NamedFramebufferDrawBuffers.
tests/all.py | 8 +
.../spec/arb_direct_state_access/CMakeLists.gl.txt | 8 +
.../arb_direct_state_access/checkfbstatus-errors.c | 117 ++++++++
.../clearnamedframebuffer.c | 115 ++++++++
.../arb_direct_state_access/create-framebuffers.c | 76 +++++
.../arb_direct_state_access/drawbuffers-multi.c | 160 +++++++++++
tests/spec/arb_direct_state_access/drawbuffers.c | 117 ++++++++
.../fbattachmentparam-errors.c | 117 ++++++++
.../spec/arb_direct_state_access/framebufferblit.c | 319 +++++++++++++++++++++
.../gettextureimage-formats.c | 2 +-
.../gettextureimage-luminance.c | 4 +-
.../invalidateframebuffer.c | 120 ++++++++
.../namedframebufferrenderbuffer.c | 159 ++++++++++
13 files changed, 1319 insertions(+), 3 deletions(-)
create mode 100644 tests/spec/arb_direct_state_access/checkfbstatus-errors.c
create mode 100644 tests/spec/arb_direct_state_access/clearnamedframebuffer.c
create mode 100644 tests/spec/arb_direct_state_access/create-framebuffers.c
create mode 100644 tests/spec/arb_direct_state_access/drawbuffers-multi.c
create mode 100644 tests/spec/arb_direct_state_access/drawbuffers.c
create mode 100644 tests/spec/arb_direct_state_access/fbattachmentparam-errors.c
create mode 100644 tests/spec/arb_direct_state_access/framebufferblit.c
create mode 100644 tests/spec/arb_direct_state_access/invalidateframebuffer.c
create mode 100644 tests/spec/arb_direct_state_access/namedframebufferrenderbuffer.c
More information about the Piglit