[webkit-changes] [WebKit/WebKit] d4ef5f: WinCairo WK1 DumpRenderTree: Pixel dump support in...

Fujii Hironori noreply at github.com
Fri Nov 4 13:43:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4ef5f91ffccc21198385327206270bfa28647f8
      https://github.com/WebKit/WebKit/commit/d4ef5f91ffccc21198385327206270bfa28647f8
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    M Source/WebKitLegacy/win/WebCoreSupport/AcceleratedCompositingContext.cpp
    M Source/WebKitLegacy/win/WebCoreSupport/AcceleratedCompositingContext.h
    M Source/WebKitLegacy/win/WebView.cpp

  Log Message:
  -----------
  WinCairo WK1 DumpRenderTree: Pixel dump support in accelerated compositing mode
https://bugs.webkit.org/show_bug.cgi?id=247479

Reviewed by Don Olmstead.

WinCairo DumpRenderTree hadn't supported pixel dump in accelerated
compositing mode. WM_PAINT event should paint contents into the HDC
even in accelerated compositing mode. Implemented it by painting into
a BitmapTextureGL and reading back.

* Source/WebKitLegacy/win/WebCoreSupport/AcceleratedCompositingContext.cpp:
(AcceleratedCompositingContext::paint):
* Source/WebKitLegacy/win/WebCoreSupport/AcceleratedCompositingContext.h:
* Source/WebKitLegacy/win/WebView.cpp:
(WebView::paintCompositedContentToHDC):

Canonical link: https://commits.webkit.org/256336@main




More information about the webkit-changes mailing list