LibWeb: Implement draw_glyph_run in PaintingCommandExecutorGPU

This commit is contained in:
Aliaksandr Kalenik 2023-11-05 00:59:53 +01:00 committed by Andreas Kling
commit b6da9abfb2
Notes: sideshowbarker 2024-07-17 01:11:48 +09:00
5 changed files with 31 additions and 2 deletions

View file

@ -376,6 +376,9 @@ public:
virtual CommandResult blit_corner_clipping(BorderRadiusCornerClipper&) = 0;
virtual bool would_be_fully_clipped_by_painter(Gfx::IntRect) const = 0;
virtual bool needs_prepare_glyphs_texture() const { return false; }
virtual void prepare_glyph_texture(HashMap<Gfx::Font const*, HashTable<u32>> const& unique_glyphs) = 0;
};
class RecordingPainter {