84 std::shared_ptr<Core::VKImage>
source;
110 return fence != Portal::Graphics::INVALID_FENCE;
191 const std::shared_ptr<Core::VKImage>&
image,
192 uint32_t w, uint32_t
h);
212 const std::shared_ptr<Core::VKImage>&
image,
213 uint32_t w, uint32_t
h);
230 return m_contexts && m_contexts->suspended.is_active();
GpuExecutionContext specialisation for image compute shaders.
VisionGpuExecutor()=default
VisionGpuExecutor & operator=(const VisionGpuExecutor &)=delete
VisionGpuExecutor(const VisionGpuExecutor &)=delete
VisionGpuExecutor & operator=(VisionGpuExecutor &&)=delete
~VisionGpuExecutor()=default
VisionGpuExecutor(VisionGpuExecutor &&)=delete
std::unique_ptr< VisionGpuContexts > m_contexts
bool is_suspended() const
True when a deferred step has work outstanding and the next run will poll rather than start a fresh s...
Stateful GPU dispatch engine for VisionSequence execution.
std::variant< std::monostate, ThresholdParams, ThresholdAdaptiveParams, NormalizeRangeParams, GaussianBlurParams, FilterSeparableParams, CannyParams, MorphParams, HarrisParams, ExtractPeaksParams, TrackKeypointsParams, ConnectedComponentsParams, FindContoursParams > VisionParams
Parameter variant covering all ops that carry parameters.
VisionOp
Named operations available in a VisionSequence.
Result of executing a VisionSequence on one frame.
Ordered sequence of VisionSteps describing a complete vision pipeline.
Plain-data description of the compute shader to dispatch.
Outstanding work at a deferred step, and the point to resume.
GpuComputeConfig bound_config
Shader currently bound on pixel, and the image staged into it.
TextureExecutionContext ingest
Sampled-in, rgba32f-storage-out.
TextureExecutionContext labels
Image + aux SSBO.
TextureExecutionContext cc_pipeline
Kinesis::Vision::GpuVisionPass pass
Walk state for the current run: sequence position, geometry, working image, and the result under cons...
std::shared_ptr< Core::VKImage > source
Input image the current walk started from.
std::shared_ptr< Core::VKImage > bound_staged
TextureExecutionContext pixel
Image pipeline.
TextureExecutionContext structured
Buffer-only readback.
Fixed set of TextureExecutionContexts covering every GPU-implemented VisionOp shape.