diff options
author | Greg Daniel <egdaniel@google.com> | 2017-03-07 13:37:21 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-07 20:37:38 +0000 |
commit | d85f97d6968c9a287a27d6ba10da8fff3b0230e2 (patch) | |
tree | 002e6d15842acd3c6b5b432a33765d1a3f93fd15 /src/gpu/GrSemaphore.h | |
parent | 3a9aab9ef0874d7fe661e48608a334c3ef98c6ba (diff) |
Control making of GrSemaphore objects inside of GrResourceProvider
This change will help us get to the point of not needing access to the GrGpu
object from GrContext.
BUG=skia:
Change-Id: Icff9815c73f1791d2ce34a4d27c57898a36f2b8f
Reviewed-on: https://skia-review.googlesource.com/9391
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrSemaphore.h')
-rw-r--r-- | src/gpu/GrSemaphore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrSemaphore.h b/src/gpu/GrSemaphore.h index 717b4bb506..b4843ff780 100644 --- a/src/gpu/GrSemaphore.h +++ b/src/gpu/GrSemaphore.h @@ -23,7 +23,7 @@ private: protected: explicit GrSemaphore(const GrGpu* gpu) : fGpu(gpu) {} - friend class GrGLExternalTextureData; // resetGpu + friend class GrResourceProvider; // resetGpu const GrGpu* fGpu; }; |