Commit Graph

347 Commits

Author SHA1 Message Date
Julian Winkler
4ecd541c6c NotificationManager: implement cancel() for MPRIS notifications 2024-07-20 14:14:53 +02:00
Julian Winkler
9d27fc138b NotificationManager: handle non player part of MPRIS
This exposes the package name to MPRIS and allows to raise the
application to the front when clicking the MPRIS notification.
2024-07-17 22:43:16 +02:00
Julian Winkler
b54bed4784 implementing MediaSession using MPRIS
NotificationManager will now ignore MediaStyle notifications
2024-07-17 22:35:55 +02:00
Mis012
2c1e0dd3b8 Bitmap: implement nativeCopyPixelsFromBuffer 2024-06-28 22:15:57 +02:00
Mis012
26d6337a34 api-impl: GLES20: add glReadPixels 2024-06-28 21:35:31 +02:00
Mis012
004ba4ff00 remove some old debugging prints, gate others behind verbose log 2024-06-22 14:35:56 +02:00
Mis012
da90302946 EGLImpl: eglCreateContext: properly handle shared_context 2024-06-22 14:19:31 +02:00
Mis012
92e2c06347 make sure the apk path is reliably set in the PackageInfo 2024-06-19 22:35:50 +02:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
Julian Winkler
b81f53e4b2 Bitmap: regenerate GdkTexture when Canvas was used on the Bitmap 2024-06-15 07:14:30 +02:00
Julian Winkler
b95613614e implement SurfaceView.lockCanvas() using GskCanvas 2024-06-15 00:00:20 +02:00
Mis012
ccc2a86cf7 api-impl: add native implementations for more GL and EGL java wrappers 2024-06-13 20:41:13 +02:00
Mis012
26657d4a26 api-impl-jni: Bitmap: fix nativeCopyPixelsToBuffer 2024-06-13 20:38:27 +02:00
Mis012
4fd7e2cbb1 AssetManager: fix up AssetInputStream 2024-06-13 20:37:35 +02:00
Julian Winkler
5454d9ed3c MediaCodec: throw IOException for unimplemented codecs
fixes SEGFAULT when libavcodec is built without aac decoder
2024-06-13 20:07:01 +02:00
Julian Winkler
47e070bec6 AudioTrack: add missing null pointer check 2024-06-13 20:04:37 +02:00
Julian Winkler
5be3401af5 MediaCodec: fall back to software decoding, if hardware decoding doesn't work 2024-06-13 20:04:37 +02:00
Julian Winkler
8f993fd822 AbsListView: add fallback layout params
If the child doesn't specify layout params, use width=MATCH_PARENT and
height=WRAP_CONTENT. Same as AOSPs defaults
2024-06-12 23:04:54 +02:00
Julian Winkler
f249e1c487 MediaCodec: implement software decoding
The decoding is done by libavcodec, libswscale converts YUV to RGB data, which is
then put into a GtkPicture as GdkMemoryTexture.
2024-06-02 18:12:59 +02:00
Julian Winkler
03887e8c2d MediaCodec: add support for hardware decocders with AV_PIX_FMT_DRM_PRIME
This change should enable hardware decoding using v4l2 m2m, but it
hasn't been tested with v4l2 m2m yet.
2024-06-02 18:06:17 +02:00
Mis012
2a3106f205 api-impl: com/google/android/gles_jni/GLImpl: implement some things by calling into GLES10 2024-05-27 19:01:52 +02:00
Mis012
b9cef2e565 api-impl-jni: GLES20: fix formatting 2024-05-27 19:00:22 +02:00
Mis012
97e59437b9 Bitmap: implement copyPixelsToBuffer 2024-05-27 18:58:04 +02:00
Julian Winkler
c5e0f8a7fd View.draw(): draw background, content, children in same order as AOSP 2024-05-27 16:37:49 +00:00
Julian Winkler
e8eabb2027 GskCanvas.drawBitmap(): reuse GdkTexture objects 2024-05-27 16:37:49 +00:00