aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* add drawData() to canvas, to record data blobsGravatar reed@android.com2009-12-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@452 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix warning (struct forward-declared as class).Gravatar senorblanco@chromium.org2009-12-04
| | | | | | | Review URL: http://codereview.appspot.com/164061 git-svn-id: http://skia.googlecode.com/svn/trunk@451 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove check for empty devPathGravatar agl@chromium.org2009-12-02
| | | | | | | | | | | | | | Removes check for empty devPath since it was causing an assertion failure on Mac OS X when drawing small fonts within the browser action badges. BUG=none TEST=none Patch by andybons1. http://codereview.appspot.com/163056 git-svn-id: http://skia.googlecode.com/svn/trunk@450 2bbb7eff-a529-9590-31e7-b0007b416f81
* Debug build fix (unreviewed).Gravatar senorblanco@chromium.org2009-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@449 2bbb7eff-a529-9590-31e7-b0007b416f81
* More SSE2 optimizations. This CL implements an SSE2 version of ↵Gravatar senorblanco@chromium.org2009-11-30
| | | | | | | | | | S32_bitmap_D32_filter_DX, and uses aligned loads and stores for dst, in all blending. Review URL: http://codereview.appspot.com/157141 git-svn-id: http://skia.googlecode.com/svn/trunk@448 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for IntersectLine, used by hairlinesGravatar reed@android.com2009-11-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@447 2bbb7eff-a529-9590-31e7-b0007b416f81
* Win32 build fix (unreviewed).Gravatar senorblanco@chromium.org2009-11-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@446 2bbb7eff-a529-9590-31e7-b0007b416f81
* outset the bounds if we're in hairline before quick-reject in SkDraw.cppGravatar reed@android.com2009-11-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@445 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SampleCode::GetAnimTime() so slides go through a central location forGravatar reed@android.com2009-11-23
| | | | | | | | | animation timing. This allows us to "freeze" time in order to do things like draw multiple times to test clipping. git-svn-id: http://skia.googlecode.com/svn/trunk@444 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix winding bug in lineclipperGravatar reed@android.com2009-11-23
| | | | | | | | | expose path.dump() all the time UP arrow now toggles a grid of clip rects in sample app git-svn-id: http://skia.googlecode.com/svn/trunk@443 2bbb7eff-a529-9590-31e7-b0007b416f81
* doh. make the new S16 and U16 checkers inlineGravatar reed@android.com2009-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@442 2bbb7eff-a529-9590-31e7-b0007b416f81
* add checks for exceeding 16bits, and apply those for glyphs in getMetrics()Gravatar reed@android.com2009-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@441 2bbb7eff-a529-9590-31e7-b0007b416f81
* change guard to use ANDROID and __arm__, so it doesn't break non-arm androidGravatar reed@android.com2009-11-20
| | | | | | | | configs (e.g. simulator) git-svn-id: http://skia.googlecode.com/svn/trunk@440 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build fix for WIN64 (unreviewed).Gravatar senorblanco@chromium.org2009-11-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@439 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_USE_OLD_255_TO_256.Gravatar senorblanco@chromium.org2009-11-20
| | | | | | | | Review URL: http://codereview.appspot.com/156057/show. git-svn-id: http://skia.googlecode.com/svn/trunk@438 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix index-out-of-range constantGravatar reed@android.com2009-11-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@437 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool clipping in hairlines to catch huge coordinatesGravatar reed@android.com2009-11-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@436 2bbb7eff-a529-9590-31e7-b0007b416f81
* Exclude Android-only cpu-features.h from non-Android builds.Gravatar agl@chromium.org2009-11-19
| | | | | | | | This is needed when building Chromium for ARM. Patch by Joel Stanley <joel@chromium.org> git-svn-id: http://skia.googlecode.com/svn/trunk@435 2bbb7eff-a529-9590-31e7-b0007b416f81
* return early if we hit overflow when chopping on the left (i.e. the entireGravatar reed@android.com2009-11-19
| | | | | | | | segment is effectively to the left) git-svn-id: http://skia.googlecode.com/svn/trunk@434 2bbb7eff-a529-9590-31e7-b0007b416f81
* add impl for memset32Gravatar reed@android.com2009-11-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@433 2bbb7eff-a529-9590-31e7-b0007b416f81
* new scanconversion techniqueGravatar reed@android.com2009-11-18
| | | | | | | | | | | | | | This technique geometrically clips all segments against the clip bounds, ensuring that we never send a value to the edgelist that might overflow in fixedpoint. Current disabled in SkScan_Path.cpp by a #define. There are a few minor pixel differences between this and the old technique, as found by the gm tool, so at the moment this new code is off by default. git-svn-id: http://skia.googlecode.com/svn/trunk@432 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix typos in cubic clipperGravatar reed@android.com2009-11-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@431 2bbb7eff-a529-9590-31e7-b0007b416f81
* add explicit clamping after chopping w/ t to ensure we're in the clipGravatar reed@android.com2009-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@430 2bbb7eff-a529-9590-31e7-b0007b416f81
* add quadclipping utility, plus sample testGravatar reed@android.com2009-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@429 2bbb7eff-a529-9590-31e7-b0007b416f81
* More SSE2-ification; fix for gcc -msse2.Gravatar senorblanco@chromium.org2009-11-16
| | | | | | | | Review URL: http://codereview.appspot.com/154163 git-svn-id: http://skia.googlecode.com/svn/trunk@428 2bbb7eff-a529-9590-31e7-b0007b416f81
* add lineclipper, and test caseGravatar reed@android.com2009-11-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@427 2bbb7eff-a529-9590-31e7-b0007b416f81
* add onSendClickToChildren to views, so a view can capture all clicks.Gravatar reed@android.com2009-11-16
| | | | | | | | | speedup some of the unittests that were too slow minor cleanup in SkScan_Path, in prep for larger changes git-svn-id: http://skia.googlecode.com/svn/trunk@426 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove const modifiers on function return types (unneeded, and caused an errorGravatar reed@android.com2009-11-13
| | | | | | | | on some gccs). git-svn-id: http://skia.googlecode.com/svn/trunk@425 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix rotation around 2nd axisGravatar reed@android.com2009-11-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@424 2bbb7eff-a529-9590-31e7-b0007b416f81
* flatten/unflatten custom fields for 2-point gradientGravatar reed@android.com2009-11-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@423 2bbb7eff-a529-9590-31e7-b0007b416f81
* use imageref_globalpool in samplepicture, to test flattening bitmapsGravatar reed@android.com2009-11-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@422 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for gcc -fPIC build.Gravatar senorblanco@chromium.org2009-11-09
| | | | | | | | http://codereview.appspot.com/150060 git-svn-id: http://skia.googlecode.com/svn/trunk@421 2bbb7eff-a529-9590-31e7-b0007b416f81
* update dox for SkAvoidXfermode (as best I could)Gravatar reed@android.com2009-11-09
| | | | | | | | fix 565 and 4444 implementations git-svn-id: http://skia.googlecode.com/svn/trunk@420 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix cheap calc of edgelist sizeGravatar reed@android.com2009-11-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@419 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSE2 optimizations for 32bit blending blitters.Gravatar senorblanco@chromium.org2009-11-04
| | | | | | | | | | | | | | | This CL implements SSE2 optimizations for 3 of the 32bit blending blitters. It uses CPUID to detect for SSE2 at runtime. In order to accomodate runtime detection, it changes the platform procs from static arrays to static functions. It also includes an implementation of SkTime for Win32. http://codereview.appspot.com/144072 git-svn-id: http://skia.googlecode.com/svn/trunk@418 2bbb7eff-a529-9590-31e7-b0007b416f81
* default to not showing the (slow) overview slide: hit DELETE to invokeGravatar reed@android.com2009-11-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@417 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkEvalCubicIntervalGravatar reed@android.com2009-11-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@416 2bbb7eff-a529-9590-31e7-b0007b416f81
* add OVerView slide to samplecodeGravatar reed@android.com2009-11-03
| | | | | | | | change inline functions in SkColorPriv.h to static inline git-svn-id: http://skia.googlecode.com/svn/trunk@415 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable bogus assert (at least until I can investigate more)Gravatar reed@android.com2009-10-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@414 2bbb7eff-a529-9590-31e7-b0007b416f81
* Makefile fix: Fix gm build for Linux.Gravatar senorblanco@chromium.org2009-10-30
| | | | | | | | | | Also add a rule to build assembly files from .cpp's. http://codereview.appspot.com/143060 git-svn-id: http://skia.googlecode.com/svn/trunk@413 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename gamma to table, since it is more general than just gammaGravatar reed@android.com2009-10-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@412 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gamma maskfilter, especially nice when applied after a blurGravatar reed@android.com2009-10-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@411 2bbb7eff-a529-9590-31e7-b0007b416f81
* move boundarypatch into utilsGravatar reed@android.com2009-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@410 2bbb7eff-a529-9590-31e7-b0007b416f81
* update on boundary patchesGravatar reed@android.com2009-10-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@409 2bbb7eff-a529-9590-31e7-b0007b416f81
* add shaderproc32 for index bitmaps. neon version of 32->16+ditherGravatar reed@android.com2009-10-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@408 2bbb7eff-a529-9590-31e7-b0007b416f81
* add boundary patch experimentGravatar reed@android.com2009-10-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@407 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove check for filtering. Now if the src is opaque, the filtered resultGravatar reed@android.com2009-10-26
| | | | | | | | always will be too. git-svn-id: http://skia.googlecode.com/svn/trunk@406 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix S32A_D565_Blend_neonGravatar reed@android.com2009-10-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@405 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix quadclipper in the case that the chop function failsGravatar reed@android.com2009-10-22
| | | | | | | | | | | If the chopper fails, then we've hit some numerical edge-case, which indicates that the quad is just barely crossing the edge, so to handle that, we just clamp the Y values to the edge. This distorts the quad, but only in the case when 99% of the quad will not be affected. git-svn-id: http://skia.googlecode.com/svn/trunk@404 2bbb7eff-a529-9590-31e7-b0007b416f81
* clear xfermode in paint to reflect that we saw it was srcoverGravatar reed@android.com2009-10-22
| | | | | | | | This allows our asserts in the RGB16 blitter chooser to pass. git-svn-id: http://skia.googlecode.com/svn/trunk@403 2bbb7eff-a529-9590-31e7-b0007b416f81