skia2/samplecode
senorblanco@chromium.org 3a67a668db Add an SK_PRINTF_LIKE macro, which declares a function to have printf-like
semantics, allowing gcc and clang to check the format string against the
arguments.  Enable its use on SkString (printf, appendf, and prependf).  Also
define an SK_SIZE_T_SPECIFIER macro so there's a cross-platform way of
printing a size_t.

Review URL:  http://codereview.appspot.com/6375043/



git-svn-id: http://skia.googlecode.com/svn/trunk@4485 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-09 18:22:08 +00:00
..
ClockFaceView.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
GMSampleView.h Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows. 2011-12-09 19:50:48 +00:00
OverView.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
Sample2PtRadial.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAAClip.cpp now we trim the aaclip after building it, to ensure that it has tight bounds 2011-10-27 16:58:46 +00:00
SampleAARectModes.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleAARects.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAll.cpp Register some flattenable factories. 2012-06-25 20:32:12 +00:00
SampleAnimatedGradient.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleAnimator.cpp Bug fixes: 2011-10-10 16:38:58 +00:00
SampleAnimBlur.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleApp.cpp Add a tiled pipe mode to SampleApp. 2012-06-08 15:35:03 +00:00
SampleApp.h Add a tiled pipe mode to SampleApp. 2012-06-08 15:35:03 +00:00
SampleArc.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleAvoid.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBigBlur.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBigGradient.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleBitmapRect.cpp reimage ninepatch-stretch with white bg (for easier printing) 2011-09-06 19:34:13 +00:00
SampleBlur.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleBox.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCamera.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCircle.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleClamp.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleClip.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
samplecode_files.mk Updates to the Android SampleApp 2011-06-13 16:58:40 +00:00
SampleCode.h remove SkInstCnt tracking of SkViewRegistry 2012-06-26 20:15:42 +00:00
SampleColorFilter.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleComplexClip.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleConcavePaths.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleCull.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDash.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDecode.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDegenerateTwoPtRadials.cpp Added GPU implementation of 2-point conical gradient. 2012-07-03 13:43:35 +00:00
SampleDither.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDitherBitmap.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDraw.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleDrawLooper.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleEffects.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleEmboss.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleEmptyPath.cpp Fixed signed/unsigned comparison warnings in empty path gm/sample 2011-10-10 14:03:33 +00:00
SampleEncode.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFillType.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFilter2.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFilter.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFontCache.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleFontScalerTest.cpp Fixed minor Release & fixed point compiler warnings on Linux 2012-04-25 16:54:51 +00:00
SampleFuzz.cpp Fixes for Windows Release compiler complaints (overflow in const arith) 2012-05-14 17:51:23 +00:00
SampleGradients.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleHairCurves.cpp Revert accidental change to sample code 2011-09-07 18:44:17 +00:00
SampleHairline.cpp one more warning suppressed (make unused code 2012-06-06 12:13:40 +00:00
SampleHairModes.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleImage.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleImageDir.cpp Fix some warnings on VS2010 2011-10-24 21:09:40 +00:00
SampleLayerMask.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLayers.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLCD.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleLineClipper.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleLines.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleMeasure.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleMipMap.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SampleMovie.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleNinePatch.cpp use drawBitmapNine instead of SkNinePatch utils 2011-09-07 12:27:43 +00:00
SampleOvalTest.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleOverflow.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SamplePageFlip.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SamplePatch.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SamplePath.cpp don't draw in constructor (makes debugging harder) 2012-03-12 21:14:09 +00:00
SamplePathClip.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SamplePathEffects.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePathFill.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePictFile.cpp --pictureDir foo will load serialized pictures <>.skp from the foo directory 2012-06-04 12:05:43 +00:00
SamplePicture.cpp Addressed more Windows compiler complaint issues 2012-04-16 15:50:18 +00:00
SamplePoints.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SamplePolyToPoly.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
SampleRegion.cpp Rename the existing flatten(void*) methods. 2012-06-08 18:30:46 +00:00
SampleRepeatTile.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleShaders.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleShaderText.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleShapes.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleSkLayer.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleSlides.cpp Add an SK_PRINTF_LIKE macro, which declares a function to have printf-like 2012-07-09 18:22:08 +00:00
SampleSpiral.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokePath.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokeRect.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleStrokeText.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleTests.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleText.cpp Fix type errors and a few warnings for Visual Studio 2010 64-bit build. 2012-05-17 15:38:00 +00:00
SampleTextAlpha.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
SampleTextBox.cpp splitscreen for black and white versions 2011-09-28 15:24:00 +00:00
SampleTextEffects.cpp Change patheffect to take a (new) StrokeRec object, which encapsulates the fill 2012-05-25 01:04:12 +00:00
SampleTextOnPath.cpp Fixed some fixed point build Windows compiler complaints 2012-05-08 13:15:37 +00:00
SampleTextureDomain.cpp Fixing the ignore transform flag in Ganesh with mask filter and drawBitmap 2011-07-28 20:10:09 +00:00
SampleTiling.cpp SampleApp: fixing bad ref counting on non dynamically allocated object 2011-09-13 18:15:52 +00:00
SampleTinyBitmap.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTriangles.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleTypeface.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleUnitMapper.cpp Fixed Linux compiler complaints 2012-06-04 13:22:14 +00:00
SampleVertices.cpp use drawBitmapNine instead of SkNinePatch utils 2011-09-07 12:27:43 +00:00
SampleWarp.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleWritePixels.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
SampleXfermodes.cpp add init() method, so we don't draw in our constructor (makes debugging harder) 2012-03-12 21:13:48 +00:00
SampleXfermodesBlur.cpp fix warnings on Mac in ssamplecode 2012-06-06 12:09:51 +00:00
TransitionView.cpp Add a tiled pipe mode to SampleApp. 2012-06-08 15:35:03 +00:00
vertexdump.cpp Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00