skia2/tests
Matt Sarett d83545e490 Add SkColorSpace::isSRGB()
BUG=skia:

Change-Id: I124480a15e0c3cb01f4e22397c0a116f2d1c0d7d
Reviewed-on: https://skia-review.googlesource.com/9239
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
2017-03-06 17:26:09 +00:00
..
AAClipTest.cpp
AnnotationTest.cpp
ApplyGammaTest.cpp Move SkGammaColorFilter to tools, limit to sRGB 2017-01-26 15:27:49 +00:00
ArenaAllocTest.cpp Add sk_sp make variant to SkArenaAlloc. 2017-02-06 19:27:14 +00:00
AsADashTest.cpp
BadIcoTest.cpp
BitmapCopyTest.cpp Fix Chrome iOS no GPU build and block includes from src/gpu on our NoGpu bot. 2017-02-23 18:01:10 +00:00
BitmapGetColorTest.cpp
BitmapTest.cpp fix build. tests/BitmapTest w/ nogpu 2016-12-07 21:22:15 +00:00
BitSetTest.cpp
BlendTest.cpp
BlitMaskClip.cpp
BlitRowTest.cpp
BlurTest.cpp "Fix" some ImageFilter fuzzer issues 2016-12-19 17:14:10 +00:00
CachedDataTest.cpp
CachedDecodingPixelRefTest.cpp return and take SkImageGenerator as unique_ptr 2017-02-15 20:51:28 +00:00
CanvasStateHelpers.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
CanvasStateHelpers.h
CanvasStateTest.cpp change clip-bounds getters to always return the rect 2017-01-23 17:14:53 +00:00
CanvasTest.cpp update cliptype test to exercise clipstack backend 2017-03-03 01:45:47 +00:00
ChecksumTest.cpp
ClampRangeTest.cpp
ClearTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +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 Rebase and fix chromium 2017-03-04 13:49:47 +00:00
CodecAnimTest.cpp GIF: Better check for frame dependency 2017-01-03 19:07:41 +00:00
CodecPartialTest.cpp GIF: Only report a frame after knowing dependency 2017-01-30 21:22:29 +00:00
CodecPriv.h Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
CodecTest.cpp Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
ColorFilterTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
ColorMatrixTest.cpp
ColorPrivTest.cpp
ColorSpaceTest.cpp Add SkColorSpace::isSRGB() 2017-03-06 17:26:09 +00:00
ColorSpaceXformTest.cpp Non linear blending flag for SkColorSpace 2017-02-15 14:25:35 +00:00
ColorTest.cpp
CopySurfaceTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
CPlusPlusEleven.cpp
CrossContextImageTest.cpp Add GrExternalTextureData and SkCrossContextImageData 2017-02-28 20:59:57 +00:00
CTest.cpp
DashPathEffectTest.cpp
DataRefTest.cpp Remove SkDataTableBuilder. It is not used. 2017-02-28 21:11:45 +00:00
DequeTest.cpp
DeviceLooperTest.cpp
DeviceTest.cpp Bring back SkImage::makeTextureImage 2017-02-07 16:58:07 +00:00
DFPathRendererTest.cpp Remove atlas creation from GrResourceProvider 2017-03-02 12:29:16 +00:00
DiscardableMemoryPoolTest.cpp
DiscardableMemoryTest.cpp
DrawBitmapRectTest.cpp SkBitmap::setPixelRef(): less reference churn 2016-12-12 20:18:50 +00:00
DrawFilterTest.cpp
DrawPathTest.cpp
DrawTextTest.cpp
DynamicHashTest.cpp
EGLImageTest.cpp Rationalize GrContext's Gr*Proxy getter naming 2017-01-30 19:05:36 +00:00
EmptyPathTest.cpp
ExifTest.cpp
FakeStreams.h GIF: Avoid copying/storing data when possible 2016-12-19 15:25:13 +00:00
FillPathTest.cpp
FitsInTest.cpp
FlattenableCustomFactory.cpp
FlattenableFactoryToName.cpp
FlattenDrawableTest.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
Float16Test.cpp
FloatingPointTextureTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
FontHostStreamTest.cpp refFoo variant for getters that naturally have a sk_sp 2017-01-12 16:38:34 +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 Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +00:00
FontNamesTest.cpp
FontObjTest.cpp
FrontBufferedStreamTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
GeometryTest.cpp
GifTest.cpp Only attempt index8 if underlying GIF is index8 2016-12-16 19:51:52 +00:00
GLProgramsTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
GpuDrawPathTest.cpp
GpuLayerCacheTest.cpp
GpuRectanizerTest.cpp
GpuSampleLocationsTest.cpp Use construct/init pattern with GrPipeline to replace CreateAt. 2017-02-24 18:39:58 +00:00
GradientTest.cpp Fix int64 overflow in SkClampRange::init() 2017-02-09 22:23:03 +00:00
GrAllocatorTest.cpp
GrContextAbandonTest.cpp
GrContextFactoryTest.cpp Add another null check for the Vk NexusPlayer bot 2017-02-28 15:51:37 +00:00
GrDrawTargetTest.cpp
GrGetCoeffBlendKnownComponentsTest.cpp
GrGLSLPrettyPrintTest.cpp
GrMemoryPoolTest.cpp
GrPorterDuffTest.cpp Remove XP override color. 2017-03-06 13:39:09 +00:00
GrShapeTest.cpp Try out new refFoo pattern on GrStyle 2017-01-13 16:50:25 +00:00
GrSurfaceTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
GrTextureMipMapInvalidationTest.cpp
GrTRecorderTest.cpp
HashTest.cpp add move semantics to SkTHash* 2016-12-13 18:18:47 +00:00
HighContrastFilterTest.cpp Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
HSVRoundTripTest.cpp Make SkColorToHSV and SkHSVToColor "perfect" inverses 2017-01-11 18:12:36 +00:00
ICCTest.cpp Non linear blending flag for SkColorSpace 2017-02-15 14:25:35 +00:00
image-bitmap.cpp
ImageCacheTest.cpp
ImageFilterCacheTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ImageFilterTest.cpp Replace SkSpecialImage::makeTightSubset with asImage (take 2) 2017-02-18 23:26:20 +00:00
ImageFrom565Bitmap.cpp
ImageGeneratorTest.cpp return and take SkImageGenerator as unique_ptr 2017-02-15 20:51:28 +00:00
ImageIsOpaqueTest.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
ImageNewShaderTest.cpp Continue making Ganesh use absolute texture coordinates - take 2 2017-01-20 18:18:18 +00:00
ImageStorageTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ImageTest.cpp Add unit tests for SkImage::colorSpace() 2017-03-06 16:24:43 +00:00
IndexedPngOverflowTest.cpp
InfRectTest.cpp
InterpolatorTest.cpp
IntTextureTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
InvalidIndexedPngTest.cpp
IsClosedSingleContourTest.cpp
LayerDrawLooperTest.cpp Revert "Revert "Revert "Revert[2] "Remove SkDraw from device-draw methods, and enable device-centric clipping.""""" 2017-03-04 21:48:01 +00:00
LayerRasterizerTest.cpp
LListTest.cpp
LRUCacheTest.cpp Added SkLRUCache.h and converted GPU program cache to use it. 2016-12-15 21:09:57 +00:00
MallocPixelRefTest.cpp Release resources if SkMallocPixelRef::NewWithProc fails. 2017-03-02 23:11:42 +00:00
MaskCacheTest.cpp
MathTest.cpp
Matrix44Test.cpp
MatrixClipCollapseTest.cpp
MatrixTest.cpp
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp
MessageBusTest.cpp
MetaDataTest.cpp
MipMapTest.cpp
OnceTest.cpp
OSPathTest.cpp
OverAlignedTest.cpp
PackBitsTest.cpp
PackedConfigsTextureTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
PaintBreakTextTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
PaintImageFilterTest.cpp
PaintTest.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
ParsePathTest.cpp
PathCoverageTest.cpp
PathMeasureTest.cpp
PathOpsAngleIdeas.cpp
PathOpsAngleTest.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsBattles.cpp
PathOpsBoundsTest.cpp
PathOpsBuilderConicTest.cpp
PathOpsBuilderTest.cpp
PathOpsBuildUseTest.cpp
PathOpsChalkboardTest.cpp Revert "offset angle check edge in common" 2017-01-23 15:31:25 +00:00
PathOpsConicIntersectionTest.cpp
PathOpsConicLineIntersectionTest.cpp
PathOpsConicQuadIntersectionTest.cpp
PathOpsCubicConicIntersectionTest.cpp
PathOpsCubicIntersectionTest.cpp simplify bug 2016-12-08 20:29:37 +00:00
PathOpsCubicIntersectionTestData.cpp
PathOpsCubicIntersectionTestData.h
PathOpsCubicLineIntersectionIdeas.cpp
PathOpsCubicLineIntersectionTest.cpp
PathOpsCubicQuadIntersectionTest.cpp
PathOpsCubicReduceOrderTest.cpp
PathOpsDCubicTest.cpp
PathOpsDebug.cpp
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp Revert "Revert "IWYU"" 2017-02-13 15:59:35 +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
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 fix fuzzer 2017-01-03 16:27:36 +00:00
PathOpsQuadIntersectionTest.cpp
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp
PathOpsQuadLineIntersectionThreadedTest.cpp
PathOpsQuadReduceOrderTest.cpp
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
PathOpsTestCommon.cpp
PathOpsTestCommon.h
PathOpsThreadedCommon.cpp
PathOpsThreadedCommon.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
PathOpsThreeWayTest.cpp
PathOpsTigerTest.cpp
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
PathTest.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
PDFDeflateWStreamTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PDFDocumentTest.cpp
PDFGlyphsToUnicodeTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PDFInvalidBitmapTest.cpp SkBitmap::setPixelRef(): less reference churn 2016-12-12 20:18:50 +00:00
PDFJpegEmbedTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PDFMetadataAttributeTest.cpp
PDFOpaqueSrcModeToSrcOverTest.cpp Remove SkDynamicMemoryWStream::getOffset. 2016-12-16 19:02:53 +00:00
PDFPrimitivesTest.cpp BUILD.gn: skia_enable_pdf 2017-01-03 14:25:12 +00:00
PictureBBHTest.cpp
PictureShaderTest.cpp
PictureTest.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
PipeTest.cpp
PixelRefTest.cpp
Point3Test.cpp
PointTest.cpp
PremulAlphaRoundTripTest.cpp Rename SkConfig8888/SkPixelInfo to SkConvertPixels 2017-02-15 13:50:55 +00:00
PrimitiveProcessorTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ProcessorTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ProxyConversionTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ProxyRefTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ProxyTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
QuickRejectTest.cpp Remove use of SkSmallAllocator from all Loopers. 2017-02-08 21:08:02 +00:00
RandomTest.cpp
Reader32Test.cpp
ReadPixelsTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ReadWriteAlphaTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
RecordDrawTest.cpp
RecorderTest.cpp
RecordingXfermodeTest.cpp
RecordOptsTest.cpp
RecordPatternTest.cpp
RecordTest.cpp
RecordTestUtils.h
RectangleTextureTest.cpp Add utilities to create GrSurfaceProxy & GrSurfaceContext from backend descs 2017-01-27 17:00:38 +00:00
RectTest.cpp
RefCntTest.cpp Actually test our ref-counting in release builds 2017-02-22 21:31:29 +00:00
RefDictTest.cpp
RegionTest.cpp SkRegion: change serialization unit tests, better validation code 2017-02-22 14:08:28 +00:00
RenderTargetContextTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
ResourceCacheTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
RoundRectTest.cpp stop using SkScalarMul 2017-02-14 19:45:24 +00:00
RRectInPathTest.cpp
RTreeTest.cpp
ScalarTest.cpp
ScaleToSidesTest.cpp
SerializationTest.cpp
ShaderOpacityTest.cpp
ShaderTest.cpp Fix single leg Compose Shader crash. 2017-02-28 16:49:41 +00:00
ShadowUtilsTest.cpp Use SkVertices for tessellated spot and ambient shadow rendering. 2017-02-07 15:03:48 +00:00
SizeTest.cpp
Sk4x4fTest.cpp
SkBase64Test.cpp
SkBlend_optsTest.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
skbug5221.cpp
SkColor4fTest.cpp
SkDOMTest.cpp
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
SkLiteDLTest.cpp Refactor SkLiteDL to no longer extend SkDrawable. 2017-03-02 20:16:17 +00:00
SkNxTest.cpp
SkPEGTest.cpp
SkpSkGrTest.cpp
SkRasterPipelineTest.cpp Simplify more: remove SkRasterPipeline::compile(). 2017-02-16 12:23:06 +00:00
SkResourceCacheTest.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
SkSharedMutexTest.cpp
SkSLErrorTest.cpp Re-land of skslc switch support 2017-02-27 19:01:55 +00:00
SkSLGLSLTest.cpp Re-land of skslc switch support 2017-02-27 19:01:55 +00:00
SkSLMemoryLayoutTest.cpp
SortTest.cpp
SpecialImageTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
SpecialSurfaceTest.cpp
SrcOverTest.cpp
SRGBMipMapTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
SRGBReadWritePixelsTest.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
SRGBTest.cpp
StreamBufferTest.cpp GIF: Avoid copying/storing data when possible 2016-12-19 15:25:13 +00:00
StreamTest.cpp SkTypes.h : move SkAutoMalloc into SkAutoMalloc.h 2017-01-11 18:55:34 +00:00
StringTest.cpp
StrokerTest.cpp
StrokeTest.cpp
SubsetPath.cpp
SubsetPath.h
SurfaceTest.cpp Revert "Revert "IWYU"" 2017-02-13 15:59:35 +00:00
SVGDeviceTest.cpp
SwizzlerTest.cpp
TArrayTest.cpp
TDPQueueTest.cpp
TemplatesTest.cpp
TessellatingPathRendererTests.cpp Remove atlas creation from GrResourceProvider 2017-03-02 12:29:16 +00:00
Test.cpp
Test.h move SkTRegister.h into tools 2017-01-11 19:53:36 +00:00
TestConfigParsing.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
TestTest.cpp
TestUtils.cpp Rebase and fix chromium 2017-03-04 13:49:47 +00:00
TestUtils.h Consolidate read/write-Pixels testing code - take 2 2017-01-27 15:52:20 +00:00
TextBlobCacheTest.cpp
TextBlobTest.cpp Revert "Revert "Revert[2] "hide deprecated underline and strikethru""" 2017-02-23 14:19:40 +00:00
Time.cpp
TLSTest.cpp
TopoSortTest.cpp
TraceMemoryDumpTest.cpp
TracingTest.cpp
TypefaceTest.cpp Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +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
VarAllocTest.cpp
VkClearTests.cpp
VkHeapTests.cpp
VkUploadPixelsTests.cpp
VkWrapTests.cpp
WindowRectanglesTest.cpp
WritePixelsTest.cpp hide trivial helpers on canvas 2017-02-22 19:41:04 +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