aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-03-07 13:37:21 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-07 20:37:38 +0000
commitd85f97d6968c9a287a27d6ba10da8fff3b0230e2 (patch)
tree002e6d15842acd3c6b5b432a33765d1a3f93fd15 /include/gpu/gl
parent3a9aab9ef0874d7fe661e48608a334c3ef98c6ba (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 'include/gpu/gl')
-rw-r--r--include/gpu/gl/GrGLTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/gl/GrGLTypes.h b/include/gpu/gl/GrGLTypes.h
index baf87a4b61..0a2346e73c 100644
--- a/include/gpu/gl/GrGLTypes.h
+++ b/include/gpu/gl/GrGLTypes.h
@@ -118,7 +118,7 @@ class GrSemaphore;
class GrGLExternalTextureData : public GrExternalTextureData {
public:
- GrGLExternalTextureData(const GrGLTextureInfo& info, sk_sp<GrSemaphore> semaphore);
+ GrGLExternalTextureData(const GrGLTextureInfo& info, sk_sp<GrSemaphore> semaphore, GrContext*);
GrBackend getBackend() const override { return kOpenGL_GrBackend; }
protected: