aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* merge from open-source masterJean-Baptiste Queru2009-08-071-0/+2
|\
| * Make/add virtual destructors to classes with virtual functionsJean-Baptiste Queru2009-08-051-1/+3
| |
* | conditionalize including cpu-features.h, since at the moment it is only ↵Mike Reed2009-08-071-1/+3
| | | | | | | | available for arm.
* | rearrange the neon filter code to be sharable among all of the "portable" ↵Mike Reed2009-08-055-603/+256
| | | | | | | | | | | | functions remove remaining special-case neon functions that are (no longer) faster than the portable ones
* | enable arm flags in makefile and by including cpu-features.hMike Reed2009-08-043-15/+315
| |
* | add arm/neon optimizations for bitmap samplingMike Reed2009-08-034-10/+765
| | | | | | | | original code submitted by ARM LIMITED 2009
* | add GetFileName api to fonthost, to return (optionally) the file backing a ↵Mike Reed2009-07-313-1/+42
| | | | | | | | | | | | given font minor refresh on freetype and blitrow.h from skia/trunk
* | add opts directory to hold arm/neon specific functionsMike Reed2009-07-304-17/+515
| | | | | | | | vector out to those from our blitrow factory
* | am fda848cd: only upscale to 565 from palette if the colortable is opaqueMike Reed2009-07-301-7/+27
|\ \ | |/ | | | | | | | | | | Merge commit 'fda848cde04cfd40ec1be93b30752008f7eb2396' * commit 'fda848cde04cfd40ec1be93b30752008f7eb2396': only upscale to 565 from palette if the colortable is opaque
| * only upscale to 565 from palette if the colortable is opaqueMike Reed2009-07-291-7/+27
| |
| * Do not mergeMike Reed2009-07-282-55/+11
| | | | | | | | | | | | support upscaling directly in png codec to preferred config remove copyTo post-upscaling in base imagedecoder, since that breaks our Allocator model for custom allocators (like ashmem), which can't be called twice on two different configs.
| * Do not mergeMike Reed2009-07-201-31/+30
| | | | | | | | check if we can promote to the preferred config
* | push upscaling directly into png, rather than having it in the baseclass, ↵Mike Reed2009-07-282-25/+12
| | | | | | | | | | | | where it can re-invoke an allocator, which breaks ashmem (and possibly other allocator subclasses)
* | refresh from trunkMike Reed2009-07-2710-115/+334
| | | | | | | | check-point for lcd text rendering
* | remove build conditional for mipmapsMike Reed2009-07-176-925/+5
| |
* | add fast-case for bitmap shadersMike Reed2009-07-166-9/+340
| | | | | | | | first stage of neon optimizations
* | am da7fbe20: If there is no sampling request in the decode request then use ↵Owen Lin2009-07-151-0/+6
|\ \ | |/ | | | | | | | | | | | | | | the width and height infomation from the header directly. Merge commit 'da7fbe204f7a6ead5ae271be1117e1deb37d2a4d' * commit 'da7fbe204f7a6ead5ae271be1117e1deb37d2a4d': If there is no sampling request in the decode request then use
| * If there is no sampling request in the decode request then useOwen Lin2009-07-141-0/+6
| | | | | | | | the width and height infomation from the header directly.
* | respect cap-style for drawPointsMike Reed2009-07-141-3/+5
| |
* | handle intrinsic 16bit shaders smarter in blitRectMike Reed2009-07-105-29/+100
| | | | | | | | | | use expand16 format to speed up blend fix typo bug in loops for 4444
* | am ee38d710: catch underflow in restore()Mike Reed2009-07-091-9/+11
|\ \ | |/ | | | | | | | | | | Merge commit 'ee38d710c05d4a6a8d8a649f5a05b8380ba748bc' * commit 'ee38d710c05d4a6a8d8a649f5a05b8380ba748bc': catch underflow in restore()
| * catch underflow in restore()Mike Reed2009-07-091-9/+11
| |
| * DO NOT MERGE TO DONUTMike Reed2009-07-083-51/+185
| | | | | | | | respect preferred config for index-based pngs
* | respect preferred config when decoding index-based png imagesMike Reed2009-07-083-28/+138
| |
* | conditionally set SK_SOFTWARE_FLOAT only if we're not building armv7-a, so ↵Mike Reed2009-07-082-4/+5
| | | | | | | | | | | | we can take full advantage of hw floats on v7 class devices.
* | support encoding Index8 bitmaps into PNGMike Reed2009-07-071-10/+11
| |
* | fix null-shape crash in picturesMike Reed2009-07-075-49/+108
| | | | | | | | | | fix gradient interpolation w/ alpha (do it in nonpremul space) optimize index->16bit sprite blit
* | refresh from trunk: shape flattening, bzeroMike Reed2009-06-2920-95/+191
| |
* | am 323fc5f6: Fix a broken sim-eng build because of lacking of arm arch check.Wei-Ta Chen2009-06-241-5/+6
|\ \ | |/ | | | | | | | | | | Merge commit '323fc5f6b797daedeb80cf137de1f7abb1ce6ff3' * commit '323fc5f6b797daedeb80cf137de1f7abb1ce6ff3': Fix a broken sim-eng build because of lacking of arm arch check.
| * Fix a broken sim-eng build because of lacking of arm arch check.Wei-Ta Chen2009-06-251-5/+6
| |
* | am 9255d4e0: Bypass source-overing if the alpha value of a source color ↵Wei-Ta Chen2009-06-242-20/+142
|\ \ | |/ | | | | | | | | | | | | | | equals to 255, i.e., no need to add previous destination color values. Merge commit '9255d4e019df455c662b01c7030b5d9ec2376695' * commit '9255d4e019df455c662b01c7030b5d9ec2376695': Bypass source-overing if the alpha value of a source color equals to
| * Bypass source-overing if the alpha value of a source color equals toWei-Ta Chen2009-06-242-20/+142
| | | | | | | | | | | | | | | | | | | | | | | | 255, i.e., no need to add previous destination color values. My experimental results showed that the percentage of calls to SkSrcOver32To16() falling into the bypass path in the following processes are around: 1. system_server: 72% 2. acore: 80% 3. camera: 57% 4. browser: 66%
* | rename setXfermode(Mode) to setXfermodeMode(...) for clarityMike Reed2009-06-243-11/+31
| | | | | | | | fix memory leak in said method
* | remove deprecated uses of porterduffMike Reed2009-06-237-225/+203
| |
* | pull from trunkMike Reed2009-06-226-129/+378
| | | | | | | | | | | | move (and extended) xfermode enum into SkXfermode.h fix recursion bug in stroking minor utility code changes for new unittests
* | am 0d8bbbb9: register the gif movie factoryMike Reed2009-06-182-13/+24
|\ \ | |/ | | | | | | | | | | Merge commit '0d8bbbb992782fecc71733331cdc23a899b3df4f' * commit '0d8bbbb992782fecc71733331cdc23a899b3df4f': register the gif movie factory
| * register the gif movie factoryMike Reed2009-06-182-13/+24
| |
| * Manual merge from cupcake_dcm.Daisuke Miyakawa2009-05-251-4/+11
| | | | | | | | This was originally done by Mike. I'll ask him to review this.
| * Automated import from //branches/donutburger/...@142335,142335Mike Reed2009-03-241-1/+2
| |
| * Automated import from //branches/donutburger/...@141451,141451Feng Qian2009-03-241-0/+8
| |
| * Automated import from //branches/donutburger/...@141342,141342Mike Reed2009-03-241-0/+1
| |
| * Automated import from //branches/donutburger/...@141163,141163Mike Reed2009-03-241-4/+8
| |
| * Automated import from //branches/donutburger/...@141139,141139Mike Reed2009-03-241-66/+68
| |
* | add constY flag to shadersMike Reed2009-06-157-259/+321
| | | | | | | | | | add opaque special case to 16bit blitter add Format optional arg to decoder helpers
* | speedup gl port by detecting when the device hasn't changedMike Reed2009-06-103-63/+18
| |
* | refresh from skiaMike Reed2009-06-0515-146/+197
| | | | | | | | | | | | | | add isConvex to paths cache bitmap in gradients for opengl texture 64-bit fixes in views dumpcanvas now recurses on pictures
* | refresh from skia, esp. with opengl updatesMike Reed2009-06-026-17/+73
| | | | | | | | initialize fFlags in shader constructors
* | refresh from skia/trunkMike Reed2009-05-299-103/+184
| | | | | | | | | | | | - add canvas entry-point for shapes - add SDL support to GL port - rowbytes computation fixes in bitmaps
* | extend copyTo to support index8 -> index8 deep copiesMike Reed2009-05-042-66/+102
| | | | | | | | | | | | | | Now copyTo always supports copying to the same dst config as the src, even if it could not normally "render" into that config (e.g. Index8). Part of this change also added a copy-constructor to SkColorTable. Also removed some trailing ws
* | refresh from skia/trunkMike Reed2009-05-0111-57/+219
| | | | | | | | | | | | - catch overflow from mask size computation - add kADD_Mode to porterduff (for webkit) - support interlace images in png