commit | d61c9d93b126dca0af17eff89be8536944dadf81 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Apr 10 10:54:25 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Apr 10 15:38:47 2017 +0000 |
tree | 975f3418b8f1f303a2530a2a4b67a97c82c86dcc | |
parent | f9aa9e51691d83970039f42c623c1fd354552378 [diff] |
Move ref counting out of GrProcessor and into subclasses. This will allow different subclasses to use different models for lifetime management. GrXferProcessor moves to simple ref counting since they don't own GrGpuResources. This also constifies GrXferProcessor factories. Change-Id: I6bea0ea8de718874063224232f9da50887868b16 Reviewed-on: https://skia-review.googlesource.com/11792 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>