Simplify dual-channel capture and error handling
Compared with b5b045a:
- Model CH0 and CH1 as independent channel sessions sharing one device connection.
- Keep one outstanding frame per channel and tighten read/release ownership validation.
- Unify facade and PCIES2MM diagnostic details in a per-channel ChannelErrorState.
- Treat polling timeouts and stop wakeups as expected control flow instead of persistent faults.
- Report detailed errors only when an API operation actually fails.
- Remove obsolete preview timing/error diagnostics and the redundant debug error API.
- Refresh the public and internal API references, architecture diagrams, and learning guides.
This commit is contained in:
@@ -17,6 +17,7 @@ add_library(gvfg SHARED
|
||||
src/gpu/d3d_conversion_pipeline.cpp
|
||||
src/gpu/d3d_conversion_pipeline.h
|
||||
src/gpu/gvfg_gpu_convert.cpp
|
||||
src/gvfg_error_state.h
|
||||
src/gvfg_capture.cpp
|
||||
)
|
||||
|
||||
@@ -30,6 +31,7 @@ target_include_directories(gvfg
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/backend/pcies2mm
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/gpu
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user