Navigate to the top level

Antialiasing_tests

Description
Tests the effects of NV097_SET_SURFACE_FORMAT_ANTI_ALIASING in various scenarios.
Many of these tests were created to demonstrate specific bugs in xemu and are not of practical value in typical hardware use cases.
Suite class def

AAOnThenOffCPUWrite

Configure the framebuffer surface with some antialiasing mode, clear, change the mode, modify the framebuffer by writing directly to VRAM, then render. Used to reproduce xemu-project/xemu#652.

Image with alpha
Test result for Antialiasing_tests::AAOnThenOffCPUWrite
Image as seen on display
No alpha test result for Antialiasing_tests::AAOnThenOffCPUWrite

CPUWriteIgnoresSurfaceConfig

This test verifies that direct writes to VRAM bypass any surface configuration. It sets up a texture surface with antialiasing enabled, then writes directly to texture memory and renders the texture to the screen. It is expected that antialiasing has no effect.

Image with alpha
Test result for Antialiasing_tests::CPUWriteIgnoresSurfaceConfig
Image as seen on display
No alpha test result for Antialiasing_tests::CPUWriteIgnoresSurfaceConfig

CreateSurfaceWithCenter1

Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_CENTER_1

Image with alpha
Test result for Antialiasing_tests::CreateSurfaceWithCenter1
Image as seen on display
No alpha test result for Antialiasing_tests::CreateSurfaceWithCenter1

CreateSurfaceWithCenterCorner2

Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_CENTER_CORNER_2

Image with alpha
Test result for Antialiasing_tests::CreateSurfaceWithCenterCorner2
Image as seen on display
No alpha test result for Antialiasing_tests::CreateSurfaceWithCenterCorner2

CreateSurfaceWithSquareOffset4

Tests rendering with NV097_SET_SURFACE_FORMAT_ANTI_ALIASING_SQUARE_OFFSET_4

Image with alpha
Test result for Antialiasing_tests::CreateSurfaceWithSquareOffset4
Image as seen on display
No alpha test result for Antialiasing_tests::CreateSurfaceWithSquareOffset4

FBSurfaceWithCenter1

Image with alpha
Test result for Antialiasing_tests::FBSurfaceWithCenter1
Image as seen on display
No alpha test result for Antialiasing_tests::FBSurfaceWithCenter1

FBSurfaceWithCenterCorner2

Image with alpha
Test result for Antialiasing_tests::FBSurfaceWithCenterCorner2
Image as seen on display
No alpha test result for Antialiasing_tests::FBSurfaceWithCenterCorner2

FramebufferNotModifiedBySurfaceState

Image with alpha
Test result for Antialiasing_tests::FramebufferNotModifiedBySurfaceState
Image as seen on display
No alpha test result for Antialiasing_tests::FramebufferNotModifiedBySurfaceState

GPUAAWriteAfterCPUWrite

Image with alpha
Test result for Antialiasing_tests::GPUAAWriteAfterCPUWrite
Image as seen on display
No alpha test result for Antialiasing_tests::GPUAAWriteAfterCPUWrite

NonAACPURoundTrip

Image with alpha
Test result for Antialiasing_tests::NonAACPURoundTrip
Image as seen on display
No alpha test result for Antialiasing_tests::NonAACPURoundTrip

SurfaceStatesAreIndependent

Image with alpha
Test result for Antialiasing_tests::SurfaceStatesAreIndependent
Image as seen on display
No alpha test result for Antialiasing_tests::SurfaceStatesAreIndependent