summaryrefslogtreecommitdiffstats
path: root/native/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Add warning if an in-use Bitmap is reconfiguredJohn Reck2015-05-061-3/+9
| | | | | | | | | Bug: 18928352 Also fix an issue around re-configure not properly handling mPinnedCount in android::Bitmap Change-Id: I1815b121f1474ad931060771bb1d52ef31d2aac7
* Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-301-17/+18
| | | | | | | | | | | | | Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Attempt #2 to land this, original issue was in getSkBitmap and should be fixed Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
* GraphicsJNI Canvas cleanupJohn Reck2015-04-221-1/+2
| | | | Change-Id: I72e142986a8bc9f464c1951b6b5187919de3462e
* Revert "Change how Java Bitmaps are accessed in a few places"John Reck2015-04-201-18/+17
| | | | | | | | Bug: 20207616 This reverts commit a771b9861d11671c780092d35c0062eeefcf37c0. Change-Id: Ifd891cc075274a7986e987229e0fed5a04ed9ff0
* Change how Java Bitmaps are accessed in a few placesJohn Reck2015-04-131-17/+18
| | | | | | | | | | Stop assuming that a Java Bitmap has a SkBitmap* that has some externally managed lifecycle, and instead switch a bunch of users to accessing the bitmap by providing their own SkBitmap* on which to set the (ref counted!) SkPixelRef* instead Change-Id: I0fd9e193968b41e5597784140d56b4885906864a
* am 1c8b3778: am 9aeb080e: Merge "Switch libjnigraphics to sysv-only hash style"Dmitriy Ivanov2015-03-131-1/+1
|\ | | | | | | | | * commit '1c8b3778e1c380992a9ca96e965cdc4e6f3bca66': Switch libjnigraphics to sysv-only hash style
| * Switch libjnigraphics to sysv-only hash styleDmitriy Ivanov2015-03-131-1/+1
| | | | | | | | | | Bug: 19059885 Change-Id: I3474974983931c67dce30dfc581a8d28d8b62e6a
* | am 3b9cfe30: am a6ed1b95: am 6e116429: Merge "Generate gnu hash for arm only"Dimitry Ivanov2015-03-111-1/+1
|\ \ | |/ | | | | | | * commit '3b9cfe30ed4ae34d06a8f005c8ada593c314316b': Generate gnu hash for arm only
| * Generate gnu hash for arm onlyGoran Jakovljevic2015-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes build failure caused by: https://android-review.googlesource.com/#/c/139670/ As previously discussed [1], MIPS does not support GNU-style ELF hashes. [1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk Change-Id: I8edb8a1595308db2ecd1bd6650a069b1224ae64f
* | am 1944667b: am 8ced0357: am 2a88ff2f: Merge "Generate sysv hash for ↵Dmitriy Ivanov2015-03-111-0/+3
|\ \ | |/ | | | | | | | | | | libjnigraphics" * commit '1944667b7f70c336da66cc3fbdee3a2fbd766980': Generate sysv hash for libjnigraphics
| * Generate sysv hash for libjnigraphicsDmitriy Ivanov2015-03-091-0/+3
| | | | | | | | | | Bug: 19059885 Change-Id: I9b227fda6549e15a5ce50ac6b59250dff1371bb3
* | Cleanup Bitmap JNI attempt #2John Reck2015-03-051-3/+3
| | | | | | | | | | | | | | | | Original version missed a spot This reverts commit c02977e3bbfaaedcb1b1d67e1692becc7dddd59b. Change-Id: I56244ce10d709fcdef42a001fe4c6ba7b6bbb04d
* | Revert "Cleanup Bitmap JNI"Chad Jones2015-03-051-3/+3
| | | | | | | | | | | | This reverts commit b2915245b74b3b5541b123e38403f8e26426b4b7. Change-Id: Idd7d7f33eec4ea5024c83de6b10d3d1a6ab2b17a
* | Cleanup Bitmap JNIJohn Reck2015-03-051-3/+3
|/ | | | | | | | Fix a bunch of places where mNativeBitmap was being poked at directly, switch them either to the NDK API or to GraphicsJNI where it made sense Change-Id: I6b3df3712d6497cba828c2d3012e725cb4ebb64d
* Frameworks/base: Wall Werror in native/graphicsAndreas Gampe2014-11-102-5/+11
| | | | | | Turn on -Wall -Werror in native/graphics. Mask skia warnings. Change-Id: Ia671e91348296ace84d9a24b3c6c025fa889bead
* SkBitmap::Config is deprecated, use SkColorTypeMike Reed2014-07-081-5/+5
| | | | Change-Id: Ic953741325607bf85598c097bb3ab648d4a08996
* Cleanup unnecessary includes for libskia.Derek Sollenberger2014-02-271-1/+0
| | | | | | | The libskia target exports all of its public includes directories so redefining them here is redundant. Also this cleans up and makes it obvious where the framework is making using of private Skia headers. Change-Id: Ie7ecc9ddd3df780bed6b9af54ba58ca58274e043
* Revert "Split AndroidRuntime into AndroidRuntimeBase base-class and the rest."Andreas Huber2014-02-131-1/+0
| | | | | | This reverts commit 7825334929b098b36e1144872200e75ba6d24b13. Change-Id: I1702eb3ff9d7192d64039c8bf4bc3fc5d8e458c4
* Split AndroidRuntime into AndroidRuntimeBase base-class and the rest.Andreas Huber2014-02-121-0/+1
| | | | | | | | AndroidRuntimeBase (exported by libandroid_runtime_base.so) is all you need to link against to gain the ability to do AndroidRuntimeBase::getJNIEnv() thus minimizing build dependencies. Change-Id: Ia7f0c94c8c02b974c068e0db34774827f96aa95b
* Fix typoAndrew Hsieh2012-12-121-3/+3
| | | | | | Changed ANDROID_BITMAP_RESUT_SUCCESS -> ANDROID_BITMAP_RESULT_SUCCESS Change-Id: I3d5525d7dacbf8f007e3230e1ca87b69245a96b1
* libnativehelper is implicitly available.Elliott Hughes2012-05-031-2/+1
| | | | | | | (And is moving for the PDK.) Bug: 6369821 Change-Id: I9e082ef294cfb2d70384255eb06d97d8cb92b382
* Add notifyPixelsChanged() call to NDK unlockPixels().Alexandre Elias2011-07-121-0/+6
| | | | | | | Without this call, the NDK bitmap methods don't work in hardware-accelerated mode ( http://b/5017848 ). Change-Id: Icae6975757c9c9e83c0e9fc132161aa3004f8f28
* For issue #2651381, allow library prelinking.Dan Bornstein2010-05-051-2/+0
| | | | Change-Id: I1cb467a158e21fc02cac6af585ac8d27c2bf42de
* Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/nativeDima Zavin2010-02-042-0/+130
Change-Id: I2a5adde9f8e4683c4b4526a29ad276c3e581e029 Signed-off-by: Dima Zavin <dima@android.com>