aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add operator->() for SkAutoTDeleteHEADmasterWolfgang Wiedmeyer2015-10-181-0/+1
| | | | Change-Id: Ia9eefa6b7fa8bea028f972407913a3a61b1caafe
* Fimg2d: set fimg.isFilter in SkDraw::drawBitmapghepeu2013-07-011-0/+1
| | | | | | | Set fimg.isFilter from paint.isFilterBitmap() in drawBitmap like it's done later in drawRect_withG2D. Change-Id: I8c27933dba28ae8834f02cb1ba66ec58dd2c933c
* Fimg2d3x: fix icon scaling issue with acceleration enabledghepeu2013-07-012-8/+8
| | | | | | | * replace undefined TRUE/FALSE with true/false in SkFimgApi3x.h * fix warning in SkFimgApi3x.cpp Change-Id: Iabaf66df526892f006573c97450fd36f461d9bb2
* skia: exynos4: add support for fimg2d3xDaniel Hillenbrand2013-06-145-3/+642
| | | | Change-Id: Ie0509e7d537fe2a73b23c30f5128d80ee48c1d7d
* exynos4: fimg2d accelerationDaniel Hillenbrand2013-06-146-0/+845
| | | | | | http://git.insignal.co.kr/insignal/origen_quad-jb_mr1.1/android/platform/external/skia/commit/?h=origen_quad-jb_mr1.1&id=7a2cdab99f7a27e2566afbf8c0a2d3ea64c8a375 Change-Id: If605106881540f2170249e6446770ec95b4667b3
* Add optimized S32A_D565_Opaque_Dither blitter.Henrik Smiding2013-05-261-1/+129
| | | | | | | | | | Adds optimization of Skia S32A_D565_Opaque_Dither blitter using ARM NEON instruction set. Improves performance in browser. Change-Id: Ie20fb3cf3ad9a60f01b79e3ed2ddba7651bcf013 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add optimization of Skia S32A_Blend blitterHenrik Smiding2013-05-263-2/+279
| | | | | | | | | | Adds optimization of Skia S32A_Blend_BlitRow32 blitter using ARM NEON instruction set. Special cases for when pixel alpha is zero. Improves performance platform wide. Change-Id: I6c8bf8a9525838682206ebd139855354d6b3a563 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add optimization of Skia S32A_Opaque blitterHenrik Smiding2013-05-263-1/+258
| | | | | | | | | | Adds optimization of Skia S32A_Opaque_BlitRow32 blitter using ARM NEON instruction set. Special cases for when alpha is zero or opaque. Improves performance platform wide. Change-Id: I0ffeb23b128e61cfe581ad121f227631d2918686 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Modify sample buffer size for larger displays.Henrik Smiding2013-05-261-1/+7
| | | | | | | | | | Modifies the intermediate buffer size for sample pixel indexes, used in the sample proc function calls. If the buffer is not large enough, the job is split into several calls. This would impact the performance of SIMD optimizations. Change-Id: I86848d1c44fe338258b40f6ee6a576289cebd496 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add optimized S16_opaque_D32_nofilter_DX blitter.Henrik Smiding2013-05-261-0/+123
| | | | | | | | | | Adds an NEON optimized version of Skia sample blitter S16_opaque_D32_nofilter_DX when running unscaled. Used when scrolling UI lists. Change-Id: I7a212f2e50aba3244aab237937395af02abe81a9 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add shader for Clamp_S32_Opaque_D32_nofilter_DX.Henrik Smiding2013-05-262-0/+142
| | | | | | | | | | Adds an optimized shader for S32_Opaque_D32_nofilter_DX when running with clamped tile mode. Improves performance of system and various applications. Change-Id: I8dd7be24870315b2b8273bf72d9c22eb0aeb97fb Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add shader for Repeat_SI8_opaque_D32_filter_DX.Henrik Smiding2013-05-261-0/+213
| | | | | | | | | | Adds a NEON optimized shader for SI8_opaque_D32_filter_DX when running with repeat tile mode. Improves performance of browser. Change-Id: Ic5cc63b3df86eb7e8ea0bbb3b7bddfc73db20025 Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add shader for Clamp_SI8_opaque_D32_filter_DX.Henrik Smiding2013-05-262-0/+217
| | | | | | | | | | Adds a NEON optimized shader for SI8_opaque_D32_filter_DX when running with clamped tile mode. Improves performance of browser. Change-Id: I0e1fa03d4104210953b7ec81ce10eba5f77459cc Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Add shader for Clamp_S32_Opaque_D32_filter_DX.Henrik Smiding2013-05-261-5/+187
| | | | | | | | | | Adds a NEON optimized shader for S32_Opaque_D32_filter_DX when running with clamped tile mode. Improves performance of browser and many other applications. Change-Id: Ic3d83bfd70c8b0c6c956482db5f3a08667655d6e Signed-off-by: Henrik Smiding <henrik.smiding@stericsson.com> Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* Revert "Neon optimized implementation of S16_opaque_D32_nofilter_DX"Evan McClain2013-05-261-204/+0
| | | | This reverts commit a9a4c66d163e245628ddde71dca40e4c29a44f47.
* Skia: Introduce caching of unscaled Bitmaps.Lucas Crowthers2013-03-044-0/+109
| | | | | | | | | | | This allows skia to choose whether to use the prescaled bitmap or the unscaled bitmap depending on which would be optimal in the current situation. This commit also introduces two functions necessary for properly resizing Rects when using the non-pre-scaled bitmaps. CRs-fixed: 451681 Change-Id: I36779d8a680a3ced7c28da492e879de02c7e87a5
* skia: SkPaint::SkPaint(): don't cast away constRichard Hansen2013-02-281-2/+2
| | | | | | | This will help avoid bugs like the one fixed in change-id: Iaeb2b84b6696e3eebf29617dfdc41c55e5226776. Change-Id: I892423e18f9927f827393d0ff0c923259e07389c
* memcpy_76(): fix behavior on non-ARM architecturesRichard Hansen2013-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The destination is passed as the first argument to memcpy_76() and the source is passed as the second argument. As originally written in commit cb5701e, the first argument was called 'src' (despite being the destination) and the second was called 'dst' (despite being the source). The behavior of the memcpy_76() function was correct despite the backward variable naming. Commit ad673c1 reversed the naming of the two arguments to clarify the semantics of the function but failed to reverse the naming in the ARM assembly code. This broke the function's behavior on ARM devices. Commits a8ce1a0 and f4be52e reversed the argument names again. This fixed ARM support, but broke non-ARM architectures (the arguments to memcpy() in the body of the memcpy_76() function were not also reversed). This change swaps the argument names again and swaps the names in the ARM assembly, restoring correct behavior on non-ARM architectures and aligning the variable names with the function's semantics. Change-Id: Iaeb2b84b6696e3eebf29617dfdc41c55e5226776
* FIX: memcpy_76(): add support for non-ARM architecturesSteve Kondik2013-02-271-1/+6
| | | | | | | | | Before, memcpy_76() assumed ARM instruction set. Add preprocessor guards to use generic memcpy() if not on ARM. Original patch had args to memcpy_76 backwards. Change-Id: Ib5375e9de28ab6c2b348731dcdf282d6f7a529c1
* Revert "memcpy_76(): add support for non-ARM architectures"Steve Kondik2013-02-271-6/+1
| | | | This reverts commit ad673c1cb9dd151fd4e74380c4ba82c1fefb580b.
* memcpy_76(): add support for non-ARM architecturesRichard Hansen2013-02-211-1/+6
| | | | | | | Before, memcpy_76() assumed ARM instruction set. Add preprocessor guards to use generic memcpy() if not on ARM. Change-Id: Id4d7335332f4086fa33641630f41810b2fe07031
* Several skia tunings for JB_2.5Xin Qi2013-01-205-7/+174
| | | | | | | | * Optiming constructor of Paint object * Special copy path for small object * Global Language list instead of constructing a new obj everytime. Change-Id: I8d4687fffe055166a4758059872af09bfdc973d4
* Support NEON anti-aliasing blit function in SKIALee Hwangjae2012-12-173-1/+186
| | | | | | | | | | | | original function has calculation are called repetitively, and Processed individual pixels only. So Function call overhead was reduced. And In contrast to the serial data processing in the existing code, the Neon code processes 8 or 4 pixels in parallel. In contrast to the serial data processing in the existing code, the Neon code processes 8 or 4 pixels in parallel Change-Id: Ib54aeb6bacfd4ed6d257324e8146b211f90b68e9 Signed-off-by: Lee Hwangjae <hj-yo.lee@samsung.com>
* Merge branch 'jb-mr1-release' of ↵Steve Kondik2012-11-1821-312/+886
|\ | | | | | | | | | | https://android.googlesource.com/platform/external/skia into mr1-staging Change-Id: I5cf0639d6ad25f58af4d5e0e480ee063148991f8
| * Add Android specific APIRomain Guy2012-10-161-0/+14
| | | | | | | | | | | | | | | | | | Bug #7353771 This API is just a boolean property that tells the hardware renderer whether it should use mipmap levels. Change-Id: I123a334b89b0d64d711bdad43f5e2feb416de8b4
| * Update Skia's handling of vertical text when freetype metrics are available.Derek Sollenberger2012-09-251-2/+51
| | | | | | | | | | | | | | | | This is a cherry-pick of a larger change going into upstream Skia at... https://codereview.appspot.com/6554064/ bug: 7124435 Change-Id: Id8b030afaf493741e133b592a4e08a3fd90ec2f3
| * Reduce tolerance for going into our fast path for gradients.Derek Sollenberger2012-09-211-1/+3
| | | | | | | | | | bug: 6897797 Change-Id: If7bce42f5347bc78f10c55d5041389b983813c2a
| * Increment SkPath's generation id when transform() is calledRomain Guy2012-09-041-1/+6
| | | | | | | | Change-Id: I2f164c30342620e1c0663e133ba671b4a3869b70
| * am 867c7f44: am 6a22037d: Merge "[Skia]: fix TOMBSTONE issue when browsing ↵Jean-Baptiste Queru2012-08-300-0/+0
| |\ | | | | | | | | | | | | | | | | | | JPEG image and exiting Gallery" * commit '867c7f4475b85bbe90b25f99516bd9b36814be01': [Skia]: fix TOMBSTONE issue when browsing JPEG image and exiting Gallery
| | * am 6a22037d: Merge "[Skia]: fix TOMBSTONE issue when browsing JPEG image and ↵Jean-Baptiste Queru2012-08-300-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | exiting Gallery" * commit '6a22037d0738ccf21990a3414c70dffc78cf08e3': [Skia]: fix TOMBSTONE issue when browsing JPEG image and exiting Gallery
| | | * Merge "[Skia]: fix TOMBSTONE issue when browsing JPEG image and exiting Gallery"Jean-Baptiste Queru2012-08-300-0/+0
| | | |\
| | | | * [Skia]: fix TOMBSTONE issue when browsing JPEG image and exiting GalleryZhongjun Chen2012-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When browsing JPEG image and then exiting Gallery, the TOMBSTONE issue occour. This is because JPEG Decode method still access a pointer which has been deleted. This patch can fix it. Change-Id: I3ac3e4b8f37d352a70676abb6d151961e873e459 Author: Zhongjun Chen <zhongjunx.chen@intel.com> Signed-off-by: Zhongjun Chen <zhongjunx.chen@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 37479
| * | | | am a223e0da: am 2f12560c: Merge "Enable dynamic effect of GIF animating ↵Jean-Baptiste Queru2012-08-301-0/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | images in browser" * commit 'a223e0da1c4693214de7e299e7d4103df917a77f': Enable dynamic effect of GIF animating images in browser
| | * | | am 2f12560c: Merge "Enable dynamic effect of GIF animating images in browser"Jean-Baptiste Queru2012-08-301-0/+4
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '2f12560c46585b0b3649ffc3580ff6e86299102e': Enable dynamic effect of GIF animating images in browser
| | | * | Merge "Enable dynamic effect of GIF animating images in browser"Jean-Baptiste Queru2012-08-301-0/+4
| | | |\ \
| | | | * | Enable dynamic effect of GIF animating images in browserbxu10X2012-08-301-0/+4
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ANDROID_LARGE_MEMORY_DEVICE flag is not set for x86 platforms but it is required to get animated GIF working. 256MB is considered "large". Change-Id: I2ed6d1668702e6b422e6d585eb8cd06f064ccc32 Author: Bin Xu <bxu10X@intel.com> Signed-off-by: Bin Xu <bxu10X@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 19205
| * | | | am 1dccc9f3: am 372648a7: Merge "Fix access to freed memory"Jean-Baptiste Queru2012-08-271-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '1dccc9f3e889a5b702ec201129db689ab64a5eb8': Fix access to freed memory
| | * | | am 372648a7: Merge "Fix access to freed memory"Jean-Baptiste Queru2012-08-271-1/+1
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '372648a70bbb2778edcdad588c8d133a6c55a033': Fix access to freed memory
| | | * | Merge "Fix access to freed memory"Jean-Baptiste Queru2012-08-271-1/+1
| | | |\ \
| | | | * | Fix access to freed memoryNikolay Pisanov2012-08-271-1/+1
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Source should be freed after all jpeg operations completed since it is used by these operations. Change-Id: Ieb0741e1d219dc0513133a94d47df86b5f95cf29
| * | | | Disable "no context for char" log spam.Victoria Lease2012-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 upgraded this message from an actual error notification into a full-fledged adb log spammer. Oops! This CL moves it back to the location it should be at, and requires SK_DEBUG to see it even there. Bug: 7038312 Change-Id: Iefc0b001a9874e0f177507d43231e6fdb4a1d92a
| * | | | DO NOT MERGE Support WebP Alpha (Lossless) imagesVikas Arora2012-08-211-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android/Skia supports pre-multiplied Alpha. WebP image format supports Alpha via color modes MODE_RGBA & MODE_RGBA_4444 (corresponding ones for premultiplied alpha are MODE_rgbA & MODE_rgbA_4444). The pre-requisite change for this one is the libwebp patch: https://googleplex-android-review.googlesource.com/#/c/219333/ Change-Id: I30b0d8d4b0325eb3c925371ac8f3a9b7d4801639
| * | | | DO NOT MERGE Han PreferenceBilly Hewlett2012-08-2010-232/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick Id8c91ae0be6cad8a7ef77a0cd5803676290986c1 from master. During font initialization, create a seperate fallback list for each locale. At runtime, use the fallbacklist associated with the locale set in the paint object. Fallback files are associated with locales in fallback_fonts.xml. Multiple files can be associated with the same locale, ordering within that langauge and apart from that language in the fallback order is preserved. This changelist also includes some refactoring, notably of the functions that call getNextContext(). Change-Id: I121f0e491a522c4a8558a0066b2d8969fb8a3667
| * | | | Merge "Ensure SkCanvas will have a device by default." into jb-mr1-devDerek Sollenberger2012-08-201-1/+2
| |\ \ \ \
| | * | | | Ensure SkCanvas will have a device by default.Derek Sollenberger2012-08-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 6987261 Change-Id: I8cb5b6da2347a1fa88a13aa3548312a7773831e5
| * | | | | am 5f421caf: (-s ours) am c2ad1992: Merge "Forward-compatibility stubs"Jean-Baptiste Queru2012-08-170-0/+0
| |\ \ \ \ \ | | |/ / / / | |/| / / / | | |/ / / | | | | | * commit '5f421caf157bf54c2cfd2ded128ede466e761d4d': Forward-compatibility stubs
| | * | | am c2ad1992: Merge "Forward-compatibility stubs"Jean-Baptiste Queru2012-08-175-0/+138
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'c2ad1992ce99225f79a05ecaed619ec6b52f7bb1': Forward-compatibility stubs
| | | * | Merge "Forward-compatibility stubs"Jean-Baptiste Queru2012-08-175-0/+138
| | | |\ \ | | | | |/ | | | |/|
| | | | * Forward-compatibility stubsVictoria Lease2012-08-175-0/+138
| | | |/ | | | | | | | | | | | | Change-Id: I9c5bf5ce38827ced91d8912a1fa49adbd14a46b8
| * | | Merge "Fix bug 6888377: crash in GetUnitsPerEm on locale change" into jb-mr1-devRaph Levien2012-07-311-0/+7
| |\ \ \