aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* skia: exynos4: add support for fimg2d3xDaniel Hillenbrand2013-06-141-1/+9
| | | | Change-Id: Ie0509e7d537fe2a73b23c30f5128d80ee48c1d7d
* exynos4: fimg2d accelerationDaniel Hillenbrand2013-06-141-0/+10
| | | | | | 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 optimization of Skia S32A_Blend blitterHenrik Smiding2013-05-261-2/+3
| | | | | | | | | | 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-261-0/+5
| | | | | | | | | | 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>
* Support NEON anti-aliasing blit function in SKIALee Hwangjae2012-12-171-0/+4
| | | | | | | | | | | | 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-181-0/+6
|\ | | | | | | | | | | https://android.googlesource.com/platform/external/skia into mr1-staging Change-Id: I5cf0639d6ad25f58af4d5e0e480ee063148991f8
| * 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
| | * 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
| | * Forward-compatibility stubsVictoria Lease2012-08-171-0/+1
| | | | | | | | | | | | Change-Id: I9c5bf5ce38827ced91d8912a1fa49adbd14a46b8
| * | DO NOT MERGE Han PreferenceBilly Hewlett2012-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Fix hardcoded font path. Allow adding new font path thru Skia ↵Billy Hewlett2012-06-071-0/+1
| |\ \ | | |/ | |/| | | | changes. Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a"
| | * Fix hardcoded font path. Allow adding new font path thru Skia changes.Billy Hewlett2012-06-041-0/+1
| | | | | | | | | | | | | | | Bug: 6609231 Change-Id: Ie37ada42e7e78ab78318f3ed76eb627bffaddb1a
* | | Revert "skia: Several tunings"Steve Kondik2012-11-181-4/+0
| | | | | | | | | | | | This reverts commit 6ab870723b749ffd632fecd648704d80b581fcf0.
* | | skia: Several tuningsXin Qi2012-09-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SkPaint constructor & copy constructor Set up a global SkTextLocale array to maintain all TextLocale explicit small copy for struture. * SkDraw constructor explicit small NULL set for structure * quickReject Go back to explicit exponent check way instead of times zero way Change-Id: I9b2dd08b104f32bd7b6248400189504fe25cd9f9 Conflicts: Android.mk
* | | Skia: Fix path to OpenGL HeadersKrylon3602012-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The path that Skia was pointing to for the OpenGL Headers was moved to frameworks/native. This patch will also be submitted to the mainline for Google. Change-Id: I75d2ce267d5ec202bb2e5e995f25f9ddfba0dc57
* | | Assembly optimized 4 blittering related functions:Xin Qi2012-07-251-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | S32A_D565_Opaque S32A_Opaque_BlitRow32 nofilter_gether S32A_Blend_BlitRow32 * S32A_D565_Opaque: Use neon instructions to optimize BLIT routine which operates on 32-bit source ARGB pixel and 16-bit destination RGB pixel. Here, we process 16-pixels in an iteration. We use regular (32-bit) arm instructions when number of pixels is less than 16 or the architecture doesn't support SIMD/NEON instructions. When alpha value is 255, this version of BLIT routine performs 35% better in comparison to S32A_D565_Opaque_neon routine. * S32A_Opaque_BlitRow32 and nofilter_gether: Use neon instructions to optimize BlitRow32 and nofilter_gether functions for 32-bit source and destination pixel arrays. An improvement of 76% is observed with neon optimized BlitRow32 function and 6% improvement is observed with nofilter_gether function. * S32A_Blend_BlitRow32: Optimize S32A_Blend_BlitRow32 using neon instructions for armv7 based targets and using regular arm instructions for armv6 based targets. This is the consolidated commit from several patches. Change-Id: Id5aab49656247b9a69b43cfb22fe7a8608f847e5 Apply PLD to blittering functions Extend software pipelining for S32A_Blending to process 16 points perloop and per-read points of next loop Change-Id: Ib7a6a6efb8249b96578e75613683099251dc2a82 Two skia optimizations: 1. Combine S16_opaque_D32_nofilter_DX and clampx_nofilter_trans 2. Change MAX_BUF between mproc and sproc to 1024 from 128 Opt 1 is giving about 8-10 FPS in gmail and facebook apk. Opt 2 is helping all combinations for shaderspan. Change-Id: I88dc097ffd52984a7b786e13c70384688f2e1b12 File changes for SKIA Neon optimziation for S32_Opaque_filter_DX Change-Id: I0e8a0506aca2a8d4ee4f4b6b1aa4dcc9ce9c0329 Fix CTS failure. Revert opt 2 in the following commit. Author: Xin Qi <xqi@codeaurora.org> Date: Wed Nov 16 10:07:54 2011 -0800 Two skia optimizations: 1. Combine S16_opaque_D32_nofilter_DX and clampx_nofilter_trans 2. Change MAX_BUF between mproc and sproc to 1024 from 128 Opt 1 is giving about 8-10 FPS in gmail and facebook apk. Opt 2 is helping all combinations for shaderspan. CRs-Fixed: 330807 Change-Id: Iece797781e97918f4c77fc767bf9e6772927d6f3 skia: Fix a bug in clampx_nofilter_trans_S16_D32_DX When scaling a line, in the case of the last pixel needing to be duplicated, the beginning of the line is getting clobbered with wrong value. This is because dest buffer pointer is not moved forward. Fix that by adding pointer update line. CRs-Fixed: 349571 Change-Id: Id6dc41d7e6bd2b777097f62e788bd2476609a9ae
* | | skia: compile SkTextBox for Samsung's libtvoutPawit Pornkitprasan2012-07-231-0/+5
|/ / | | | | | | Change-Id: Ic1fdddbe8c5c41ff2bf7c1b723d054e509a64185
* | Use FreeType's "embolden", but only if face is not already bold.Victoria Lease2012-05-311-0/+4
|/ | | | | | | | | | | | | A side-effect of not knowing the actual SkTypeface used to draw text until render-time is that we cannot make decisions based upon the face's proper font metrics. As a result, attempts to draw bold text will fail when a fallback font with normal weight is selected. With this, we can feel free to enable fake bold mode even if the primary font is bold, as the extraneous fake bold bit will just get ignored at render-time if the actual font used to draw the text is bold. Bug: 6522642 Change-Id: Icdd13f6bd36a85ba374b6ed7a08b596d4c31e86f
* Apply ARM patches from NVidia for improved drawing performance.Derek Sollenberger2012-05-091-0/+4
| | | | | | | | | Add S32A_Opaque_BlitRow32 with TEST_SRC_ALPHA Add optimization for 32bit blits on neon Optimize S32A_D565 pixel loop, non-NEON CPUs bug: 6467331 Change-Id: I3e0b0a8f711bf2ed97b480b81232a52f6f94dbe3
* Skia Merge (revision 3312)Derek Sollenberger2012-03-061-17/+28
| | | | | | | This CL also includes changes made to Android's copy of Skia in their J release branch. Change-Id: Ib2baecf48004951a3ad4a1574cdc38790c814cbc
* Skia merge (revision 3022)Derek Sollenberger2012-02-061-125/+225
| | | | | | | | This CL has companion changes to account for API updates in... (1) frameworks/base (2) external/webkit Change-Id: Ibb989e76e8bd24313849f9631dbef42cdef9eb7d
* Read font info from system config filesChet Haase2011-07-151-2/+5
| | | | | | | | | | | | This change adds new files in /system/etc: system_fonts.xml and fallback_fonts.xml. The change also allows a third file to be added by vendors in /vendor/etc/fallback_fonts.xml. These files, loaded at boot time, mimic the logic that used to be in code, but which is now configurable through editing these files, making the system more flexible and easy to work with for us and vendors as future fonts are added to the system. Change-Id: Iac0af4924ca0454c6dde4d53058b1425200ed4b7
* Merge 3c1b974a and a4f65ce7Jean-Baptiste Queru2011-06-241-4/+5
|\ | | | | | | Change-Id: I536026aab833367350b595b41911e9888cff2e3a
| * Add WebP Encoder support to SkImageEncoder.Vikas Arora2011-06-221-4/+5
| | | | | | | | | | | | | | | | Extending Skia-WebP interface to handle the WebP encoding as well. The WebP encoding is required for sharing WebP images and transcoding images from other formats like PNG/JPEG to WEBP. Change-Id: I23d52323abf5e7eec0c6d3e0159a1ca7baee468b
* | Merge "Create a GrGLDefaultInterface for Android."Derek Sollenberger2011-06-141-2/+3
|\ \ | |/ |/|
| * Create a GrGLDefaultInterface for Android.Leon Scroggins2011-05-201-2/+3
| | | | | | | | Change-Id: I012146e7769aafd35f624325501a0ee97b0cad18
* | Skia Merge (revision 1510)Derek Sollenberger2011-06-071-1/+2
|/ | | | | | | | | | | | | | | | | | This CL includes bug fixes and closely mirrors the version of Skia used in Chrome M13, which is likely to be our baseline for ICS. The CL also adds source files for the SampleApp which will allow us to execute basic skia tests. The SampleApp requires the utils/views directory in order to run. Finally, we have included the PDF backend for Skia in order to experiment with using it to generate PDF files for certain applications. Note: The SampleApp and PDF code are not built as part of libskia. Change-Id: I1895ccfbd8074e25f19148cc7bd1b4af571fb307
* Skia Merge (revision 1327)Derek Sollenberger2011-05-171-3/+14
| | | | Change-Id: I46f41274d07a3d7bac4728f8841c7f5e89dc9181
* Skia Merge (revision 1116)Derek Sollenberger2011-04-141-3/+11
| | | | | | There is a companion change in external/webkit Change-Id: I1c4110e7520bbef3f4e5f9551adb7ec79ac1e3ed
* Skia Merge (revision 950)Derek Sollenberger2011-03-171-0/+1
| | | | | | | This merge will allow us to now import the sample app infrastructure in skia to do on device measurements. Change-Id: Idcab6b1524f371521717cde61a6e98a12d897e6b
* Build the golden master tests for skia.Derek Sollenberger2011-03-171-2/+5
| | | | Change-Id: I6cb3b47a36f8c334c7bfb77af6ea957bd2d78cf5
* Merge "Skia Merge (revision 922)"Derek Sollenberger2011-03-151-1/+73
|\
| * Skia Merge (revision 922)Derek Sollenberger2011-03-141-1/+73
| | | | | | | | Change-Id: I7ed57d10905d8bad6486a4d7410165eec1cc2b4f
* | external/skia: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-141-3/+0
|/ | | | | Change-Id: Ice2f93f6a2c910c9e4b14b5de4de083e8de9f335 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Skia Merge (revision 842)Derek Sollenberger2011-02-241-0/+1
| | | | | | | This merge picks up the fixed width font updates and improved blur code from the Skia repository. Change-Id: Iad2301a353c31da27ca214527cf4ed8f24641749
* Skia Merge (revision 808)Derek Sollenberger2011-02-231-46/+9
| | | | | | | | | | This merge has companion changes in the following projects in order to be compatible with changes to skia interfaces and practices: 1. /frameworks/base 2. /external/webkit Change-Id: I54092971305579e81a8fdb27bbe04ec340792e3b
* Add support for WebP format in SkiaEric Hassold2011-01-051-1/+4
| | | | | | | | | | This enable Skia to decode WebP images. Since BitmapFactory relies on Skia to decode images, this aims at adding support for WebP format in any application relying on BitmapFactory. Decoder relies on libwepb library, imported as external library in external/webp in Android source tree. Change-Id: I13ef4c1404b989af6a856e9150c62e297200331b
* Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was ↵Wei-Ta Chen2010-09-201-2/+1
| | | | | | | | reverted). The change is identical to https://android-git.corp.google.com/g/#change,64714 . Change-Id: If0136fcc96bcdab323607b701e2ef69ddf42f63d
* Revert "Rename SkLargeBitmap to SkBitmapRegionDecoder."Wei-Ta Chen2010-09-081-1/+2
| | | | This reverts commit 2d8e78250676546c549082dc988e7262ab1bb154.
* Rename SkLargeBitmap to SkBitmapRegionDecoder.Wei-Ta Chen2010-09-061-2/+1
| | | | Change-Id: I093aea3d5e3e89c75b5086ede2b8bb30d8ceed95
* Do JPEG tile-based decoding.Joseph Wen2010-08-161-0/+1
| | | | Change-Id: I795129d55a0a7da90b4d604a902066868933d2a9
* For issue #2651381, allow library prelinking.Dan Bornstein2010-05-051-2/+0
| | | | Change-Id: Id386c3cf549c5856de1c0c0a91665b20e59672e0
* disable neon-opt for 32A->565 + alpha blend since it doesn't correctly treatMike Reed2010-03-091-0/+4
| | | | | | | | | src-alpha == 0 as a no-op. update unittests to measure this Change-Id: If4d61ac5f7ff3d7fc27cbc3f242dbdf7ff4e76be http://b/issue?id=2333376
* update jpeg ram limits for large and small RAM class devicesMike Reed2010-03-041-0/+6
| | | | | | | | | http://b/issue?id=2401896 Before the fix, the image referenced in the bug would take 30+ seconds to load on a large device, and would crash a small device. On the small device, there was no RAM cap set, since the property we queried for does not exist there. On the large device, the properties value was too small, so I hard-code a larger one that seems to work better.
* add SkLayer (from webkit)Mike Reed2010-02-121-0/+1
|
* Move some utility structs/functions in SkImageDecoder_libjpeg.cpp to ↵Wei-Ta Chen2010-01-201-0/+1
| | | | | | SkJpegUtility.h/.cpp, so that others are able to use these structs/functions when they call libjpeg for compression.
* Decouple libjpeg from libskia.Wei-Ta Chen2010-01-061-4/+3
| | | | | | There are two other related changes under review: 1) Build libjpeg to a shared library 2) Add libjpeg to the prelink map
* new edgelist builder that chops segments into clip-sized coordinates, to ↵Mike Reed2009-11-201-0/+3
| | | | | | | | | | | | | | avoid overflows The change is conditional at the moment inside SkScan_Path.cpp, USE_NEW_BUILDER. This chopping is meant to only pass in reasonable floats to the edgelist, so that we never overflow when converting to fixed-point. It also has the side-effect of speeding up edges to the left/right of the clip, since those become vertical lines, which are faster to walk over than the original curve segment. Future optimizations: throw away segments to the right of the clip, and tweak the edgelist walker to not require an explicit matching right-edge for the current run.
* am 9521ac9c: add table maskfilterMike Reed2009-10-301-0/+1
|\ | | | | | | | | | | | | Merge commit '9521ac9c669ee93f2e8ebfb4549ec64b57fe3559' into eclair-mr2 * commit '9521ac9c669ee93f2e8ebfb4549ec64b57fe3559': add table maskfilter
| * add table maskfilterMike Reed2009-10-301-0/+1
| | | | | | | | http://b/issue?id=2210685