skia2/tests
mtklein cbefc5e4ca Revert of SkHalfToFloat_01 / SkFloatToHalf_01 (patchset #11 id:200001 of https://codereview.chromium.org/1685133005/ )
Reason for revert:
Gotta fix Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD

Original issue's description:
> SkHalfToFloat_01 / SkFloatToHalf_01
>
> These are basically inlined, 4-at-a-time versions of our existing functions,
> but cut down to avoid any work that's only necessary outside [0,1].
>
> Both f16 and f32 denorms should work fine modulo the usual ARMv7 NEON denorm==zero caveat.
>
> In exchange for a little speed, f32->f16 does not round properly.
> Instead it truncates, so it's never off by more than 1 bit.
>
> Support for finite values >1 or <0 is straightforward to add back.
> >1 might already work as-is.
>
> Getting close to _u16 performance:
>     micros   	bench
>     261.13  	xferu64_bw_1_opaque_u16
>    1833.51  	xferu64_bw_1_alpha_u16
>    2762.32 ?	xferu64_aa_1_opaque_u16
>    3334.29  	xferu64_aa_1_alpha_u16
>     249.78  	xferu64_bw_1_opaque_f16
>    3383.18  	xferu64_bw_1_alpha_f16
>    4214.72  	xferu64_aa_1_opaque_f16
>    4701.19  	xferu64_aa_1_alpha_f16
>
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1685133005
>
> Committed: https://skia.googlesource.com/skia/+/9ea11a4235b3e3521cc8bf914a27c2d0dc062db9

TBR=jvanverth@google.com,reed@google.com,mtklein@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review URL: https://codereview.chromium.org/1693443003
2016-02-11 06:00:49 -08:00
..
AAClipTest.cpp Fix for rounded-rect clips with filters. 2016-02-02 18:44:16 -08:00
AnnotationTest.cpp
ARGBImageEncoderTest.cpp
AsADashTest.cpp Reland of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1540203002/ ) 2015-12-21 08:52:45 -08:00
AtomicTest.cpp
BadIcoTest.cpp
BitmapCopyTest.cpp Fix BitmapCopy_Texture test on iOS 2016-01-11 15:15:46 -05:00
BitmapGetColorTest.cpp
BitmapHasherTest.cpp
BitmapHeapTest.cpp
BitmapTest.cpp Tests: reduce verbosity 2015-12-15 09:20:19 -08:00
BitSetTest.cpp
BlendTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
BlitMaskClip.cpp
BlitRowTest.cpp
BlurTest.cpp Add unit test for crbug.com/570232 2016-01-04 11:20:25 -08:00
CachedDataTest.cpp Consolidate SK_CRASH and sk_throw into SK_ABORT 2016-01-29 08:51:04 -08:00
CachedDecodingPixelRefTest.cpp
CanvasStateHelpers.cpp
CanvasStateHelpers.h
CanvasStateTest.cpp Add SK_SUPPORT_LEGACY_DRAWFILTER guard around calls to SkCanvas::(get|set)DrawFilter. 2016-01-22 09:45:14 -08:00
CanvasTest.cpp Add SK_SUPPORT_LEGACY_DRAWFILTER guard around calls to SkCanvas::(get|set)DrawFilter. 2016-01-22 09:45:14 -08:00
ChecksumTest.cpp
ClampRangeTest.cpp
ClearTest.cpp Remove deferred clear from SkGpuDevice 2016-02-05 07:17:34 -08:00
ClipBoundsTest.cpp
ClipCubicTest.cpp
ClipperTest.cpp
ClipStackTest.cpp
CodexTest.cpp Optimize the SkRawStream when the input is an asset stream 2016-02-05 08:21:19 -08:00
ColorFilterTest.cpp
ColorMatrixTest.cpp
ColorPrivTest.cpp
ColorTest.cpp
CPlusPlusEleven.cpp Revert of skstd -> std for unique_ptr (patchset #24 id:460001 of https://codereview.chromium.org/1436033003/ ) 2016-01-24 19:49:24 -08:00
CTest.cpp
DashPathEffectTest.cpp fix teeny dashed path bug 2016-01-29 09:54:20 -08:00
DataRefTest.cpp Make SkROBuffer::Iter::size() work when exhausted 2016-01-11 06:38:00 -08:00
DequeTest.cpp
DeviceLooperTest.cpp
DiscardableMemoryPoolTest.cpp
DiscardableMemoryTest.cpp
DrawBitmapRectTest.cpp SkTreatAsSprite should take AA into account 2016-01-07 10:34:46 -08:00
DrawFilterTest.cpp Add SK_SUPPORT_LEGACY_DRAWFILTER guard around calls to SkCanvas::(get|set)DrawFilter. 2016-01-22 09:45:14 -08:00
DrawPathTest.cpp Fix radii calculation code to handle large radii. 2016-01-11 08:08:56 -08:00
DrawTextTest.cpp
DynamicHashTest.cpp
EGLImageTest.cpp Make SkGLContext lifetime more well-defined 2016-01-06 23:49:31 -08:00
EmptyPathTest.cpp
ErrorTest.cpp
FillPathTest.cpp
FitsInTest.cpp
FlattenableFactoryToName.cpp Reland of Add test for previously unflattenables (patchset #1 id:1 of https://codereview.chromium.org/1532753002/ ) 2015-12-18 07:14:24 -08:00
Float16Test.cpp Revert of SkHalfToFloat_01 / SkFloatToHalf_01 (patchset #11 id:200001 of https://codereview.chromium.org/1685133005/ ) 2016-02-11 06:00:49 -08:00
FloatingPointTextureTest.cpp
FontHostStreamTest.cpp
FontHostTest.cpp
FontMgrAndroidParserTest.cpp
FontMgrTest.cpp
FontNamesTest.cpp
FontObjTest.cpp
FrontBufferedStreamTest.cpp
GeometryTest.cpp
GifTest.cpp
GLProgramsTest.cpp Clean up GrGLSLFragmentProcessor-derived classes 2016-02-03 12:25:40 -08:00
GpuColorFilterTest.cpp
GpuDrawPathTest.cpp
GpuLayerCacheTest.cpp
GpuRectanizerTest.cpp
GradientTest.cpp fix linear gradient assert, by explicitly clamping 2016-01-05 10:01:38 -08:00
GrAllocatorTest.cpp
GrContextFactoryTest.cpp Make SkGLContext lifetime more well-defined 2016-01-06 23:49:31 -08:00
GrDrawTargetTest.cpp
GrGetCoeffBlendKnownComponentsTest.cpp
GrGLSLPrettyPrintTest.cpp
GrMemoryPoolTest.cpp
GrPorterDuffTest.cpp added a default constructor for GrBatchToXPOverrides 2016-02-01 11:45:45 -08:00
GrSurfaceTest.cpp
GrTextureMipMapInvalidationTest.cpp
GrTRecorderTest.cpp
HashTest.cpp
ImageCacheTest.cpp
ImageDecodingTest.cpp
ImageFilterTest.cpp msan: initialize buffer BlurLargeImage blurs 2016-02-07 12:23:10 -08:00
ImageFrom565Bitmap.cpp Remove SkImageMinRowBytes 2015-12-18 06:56:01 -08:00
ImageGeneratorTest.cpp
ImageIsOpaqueTest.cpp
ImageNewShaderTest.cpp
ImageTest.cpp Add SkImage factory method that forces image to be resolved to a texture. 2016-01-30 10:01:40 -08:00
IndexedPngOverflowTest.cpp
InfRectTest.cpp
InterpolatorTest.cpp test & doc for SkUnitCubicInterp 2016-01-07 11:33:15 -08:00
InvalidIndexedPngTest.cpp
IsClosedSingleContourTest.cpp Fix for GrAALinearizingConvexPathRenderer incorrectly drawing non-convex paths 2015-12-15 11:01:12 -08:00
JpegTest.cpp Add getYUV8Planes() API to SkCodec 2016-01-22 14:46:42 -08:00
KtxTest.cpp Revert of Make SkPicture/SkImageGenerator default to SkCodec (patchset #7 id:120001 of https://codereview.chromium.org/1671193002/ ) 2016-02-10 11:25:07 -08:00
LayerDrawLooperTest.cpp
LayerRasterizerTest.cpp
LListTest.cpp
MallocPixelRefTest.cpp
MaskCacheTest.cpp
MathTest.cpp de-proc sk_float_rsqrt 2016-01-26 07:40:30 -08:00
Matrix44Test.cpp
MatrixClipCollapseTest.cpp
MatrixTest.cpp Make SkMatrix::get*Scale[s]() fail on NaN 2015-12-17 15:33:13 -08:00
MD5Test.cpp
MemoryTest.cpp
MemsetTest.cpp
MessageBusTest.cpp
MetaDataTest.cpp
MipMapTest.cpp Relocate anisotropic mipmap logic to SkMipMap::extractLevel() 2016-02-09 08:20:19 -08:00
OncePtrTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
OnceTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
OSPathTest.cpp
PackBitsTest.cpp
PaintImageFilterTest.cpp Implement an SkPaint-based image filter 2016-01-08 14:58:35 -08:00
PaintTest.cpp
ParsePathTest.cpp Add unit test to feed valid SVG sequences to make sure that 2016-02-09 10:30:22 -08:00
PathCoverageTest.cpp
PathMeasureTest.cpp fix circular dashing 2016-01-19 08:07:50 -08:00
PathOpsAngleIdeas.cpp
PathOpsAngleTest.cpp
PathOpsBattles.cpp
PathOpsBoundsTest.cpp
PathOpsBuilderConicTest.cpp
PathOpsBuilderTest.cpp path ops: check for deleted ends 2015-12-14 08:43:21 -08:00
PathOpsBuildUseTest.cpp
PathOpsConicIntersectionTest.cpp
PathOpsConicLineIntersectionTest.cpp
PathOpsCubicConicIntersectionTest.cpp
PathOpsCubicIntersectionTest.cpp
PathOpsCubicIntersectionTestData.cpp
PathOpsCubicIntersectionTestData.h
PathOpsCubicLineIntersectionIdeas.cpp Consolidate SK_CRASH and sk_throw into SK_ABORT 2016-01-29 08:51:04 -08:00
PathOpsCubicLineIntersectionTest.cpp
PathOpsCubicQuadIntersectionTest.cpp
PathOpsCubicReduceOrderTest.cpp
PathOpsDCubicTest.cpp
PathOpsDebug.cpp
PathOpsDLineTest.cpp
PathOpsDPointTest.cpp
PathOpsDRectTest.cpp
PathOpsDVectorTest.cpp
PathOpsExtendedTest.cpp
PathOpsExtendedTest.h
PathOpsFuzz763Test.cpp
PathOpsInverseTest.cpp
PathOpsIssue3651.cpp
PathOpsLineIntersectionTest.cpp
PathOpsLineParametetersTest.cpp
PathOpsOpCircleThreadedTest.cpp
PathOpsOpCubicThreadedTest.cpp
PathOpsOpLoopThreadedTest.cpp
PathOpsOpRectThreadedTest.cpp
PathOpsOpTest.cpp
PathOpsQuadIntersectionTest.cpp
PathOpsQuadIntersectionTestData.cpp
PathOpsQuadIntersectionTestData.h
PathOpsQuadLineIntersectionTest.cpp
PathOpsQuadLineIntersectionThreadedTest.cpp
PathOpsQuadReduceOrderTest.cpp
PathOpsSimplifyDegenerateThreadedTest.cpp
PathOpsSimplifyFailTest.cpp
PathOpsSimplifyQuadralateralsThreadedTest.cpp
PathOpsSimplifyQuadThreadedTest.cpp
PathOpsSimplifyRectThreadedTest.cpp
PathOpsSimplifyTest.cpp
PathOpsSimplifyTrianglesThreadedTest.cpp
PathOpsSkpClipTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
PathOpsSkpTest.cpp
PathOpsTestCommon.cpp
PathOpsTestCommon.h
PathOpsThreadedCommon.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
PathOpsThreadedCommon.h
PathOpsThreeWayTest.cpp
PathOpsTightBoundsTest.cpp
PathOpsTSectDebug.h
PathOpsTypesTest.cpp
PathTest.cpp Add SkPath::isLastContourClosed() 2016-01-20 09:51:08 -08:00
PDFDeflateWStreamTest.cpp
PDFDocumentTest.cpp SkPDF: Change handling of large-numbers in matricies. 2016-01-06 09:02:26 -08:00
PDFGlyphsToUnicodeTest.cpp
PDFInvalidBitmapTest.cpp
PDFJpegEmbedTest.cpp
PDFMetadataAttributeTest.cpp
PDFOpaqueSrcModeToSrcOverTest.cpp
PDFPrimitivesTest.cpp
PictureBBHTest.cpp
PictureShaderTest.cpp
PictureTest.cpp Revert of Make SkPicture/SkImageGenerator default to SkCodec (patchset #7 id:120001 of https://codereview.chromium.org/1671193002/ ) 2016-02-10 11:25:07 -08:00
PixelRefTest.cpp
Point3Test.cpp
PointTest.cpp
PremulAlphaRoundTripTest.cpp
QuickRejectTest.cpp
RandomTest.cpp
Reader32Test.cpp
ReadPixelsTest.cpp Disable test that is breaking Android and Windows bots. 2016-02-01 16:44:22 -05:00
ReadWriteAlphaTest.cpp Fix printfs for Windows and undo speculative test disable 2016-02-02 11:34:46 -05:00
RecordDrawTest.cpp
RecorderTest.cpp
RecordingXfermodeTest.cpp
RecordOptsTest.cpp Revert[2] of "add backdrop option to SaveLayerRec" 2016-01-07 11:28:08 -08:00
RecordPatternTest.cpp
RecordReplaceDrawTest.cpp
RecordTest.cpp
RecordTestUtils.h
RectangleTextureTest.cpp Fix compile error in Google3 build. 2016-01-15 06:21:18 -08:00
RectTest.cpp
RefCntTest.cpp
RefDictTest.cpp
RegionTest.cpp
ResourceCacheTest.cpp Remove deferred clear from SkGpuDevice 2016-02-05 07:17:34 -08:00
RoundRectTest.cpp
RRectInPathTest.cpp
RTConfRegistryTest.cpp Enable NVPR with command buffer 2015-12-21 04:05:53 -08:00
RTreeTest.cpp
RuntimeConfigTest.cpp
ScalarTest.cpp
ScaleToSidesTest.cpp Change name from ScaleToSides to SkScaleToSides. 2016-01-22 11:58:55 -08:00
SerializationTest.cpp Reland of change all factories to return their base-class (patchset #1 id:1 of https://codereview.chromium.org/1540203002/ ) 2015-12-21 08:52:45 -08:00
SHA1Test.cpp
ShaderOpacityTest.cpp
SizeTest.cpp
SkBase64Test.cpp
SkColor4fTest.cpp extend modecolorfilter to 4f 2016-02-08 12:56:57 -08:00
skia_test.cpp
SkImageTest.cpp
SkNxTest.cpp Sk4f: add floor() 2016-02-09 15:41:36 -08:00
SkpSkGrTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SkResourceCacheTest.cpp
SkSharedMutexTest.cpp If we swap its arguments, SkTaskGroup::batch() _is_ sk_parallel_for. 2016-01-04 19:13:19 -08:00
SmallAllocatorTest.cpp
SortTest.cpp
SpecialImageTest.cpp Add SkSpecialImage & SkSpecialSurface classes 2016-02-04 10:52:42 -08:00
SpecialSurfaceTest.cpp Add SkSpecialImage & SkSpecialSurface classes 2016-02-04 10:52:42 -08:00
SrcOverTest.cpp
SRGBReadWritePixelsTest.cpp
StreamTest.cpp
StringTest.cpp Add config options to run different GPU APIs to dm and nanobench 2015-12-23 01:33:01 -08:00
StrokerTest.cpp
StrokeTest.cpp
SubsetPath.cpp
SubsetPath.h
SurfaceTest.cpp Fix memory leaks in SurfaceClear_Gpu test 2016-02-05 13:47:06 -08:00
SVGDeviceTest.cpp
SwizzlerTest.cpp Refactor swizzle names and types. 2016-01-22 07:42:53 -08:00
TArrayTest.cpp
TDPQueueTest.cpp
TemplatesTest.cpp
TessellatingPathRendererTests.cpp
Test.cpp
Test.h
TestConfigParsing.cpp Use device-independent text for nvprmsaa4/16 in nanobench and dm 2015-12-29 08:57:32 -08:00
TestTest.cpp
TextBlobCacheTest.cpp Remove SkNEW_APPEND_TO_TARRAY. 2016-02-09 11:32:56 -08:00
TextBlobTest.cpp
TextureCompressionTest.cpp
TextureStorageAllocator.cpp skia: Add support for CHROMIUM_image backed textures. 2016-02-10 16:32:35 -08:00
Time.cpp
TLSTest.cpp
TopoSortTest.cpp
TraceMemoryDumpTest.cpp
TracingTest.cpp
TypefaceTest.cpp
UnicodeTest.cpp
UtilsTest.cpp
VarAllocTest.cpp
WArrayTest.cpp
WritePixelsTest.cpp
Writer32Test.cpp
XfermodeTest.cpp
YUVCacheTest.cpp