aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* add detach() methodGravatar reed@android.com2009-08-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@334 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warning in samplerGravatar reed@android.com2009-08-24
| | | | | | | | | lock pixels when we extract alpha disabling hinting when linear-text is set git-svn-id: http://skia.googlecode.com/svn/trunk@333 2bbb7eff-a529-9590-31e7-b0007b416f81
* update gm images with new corrected ditheringGravatar reed@android.com2009-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@332 2bbb7eff-a529-9590-31e7-b0007b416f81
* fixes around isOpaque and ditheringGravatar reed@android.com2009-08-22
| | | | | | | | | | | | | | - copyTo() now preserves isOpaqueness, and BitmapCopyTest tests it - bitmap shader doesn't claim to have shadespan16 if dithering is on, since its sampler doesn't auto-dither (note that gradients do auto-dither in their 16bit sampler) - blitter setup just relies on the shader to report if its 16bit sampler can be called (allowing gradients to say yes regardless of dither, but bitmaps to say no if dithering is on) git-svn-id: http://skia.googlecode.com/svn/trunk@331 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a sanity check to MaskSuperBlitter::blitH(), to avoid a subsequentGravatar senorblanco@chromium.org2009-08-21
| | | | | | | | | | | crash in *Blitter::blitMask(), and add some more asserts. http://codereview.appspot.com/110050 http://crbug.com/17569 git-svn-id: http://skia.googlecode.com/svn/trunk@330 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix compliation on gcc-4.3 and ARMv5TGravatar deanm@chromium.org2009-08-21
| | | | | | | | | | | | - smulbb is only on ARMv5TE and above (p316, ARM Architecture Reference Manual) - an empty clobber list causes a compiler error with my compiler, gcc-4.3.2 Patch by Joel Stanley <joel@jms.id.au> Review URL: http://codereview.appspot.com/96165 git-svn-id: http://skia.googlecode.com/svn/trunk@329 2bbb7eff-a529-9590-31e7-b0007b416f81
* respect dither setting in index8->565 sprite caseGravatar reed@android.com2009-08-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix flipped text orientation on Windows.Gravatar deanm@chromium.org2009-08-14
| | | | | | | Review URL: http://codereview.appspot.com/104105 git-svn-id: http://skia.googlecode.com/svn/trunk@327 2bbb7eff-a529-9590-31e7-b0007b416f81
* update location of SkNWayCanvas.cppGravatar reed@android.com2009-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@326 2bbb7eff-a529-9590-31e7-b0007b416f81
* close out previous contour (so we don't miss the last segment)Gravatar reed@android.com2009-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@325 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 'r' (rotate) 's' (scale) options to SampleApp to test those matrix ops onGravatar reed@android.com2009-08-14
| | | | | | | | | | | | all slides add beforeChild/afterChild methods for parents to wack the canvas before/after it draws. These are called after the std child-view translate and clip, unlike beforeChildren/afterChildren git-svn-id: http://skia.googlecode.com/svn/trunk@324 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix typo in matrix proc index computation, where we were always taking theGravatar reed@android.com2009-08-14
| | | | | | | | perspective case when affine would have been enough (and lots faster). git-svn-id: http://skia.googlecode.com/svn/trunk@323 2bbb7eff-a529-9590-31e7-b0007b416f81
* add method to compute max count for a given buffer size in the bitmap shader.Gravatar reed@android.com2009-08-14
| | | | | | | | fix bug in quad loop of fill_sequential where we were going one quad too far. git-svn-id: http://skia.googlecode.com/svn/trunk@322 2bbb7eff-a529-9590-31e7-b0007b416f81
* bzero SkPaint in its constructor, to allow us to cleanly use memcmp in ourGravatar reed@android.com2009-08-13
| | | | | | | | operator==, given that we may be padded and not know how to init those pad bytes git-svn-id: http://skia.googlecode.com/svn/trunk@321 2bbb7eff-a529-9590-31e7-b0007b416f81
* add special matrixprocs when the matrix is at most translate. These are fasterGravatar reed@android.com2009-08-13
| | | | | | | | | | | (somewhat) than their scale counterparts, but are also numerically exact for any size bitmaps. The scale versions, because they operate in a scaled 65535 space, are not always exact for large images (due to SK_Fixed1 / width) loss of bits git-svn-id: http://skia.googlecode.com/svn/trunk@320 2bbb7eff-a529-9590-31e7-b0007b416f81
* test for non-scaled bitmap tilesGravatar reed@android.com2009-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@319 2bbb7eff-a529-9590-31e7-b0007b416f81
* add benchmark for repeat-tile bitmapsGravatar reed@android.com2009-08-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@318 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add some SkASSERT's, to try to track down a reliability issue in Chrome.Gravatar senorblanco@chromium.org2009-08-12
| | | | | | | | | http://codereview.appspot.com/105075 http://crbug.com/17569 git-svn-id: http://skia.googlecode.com/svn/trunk@317 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unneeded (empty) virtual destructorGravatar reed@android.com2009-08-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@316 2bbb7eff-a529-9590-31e7-b0007b416f81
* fixes wacky build on android. no other explanation receivedGravatar reed@android.com2009-08-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@315 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix validate() to note that an empty path can (by side-effect) have an empty butGravatar reed@android.com2009-08-11
| | | | | | | | translated fBounds git-svn-id: http://skia.googlecode.com/svn/trunk@314 2bbb7eff-a529-9590-31e7-b0007b416f81
* FreeType: fix garbled bitmap glyphs.Gravatar agl@chromium.org2009-08-11
| | | | | | | | | | | | | At some point (probably in one of the LCD patches), the fMaskFormat for bitmap glyphs changed from kA8 to kBW. Formerly, bitmap glyphs were always transformed into A8 format. With this patch, we check the fMaskFormat and pick the correct transform at run time. http://code.google.com/p/chromium/issues/detail?id=18531 http://codereview.appspot.com/104071 git-svn-id: http://skia.googlecode.com/svn/trunk@313 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove assertion in getAddrLCD.Gravatar agl@chromium.org2009-08-11
| | | | | | | | | | | Because the underlying mask extends a pixel to the left and right (or top and bottom on vertical LCDs), the requested pixel can actaully be one pixel outside the bounds, thus this assertion is incorrect. http://codereview.appspot.com/105077 git-svn-id: http://skia.googlecode.com/svn/trunk@312 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove dead codeGravatar reed@android.com2009-08-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@311 2bbb7eff-a529-9590-31e7-b0007b416f81
* FreeType: don't use bitmap strikes when antialiasingGravatar agl@chromium.org2009-08-07
| | | | | | | | | | | | | If the user requested anti-aliasing then we don't use bitmap strikes in the font. The consensus among our Japanese users is that this results in the best quality. http://code.google.com/p/chromium/issues/detail?id=18333 http://codereview.appspot.com/105050 git-svn-id: http://skia.googlecode.com/svn/trunk@310 2bbb7eff-a529-9590-31e7-b0007b416f81
* more neon work:Gravatar reed@android.com2009-08-07
| | | | | | | | | - remove neon-specific functions that were not faster than the C version - move the neon filter function to its own header, so it could be use in more places git-svn-id: http://skia.googlecode.com/svn/trunk@309 2bbb7eff-a529-9590-31e7-b0007b416f81
* update make for nwaycanvasGravatar reed@android.com2009-08-04
| | | | | | | | remove obsolete opts_neon dir git-svn-id: http://skia.googlecode.com/svn/trunk@308 2bbb7eff-a529-9590-31e7-b0007b416f81
* add -forceFilter to bench toolGravatar reed@android.com2009-08-04
| | | | | | | | move some utils out of effects/ git-svn-id: http://skia.googlecode.com/svn/trunk@307 2bbb7eff-a529-9590-31e7-b0007b416f81
* add proper includes for arm optimizationsGravatar reed@android.com2009-08-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@306 2bbb7eff-a529-9590-31e7-b0007b416f81
* add -config foo to restrict the output to just the specific configGravatar reed@android.com2009-08-04
| | | | | | | | add -match foo to restrict the benchmarks to those whose names match foo git-svn-id: http://skia.googlecode.com/svn/trunk@305 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove noisy font table tests from TextBenchGravatar reed@android.com2009-08-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@304 2bbb7eff-a529-9590-31e7-b0007b416f81
* arm/neon optimizations for bitmap shaderGravatar reed@android.com2009-08-03
| | | | | | | | original version by ARM LIMITED 2009 git-svn-id: http://skia.googlecode.com/svn/trunk@303 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@android.com2009-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@302 2bbb7eff-a529-9590-31e7-b0007b416f81
* add platformProcs() porting functionGravatar reed@android.com2009-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@301 2bbb7eff-a529-9590-31e7-b0007b416f81
* clean up SkBitmapProcState in preparation for adding porting-layer functionsGravatar reed@android.com2009-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@300 2bbb7eff-a529-9590-31e7-b0007b416f81
* add GetFileName api to SkFontHostGravatar reed@android.com2009-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@299 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix #endif placement so it works when LCD support is not definedGravatar reed@android.com2009-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@298 2bbb7eff-a529-9590-31e7-b0007b416f81
* add opts for neonGravatar reed@android.com2009-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@297 2bbb7eff-a529-9590-31e7-b0007b416f81
* add opts files to the makeGravatar reed@android.com2009-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@296 2bbb7eff-a529-9590-31e7-b0007b416f81
* add optimization table for blitproc functionsGravatar reed@android.com2009-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@295 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove auto-upscaling from base class (breaks model for allocators) but improveGravatar reed@android.com2009-07-29
| | | | | | | | the upscaling inside the png codec. git-svn-id: http://skia.googlecode.com/svn/trunk@294 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add runtime detection for missing subpixel support in FreeType.Gravatar agl@chromium.org2009-07-28
| | | | | | | | | | | | | | | | | | | r291 added support for building on platforms where subpixel support has been compiled out of FreeType. However, it turns out that there is a common situation in which we build on platforms with subpixel support, but have to run without it: people downloading Chromium from the buildbots. Because we this, we need a runtime solution. Modifying the conversion routines for this seems suboptimal because the extra branches will slow down everyone. So we probe subpixel support at runtime by trying to install a low-pass filter. If we fail at this, then we map all the SkScalerContext::Rec structures to remove subpixel mode. http://codereview.appspot.com/98057 git-svn-id: http://skia.googlecode.com/svn/trunk@293 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert "Support subpixel text when FreeType is built without such support."Gravatar agl@chromium.org2009-07-28
| | | | | | | | This reverts commit r291. It will be replaced with another solution in the next commit. git-svn-id: http://skia.googlecode.com/svn/trunk@292 2bbb7eff-a529-9590-31e7-b0007b416f81
* Support subpixel text when FreeType is built without such support.Gravatar agl@chromium.org2009-07-28
| | | | | | | | | | | | | | | | On Fedora, at least, FreeType is built without subpixel support. It tries to simulate subpixel mode by replicating the gray-values three times. However, it fails to simulate the actions of the low-pass filter and so doesn't add border around the glyphs. This patch adds a compile-time constant, which is the number of bytes of filter border. If this value is zero (because FreeType is simulating subpixel support), then we add a transparent border ourselves when transforming from FreeType rendered glyphs to masks. http://codereview.appspot.com/96171 git-svn-id: http://skia.googlecode.com/svn/trunk@291 2bbb7eff-a529-9590-31e7-b0007b416f81
* ws fixesGravatar reed@android.com2009-07-27
| | | | | | | | use enum in getHinting() function, rather than hard-coded constants git-svn-id: http://skia.googlecode.com/svn/trunk@290 2bbb7eff-a529-9590-31e7-b0007b416f81
* add filterrec logic for subpixel and slight-hintingGravatar reed@android.com2009-07-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@289 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build fix: add FilterRec for Windows.Gravatar agl@chromium.org2009-07-23
| | | | | | | | | | | | Since we don't control the settings on Windows, I believe we may just as well filter everything. TBR=reed http://codereview.appspot.com/97070 git-svn-id: http://skia.googlecode.com/svn/trunk@288 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix uninitialized library variableGravatar reed@android.com2009-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@287 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove const from function return-type signature (useless, and generates gccGravatar reed@android.com2009-07-23
| | | | | | | | warnings) git-svn-id: http://skia.googlecode.com/svn/trunk@286 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings (unused local var)Gravatar reed@android.com2009-07-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@285 2bbb7eff-a529-9590-31e7-b0007b416f81