Skip to content

Commit

Permalink
[Skia] ImageBufferSkiaAcceleratedBackend should set RenderingMode as …
Browse files Browse the repository at this point in the history
…Accelerated

https://bugs.webkit.org/show_bug.cgi?id=271149

Reviewed by Alejandro G. Castro.

This is used by ImageBuffer on construction to populate ImageBufferBackend::Info.

* Source/WebCore/platform/graphics/skia/ImageBufferSkiaAcceleratedBackend.h:

Canonical link: https://commits.webkit.org/276265@main
  • Loading branch information
carlosgcampos committed Mar 18, 2024
1 parent 4e2195e commit 5ded935
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class ImageBufferSkiaAcceleratedBackend final : public ImageBufferSkiaSurfaceBac
static std::unique_ptr<ImageBufferSkiaAcceleratedBackend> create(const Parameters&, const ImageBufferCreationContext&);
~ImageBufferSkiaAcceleratedBackend();

static constexpr RenderingMode renderingMode = RenderingMode::Accelerated;

private:
ImageBufferSkiaAcceleratedBackend(const Parameters&, sk_sp<SkSurface>&&);

Expand Down

0 comments on commit 5ded935

Please sign in to comment.