skia2/samplecode
reed@android.com cafc9f9e80 fixes around isOpaque and dithering
- 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
2009-08-22 03:44:57 +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
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 fixes around isOpaque and dithering 2009-08-22 03:44:57 +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
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 add check/hack to avoid drawing outside of the clip for hairlines 2009-03-23 16:05:19 +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 remove old test that assumed fBM had been decoded 2008-12-23 18:50:15 +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 remove remaining references to porterduff 2009-06-23 12:19:41 +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
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
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