diff options
author | Greg Daniel <egdaniel@google.com> | 2017-11-08 19:58:51 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-08 19:58:58 +0000 |
commit | 065b41dd90782e22b5708c8b43696db641d54f46 (patch) | |
tree | 218278f670fb63274f6fbbcf68a6f99ad431029b /src/gpu/GrSurfaceProxyPriv.h | |
parent | 0078ab22519313be727ace05306333910768f58e (diff) |
Revert "Prepare to enable explicit gpu resource allocation"
This reverts commit f290376736b42a19b87da78c6ba2558313896860.
Reason for revert: Changed generated effect instead of FP
Original change's description:
> Prepare to enable explicit gpu resource allocation
>
> Change-Id: I407e45711c61831febbac3d3d3a88e3fdde92c5f
> Reviewed-on: https://skia-review.googlesource.com/68212
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
TBR=bsalomon@google.com,robertphillips@google.com
Change-Id: I949500d94c7461b7cf38d615117cfcdc9a791780
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/68900
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
-rw-r--r-- | src/gpu/GrSurfaceProxyPriv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrSurfaceProxyPriv.h b/src/gpu/GrSurfaceProxyPriv.h index 1f953f401d..f88c5cdfd9 100644 --- a/src/gpu/GrSurfaceProxyPriv.h +++ b/src/gpu/GrSurfaceProxyPriv.h @@ -10,8 +10,6 @@ #include "GrSurfaceProxy.h" -#include "GrResourceProvider.h" - /** Class that adds methods to GrSurfaceProxy that are only intended for use internal to Skia. This class is purely a privileged window into GrSurfaceProxy. It should never have additional data members or virtual methods. */ @@ -58,10 +56,6 @@ public: // Assign this proxy the provided GrSurface as its backing surface void assign(sk_sp<GrSurface> surface) { fProxy->assign(std::move(surface)); } - bool requiresNoPendingIO() const { - return fProxy->fFlags & GrResourceProvider::kNoPendingIO_Flag; - } - // Don't abuse this call!!!!!!! bool isExact() const { return SkBackingFit::kExact == fProxy->fFit; } |