tarsin
eada1bc023
Avoid unnecessary overhead
2023-01-14 19:56:55 +08:00
FooIbar
0ebb55551c
Rewrite the GIF frame delay if it's below a threshold (coil-kt/coil#783) ( #672 )
...
* Rewrite the GIF frame delay if it's below a threshold (coil-kt/coil#783)
Resolve #641
* fixup! Rewrite the GIF frame delay if it's below a threshold (coil-kt/coil#783 )
2023-01-14 17:19:48 +08:00
tarsin
3b3b251c21
Reformat code
2023-01-04 17:04:12 +08:00
tarsin
d5f26643bf
Support wide-color-gamut as config
2022-12-28 11:34:17 +08:00
tarsin
a15dc4afdf
Minor cleanup image decode codes
2022-12-28 09:57:50 +08:00
tarsin
70be405032
Free native source in advance if image is not Animated
2022-12-23 18:58:03 +08:00
tarsin
54bd6f6ed8
Fix memleak for archive
2022-12-20 19:58:40 +08:00
tarsin
a09d607177
Do colorspace trans if needed
2022-12-14 17:24:19 +08:00
tarsin
5213caac49
Drop glgallery ( #519 )
...
* Neutralize GlGallery
* Enable dataBinding and viewBinding
* Add tachiyomi reader layout
* Cleanup Dead-code
* Rename .java to .kt
* Fix activity rename
* Nullability changes
* Add basic tachiyomi reader imageviews
* Fix size increase
* Let's cleanup later
* Add some tachiyomi webtoon widgets
* Import tachiyomi webtoon pager without chapter transition
* Remove rx dependency
* Rewrite GalleryProvider interface with flow
* groundwork for image load
* Refine webtoon pageholder
* Force us hw bitmap, refine recycle
* Strip tachiyomi decoder usage
* Keep our own SubsamplingScaleImageView, strip tachiyomi decoder to avoid apk bloated
* Import other PageViewers
* Add webtoon viewer config
* groundFix ReaderActivity
* Add tachiyomi Preferences
* Readpreference
* Fix fullscreen
* Move related class to tachiyomi package
* Fix pageload
* Add readerconfig
* Add ViewerConfig hook
* Add Reader bottomsheet settings
* Fix reader setting apply
* Refine
* Fix save share image
* Refine theme
2022-12-13 15:51:27 +08:00
tarsin
45f67ec37f
Fix webtoon down sampling
2022-12-11 11:57:39 +08:00
tarsin
069d7e2382
Cleanup ImageDecoder Wrapper
...
We have removed all user of these
No logical changes
2022-12-09 18:08:26 +08:00
tarsin
b69b72cd1b
Resolve #489
2022-12-05 09:57:42 +08:00
tarsin
8f36cecc7a
Cleanup Code
2022-12-04 18:23:15 +08:00
tarsin
25cddb2d61
Migrate to coil imageloader, Drop Conaco and BeerBelly as well
...
TODO: Fix SimilarityScan
2022-12-04 12:43:44 +08:00
tarsin
9a7af235b8
Fix gif render, Resolve #485
2022-12-03 09:26:08 +08:00
tarsin
be552e92a1
Fix #476
2022-12-01 09:25:55 +08:00
tarsin
85c7829636
Robust for partially decode, Resolve #469 , Resolve #470
2022-11-29 08:33:10 +08:00
tarsin
8f5a2ba85d
Relax limit since we could scale it
2022-11-26 15:39:55 +08:00
tarsin
1ab9811d7a
Don't let decoded image resolution out of screen resolution, Resolve #460
2022-11-26 15:10:03 +08:00
tarsin
7ac20d59fc
Use DirectByteBuffer
...
Seems my mimalloc(I use it as Android's system allocator) doesn't like release memory to system since I replace MADV_DONTNEED with MADV_FREE
https://github.com/AcmeUI/android_external_mimalloc
but there is no memleak I sure
2022-11-21 12:11:35 +08:00
tarsin
cdfb3b74b3
Code cleanup
2022-11-20 20:57:16 +08:00
tarsin
63d95b1265
Guard some methods
2022-11-19 22:57:34 +08:00
tarsin
54d11dea95
Initial migrate to ImageDecoder Java api, and downgrade minsdk to 28
2022-11-19 22:17:08 +08:00
tarsin
706588c39c
Kotlinize
2022-10-31 23:53:44 +08:00
tarsin
3e3e64942e
Rename .java to .kt
2022-10-31 23:53:44 +08:00
tarsin
108928e524
Implement save, share image from archive
2022-09-20 18:09:41 +08:00
tarsin
0ba71b060c
Fix a race condition
2022-08-21 12:31:10 +08:00
tarsin
a0fe6f0d7d
Revert "archive: Use memfd instead"
...
* It sucks, seems simplify the conditions, but more syscalls are
made(read/seek/write), more context switch, futhermore AImageDecoder itself does support
read raw buffer, and we are not intend to support multi-process decoding
This reverts commit f4826ea727 .
2022-08-07 19:14:25 +08:00
tarsin
f4826ea727
archive: Use memfd instead
2022-08-07 17:13:48 +08:00
tarsin
c233eb5a30
Avoid unnecessary native method calling java method
2022-08-03 18:49:00 +08:00
tarsin
6f3bd92539
Merge native
2022-08-03 17:48:46 +08:00
seven332
5638832c05
Use image library
2016-04-27 21:15:01 +08:00
seven332
92fc062ca0
Call glTexSubImage2D in native code for ImageTexture.Tile
2016-03-05 16:34:59 +08:00
seven332
e623616a50
Add Image.isOpaque()
2016-02-24 17:08:45 +08:00
seven332
d1650c4ec5
Add files
2016-01-26 01:03:31 +08:00