diff options
author | Mark Janes <mark.a.janes@intel.com> | 2015-04-28 16:51:50 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:44 -0700 |
commit | b0707f1aa4b6efce5214cfcf594efd660078da79 (patch) | |
tree | c214595158eb0370f2caf2bbbbf34156b015b522 /retrace/daemon/glframe_retrace.hpp | |
parent | 5165c112bbcd487499d3318982b5e12b92c4c37e (diff) |
add a call to get image data
It looks like we will have to replay in a separate process for the
image retrieval to work.
Diffstat (limited to 'retrace/daemon/glframe_retrace.hpp')
-rw-r--r-- | retrace/daemon/glframe_retrace.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/retrace/daemon/glframe_retrace.hpp b/retrace/daemon/glframe_retrace.hpp index b3473e3f..b0d5991d 100644 --- a/retrace/daemon/glframe_retrace.hpp +++ b/retrace/daemon/glframe_retrace.hpp @@ -48,10 +48,6 @@ enum RenderOptions { CLEAR_BEFORE_RENDER = 0x2, }; -struct RenderTargetData { - glstate::ImageDesc description; - image::Image imageData; -}; struct RenderBookmark { RenderBookmark() @@ -76,7 +72,7 @@ public: const std::string &fragemnt_simd8, const std::string &fragemnt_simd16) = 0; virtual void onRenderTarget(const RenderBookmark &render, RenderTargetType type, - const RenderTargetData &data) = 0; + const std::vector<unsigned char> &pngImageData) = 0; virtual void onShaderCompile(const RenderBookmark &render, int status, std::string errorString) = 0; }; |