Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34804f9afc4d3181b773db802e6489f1c7e133af
      
https://github.com/WebKit/WebKit/commit/34804f9afc4d3181b773db802e6489f1c7e133af
  Author: Alejandro G. Castro <[email protected]>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/DMABufBuffer.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.h

  Log Message:
  -----------
  [WPE] [Android] Compilation fixes, allow USE_GBM=OFF to use the EGLImage 
texture path
https://bugs.webkit.org/show_bug.cgi?id=314114

Reviewed by Nikolas Zimmermann.

More fixes for WPE port with USE_GBM=OFF for Android.

* Source/WebCore/platform/graphics/DMABufBuffer.cpp:
  312509@main moved this file out of gbm/ and added partial #if
  USE(GBM) coverage, but left the GBMVersioning.h / drm_fourcc.h
  includes and the EGLImage helper bodies (which use
  DRM_FORMAT_MOD_INVALID) outside the guard. Every caller of the
  public API is itself using USE(GBM), so wrap the entire body in
  a single outer #if USE(GBM), matching the gbm/ subdirectory pattern.

* Source/WebCore/platform/graphics/texmap/BitmapTexture.h:
* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
  290475@main introduced BitmapTexture::create(EGLImage, ...) +
  matching private ctor under #if USE(GBM). The body uses only
  plain EGL/GLES functions, available wherever USE(TEXTURE_MAPPER).
  Drop the guard so the EGLImage texture path compiles for any
  TEXTURE_MAPPER usage, including Android with
  AHardwareBuffer-imported EGLImages.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to