skia2/samplecode
junov@google.com d935cfbd79 Adding support for shadows when drawing bitmaps with skia gpu device
Added code to handle this case in SkGpuDevice::drawBitmap
Added test to cover this use case in SampleTextureDomain.cpp

BUG=http://code.google.com/p/chromium/issues/detail?id=83440
REVIEW=http://codereview.appspot.com/4530068/



git-svn-id: http://skia.googlecode.com/svn/trunk@1730 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 20:48:23 +00:00
..
ClockFaceView.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
OverView.cpp add onSendClickToChildren to views, so a view can capture all clicks. 2009-11-16 14:52:01 +00:00
SampleAARects.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleAll.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleAnimatedGradient.cpp Added 3 new sample tests. http://codereview.appspot.com/4527092/ 2011-06-01 16:11:58 +00:00
SampleAnimator.cpp updates 2010-05-17 14:50:04 +00:00
SampleApp.cpp Modified the iOS pdf data code to use steam.copytoData() 2011-06-24 21:09:39 +00:00
SampleApp.h Added helper methods for changing samples, getting sample titles, and extracting pdf Data 2011-06-24 16:04:50 +00:00
SampleArc.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleAvoid.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleBigGradient.cpp remove some dead code in pipes 2011-05-11 05:58:58 +00:00
SampleBitmapRect.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleBlur.cpp fix warnings 2011-04-14 17:53:24 +00:00
SampleBox.cpp Added 3 new sample tests. http://codereview.appspot.com/4527092/ 2011-06-01 16:11:58 +00:00
SampleCamera.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleCircle.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleClamp.cpp new samples 2011-05-04 14:34:56 +00:00
samplecode_files.mk Updates to the Android SampleApp 2011-06-13 16:58:40 +00:00
SampleCode.h add 'p' to toggle on/off testing the pipe 2011-05-12 22:08:24 +00:00
SampleColorFilter.cpp checkpoint for 8->5 bit reduction 2011-05-18 13:07:22 +00:00
SampleComplexClip.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleConcavePaths.cpp Implement edge AA for concave polys in the tesselated path renderer. 2011-06-15 17:52:09 +00:00
SampleCull.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleDash.cpp new samples 2011-05-04 14:34:56 +00:00
SampleDecode.cpp Fix crash when codec not found for SampleDecode 2011-04-01 18:43:22 +00:00
SampleDither.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleDitherBitmap.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleDraw.cpp fix memory leaks 2011-05-31 15:35:54 +00:00
SampleDrawLooper.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleEffects.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleEmboss.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleEncode.cpp remove some dead code in pipes 2011-05-11 05:58:58 +00:00
SampleExtractAlpha.cpp remove some dead code in pipes 2011-05-11 05:58:58 +00:00
SampleFillType.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleFilter2.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleFilter.cpp add 'p' to toggle on/off testing the pipe 2011-05-12 22:08:24 +00:00
SampleFontCache.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleFontScalerTest.cpp add typefacecache 2011-05-02 17:33:45 +00:00
SampleFuzz.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleGM.cpp fix memory leaks 2011-05-31 15:35:54 +00:00
SampleGradients.cpp migrate some samples over to SampleView, for FPS measurements 2011-04-22 14:10:48 +00:00
SampleHairline.cpp Grab-bag of memory fixes. SkFlatMatrix::Flatten had the same issue as 2011-05-24 20:25:32 +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 switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleLayers.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +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
SampleLineClipper.cpp inherit from SampleView 2011-06-18 01:35:18 +00:00
SampleLines.cpp update to SampleView 2011-05-05 14:03:48 +00:00
SampleMeasure.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleMipMap.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleMovie.cpp remove SkRefCnt safeRef() and safeUnref(), and replace the call-sites with 2011-02-07 15:30:46 +00:00
SampleNinePatch.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleOvalTest.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleOverflow.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SamplePageFlip.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SamplePatch.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SamplePath.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SamplePathClip.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SamplePathEffects.cpp inherit from SampleView 2011-06-01 11:59:08 +00:00
SamplePathFill.cpp inherit from SampleView 2011-05-25 20:13:06 +00:00
SamplePicture.cpp remove drawShape from canvas api 2011-06-27 14:42:15 +00:00
SamplePoints.cpp migrate some samples over to SampleView, for FPS measurements 2011-04-22 14:10:48 +00:00
SamplePolyToPoly.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleRegion.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleRepeatTile.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleShaders.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleShaderText.cpp Update baselines for linux-fixed. Make shader text sample/GM work with scalar=fixed. 2011-06-14 17:13:22 +00:00
SampleShapes.cpp remove drawShape from canvas api 2011-06-27 14:42:15 +00:00
SampleSkLayer.cpp updates 2010-04-22 16:07:49 +00:00
SampleSlides.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleSpiral.cpp Added 3 new sample tests. http://codereview.appspot.com/4527092/ 2011-06-01 16:11:58 +00:00
SampleStrokePath.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleStrokeRect.cpp add 2011-05-25 20:13:50 +00:00
SampleStrokeText.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleTests.cpp update to SampleView 2011-06-01 12:42:36 +00:00
SampleText.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleTextAlpha.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleTextBox.cpp add debugging test for building SkDescriptor 2011-05-04 14:31:07 +00:00
SampleTextEffects.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleTextOnPath.cpp migrate some samples over to SampleView, for FPS measurements 2011-04-22 14:10:48 +00:00
SampleTextureDomain.cpp Adding support for shadows when drawing bitmaps with skia gpu device 2011-06-27 20:48:23 +00:00
SampleTiling.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleTinyBitmap.cpp add debugging test for building SkDescriptor 2011-05-04 14:31:07 +00:00
SampleTriangles.cpp fix dumpcanvas to recurse on pictures and shapes 2009-06-05 12:24:41 +00:00
SampleTypeface.cpp add typefacecache 2011-05-02 17:33:45 +00:00
SampleUnitMapper.cpp switch to inheriting from SampleView 2011-05-05 01:59:48 +00:00
SampleVertices.cpp The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on 2011-05-19 19:58:58 +00:00
SampleWarp.cpp updates 2010-04-22 16:07:49 +00:00
SampleXfermodes.cpp add 'f' toggle to trigger timer for sample. Must subclass SampleView instead 2011-04-22 01:59:09 +00:00
SampleXfermodesBlur.cpp Add dual source blending support for proper blending with coverage. 2011-05-20 14:13:56 +00:00
vertexdump.cpp grab from latest android 2008-12-17 15:59:43 +00:00