Code Monkey home page Code Monkey logo

Comments (4)

per-mathisen-arm avatar per-mathisen-arm commented on July 28, 2024

What is the advantage of doing this over saving the file locally on the device? I've been using the local file approach for many years with apitrace/patrace and never seen an advantage from the network streaming solution of vktrace.

from gfxreconstruct.

dustin-lunarg avatar dustin-lunarg commented on July 28, 2024

The client-server mode would be intended for capture scenarios with limited disk space or limited file system access on the capture device. It would be an optional mode, disabled by default. The current method of saving the file locally would remain the default.

from gfxreconstruct.

bradgrantham-lunarg avatar bradgrantham-lunarg commented on July 28, 2024

Adding some kind of network functionality to GFXReconstruct may be out of scope. However, we know we currently use fseek on captures in some processing scenarios. In order to enable e.g. streaming capture files to an Android device that would be too large for the device's filesystem or just so that the copy step can be skipped, we should get rid of any limitation that prevents receiving a stream for replay or one of the tools.

from gfxreconstruct.

andrew-lunarg avatar andrew-lunarg commented on July 28, 2024

An implementation note. Components which have hardcoded writes to files could be changed to stream to our existing OutputStream, and at the top level of tools like optimize, they could be given a FileOutputStream (I have a FileNoLockOutputStream on a branch I hope to land soon) as a first step in incrementally moving over to our streaming future. Later additions of possible NetworkOutputStream, USBDebugIfaceOutputStream, ..etc. would then have a clean place to plug in. Thankfully we already use the streaming interface for capture of both DX12 and Vulkan.

framework\util\output_stream.h
framework\util\file_output_stream.h

from gfxreconstruct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.