aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
Commit message (Collapse)AuthorAge
* more layers extracted from webkitGravatar reed@android.com2010-02-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@503 2bbb7eff-a529-9590-31e7-b0007b416f81
* use statictextviews to display coordinates in unitmapperGravatar reed@android.com2010-02-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@491 2bbb7eff-a529-9590-31e7-b0007b416f81
* updateGravatar reed@android.com2010-01-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@484 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for gl-canvas before calling GLGravatar reed@android.com2010-01-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@480 2bbb7eff-a529-9590-31e7-b0007b416f81
* update to try out programmable shadersGravatar reed@android.com2010-01-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@478 2bbb7eff-a529-9590-31e7-b0007b416f81
* update windows portGravatar reed@android.com2009-12-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@461 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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 boundary patch experimentGravatar reed@android.com2009-10-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@407 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at a checkboxGravatar reed@android.com2009-10-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@402 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at rubber-sheet warpingGravatar reed@android.com2009-10-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@401 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimentGravatar reed@android.com2009-10-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@396 2bbb7eff-a529-9590-31e7-b0007b416f81
* clean up fix to drawBitmapRectGravatar reed@android.com2009-10-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@388 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix drawBitmapRect to not clip the src rect when computing the matrixGravatar reed@android.com2009-10-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@387 2bbb7eff-a529-9590-31e7-b0007b416f81
* require expat to use with animatorGravatar reed@android.com2009-10-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@383 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for reviving animatorGravatar reed@android.com2009-10-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@380 2bbb7eff-a529-9590-31e7-b0007b416f81
* add new cubic test for overflowGravatar reed@android.com2009-10-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@379 2bbb7eff-a529-9590-31e7-b0007b416f81
* add sample for text rasterizerGravatar reed@android.com2009-10-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@378 2bbb7eff-a529-9590-31e7-b0007b416f81
* capture drawings to pngGravatar reed@android.com2009-10-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@377 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
* 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
* #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
* 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 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
* 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
* add tests for extractAlphaGravatar reed@android.com2009-08-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@346 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