summaryrefslogtreecommitdiff
path: root/tools/render-test/surface.cpp
AgeCommit message (Collapse)Author
2018-05-04Use Surface for screen capture in Renderer interface (#551)jsmall-nvidia
* Remove serialization of screen captures from a renderer implementation, capture now writes to a Surface. Then client code can decide to serialize (or use as needed). * Improved comment for captureScreenSurface.
2018-05-03Added Surface type - as a simple value type to hold a 2d collection of ↵jsmall-nvidia
pixels. (#548) Added PngSerializeUtil allows currently for just writing Surface of RGBA format. Removes dependency on stbi_image except for in PngSerializeUtil. Removed use of gWindowWidth/Height globals - pass the height into initialize or Renderer.