skia2/tests
Leon Scroggins III 4993b95f53 Do not create SkGifCodec if true size is not known
If there is enough data in the stream to read the reported canvas size,
but not enough to read the first image's header, we do not know the
true canvas size, since we may expand it to fit the first frame. In
that case, return nullptr from NewFromStream.

Add a test.

SkGifCodec.cpp:
Correct a comment - parse returns false if there is a fatal error.
parse() returning true does not guarantee that the size was found.
Instead of checking the width and height, check to see whether the
first frame exists and has its header defined. If not, we do not yet
know the true canvas size. Assert that the canvas size is non-zero,
which is a fatal error from parse.

SkGifImageReader.cpp:
Move the code to set the header defined before the SkGIFSizeQuery exit
condition. This allows SkGifCodec to check the first frame's header to
determine whether the size is known.

GifTest.cpp:
Add a test which truncates the file just before the image header (and
after the global header). Prior to the other changes, this would create
an SkCodec. For an image that needs its canvas size expanded, the
SkCodec would have an incorrect size.

CodecPartialTest.cpp:
randPixels.gif now needs more than half of its data to create an
SkCodec, so set a minimum for test_partial.

Change-Id: I40482f524128b2f1fe59b8f27dd64c7cbe793079
Reviewed-on: https://skia-review.googlesource.com/5701
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2016-12-09 15:04:06 +00:00
..
AAClipTest.cpp Move clip CTM application to SkRasterClip and SkClipStack 2016-10-03 19:32:07 +00:00
AnnotationTest.cpp document.close from bool to void 2016-09-22 14:12:47 -07:00
ApplyGammaTest.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
AsADashTest.cpp Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
BadIcoTest.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
BitmapCopyTest.cpp don't support converting from alpha to non-alpha 2016-11-29 12:58:26 +00:00
BitmapGetColorTest.cpp
BitmapTest.cpp fix build. tests/BitmapTest w/ nogpu 2016-12-07 21:22:15 +00:00
BitSetTest.cpp src/utils/SkBitSet: simplify 2016-08-19 16:23:23 -07:00
BlendTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
BlitMaskClip.cpp Make SkBlitter hierarchy explicit about what needs to be implemented. 2016-06-10 13:01:27 -07:00
BlitRowTest.cpp SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
BlurTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
CachedDataTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
CachedDecodingPixelRefTest.cpp remove discardablepixelref 2016-10-25 14:19:07 +00:00
CanvasStateHelpers.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
CanvasStateHelpers.h
CanvasStateTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
CanvasTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
ChecksumTest.cpp add missing include 2016-08-08 12:54:08 -07:00
ClampRangeTest.cpp Fix code that left shifts a negative value. This has undefined behavior. 2015-11-11 08:46:34 -08:00
ClearTest.cpp Add explicit UniqueID classes for GrGpuResource & GrSurfaceProxy 2016-11-11 18:24:56 +00:00
ClipBoundsTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
ClipCubicTest.cpp
ClipperTest.cpp
ClipStackTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
CodecAnimTest.cpp Report repetition count in SkCodec 2016-11-01 08:28:28 -07:00
CodecPartialTest.cpp Do not create SkGifCodec if true size is not known 2016-12-09 15:04:06 +00:00
CodecPriv.h tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
CodecTest.cpp Divide up CodecTest 2016-12-06 16:57:40 +00:00
ColorFilterTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
ColorMatrixTest.cpp Reland of [2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (patchset #1 id:1 of https://codereview.chromium.org/1821103004/ ) 2016-03-22 10:17:23 -07:00
ColorPrivTest.cpp
ColorSpaceTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
ColorSpaceXformTest.cpp Added CMYK support for ICC profiles. 2016-12-01 19:42:32 +00:00
ColorTest.cpp
CopySurfaceTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
CPlusPlusEleven.cpp SkPDF: Glyph validation change 2016-08-26 13:17:44 -07:00
CTest.cpp
DashPathEffectTest.cpp limit the number of points in SkDashPathEffect::asPoints 2016-07-21 09:37:59 -07:00
DataRefTest.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
DequeTest.cpp
DeviceLooperTest.cpp Add SkSpecialImage::extractSubset & NewFromPixmap 2016-03-17 06:58:39 -07:00
DeviceTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DFPathRendererTest.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
DiscardableMemoryPoolTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DiscardableMemoryTest.cpp Tests: DiscardableMemory test no longer relies on global state 2016-09-08 08:58:37 -07:00
DrawBitmapRectTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DrawFilterTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DrawPathTest.cpp abstract name of clipping ops, to transtion to a more restricted set 2016-09-20 08:42:39 -07:00
DrawTextTest.cpp Simplify mask/clip intersection, making sure to explicitly check for an empty mask. 2016-06-19 05:28:33 -07:00
DynamicHashTest.cpp
EGLImageTest.cpp Rename vars and functions from 'glslcaps'->'shadercaps' 2016-11-29 20:17:48 +00:00
EmptyPathTest.cpp
ExifTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
FillPathTest.cpp Make SkBlitter hierarchy explicit about what needs to be implemented. 2016-06-10 13:01:27 -07:00
FitsInTest.cpp
FixedAllocTest.cpp Revert "While we can, restrict SkFixedAlloc/SkFallbackAlloc to POD." 2016-11-15 18:01:21 +00:00
FlattenableCustomFactory.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
FlattenableFactoryToName.cpp Split AlphaThresholdEffect out into its own file 2016-04-18 07:20:05 -07:00
FlattenDrawableTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
Float16Test.cpp Include what you use with signbit. 2016-11-09 20:29:45 +00:00
FloatingPointTextureTest.cpp Always use GL_HALF_FLOAT_OES on ANGLE, even with ES3. 2016-11-17 19:25:37 +00:00
FontHostStreamTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
FontHostTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
FontMgrAndroidParserTest.cpp Reverse dependency between SkScalar.h and SkFixed.h. 2016-04-07 08:49:31 -07:00
FontMgrTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
FontNamesTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
FontObjTest.cpp SkTypeface::MakeFromName to take SkFontStyle. 2016-05-31 11:42:37 -07:00
FrontBufferedStreamTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
GeometryTest.cpp Fix ASAN bot 2016-07-13 13:08:44 -07:00
GifTest.cpp Do not create SkGifCodec if true size is not known 2016-12-09 15:04:06 +00:00
GLProgramsTest.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
GpuColorFilterTest.cpp remove xfermode from public api 2016-10-28 20:06:17 +00:00
GpuDrawPathTest.cpp Don't compute path keys for volatile paths in GrShape. 2016-09-23 12:09:16 -07:00
GpuLayerCacheTest.cpp Add discard support to Vulkan 2016-06-30 08:23:30 -07:00
GpuRectanizerTest.cpp
GpuSampleLocationsTest.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
GradientTest.cpp LinearGradientContext::shade4_clamp: fix div by 0 2016-11-16 00:03:26 +00:00
GrAllocatorTest.cpp
GrContextAbandonTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
GrContextFactoryTest.cpp Add ContextOptions field to SkCommandLineConfigGpu 2016-09-13 10:41:50 -07:00
GrDrawTargetTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
GrGetCoeffBlendKnownComponentsTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
GrGLSLPrettyPrintTest.cpp
GrMemoryPoolTest.cpp Make GrMemoryPool play nice with bucketing allocators. 2016-11-29 06:50:35 -08:00
GrPorterDuffTest.cpp Rename GrVertexBatch->GrMeshDrawOp 2016-12-01 22:46:23 +00:00
GrShapeTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
GrSurfaceTest.cpp Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
GrTextureMipMapInvalidationTest.cpp Rewrite GrTextureMipMapInvalidationTest using SkImage 2016-07-14 09:24:08 -07:00
GrTextureStripAtlasTest.cpp Fix leak in GrTextureStripAtlasTest 2016-08-24 12:09:12 -07:00
GrTRecorderTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
HashTest.cpp SkTHash: hash from fnptr to functor type 2015-10-15 12:23:02 -07:00
image-bitmap.cpp images with offset bitmap don't share genid 2016-03-24 09:18:14 -07:00
ImageCacheTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
ImageFilterCacheTest.cpp Support decoding images to multiple formats, depending on usage 2016-11-21 14:58:32 +00:00
ImageFilterTest.cpp Set analytic AA as default. 2016-11-14 11:17:16 -08:00
ImageFrom565Bitmap.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
ImageGeneratorTest.cpp Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
ImageIsOpaqueTest.cpp add isAlphaOnly() query 2016-10-31 05:27:28 -07:00
ImageNewShaderTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
ImageStorageTest.cpp Remove caps image storage caps hack. 2016-11-29 21:17:42 +00:00
ImageTest.cpp use raster-pipeline in readPixels 2016-11-28 23:01:45 +00:00
IndexedPngOverflowTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
InfRectTest.cpp
InterpolatorTest.cpp test & doc for SkUnitCubicInterp 2016-01-07 11:33:15 -08:00
IntTextureTest.cpp Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
InvalidIndexedPngTest.cpp Fix bug in SkGifCodec / Switch SkImageDec tests to use Codec 2016-03-01 12:12:27 -08:00
IsClosedSingleContourTest.cpp Fix for GrAALinearizingConvexPathRenderer incorrectly drawing non-convex paths 2015-12-15 11:01:12 -08:00
LayerDrawLooperTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
LayerRasterizerTest.cpp Remove stray semicolons. 2016-09-27 14:04:26 +00:00
LListTest.cpp Make block size a template parameter of SkTLList 2015-11-18 19:01:12 -08:00
MallocPixelRefTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
MaskCacheTest.cpp
MathTest.cpp Add test for QuickFDot6Div 2016-11-18 17:16:49 +00:00
Matrix44Test.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
MatrixClipCollapseTest.cpp
MatrixTest.cpp s/invertable/invertible 2016-08-24 12:01:31 -07:00
MD5Test.cpp SkMD5: .update() -> .write() 2016-04-25 10:29:36 -07:00
MemoryTest.cpp
MemsetTest.cpp MIPS32r2: Fix Chromium runtime crash 2016-06-05 13:14:21 -07:00
MessageBusTest.cpp
MetaDataTest.cpp
MipMapTest.cpp Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
OnceTest.cpp Modernize and trim down SkOnce. 2016-04-18 08:09:11 -07:00
OSPathTest.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
OverAlignedTest.cpp OverAlignedTest: use sk_ malloc and free. 2016-09-27 16:12:13 +00:00
PackBitsTest.cpp
PackedConfigsTextureTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
PaintBreakTextTest.cpp Cleanups related to SkFixed. 2016-02-25 10:28:11 -08:00
PaintImageFilterTest.cpp Switch SkLocalMatrixImageFilter and SkPaintImageFilter over to sk_sp 2016-03-30 07:32:28 -07:00
PaintTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
ParsePathTest.cpp Improved optional command handling in SkParsePath::FromSVGString() 2016-09-14 10:14:08 -07:00
PathCoverageTest.cpp SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00
PathMeasureTest.cpp fix circular dashing 2016-01-19 08:07:50 -08:00
PathOpsAngleIdeas.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathOpsAngleTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsBattles.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsBoundsTest.cpp
PathOpsBuilderConicTest.cpp formalize host debugging 2016-10-24 05:10:14 -07:00
PathOpsBuilderTest.cpp fix builder fuzz 2016-07-21 08:53:32 -07:00
PathOpsBuildUseTest.cpp
PathOpsChalkboardTest.cpp Fix ASAN bot. 2016-10-18 16:34:27 +00:00
PathOpsConicIntersectionTest.cpp SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
PathOpsConicLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsConicQuadIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicConicIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicIntersectionTest.cpp simplify bug 2016-12-08 20:29:37 +00:00
PathOpsCubicIntersectionTestData.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicIntersectionTestData.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicLineIntersectionIdeas.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicQuadIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsCubicReduceOrderTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDCubicTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDebug.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
PathOpsExtendedTest.h formalize host debugging 2016-10-24 05:10:14 -07:00
PathOpsFuzz763Test.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp formalize host debugging 2016-10-24 05:10:14 -07:00
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsOpCircleThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsOpCubicThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsOpLoopThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsOpRectThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsOpTest.cpp simplify bug 2016-12-08 20:29:37 +00:00
PathOpsQuadIntersectionTest.cpp nc seal breaks simplify 2016-10-24 08:19:07 -07:00
PathOpsQuadIntersectionTestData.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadIntersectionTestData.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadLineIntersectionTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadLineIntersectionThreadedTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsQuadReduceOrderTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsSimplifyDegenerateThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsSimplifyFailTest.cpp fix more fuzz, carsvg 2016-10-20 12:36:16 -07:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsSimplifyQuadThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsSimplifyRectThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsSimplifyTest.cpp simplify bug 2016-12-08 20:29:37 +00:00
PathOpsSimplifyTrianglesThreadedTest.cpp remove sprintf 2016-10-06 11:46:25 -07:00
PathOpsSkpClipTest.cpp SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
PathOpsSkpTest.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathOpsTestCommon.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PathOpsTestCommon.h fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsThreadedCommon.cpp clean up more dead code 2016-02-16 19:06:15 -08:00
PathOpsThreadedCommon.h clean up more dead code 2016-02-16 19:06:15 -08:00
PathOpsThreeWayTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsTigerTest.cpp add tiger tests 2016-09-26 10:25:26 -07:00
PathOpsTightBoundsTest.cpp tight bounds optimization 2016-10-05 13:23:00 -07:00
PathOpsTSectDebug.h fix tiger b 2016-09-26 05:36:58 -07:00
PathOpsTypesTest.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathTest.cpp Add the missing shift to the dy 2016-11-29 20:37:40 +00:00
PDFDeflateWStreamTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
PDFDocumentTest.cpp SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
PDFGlyphsToUnicodeTest.cpp change SkStreams to work with sk_sp<SkData> instead of SkData* 2016-09-12 12:01:44 -07:00
PDFInvalidBitmapTest.cpp SkPDF/Tests: imporve test coverage. 2016-09-09 11:41:59 -07:00
PDFJpegEmbedTest.cpp remove discardablepixelref 2016-10-25 14:19:07 +00:00
PDFMetadataAttributeTest.cpp change SkStreams to work with sk_sp<SkData> instead of SkData* 2016-09-12 12:01:44 -07:00
PDFOpaqueSrcModeToSrcOverTest.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
PDFPrimitivesTest.cpp hide setImageFilter(ptr) 2016-11-01 16:05:41 +00:00
PictureBBHTest.cpp abstract name of clipping ops, to transtion to a more restricted set 2016-09-20 08:42:39 -07:00
PictureShaderTest.cpp return pictures as sk_sp 2016-03-18 07:25:55 -07:00
PictureTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
PipeTest.cpp Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
PixelRefTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
Point3Test.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PointTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
PremulAlphaRoundTripTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
PrimitiveProcessorTest.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
ProxyConversionTest.cpp Consolidate GrSurfaceProxy Make methods 2016-11-09 12:20:50 +00:00
ProxyRefTest.cpp Defer more renderTargetContexts in the GPU image filter paths - take 2 2016-11-21 11:05:03 -08:00
ProxyTest.cpp Fix computation of texture size for approximately-fit deferred proxies 2016-11-17 20:47:18 +00:00
QuickRejectTest.cpp Remove stray semicolons. 2016-09-27 14:04:26 +00:00
RandomTest.cpp ubsan shift fixes 2015-12-09 12:02:30 -08:00
Reader32Test.cpp
ReadPixelsTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
ReadWriteAlphaTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
RecordDrawTest.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
RecorderTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
RecordingXfermodeTest.cpp make SkXfermode.h go away 2016-11-16 15:38:11 +00:00
RecordOptsTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
RecordPatternTest.cpp Modernize SkRecordPattern.h 2015-11-19 08:53:27 -08:00
RecordTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RecordTestUtils.h SkRecord: infer return type for visit() and mutate(). 2016-03-22 11:46:53 -07:00
RectangleTextureTest.cpp Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
RectTest.cpp Revert of try to speed-up maprect + round2i + contains (patchset #8 id:140001 of https://codereview.chromium.org/2133413002/ ) 2016-07-11 14:57:26 -07:00
RefCntTest.cpp Remove stray semicolons. 2016-09-27 14:04:26 +00:00
RefDictTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RegionTest.cpp
RenderTargetContextTest.cpp Revert "Revert "Add GrRenderTargetContext instantiate & asTextureProxy"" 2016-11-08 13:49:49 +00:00
ResourceCacheTest.cpp Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
RoundRectTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RRectInPathTest.cpp Make SkPath::isOval() and SkPath::isRRect return the orientation and starting index. 2016-05-27 09:17:04 -07:00
RTreeTest.cpp
ScalarTest.cpp
ScaleToSidesTest.cpp Fix asserts found in SampleApp and update the tests with additional interesting numbers. 2016-02-19 16:54:12 -08:00
SerializationTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
ShaderOpacityTest.cpp Reland of "more shader-->sp conversions (patchset #5 id:80001 of https://codereview.chromium.org/1789633002/ )" 2016-03-13 14:13:58 -07:00
ShaderTest.cpp isABitmap is deprecated, use isAImage 2016-09-28 21:42:04 +00:00
SizeTest.cpp
Sk4x4fTest.cpp Sk4x4f 2016-03-22 17:17:44 -07:00
SkBase64Test.cpp
SkBlend_optsTest.cpp Support decoding images to multiple formats, depending on usage 2016-11-21 14:58:32 +00:00
skbug5221.cpp Reduce usage of MakeRenderTargetDirect 2016-07-26 11:38:17 -07:00
SkColor4fTest.cpp make SkXfermode.h go away 2016-11-16 15:38:11 +00:00
SkDOMTest.cpp [SkXMLParser] Initial text node support 2016-07-18 14:47:30 -07:00
SkFixed15Test.cpp SkFixed15 2016-10-31 13:41:39 +00:00
skia_test.cpp fuzz hang fix and pathops client debugging 2016-11-15 19:03:36 +00:00
SkImageTest.cpp update callsites for Make image factories 2016-03-17 10:51:11 -07:00
SkLinearBitmapPipelineTest.cpp centralize VECTORCALL as SK_VECTORCALL 2016-07-07 08:12:09 -07:00
SkLiteDLTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
SkNxTest.cpp Make load4 and store4 part of SkNx properly. 2016-10-06 17:13:59 +00:00
SkPEGTest.cpp Reland: Experimental parsing expression grammar (PEG) template library 2016-08-25 08:44:35 -07:00
SkpSkGrTest.cpp SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
SkRasterPipelineTest.cpp Bring back SkRasterPipeline::run() for one-off uses. 2016-11-30 20:16:49 +00:00
SkResourceCacheTest.cpp Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
SkSharedMutexTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SkSLErrorTest.cpp added support for layout(offset=...) to skslc 2016-11-28 22:38:47 +00:00
SkSLGLSLTest.cpp Rename SkSL::GLSLCapsFactory to SkSL::ShaderCapsFactory 2016-11-29 21:12:45 +00:00
SkSLMemoryLayoutTest.cpp added support for layout(offset=...) to skslc 2016-11-28 22:38:47 +00:00
SmallAllocatorTest.cpp Make SkSmallAllocator obey the RAII invariants and move to heap structures when needed. 2016-11-15 06:26:56 -08:00
SortTest.cpp
SpecialImageTest.cpp Support decoding images to multiple formats, depending on usage 2016-11-21 14:58:32 +00:00
SpecialSurfaceTest.cpp Remove many uses of kSkia8888 and kSkiaGamma8888 2016-10-14 14:34:28 +00:00
SrcOverTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SRGBMipMapTest.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
SRGBReadWritePixelsTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
SRGBTest.cpp Test sk_linear_to_srgb() less exhaustively in Debug mode. 2016-08-08 05:52:55 -07:00
StreamTest.cpp Move SkOSPath out of include/core. 2016-11-08 20:20:15 +00:00
StringTest.cpp SkStringPrintf and SkString::printf now are no longer limted by a static buffer 2016-04-25 09:25:35 -07:00
StrokerTest.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
StrokeTest.cpp
SubsetPath.cpp SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00
SubsetPath.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SurfaceTest.cpp Delete unnecessary SkSurface_Base API 2016-11-29 18:53:54 +00:00
SVGDeviceTest.cpp Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
SwizzlerTest.cpp Remove SkAutoTDeleteArray 2016-11-02 21:30:38 +00:00
TArrayTest.cpp SkTArray movable and swap for move only elements. 2016-04-20 10:22:20 -07:00
TDPQueueTest.cpp
TemplatesTest.cpp Make container classes in SkTemplates.h more consistent 2016-06-23 12:55:14 -07:00
TessellatingPathRendererTests.cpp Revert "Remove antialiasing control from GrPaint." 2016-12-08 17:11:46 +00:00
Test.cpp remove SkError 2016-10-13 19:55:43 +00:00
Test.h Add a context stack to Reporter, for better error messages 2016-12-05 18:30:46 +00:00
TestConfigParsing.cpp Rename all color space factories from New* to Make* 2016-10-24 14:02:27 +00:00
TestTest.cpp Enable many more tests for Vulkan 2016-06-28 08:07:26 -07:00
TextBlobCacheTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
TextBlobTest.cpp Use sk_sp text blob APIs 2016-09-13 10:00:23 -07:00
TextureCompressionTest.cpp Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
Time.cpp Unit Tests: eliminate stray SkDebugf()s. 2016-02-24 17:59:16 -08:00
TLSTest.cpp Convert SkRefCnt to std::atomic. 2016-04-08 06:58:52 -07:00
TopoSortTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
TraceMemoryDumpTest.cpp Add support for light dumps in SkTraceMemoryDump interface. 2015-09-30 04:31:23 -07:00
TracingTest.cpp
TypefaceTest.cpp Remove stray semicolons. 2016-09-27 14:04:26 +00:00
UnicodeTest.cpp
UtilsTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
VarAllocTest.cpp Have SkVarAlloc::alloc() use sk_malloc_throw. 2015-09-14 11:11:17 -07:00
VkClearTests.cpp Start using GrGpuCommandBuffer in GrDrawTarget. 2016-06-23 08:37:06 -07:00
VkHeapTests.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
VkUploadPixelsTests.cpp Fix copying of data in vulkan testing texture 2016-08-15 08:06:29 -07:00
VkWrapTests.cpp Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
WindowRectanglesTest.cpp Improve usage of window rectangles 2016-09-06 10:01:07 -07:00
WritePixelsTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
Writer32Test.cpp Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
YUVCacheTest.cpp Update Skia's YUV API 2016-03-10 05:44:43 -08:00
YUVTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00