skia2/samplecode
reed@android.com 0b9e2dbf2f use doubles in matrix.invert() to keep more precision, needed for subtle
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
2009-09-16 17:00:17 +00:00
..
SampleAll.cpp detect nearly translate-only matrices when drawing bitmaps (for speed) 2009-06-24 12:41:42 +00:00
SampleApp.cpp add 'r' (rotate) 's' (scale) options to SampleApp to test those matrix ops on 2009-08-14 16:08:38 +00:00
SampleArc.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleBitmapRect.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleBlur.cpp add 2009-09-02 02:07:45 +00:00
SampleCamera.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleCircle.cpp add shaderprocs for all-in-one special blits (matrix+sampler) 2009-07-16 01:13:14 +00:00
SampleCode.h Some Linux / 64-bit compile fixes. 2009-06-11 12:26:47 +00:00
SampleCull.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleDecode.cpp respect preferred config when png is index-based 2009-07-08 20:09:23 +00:00
SampleDither.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleDitherBitmap.cpp expand SkShader's flag kConstInY to 16 and 32 variants, allowing a shader 2009-08-27 19:28:37 +00:00
SampleDrawLooper.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleEffects.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleEmboss.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleEncode.cpp check if the encoder factory returned null 2009-07-07 21:18:10 +00:00
SampleExtractAlpha.cpp update 2009-09-02 21:11:44 +00:00
SampleFillType.cpp tweaks to 16bit shaders 2009-07-10 15:58:53 +00:00
SampleFilter2.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleFilter.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleFontCache.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleFontScalerTest.cpp call notifyPixelsChanged() when the pages are flipped in pageflippixelref 2009-05-30 02:40:28 +00:00
SampleFuzz.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleGradients.cpp make a deep copy in CreateCGImageRef if we're 565, but first upscale to 32bit. 2009-07-10 03:33:52 +00:00
SampleHairline.cpp fix gaps in antialiased hairlines (thanks to preda) 2009-08-28 15:34:46 +00:00
SampleImage.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleImageDir.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleLayerMask.cpp detect nearly translate-only matrices when drawing bitmaps (for speed) 2009-06-24 12:41:42 +00:00
SampleLayers.cpp detect nearly translate-only matrices when drawing bitmaps (for speed) 2009-06-24 12:41:42 +00:00
SampleLCD.cpp rename SK_BUILD_SUBPIXEL to SK_SUPPORT_LCDTEXT to better match the name of the 2009-07-22 19:21:01 +00:00
SampleLines.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleMeasure.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleMipMap.cpp remove conditional build flag for mipmaps 2009-07-17 02:42:41 +00:00
SampleMovie.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleNinePatch.cpp use doubles in matrix.invert() to keep more precision, needed for subtle 2009-09-16 17:00:17 +00:00
SampleOverflow.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SamplePageFlip.cpp remove deprecated use of porterduff enum 2009-06-23 03:01:32 +00:00
SamplePatch.cpp use sk_bzero instead of bzero, since it isn't always available. 2009-06-29 16:25:36 +00:00
SamplePath.cpp http://code.google.com/p/skia/issues/detail?id=32 2009-08-28 20:06:54 +00:00
SamplePathClip.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SamplePathEffects.cpp close out previous contour (so we don't miss the last segment) 2009-08-14 19:27:37 +00:00
SamplePicture.cpp add SkSafeRef / SkSafeUnref as inline static functions, to use in place of our 2009-05-22 14:39:03 +00:00
SamplePoints.cpp handle cap==round for drawPoints 2009-07-10 17:02:17 +00:00
SamplePolyToPoly.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleRegion.cpp add SDL support 2009-05-22 20:44:12 +00:00
SampleRepeatTile.cpp test for non-scaled bitmap tiles 2009-08-13 19:33:44 +00:00
SampleShaders.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleShapes.cpp more checks for null shapes in pictures 2009-07-03 02:52:27 +00:00
SampleStrokePath.cpp add neon opts for matrix procs 2009-09-15 14:10:42 +00:00
SampleStrokeText.cpp detect nearly translate-only matrices when drawing bitmaps (for speed) 2009-06-24 12:41:42 +00:00
SampleTestGL.cpp add shader flag kConstInY_Flag 2009-06-12 21:27:03 +00:00
SampleTests.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleText.cpp add isConvex() hit to SkPath, to be used to speed up fills and opengl 2009-06-03 02:35:01 +00:00
SampleTextAlpha.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleTextEffects.cpp detect nearly translate-only matrices when drawing bitmaps (for speed) 2009-06-24 12:41:42 +00:00
SampleTextOnPath.cpp add initial unittest framework (tests) 2009-02-27 16:24:51 +00:00
SampleTiling.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTinyBitmap.cpp special case 1x1 bitmaps when drawn as a shader (treat as a solid color) 2009-08-25 19:15:31 +00:00
SampleTriangles.cpp fix dumpcanvas to recurse on pictures and shapes 2009-06-05 12:24:41 +00:00
SampleTypeface.cpp API cleanup: rename typeface Create to CreateFromName, and remove default arg 2009-03-04 15:31:48 +00:00
SampleVertices.cpp remove remaining references to porterduff 2009-06-23 12:19:41 +00:00
SampleXfermodes.cpp move xfermode modes from porterduff into xfermode itself 2009-06-22 17:38:10 +00:00
vertexdump.cpp grab from latest android 2008-12-17 15:59:43 +00:00