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:
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(gvfg_sdk LANGUAGES CXX)
|
||||
|
||||
set(GVFG_SDK_VERSION "1.0.1")
|
||||
set(GVFG_SDK_VERSION "1.0.2")
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
@@ -44,12 +44,13 @@ if (NOT WIN32)
|
||||
message(FATAL_ERROR "GVFG SDK currently supports Windows only.")
|
||||
endif()
|
||||
|
||||
add_subdirectory(helpers/gvfg_osd)
|
||||
add_subdirectory(sdk/gvfg)
|
||||
add_subdirectory(helpers/gvfg_preview)
|
||||
add_subdirectory(helpers/gvfg_audio_playback)
|
||||
|
||||
install(FILES
|
||||
../docs/GVFG_CUSTOMER_API.md
|
||||
../docs/GVFG_CUSTOMER_API_REFERENCE.md
|
||||
../docs/GVFG_Customer_doc/GVFG_CUSTOMER_API_REFERENCE.md
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user