Add GPU text overlays and streamline SDK conversion paths
- add an internal DirectWrite/Direct2D OSD core for YUY2 and Y210 with configurable position, font size, RGB color, and up to 32 printable ASCII characters - expose per-channel OSD set/clear APIs and blend only the visible overlay rectangle on the GPU while preserving the frame read/release contract and tracking native versus processed buffer ownership - convert native YUY2/Y210 directly to BGRA8, RGB10A2, or NV12 with reusable output resources, avoiding unnecessary FP16 intermediates and scene copies - draw native-size and reduced previews directly to the swapchain and allocate an FP16 intermediate only for enlarged previews while retaining the existing upload queue and format support - bump the SDK version to 1.0.2, fix the installed customer API reference path, update conversion and OSD documentation, and remove the old 0922 SDK archive Validation: git diff --cached --check passed before commit. No SDK rebuild or hardware runtime validation was performed in this commit pass.
This commit is contained in:
@@ -16,6 +16,8 @@ add_library(gvfg SHARED
|
||||
src/gpu/d3d_conversion_pipeline.cpp
|
||||
src/gpu/d3d_conversion_pipeline.h
|
||||
src/gpu/gvfg_gpu_convert.cpp
|
||||
src/gpu/gvfg_gpu_osd.cpp
|
||||
src/gpu/gvfg_gpu_osd.h
|
||||
src/gvfg_error_state.h
|
||||
src/gvfg_capture.cpp
|
||||
)
|
||||
@@ -46,6 +48,7 @@ target_compile_definitions(gvfg PRIVATE
|
||||
)
|
||||
|
||||
target_link_libraries(gvfg PRIVATE
|
||||
gvfg_osd_core
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../../third_party/GigabyteLib/GvfgSdk.lib"
|
||||
setupapi
|
||||
user32
|
||||
|
||||
Reference in New Issue
Block a user