tests:New Object Oriented Infrastructure
tests:Clear depth stencil when drawing cube
Remove references to vtxBufferMem
tests:Add memoryReferenceManager
tests:Change tests to use memory reference manager
tests:Make slot info call generic
tests:Add images and samplers
tests:Add texture and sampler objects
tests:Add texture test
tests:Remove obsolete functions
Try to add texture to FetchAndMVP
tests:Handle multiple frames in save / compare
tests:Use more meaningful buffer names
tests:Input buffer changes for TriangleWithVertexFetch
tests:Input buffer management TWVertexFetchAndMVP
tests: Input buffer for TriangleWithVertexFetchAndMVPAndTexture
diff --git a/tests/xgltestframework.h b/tests/xgltestframework.h
index efa86f9..28180d2 100644
--- a/tests/xgltestframework.h
+++ b/tests/xgltestframework.h
@@ -70,7 +70,9 @@
void WritePPM( const char *basename, XglImage *image );
void Show(const char *comment, XglImage *image);
+ void Compare(const char *comment, XglImage *image);
void RecordImage(XglImage *image);
+ void RecordImage(XglImage *image, char *tag);
bool GLSLtoBIL(const XGL_PIPELINE_SHADER_STAGE shader_type,
const char *pshader,
std::vector<unsigned int> &bil);
@@ -98,6 +100,7 @@
static bool m_show_images;
static bool m_save_images;
+ static bool m_compare_images;
static std::list<XglTestImageRecord> m_images;
static std::list<XglTestImageRecord>::iterator m_display_image;
@@ -107,6 +110,10 @@
static int m_window;
static int m_width; // Window width
static int m_height; // Window height
+
+ int m_frameNum;
+ string m_testName;
+
};
class TestEnvironment : public ::testing::Environment