diff options
author | Sven Gothel <[email protected]> | 2012-10-05 17:26:36 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-05 17:26:36 +0200 |
commit | 93c557c17d2046fc68c3deb582a51ccb4f578df1 (patch) | |
tree | df861853044d653343343a9b1f2b2f0dd9a1f547 /src/test | |
parent | 742282292bb115343287a626b35211e81d695bad (diff) |
UITestCase.snapshot: Add Depth and Stencil bits to filename
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/util/UITestCase.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java index 741014502..b48f027bb 100644 --- a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java +++ b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java @@ -186,13 +186,15 @@ public abstract class UITestCase { final String dblb = caps.getDoubleBuffered() ? "dbl" : "one"; final String F_pfmt = readBufferUtil.hasAlpha() ? "rgba" : "rgb_"; final String pfmt = caps.getAlphaBits() > 0 ? "rgba" : "rgb_"; + final int depthBits = caps.getDepthBits(); + final int stencilBits = caps.getStencilBits(); final int samples = caps.getNumSamples() ; final String aaext = caps.getSampleExtension(); postSNDetail = null != postSNDetail ? "-"+postSNDetail : ""; - filenameBaseName = String.format("%-"+maxSimpleTestNameLen+"s-n%04d%s-%-6s-%s-%s-B%s-F%s_I%s-S%02d_%s-%04dx%04d.%s", + filenameBaseName = String.format("%-"+maxSimpleTestNameLen+"s-n%04d%s-%-6s-%s-%s-B%s-F%s_I%s-D%02d-St%02d-Sa%02d_%s-%04dx%04d.%s", simpleTestName, sn, postSNDetail, drawable.getGLProfile().getName(), accel, - scrnm, dblb, F_pfmt, pfmt, samples, aaext, + scrnm, dblb, F_pfmt, pfmt, depthBits, stencilBits, samples, aaext, drawable.getWidth(), drawable.getHeight(), fileSuffix).replace(' ', '_'); } final String filename = null != destPath ? destPath + File.separator + filenameBaseName : filenameBaseName; |