Skip to content

Releases: cantetfelix/WebViewToolkit

v1.3.0

29 Jan 14:21

Choose a tag to compare

Changed

  • Updated README documentation to reflect current sample structure
    • Removed references to outdated BasicWebView and UIToolkit Demo samples
    • Added comprehensive descriptions for all six current samples (01-06)
    • Organized samples by difficulty level with estimated learning times
  • Improved documentation clarity and accuracy

v1.2.0

29 Jan 13:49

Choose a tag to compare

Added

  • Six comprehensive sample scenes demonstrating WebView Toolkit features
    • 01_HelloWebView: Basic WebView setup and usage
    • 02_Navigation: URL navigation and history management
    • 03_JavaScriptBridge: C# ↔ JavaScript communication
    • 04_DynamicHTML: Dynamic HTML content generation
    • 05_InteractiveInput: Mouse and keyboard input handling
    • 06_MultipleWebViews: Managing multiple WebView instances
  • Windows Graphics Capture implementation for both DX11 and DX12
  • WinRT device wrapper storage for efficient resize operations

Fixed

  • Critical: WebView content cropping after resizing to larger dimensions (DX12)
    • Root cause: HWND host window was not being resized with WebView2 controller bounds
    • Solution: Added SetWindowPos call to resize HWND window client area
  • Critical: DX11 crashes during WebView resize operations
    • Root cause: framePool.Recreate() called while Graphics Capture session was actively running
    • Solution: Replaced Recreate() with complete teardown and recreation (close session → close pool → create new pool → create new session → start capture)
  • Y-flip logic in D3D12 texture copy for proper content orientation
  • Texture dimension calculation for Windows Graphics Capture in DX12
  • Dimension validation in DX11 to skip mismatched frames during resize transitions

Changed

  • Improved resize handling with proper Graphics Capture session lifecycle management
  • Enhanced debug logging throughout capture initialization and resize operations