aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* record dither setting so we can replay it when we (re)decodeGravatar reed@android.com2009-09-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@368 2bbb7eff-a529-9590-31e7-b0007b416f81
* update for blitrow_d32 procsGravatar reed@android.com2009-09-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@367 2bbb7eff-a529-9590-31e7-b0007b416f81
* add BlitRow procs for 32->32, to allow for neon and other optimizations.Gravatar reed@android.com2009-09-23
| | | | | | | | | | | call these new procs in (nearly) all the places we had inlined loops before. In once instance (blitter_argb32::blitAntiH) we get different results by a tiny bit. The new code is more accurate, and exactly inline with all of the other like-minded blits, so I think the change is good going forward. git-svn-id: http://skia.googlecode.com/svn/trunk@366 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't put the class name in front of the methodGravatar reed@android.com2009-09-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@365 2bbb7eff-a529-9590-31e7-b0007b416f81
* clear the kHasSpan16 bit for two-point-radial, since we don't implement thatGravatar reed@android.com2009-09-22
| | | | | | | | fix perspective loop x (dstX) git-svn-id: http://skia.googlecode.com/svn/trunk@364 2bbb7eff-a529-9590-31e7-b0007b416f81
* update sample to use new two-point-radial gradients from senorblanco!!!Gravatar reed@android.com2009-09-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@363 2bbb7eff-a529-9590-31e7-b0007b416f81
* update golden-master images for tilemodes, after the blur code (used for theGravatar reed@android.com2009-09-22
| | | | | | | | labels) was updated. git-svn-id: http://skia.googlecode.com/svn/trunk@362 2bbb7eff-a529-9590-31e7-b0007b416f81
* Two-point radial gradient implementation.Gravatar senorblanco@chromium.org2009-09-22
| | | | | | | | Review URL: http://codereview.appspot.com/112058 git-svn-id: http://skia.googlecode.com/svn/trunk@361 2bbb7eff-a529-9590-31e7-b0007b416f81
* #if 0 test code for blur, since it references a private headerGravatar reed@android.com2009-09-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@360 2bbb7eff-a529-9590-31e7-b0007b416f81
* add tests for blurmaskGravatar reed@android.com2009-09-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@359 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix sumbuffer to initialize its top and left colum/row with zeros. Without ↵Gravatar reed@android.com2009-09-21
| | | | | | | | | | this fix we were effectively chopping off the top row of pixels when we computed a blur. git-svn-id: http://skia.googlecode.com/svn/trunk@358 2bbb7eff-a529-9590-31e7-b0007b416f81
* update with tests for blurGravatar reed@android.com2009-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@357 2bbb7eff-a529-9590-31e7-b0007b416f81
* use rowbytes instead of bounds.width()Gravatar reed@android.com2009-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@356 2bbb7eff-a529-9590-31e7-b0007b416f81
* more float/double precision tweaksGravatar reed@android.com2009-09-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@355 2bbb7eff-a529-9590-31e7-b0007b416f81
* use doubles in matrix.invert() to keep more precision, needed for subtleGravatar reed@android.com2009-09-16
| | | | | | | | | bugs when drawing stretched bitmaps (like ninepatch) at nasty scale factors like 1.5 (where the inverse matrix steps 0.333333, 1.0, 1.666667, etc.) git-svn-id: http://skia.googlecode.com/svn/trunk@354 2bbb7eff-a529-9590-31e7-b0007b416f81
* add neon opts for matrix procsGravatar reed@android.com2009-09-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@353 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't magically convert to hairline unless we're < 1.0 in both X and Y. The ↵Gravatar reed@android.com2009-09-03
| | | | | | | | | | new routine both checks, and if legal, returns the new width which will be used to compute a modulated alpha. git-svn-id: http://skia.googlecode.com/svn/trunk@352 2bbb7eff-a529-9590-31e7-b0007b416f81
* add decode benchGravatar reed@android.com2009-09-02
| | | | | | | | add dictionary for bench tools to see optional cmdline args git-svn-id: http://skia.googlecode.com/svn/trunk@351 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@android.com2009-09-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@350 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@android.com2009-09-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@349 2bbb7eff-a529-9590-31e7-b0007b416f81
* more unittests (already found/fixed some bugs)Gravatar reed@android.com2009-09-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@348 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename std words to be UPPER CASE (ugh)Gravatar reed@android.com2009-09-01
| | | | | | | | add initial unittests for std words (more to do) git-svn-id: http://skia.googlecode.com/svn/trunk@347 2bbb7eff-a529-9590-31e7-b0007b416f81
* add tests for extractAlphaGravatar reed@android.com2009-08-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@346 2bbb7eff-a529-9590-31e7-b0007b416f81
* add missing filesGravatar reed@android.com2009-08-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@345 2bbb7eff-a529-9590-31e7-b0007b416f81
* add boolean tests and IF/ELSE/ENDGravatar reed@android.com2009-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@344 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental hack to write a forth engine to drive skiaGravatar reed@android.com2009-08-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@343 2bbb7eff-a529-9590-31e7-b0007b416f81
* return noErr in clickhandler, so we can get mousemoved eventsGravatar reed@android.com2009-08-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@342 2bbb7eff-a529-9590-31e7-b0007b416f81
* http://code.google.com/p/skia/issues/detail?id=32Gravatar reed@android.com2009-08-28
| | | | | | | | | Detect when we no longer have a valid range for chopping due to finite float precision, and just return a degenerate cubic at the end. git-svn-id: http://skia.googlecode.com/svn/trunk@341 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix gaps in antialiased hairlines (thanks to preda)Gravatar reed@android.com2009-08-28
| | | | | | | | expand SampleHairline text to check for clip violations git-svn-id: http://skia.googlecode.com/svn/trunk@340 2bbb7eff-a529-9590-31e7-b0007b416f81
* expand SkShader's flag kConstInY to 16 and 32 variants, allowing a shaderGravatar reed@android.com2009-08-27
| | | | | | | | | | | | (like gradients) to support predithering. If they do, then they would suppress kConstInY16, since they no longer are const. The blitters now check for each flag separately, so we don't have to give up const-in-Y in the 32bit case, since in that mode we don't care about dithering. git-svn-id: http://skia.googlecode.com/svn/trunk@339 2bbb7eff-a529-9590-31e7-b0007b416f81
* allow the gamma to be changed at runtimeGravatar reed@android.com2009-08-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@338 2bbb7eff-a529-9590-31e7-b0007b416f81
* show the hairlines after each test iterationGravatar reed@android.com2009-08-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@337 2bbb7eff-a529-9590-31e7-b0007b416f81
* special case 1x1 bitmaps when drawn as a shader (treat as a solid color)Gravatar reed@android.com2009-08-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@336 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix overflow in qsort compare procGravatar reed@android.com2009-08-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@335 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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