skia2/samplecode
reed@android.com c07d23a6e2 Chop quads exactly on the clip bounds, so we don't spend CPU cycles walking them
when we're above or below the clip.

Still to do:
- chop in X to avoid 16.16. overflow in the edgelist
- apply the same logic for cubics (tho much harder math)



git-svn-id: http://skia.googlecode.com/svn/trunk@88 2bbb7eff-a529-9590-31e7-b0007b416f81
2009-02-06 13:30:58 +00:00
..
SampleAll.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleApp.cpp separate image encode and decode 2009-01-06 20:16:26 +00:00
SampleArc.cpp add sampeapp proj 2008-12-19 19:15:15 +00:00
SampleBitmapRect.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleCamera.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleCircle.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleCode.h grab from latest android 2008-12-17 15:59:43 +00:00
SampleCull.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleDither.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleDrawLooper.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleEmboss.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleEncode.cpp separate image encode and decode 2009-01-06 20:16:26 +00:00
SampleFillType.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleFilter2.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +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
SampleGL.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleImage.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleImageDir.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +00:00
SampleLayers.cpp add CG imagedecoder (still needs encoding) 2008-12-23 16:06:51 +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
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 grab from latest android 2008-12-17 15:59:43 +00:00
SamplePatch.cpp first cut at event-based test app 2008-12-19 18:24:35 +00:00
SamplePath.cpp first cut at event-based test app 2008-12-19 18:24:35 +00:00
SamplePathClip.cpp Chop quads exactly on the clip bounds, so we don't spend CPU cycles walking them 2009-02-06 13:30:58 +00:00
SamplePathEffects.cpp first cut at event-based test app 2008-12-19 18:24:35 +00:00
SamplePicture.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SamplePoints.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SamplePolyToPoly.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleRegion.cpp separate image encode and decode 2009-01-06 20:16:26 +00:00
SampleShaders.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleStrokeText.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTests.cpp grab from latest android 2008-12-17 15:59:43 +00:00
SampleText.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTextAlpha.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTextEffects.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTextOnPath.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTiling.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleTypeface.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleVertices.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
SampleXfermodes.cpp update more sample code to new compose shader header 2008-12-23 18:37:08 +00:00
vertexdump.cpp grab from latest android 2008-12-17 15:59:43 +00:00