Julian Winkler
7700d8bf11
replace VectorDrawable with AOSP implementation from Android 6
...
This way, we can avoid librsvg which causes stack overflows on
Alpine/postmarketOS, because of musl's limited stack size.
2025-01-11 23:23:53 +01:00
Julian Winkler
57dd86fc98
api-impl: misc stubs for WhatsApp
2025-01-11 22:42:25 +01:00
Mis012
7354864e34
Path: stub out the rest of addRoundRect variants
2025-01-02 22:39:57 +01:00
Mis012
279c95becb
borrow relevant parts of AOSP commit dbee9bb342cdfaa5155b1918f90262c05e2464cb
...
Our SVG-based VectorDrawable implementation still relies on `getDefaultColor`
but exceptions are no longer thrown when parsing VectorDrawable xml files
which use gradients as colors.
2025-01-02 22:25:13 +01:00
Pierre-Hugues Husson
c81442321e
api-impl: stubs and fixes for latest WhatsApp version
2025-01-01 11:33:16 +01:00
Julian Winkler
bf923cfcfa
Bitmap: create Texture as GdkMemoryTexture if nothing has to be rendered
...
This improves OsmAnd V1 renderer performance.
2024-12-22 23:40:11 +01:00
Julian Winkler
260821d68c
Bitmap: implement pixel buffer access
...
For GPU textures, the GdkTextureDownloader will take care of format
conversions, so the application never sees the actual format.
If the application calls AndroidBitmap_unlockPixels(), the texture is
converted into a GdkMemoryTexture and can be accessed zero copy.
2024-12-22 23:40:11 +01:00
Julian Winkler
7695aadf91
implement Paint as combination of GDK, GSK and Pango attributes
2024-12-22 23:40:11 +01:00
Julian Winkler
ba302d87ec
add back graphics APIs for the previously working applications
2024-12-22 12:30:29 +01:00
Julian Winkler
f3bc468a1c
drop Skia dependency
...
Everything is implementede using GTK Scene Graph now. Skia is no longer
needed.
2024-12-22 12:30:29 +01:00
Julian Winkler
cd2c69cf73
reimplement Bitmap and Path using GdkTexture and GskPath
...
This allows us to use GskCanvas for Bitmap rendering
This increases the required GTK version to >= 4.14.
2024-12-22 12:30:29 +01:00
Julian Winkler
ae58d29336
BitmapDrawable: support intrinsic sizes
2024-12-22 10:24:55 +01:00
Mis012
58745f23ea
api-impl: misc stubs, additions and fixes
2024-12-20 00:11:06 +01:00
Julian Winkler
c8ed103516
implement Canvas.scale() for skia and GtkSnapshot
2024-12-16 17:54:15 +01:00
Julian Winkler
597c73f334
GskCanvas: implement RoundedRect filling
2024-12-16 17:54:15 +01:00
Julian Winkler
0e078894ce
make K-9 Mail launch
2024-12-16 17:54:15 +01:00
Julian Winkler
af122a6891
VectorDrawable: generate Bitmap in the correct size
2024-12-15 07:39:41 +01:00
Julian Winkler
9023e2963b
ImageView: implement tint attribute
2024-12-15 07:39:25 +01:00
Julian Winkler
1955522b28
android.text.Layout: actually measure text sizes
2024-12-13 22:32:04 +01:00
Julian Winkler
1398125eb5
api-impl: stubs and fixes for Compose Stopwatch and LibreSudoku
2024-12-13 22:32:02 +01:00
Julian Winkler
d0952101a6
implement some Canvas methods needed for composeUI
2024-12-01 14:15:00 +00:00
Julian Winkler
e9cf5e7002
API stubs and fixes for composeUI
2024-12-01 14:15:00 +00:00
Julian Winkler
60095ea795
ListView: copy from AOSP
...
copied from tag android-6.0.1_r81
2024-11-30 18:56:17 +00:00
Julian Winkler
f53ad02e6f
api-impl: misc additions for Oeffi
2024-11-24 22:11:40 +00:00
Kilian "CaféHaine" Guillaume
44d922baea
api-impl: stubs and fixes for Open Sudoku
2024-11-20 23:09:53 +01:00