skia2/tests
Leon Scroggins III 588fb040b3 Report error on failure to create SkCodec
Update NewFromStream to report an error on failure to create an
SkCodec, so that a client can distinguish between
- not enough data
- invalid data

In Chromium, this will allow blink::ImageDecoder to call SetFailed if
the stream is invalid early and we never create an SkCodec. Without
this, ImageDecoder will keep trying to create an SkCodec when it
receives more data.

Change-Id: I4f505c56d91c982be36a828fd0f7db17b1596588
Reviewed-on: https://skia-review.googlesource.com/22642
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Chris Blume <cblume@chromium.org>
2017-07-14 21:14: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 Plumb through need for unpremul/premul 2017-07-07 13:19:57 +00:00
ArenaAllocTest.cpp SkSTArenaAlloc 2017-05-24 19:20:45 +00: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 Defend against ICOs with large BMPs embedded 2017-06-05 18:28:19 +00:00
BitmapCopyTest.cpp remove references to kIndex_8_SkColorType from our tools/tests 2017-07-12 20:25:44 +00:00
BitmapGetColorTest.cpp
BitmapTest.cpp Revert "Revert "Delete copyTo(Allocator), hide copyTo() behind flag"" 2017-04-28 15:49:04 +00:00
BitSetTest.cpp src/utils/SkBitSet: simplify 2016-08-19 16:23:23 -07:00
BlendTest.cpp Revert "Revert "Plumb GrBackendTexture throughout skia."" 2017-04-20 17:17:43 +00:00
BlitMaskClip.cpp Make SkBlitter hierarchy explicit about what needs to be implemented. 2016-06-10 13:01:27 -07:00
BlurTest.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
CachedDataTest.cpp SkDiscardableMemoryPool: modernize 2017-04-25 13:12:54 +00:00
CachedDecodingPixelRefTest.cpp raster pipeline sprite blitter 2017-06-01 15:02:08 +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 "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
CanvasTest.cpp add flag to hide deprecated clipops 2017-05-10 18:56:14 +00:00
ChecksumTest.cpp add missing include 2016-08-08 12:54:08 -07:00
ClampRangeTest.cpp
ClearTest.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
ClipBoundsTest.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
ClipCubicTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
ClipperTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
ClipStackTest.cpp Use RGBA rather than N32 for GPU tests 2017-07-05 21:27:15 +00:00
CodecAnimTest.cpp Reland "Remove support for decoding to kIndex_8" 2017-07-11 18:00:31 +00:00
CodecExactReadTest.cpp Improve the Codec_end test and add fixes 2017-04-25 11:45:15 +00:00
CodecPartialTest.cpp Report error on failure to create SkCodec 2017-07-14 21:14:06 +00:00
CodecPriv.h Reland "Remove support for decoding to kIndex_8" 2017-07-11 18:00:31 +00:00
CodecTest.cpp Fix double delete in SkBmpCodec 2017-07-14 16:25:54 +00:00
ColorFilterTest.cpp remove filterSpan from SkColorFilter 2017-06-29 16:09:37 +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 Avoid interpolating color lut with less than 2 points 2017-05-05 15:18:03 +00:00
ColorSpaceXformTest.cpp jumper, parametric_{r,g,b,a} 2017-04-19 17:43:58 +00:00
ColorTest.cpp
CopySurfaceTest.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +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 Add smartptr SkRWBuffer snapshot methods 2017-06-01 16:00:45 +00:00
DequeTest.cpp
DetermineDomainModeTest.cpp Re-enable deferred proxies in Chrome 2017-06-12 15:59:47 +00:00
DeviceLooperTest.cpp
DeviceTest.cpp Bring back SkImage::makeTextureImage 2017-02-07 16:58:07 +00:00
DFPathRendererTest.cpp Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer 2017-03-16 13:22:31 +00:00
DiscardableMemoryPoolTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
DiscardableMemoryTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
DrawBitmapRectTest.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
DrawFilterTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
DrawPathTest.cpp deprecate odd variants of SkCanvas::readPixels 2017-04-17 15:22:42 +00:00
DrawTextTest.cpp Improve computeMatrices singular matrix handling. 2017-06-15 21:37:51 +00:00
DynamicHashTest.cpp
EGLImageTest.cpp Create a new HDC for each ANGLE context 2017-06-09 00:39:00 +00:00
EmptyPathTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
EncodeTest.cpp Add comments support for PNG encoder 2017-06-09 17:24:03 +00:00
ExifTest.cpp Remove SkAutoTDelete. 2016-11-03 19:03:40 +00:00
F16StagesTest.cpp update SkRasterPipeline::run() to also take y 2017-06-01 17:05:13 +00:00
FakeStreams.h GIF: Avoid copying/storing data when possible 2016-12-19 15:25:13 +00:00
FillPathTest.cpp Make SkBlitter hierarchy explicit about what needs to be implemented. 2016-06-10 13:01:27 -07:00
FitsInTest.cpp
FlattenableCustomFactory.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
FlattenableFactoryToName.cpp add helper makeShader for the common Clamp case 2017-04-28 15:36:14 +00:00
FlattenDrawableTest.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
Float16Test.cpp Include what you use with signbit. 2016-11-09 20:29:45 +00:00
FloatingPointTextureTest.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
FontHostStreamTest.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
FontHostTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
FontMgrAndroidParserTest.cpp Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +00:00
FontMgrTest.cpp Revert "Revert "SkTypeface::getAdvancedMetrics(): cleanup"" 2017-05-05 13:53:40 +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 SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
GeometryTest.cpp Fix SkClassifyCubic for near-quadratics 2017-07-14 20:34:34 +00:00
GifTest.cpp Reland "Remove support for decoding to kIndex_8" 2017-07-11 18:00:31 +00:00
GLProgramsTest.cpp Skip GLPrograms test on D3D9 ANGLE to avoid NaN literals bug 2017-07-10 17:27:29 +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 Introduce dynamic pipeline state 2017-06-07 18:26:11 +00:00
GradientTest.cpp Remove SkLinearGradient::kForce4fContext_PrivateFlag 2017-06-07 20:24:51 +00:00
GrAllocatorTest.cpp
GrContextAbandonTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
GrContextFactoryTest.cpp Add another null check for the Vk NexusPlayer bot 2017-02-28 15:51:37 +00:00
GrDrawTargetTest.cpp Turn ContextInfos returned by GrContextFactory into structs. 2016-05-11 06:33:06 -07:00
GrMemoryPoolTest.cpp Make GrMemoryPool play nice with bucketing allocators. 2016-11-29 06:50:35 -08:00
GrMeshTest.cpp Rename GrDrawOp::xpRequiresDstTexture to finalize and change return type to an enum 2017-06-16 14:24:34 +00:00
GrPipelineDynamicStateTest.cpp Rename GrDrawOp::xpRequiresDstTexture to finalize and change return type to an enum 2017-06-16 14:24:34 +00:00
GrPorterDuffTest.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
GrShapeTest.cpp Try out new refFoo pattern on GrStyle 2017-01-13 16:50:25 +00:00
GrSKSLPrettyPrintTest.cpp Attempt to work around iOS varying limit in GLPrograms test 2017-05-15 15:41:01 +00:00
GrSurfaceTest.cpp Move GrResourceProvider::createMipMappedTexture to GrSurfaceProxy::MakeDeferredMipMap 2017-07-11 13:23:41 +00:00
GrTextureMipMapInvalidationTest.cpp Remove SkImage_Base::peekTexture call 2017-06-26 15:29:18 +00:00
GrTRecorderTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
HashTest.cpp Fix SkTHashTable dangling values 2017-03-10 17:28:04 +00:00
HighContrastFilterTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
HSVRoundTripTest.cpp Make SkColorToHSV and SkHSVToColor "perfect" inverses 2017-01-11 18:12:36 +00:00
ICCTest.cpp ICC: SkICCGetColorProfileTag supports special cases 2017-07-10 17:08:28 +00:00
image-bitmap.cpp images with offset bitmap don't share genid 2016-03-24 09:18:14 -07:00
ImageCacheTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
ImageFilterCacheTest.cpp Fix memory leak in SkImageFilter 2017-06-29 15:51:17 +00:00
ImageFilterTest.cpp Add an SkColorSpaceXformer image filter cache 2017-07-06 18:59:36 +00:00
ImageFrom565Bitmap.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
ImageGeneratorTest.cpp Add SkCopyPixelsMode argument to SkMakeImageInColorSpace 2017-06-20 14:03:01 +00:00
ImageIsOpaqueTest.cpp don't test index8 -- no longer supported 2017-07-13 15:15:54 +00:00
ImageNewShaderTest.cpp hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
ImageStorageTest.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
ImageTest.cpp Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
IndexedPngOverflowTest.cpp switch surface to sk_sp 2016-03-23 18:59:25 -07:00
InfRectTest.cpp
InsetConvexPolyTest.cpp Add perspective shadows 2017-04-11 20:26:46 +00:00
InterpolatorTest.cpp quiet some annoying logging in unit tests 2017-03-27 19:16:59 +00:00
IntTextureTest.cpp Move GrResourceProvider::createMipMappedTexture to GrSurfaceProxy::MakeDeferredMipMap 2017-07-11 13:23:41 +00:00
InvalidIndexedPngTest.cpp
IsClosedSingleContourTest.cpp
LayerDrawLooperTest.cpp Revert[6] "Remove SkDraw from device-draw methods, and enable device-centric clipping."""""" 2017-03-07 15:43:03 +00:00
LayerRasterizerTest.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
LListTest.cpp Add a concat method to SkTInternalLList 2017-06-21 22:19:16 +00:00
LRUCacheTest.cpp Added SkLRUCache.h and converted GPU program cache to use it. 2016-12-15 21:09:57 +00:00
MallocPixelRefTest.cpp Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29: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 Remove SkChunckAlloc 2017-03-08 20:06:15 +00: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
OnFlushCallbackTest.cpp Remove GrTestMeshDrawOp 2017-07-14 17:23:34 +00: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 Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
PaintBreakTextTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
PaintImageFilterTest.cpp Switch SkLocalMatrixImageFilter and SkPaintImageFilter over to sk_sp 2016-03-30 07:32:28 -07:00
PaintTest.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
ParametricStageTest.cpp update SkRasterPipeline::run() to also take y 2017-06-01 17:05:13 +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
PathOpsAngleIdeas.cpp SkSTArenaAlloc 2017-05-24 19:20:45 +00:00
PathOpsAngleTest.cpp SkSTArenaAlloc 2017-05-24 19:20:45 +00: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 Revert "offset angle check edge in common" 2017-01-23 15:31:25 +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 Improve cubic KLM accuracy 2017-06-09 17:13:54 +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 fix pathops_unittest test strings 2017-04-14 14:37:16 +00:00
PathOpsExtendedTest.h Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsFuzz763Test.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp fix fuzzers 2016-10-20 08:32:18 -07:00
PathOpsOpCircleThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpCubicThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpLoopThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpRectThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsOpTest.cpp keep integral rectangle intersections integral 2017-04-18 16:40:48 +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 SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyFailTest.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsSimplifyQuadralateralsThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyQuadThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyRectThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +00:00
PathOpsSimplifyTest.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsSimplifyTrianglesThreadedTest.cpp remove SkMemoryWStream -- unused externally 2017-01-08 03:06:06 +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
PathOpsThreadedCommon.h fix pathops_unittest test strings 2017-04-14 14:37:16 +00: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 Scale the result of TightBounds when path was inverse-scaled 2017-01-04 13:47:24 +00:00
PathOpsTSectDebug.h Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
PathOpsTypesTest.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
PathTest.cpp fix drawDRRect for fuzzer 2017-04-12 16:48:31 +00:00
PDFDeflateWStreamTest.cpp SkDynamicMemoryWStream::detachAsStream() returns unique_ptr 2017-03-15 19:25:45 +00:00
PDFDocumentTest.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
PDFGlyphsToUnicodeTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PDFJpegEmbedTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +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 Remove SkDynamicMemoryWStream::getOffset. 2016-12-16 19:02:53 +00:00
PDFPrimitivesTest.cpp Finish overriding onMakeColorSpace() for SkImageFilters 2017-04-17 17:17:32 +00:00
PictureBBHTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
PictureShaderTest.cpp Purge cached SkPictureShader entries on shader deletion 2017-07-14 14:19:34 +00:00
PictureTest.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
PipeTest.cpp Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
PixelRefTest.cpp Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29: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 deprecate odd variants of SkCanvas::readPixels 2017-04-17 15:22:42 +00:00
PrimitiveProcessorTest.cpp Make PrimitiveProcessorTest's op be a non-legacy GrMeshDrawOp 2017-07-14 16:20:04 +00:00
ProcessorTest.cpp Make ProcessorRefTests op be a non-legacy GrMeshDrawOp 2017-07-14 16:22:04 +00:00
ProxyConversionTest.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
ProxyRefTest.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +00:00
ProxyTest.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
QuickRejectTest.cpp Add an SkColorSpaceXformer image filter cache 2017-07-06 18:59:36 +00:00
RandomTest.cpp
Reader32Test.cpp must check for zero-length in reader32::read() before calling memcpy 2017-03-15 18:16:30 +00:00
ReadPixelsTest.cpp remove references to kIndex_8_SkColorType from our tools/tests 2017-07-12 20:25:44 +00:00
ReadWriteAlphaTest.cpp Remove GrGpu.h from GrResourceProvider.h 2017-06-15 18:27:28 +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 move files out of private, and fix up callers to IWYU 2017-05-16 21:29:03 +00:00
RecordOptsTest.cpp Revert "Revert "SaveLayerRec::fClipMask -> raw pointer"" 2017-05-01 21:36:43 +00:00
RecordPatternTest.cpp
RecordTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RecordTestUtils.h clean up GCC 6.3 workaround 2017-06-30 16:54:24 +00:00
RectangleTextureTest.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +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 Actually test our ref-counting in release builds 2017-02-22 21:31:29 +00:00
RefDictTest.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
RegionTest.cpp Revert "Revert "SkRegion: more robust validation"" 2017-06-22 11:22:11 +00:00
RenderTargetContextTest.cpp Finish a few MDB TODOs 2017-06-23 18:53:56 +00:00
ResourceCacheTest.cpp Move GrResourceProvider::createMipMappedTexture to GrSurfaceProxy::MakeDeferredMipMap 2017-07-11 13:23:41 +00:00
RoundRectTest.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
RRectInPathTest.cpp move SkPathRef.h into private 2017-06-07 15:24:46 +00:00
RTreeTest.cpp
ScalarTest.cpp
ScaleToSidesTest.cpp
SerializationTest.cpp remove unused xfermode methods 2017-06-08 03:57:48 +00:00
ShaderOpacityTest.cpp
ShaderTest.cpp Fix single leg Compose Shader crash. 2017-02-28 16:49:41 +00:00
ShadowUtilsTest.cpp Remove height functor for shadows and replace with plane equation params 2017-05-08 18:42:48 +00:00
SizeTest.cpp SkSize can be aggregate-initialized 2017-04-11 18:57:20 +00:00
Sk4x4fTest.cpp Sk4x4f 2016-03-22 17:17:44 -07:00
SkBase64Test.cpp
SkBlend_optsTest.cpp Revert "remove a bit more dead code" 2017-06-26 13:53:22 +00:00
skbug5221.cpp skbug5221 unit test should not require N32 support from GPU 2017-06-23 16:30:55 +00:00
skbug6389.cpp SkImageSource::Make() returns nullptr when srcrect is empty. 2017-03-21 22:04:36 +00:00
skbug6653.cpp Bail out of test if MSAA surface creation fails 2017-06-15 18:29:56 +00: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 add and test SkFixed15::to_u8() 2017-01-17 16:05:11 +00:00
skia_test.cpp Make iOS main() functions normal. 2017-02-06 18:02:41 +00:00
SkImageTest.cpp
SkLinearBitmapPipelineTest.cpp Revert "Remove deadcode for sRGB image shading." 2017-06-26 13:59:51 +00:00
SkLiteDLTest.cpp Refactor SkLiteDL to no longer extend SkDrawable. 2017-03-02 20:16:17 +00:00
SkNxTest.cpp Implement Sk4i's abs, min, max 2017-07-12 20:20:43 +00:00
SkPEGTest.cpp Reland: Experimental parsing expression grammar (PEG) template library 2016-08-25 08:44:35 -07:00
SkpSkGrTest.cpp Retract GrTexture*.h & GrRenderTarget*.h from other headers 2017-06-13 17:21:41 +00:00
SkRasterPipelineTest.cpp clean up low-hanging swap_rb 2017-06-28 17:41:56 +00:00
SkResourceCacheTest.cpp SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
SkSharedMutexTest.cpp
SkSLErrorTest.cpp fix incorrect variable not assigned error in skslc 2017-05-31 19:04:56 +00:00
SkSLFPTest.cpp Re-land of "converted GrSimpleTextureEffect to sksl" 2017-07-13 14:07:02 +00:00
SkSLGLSLTest.cpp Re-re-land sksl fragment processor support 2017-06-29 14:57:47 +00:00
SkSLMemoryLayoutTest.cpp added support for layout(offset=...) to skslc 2016-11-28 22:38:47 +00:00
SkSLSPIRVTest.cpp sksl support for static ifs & switches 2017-05-10 19:31:34 +00:00
SortTest.cpp
SpecialImageTest.cpp Make SkImage_Gpu be deferred (take 2) 2017-03-22 11:52:16 +00:00
SpecialSurfaceTest.cpp Revert "Revert "Reland: Remove SkLights include from SkCanvas.h"" 2017-05-03 19:17:11 +00:00
SrcOverTest.cpp Revert "Revert "make it illegal to include SkXfermode.h"" 2016-11-23 22:17:17 +00:00
SRGBMipMapTest.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
SRGBReadWritePixelsTest.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
SRGBTest.cpp add stages for black and white colors 2017-07-06 17:37:47 +00:00
StreamBufferTest.cpp GIF: Avoid copying/storing data when possible 2016-12-19 15:25:13 +00:00
StreamTest.cpp SkDynamicMemoryWStream::detachAsData more memory efficent 2017-03-15 12:54:49 +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
SurfaceSemaphoreTest.cpp Revert "Revert "Add API for flushing surfaces with gpu semaphores"" 2017-06-16 14:22:34 +00:00
SurfaceTest.cpp add null-surface 2017-06-29 12:14:53 +00:00
SVGDeviceTest.cpp Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
SwizzlerTest.cpp remove unneeded code for index8 imagse 2017-07-03 19:07:25 +00:00
TArrayTest.cpp Make SkTArray maintain reserve count 2017-06-16 12:17:19 +00:00
TDPQueueTest.cpp Add method to GrContext to purge unlocked resources. 2017-05-26 18:14:33 +00:00
TemplatesTest.cpp make SkAutoTMalloc self-move safe 2017-04-07 19:06:12 +00:00
TessellatingPathRendererTests.cpp Clean up GrResourceProvider usage 2017-06-15 17:18:19 +00:00
Test.cpp remove SkError 2016-10-13 19:55:43 +00:00
Test.h move SkTRegister.h into tools 2017-01-11 19:53:36 +00:00
TestConfigParsing.cpp Add metal config to tools 2017-07-14 13:57:34 +00:00
TestTest.cpp Enable many more tests for Vulkan 2016-06-28 08:07:26 -07:00
TestUtils.cpp Rm readPixels from GrSurface & move read/writeSurfacePixels to GrContextPriv (take 3) 2017-04-06 12:45:02 +00:00
TestUtils.h Add GrRenderTargetContext::resourceProvider & GrResourceProvider::caps 2017-03-14 21:23:44 +00:00
TextBlobCacheTest.cpp tests: s/SkAutoTUnref/sk_sp/ 2016-11-04 16:55:38 +00:00
TextBlobTest.cpp Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
Time.cpp
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
TracingTest.cpp
TransferPixelsTest.cpp Fix TransferBufferTest for TegraX1 2017-06-27 15:42:25 +00:00
TypefaceTest.cpp Revert "Revert "SkTypeface::getAdvancedMetrics(): cleanup"" 2017-05-05 13:53:40 +00:00
UnicodeTest.cpp
UtilsTest.cpp SkUTF8_CountUnichars(s,l) and SkUTF8_NextUnichar(s,l) now safe. 2017-01-11 21:27:29 +00:00
VerticesTest.cpp handle odd-index-count in encode/decode 2017-04-06 18:13:19 +00:00
VkClearTests.cpp Remove static initializer restriction for Vulkan tests 2017-06-22 18:12:30 +00:00
VkHeapTests.cpp Remove static initializer restriction for Vulkan tests 2017-06-22 18:12:30 +00:00
VkUploadPixelsTests.cpp Remove static initializer restriction for Vulkan tests 2017-06-22 18:12:30 +00:00
VkWrapTests.cpp Remove static initializer restriction for Vulkan tests 2017-06-22 18:12:30 +00:00
WindowRectanglesTest.cpp Improve usage of window rectangles 2016-09-06 10:01:07 -07:00
WritePixelsTest.cpp Fix some bugs with read/writePixels 2017-04-18 19:12:23 +00:00
Writer32Test.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
YUVCacheTest.cpp
YUVTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00