tests:Add and use methods for Begin/End/PrepMemory
diff --git a/tests/xglrenderframework.h b/tests/xglrenderframework.h
index 9c19eb3..f5dab73 100644
--- a/tests/xglrenderframework.h
+++ b/tests/xglrenderframework.h
@@ -102,7 +102,10 @@
public:
XglCommandBufferObj(XglDevice *device);
~XglCommandBufferObj();
- XGL_CMD_BUFFER GetBufferHandle();
+ XGL_CMD_BUFFER GetBufferHandle();
+ XGL_RESULT BeginCommandBuffer(XGL_FLAGS flags);
+ XGL_RESULT EndCommandBuffer();
+ void PrepareMemoryRegions(int transitionCount, XGL_MEMORY_STATE_TRANSITION *transitionPtr);
protected:
XglDevice *m_device;