Go to file
Jim Van Verth 3d482995e5 Set correct uniform size for Metal.
There are two fixes here. The first pads out the uniform buffer to
match the alignment of the largest element in the buffer, as required
by Metal. The second ensures that the RTHeight uniform is only added
to the shader if required by the program inputs, as otherwise it wasn't
being included in the uniform data.

Bug: skia:8737
Change-Id: Icbe57456f3ec79faada231278c58137ca9865dd2
Reviewed-on: https://skia-review.googlesource.com/c/189875
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
2019-02-07 16:17:24 +00:00
animations
bench Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
docker CMake: distinguish between file and dir copies by presence of '.' in src path 2019-02-01 18:58:46 +00:00
docs move SkMetaData into src 2019-02-07 00:26:49 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental [canvaskit] Add SkShaper to build list 2019-01-23 17:04:11 +00:00
fuzz Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
gm Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
gn Add support for importing AHardwareBuffers into SkSurfaces. 2019-02-07 15:03:50 +00:00
include Add support for importing AHardwareBuffers into SkSurfaces. 2019-02-07 15:03:50 +00:00
infra Upgrade NVIDIA driver on Ubuntu18 QuadroP400 bots. 2019-02-07 15:08:21 +00:00
modules [skottie] Use SkShaper for text 2019-02-07 15:32:20 +00:00
platform_tools Add support for Windows to the gradle builds 2019-01-08 20:01:29 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
site Add a k8s cheat sheet to trooper docs 2019-02-07 14:46:50 +00:00
src Set correct uniform size for Metal. 2019-02-07 16:17:24 +00:00
tests Set correct uniform size for Metal. 2019-02-07 16:17:24 +00:00
third_party Roll HarfBuzz 2019-02-06 21:28:19 +00:00
tools Move GrContextPriv methods to their own .cpp file 2019-02-06 21:15:58 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn
AUTHORS Update BUILDCONFIG.gn to support Visual Studio 2017 Enterprise 2019-01-09 14:27:34 +00:00
BUILD.gn per-contour variant of SkPathMeasure 2019-02-06 18:21:22 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll ../src c27b32b2fd52..635f11205d4b (414 commits) 2019-02-07 11:23:30 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl Remove all references to jsoncpp (build scripts, DEPS, etc) 2019-02-06 15:15:52 +00:00
README
README.chromium
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.