From d85f97d6968c9a287a27d6ba10da8fff3b0230e2 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Tue, 7 Mar 2017 13:37:21 -0500 Subject: 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 Commit-Queue: Greg Daniel --- include/gpu/gl/GrGLTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/gpu/gl') 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 semaphore); + GrGLExternalTextureData(const GrGLTextureInfo& info, sk_sp semaphore, GrContext*); GrBackend getBackend() const override { return kOpenGL_GrBackend; } protected: -- cgit v1.2.3