skia2/include
Mike Klein 1e114f1368 *SkTCast<int*>(float*) -> memcpy
In some build configurations (I think, GN, GCC 6, Debug) I get a warning that i is used unintialized.  This likely has something to do with GCC correctly seeing that the SkTCast construction there is illegal aliasing, and perhaps thus "doesn't happen".  Might be that if the SkTCast gets inlined, it decides its implementation is secretly kosher, and so Release builds don't see this.  None of this happens with the GCCs we have on the bots... too old?

Instead use memcpy() here, which is well defined to do what we intended.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2758

Change-Id: Iaf5c75fbd852193b0b861bf5e71450502511d102
Reviewed-on: https://skia-review.googlesource.com/2758
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2016-09-29 15:48:04 +00:00
..
android change SkStreams to work with sk_sp<SkData> instead of SkData* 2016-09-12 12:01:44 -07:00
animator Change SkTime::GetMSecs to double; ensure values stored in SkMSec do not overflow. 2016-03-25 12:59:53 -07:00
c spin off easy stuff from Herb's windows GN CL 2016-08-04 06:19:33 -07:00
codec Make SkPngCodec decode progressively. 2016-09-16 08:20:38 -07:00
config gyp/sfntly: set SK_SFNTLY_SUBSETTER uniformly 2016-08-24 12:28:38 -07:00
core isABitmap is deprecated, use isAImage 2016-09-28 21:42:04 +00:00
effects Gradients are serialized (and can be constructed) as SkColor4f + SkColorSpace 2016-09-28 11:27:28 -07:00
gpu Remove stray semicolons. 2016-09-27 14:04:26 +00:00
images gn: fix fiddle 2016-08-02 11:13:49 -07:00
pathops Move SkTDArray to private. 2016-02-18 08:53:33 -08:00
ports Split SkFontConfigInterface globals and factory. 2016-09-19 12:13:16 -07:00
private *SkTCast<int*>(float*) -> memcpy 2016-09-29 15:48:04 +00:00
svg Delete the legacy SVG parser 2016-07-19 06:12:54 -07:00
utils abstract name of clipping ops, to transtion to a more restricted set 2016-09-20 08:42:39 -07:00
views Remove use of MakeRenderTargetDirect from view system 2016-07-28 15:17:34 -07:00
xml Initial SVG model 2016-07-26 18:46:34 -07:00