skia2/third_party/etc1
Brian Osman 50ea3c06b8 Add support for MSVC run-time checks (and control flow guard)
This enables four different options in the compiler, described
below. I also added enough masks to satisfy RTCc when running
all GMs in both 8888 and gl configs.

---

/RTCc - Detects when a value is assigned to a smaller data
type and results in data loss. This happens even when casting.
Masking is required to suppress this.

/RTCs - Various stack-related checks, including uninitialized
data (by initializing locals to a non-zero value), array bounds
checking, and stack pointer corruption that can occur with a
calling convention mismatch.

/RTCu - Reports when a variable is used without having been
initialized. Mostly redundant with compile-time checks.

/guard:cf - This is more of a security option, that computes
all possible targets for indirect calls at compile time, and
verifies that those are the only targets reached at compile
time. Also generates similar logic around switch statements
that turn into jump tables.

Bug: skia:
Change-Id: I7b527af8fd67dec0b6556f38bcd0efc3fd505856
Reviewed-on: https://skia-review.googlesource.com/c/188625
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2019-02-04 20:55:24 +00:00
..
etc1.cpp Add support for MSVC run-time checks (and control flow guard) 2019-02-04 20:55:24 +00:00
etc1.h Restore ETC1 compressed texture support. 2019-01-15 19:56:28 +00:00
LICENSE Restore ETC1 compressed texture support. 2019-01-15 19:56:28 +00:00
README.google Restore ETC1 compressed texture support. 2019-01-15 19:56:28 +00:00

URL: https://android.googlesource.com/platform/frameworks/native/+/master/opengl/
Version: 01cc538b
License: Apache 2.0
License File: LICENSE
Description: PKM file format (ETC1 data) support
Local Modifications: Created LICENSE file for compliance purposes. Not included in original
                     distribution.