[webkit-changes] [WebKit/WebKit] df7bdf: [build] Don't include GraphicsContextGL.h in WebCo...

Dan Glastonbury noreply at github.com
Mon Jan 30 21:12:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: df7bdf36f1cca4ea2e146d616a0cb821d98f82f5
      https://github.com/WebKit/WebKit/commit/df7bdf36f1cca4ea2e146d616a0cb821d98f82f5
  Author: Dan Glastonbury <djg at apple.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/platform/graphics/GraphicsContextGL.h
    A Source/WebCore/platform/graphics/GraphicsContextGLActiveInfo.h
    A Source/WebCore/platform/graphics/GraphicsContextGLEnums.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [build] Don't include GraphicsContextGL.h in WebCoreArgumentCoders.h
https://bugs.webkit.org/show_bug.cgi?id=251238
rdar://problem/104722312

Reviewed by Dean Jackson.

WebCoreArgumentCoders only needs a few simple declarations from
GraphicsContextGL.h. Refactor GraphicsContextGL.h to extra enum
SimulatedEventForTesting and struct GraphicsContextGLActiveInfo, allowing the
required pieces to be included with out need to pull in the entire
expensive-to-parse header.

* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
* Source/WebCore/platform/graphics/GraphicsContextGLActiveInfo.h: Added.
* Source/WebCore/platform/graphics/GraphicsContextGLEnums.h: Added.
* Source/WebKit/Shared/WebCoreArgumentCoders.h:

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




More information about the webkit-changes mailing list