Go to file
Michael Ludwig ce86910dd8 Revert "Centralize geometry processor vertex shader transform code"
This reverts commit 0426947243.

Reason for revert: unblock chrome roller

Original change's description:
> Centralize geometry processor vertex shader transform code
> 
> GrGLSLGeometryProcessors no longer have to call emitTransforms() in
> their onEmitCode() function. Instead, the GpArgs struct allows them to
> set a GrShaderVar that holds the computed or explicitly provided local
> coordinates in the vertex shader.
> 
> The base GrGLSLGeometryProcessor now automatically uses that to collect
> all of the transforms that can then be lifted out of FPs to the vertex
> shader, and base their computation on the GP provided local coordinate.
> 
> As part of this, there is no more built-in magic concatenation of a
> local matrix / inverse view matrix to these coordinate transforms. GP
> implementations that relied on this now manage their own uniform for this
> matrix and compute the local coordinate before assigning to GpArgs.
> 
> The base GrGLSLGeometryProcessor is updated to provide helpers for this
> pattern.
> 
> Bug: skia:10396
> Change-Id: I56afb3fff4b806f6015ab13626ac1afde9ef5c2b
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/297027
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

TBR=bsalomon@google.com,brianosman@google.com,michaelludwig@google.com

Change-Id: I203b7c72591d39b159e0405716fe8cdc28b083af
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:10396
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/297917
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2020-06-20 00:37:45 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Reland "Don't release vk memory allocator until context is deleted." 2020-06-18 22:04:23 +00:00
bin Roll gn. 2020-06-18 19:33:04 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkBitmapRegionDecoder and SkBRDAllocator 2020-06-01 20:56:29 +00:00
dm Prevent non-trivial destructors from running after exit in DM. 2020-06-20 00:02:23 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkSurface::MakeFromBackendTextureAsRenderTarget from public API 2020-05-29 15:09:52 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental [skrive] Reset the node system 2020-06-19 20:00:55 +00:00
fuzz replace max_len with if statements 2020-06-16 17:26:30 +00:00
gm Revert "Make it easier to test rectangle textures by using createBackendTexture." 2020-06-19 19:14:39 +00:00
gn decouple werror and -isystem in third_party 2020-06-19 21:59:35 +00:00
include Prevent non-trivial destructors from running after exit in DM. 2020-06-20 00:02:23 +00:00
infra Revert "Convert Skottie build instructions to build an Android Library (AAR) instead of app (APK)" 2020-06-17 20:35:21 +00:00
modules Query GL_SAMPLES when creating an SkSurface from the WebGL canvas 2020-06-19 19:59:15 +00:00
platform_tools Revert "Convert Skottie build instructions to build an Android Library (AAR) instead of app (APK)" 2020-06-17 20:35:21 +00:00
resources Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
samplecode Handle kMatrixMultiply in ByteCode -> SkVM 2020-06-19 20:31:10 +00:00
site Regularize selection of fontmgr. 2020-06-11 12:28:03 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Revert "Centralize geometry processor vertex shader transform code" 2020-06-20 00:37:45 +00:00
tests Revert "Make it easier to test rectangle textures by using createBackendTexture." 2020-06-19 19:14:39 +00:00
third_party decouple werror and -isystem in third_party 2020-06-19 21:59:35 +00:00
tools Revert "Centralize geometry processor vertex shader transform code" 2020-06-20 00:37:45 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Revert "Convert Skottie build instructions to build an Android Library (AAR) instead of app (APK)" 2020-06-17 20:35:21 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Reland "Allow building with Wuffs v0.3, not just v0.2" 2020-06-18 16:02:03 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll ANGLE from fa3d64bf72d6 to c81f0b7b921f (6 revisions) 2020-06-19 04:45:02 +00:00
go.mod Update Go Deps 2020-06-17 05:41:53 +00:00
go.sum Update Go Deps 2020-06-17 05:41:53 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Remove SkFontHost_mac.cpp. 2020-06-08 22:25:40 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Add SkSurface flush call that takes a GrBackendSurfaceMutableState. 2020-06-12 20:40:54 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +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.