97971e6242c2948bcfc1a3eb0e7dbb3e7842c496
- Remove customer-facing SDK preview APIs and preview structs - Strip D3D preview/render pipeline from gvfg.dll - Keep gvfg.dll focused on capture, frame ownership, runtime status, and events - Move Qt preview rendering into sample-owned private renderer - Update Qt preview sample to render frames after gvfg_read_frame() - Refresh customer API docs around read_frame/release_frame/poll_event flow - Update architecture notes to mark preview as app/internal-tool code
GVFG Standalone SDK
This is the standalone source tree for the GVFG capture SDK.
GVFG is the source of truth here. Other projects should consume GVFG through the exported public header, import library, and runtime DLL instead of compiling the GVFG source directly.
Contents
sdk/gvfg: GVFG public C API and internal XDMA backend.sdk/gvfg/src/render: GVFG internal D3D preview/render pipeline.samples/gvfg_qt_preview: customer-facing Qt preview sample.docs: API and integration notes.
Start with docs/GVFG_PROJECT_MAP.md for the project layer map, API
lifecycle, and frame/event data-flow overview.
Build
Open this folder's CMakeLists.txt in Qt Creator with a Windows MSVC Qt kit, or
configure from a Visual Studio developer shell.
Example:
cmake -S . -B build -DBUILD_GVFG_SAMPLES=ON -DCMAKE_PREFIX_PATH=C:\Qt\6.10.2\msvc2022_64
cmake --build build --target gvfg_qt_preview --config Release
Useful CMake options:
BUILD_GVFG_SAMPLES=ON
GVFG_XDMA_DEBUG_LOG=OFF
Build outputs:
build/.../bin/gvfg.dll
build/.../lib/gvfg.lib
build/.../bin/gvfg_qt_preview.exe
Consumer Layout
Applications should consume the SDK with:
include/gvfg_capture.h
lib/gvfg.lib
bin/gvfg.dll
The XDMA backend headers are implementation details and should not be included by customer applications.
Languages
C++
78.8%
C
12.7%
TLA
4%
PowerShell
2.4%
CMake
2.1%