diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-09-22 19:07:22 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-22 19:07:29 +0000 |
commit | 4935a019125a15f8c56bfd2a6b3d3629a64cad33 (patch) | |
tree | ea4a2b96ff0e012928b029a3082467294b81daf8 /src/gpu/GrOnFlushResourceProvider.h | |
parent | fddc21547de58bbbce6a0b50c1c65c0392dd09e4 (diff) |
Revert "Shrink GrDrawOpAtlases when no longer needed"
This reverts commit 7cf59526c9b1ab3682e875d449200e51f3b6ff32.
Reason for revert: Red red bots... it's tearing me apart...
Original change's description:
> Shrink GrDrawOpAtlases when no longer needed
>
> Bug: skia:3550
> Change-Id: I7b09aa2b0fd22ed99694f32f9f395392ef80e238
> Reviewed-on: https://skia-review.googlesource.com/49901
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com
Change-Id: I8331ec79b0796e1f75d7cc53b9753f886aea7fcd
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:3550
Reviewed-on: https://skia-review.googlesource.com/50220
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/gpu/GrOnFlushResourceProvider.h')
-rw-r--r-- | src/gpu/GrOnFlushResourceProvider.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrOnFlushResourceProvider.h b/src/gpu/GrOnFlushResourceProvider.h index 08dd012c99..e2c0b73075 100644 --- a/src/gpu/GrOnFlushResourceProvider.h +++ b/src/gpu/GrOnFlushResourceProvider.h @@ -9,7 +9,6 @@ #define GrOnFlushResourceProvider_DEFINED #include "GrTypes.h" -#include "GrOpFlushState.h" #include "GrResourceProvider.h" #include "SkRefCnt.h" #include "SkTArray.h" @@ -44,9 +43,9 @@ public: /** * Called once flushing is complete and all ops indicated by preFlush have been executed and - * released. startTokenForNextFlush can be used to track resources used in the current flush. + * released. */ - virtual void postFlush(GrDrawOpUploadToken startTokenForNextFlush) {} + virtual void postFlush() {} private: typedef SkRefCnt INHERITED; |