diff options
author | Brian Osman <brianosman@google.com> | 2017-05-10 12:06:26 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-11 18:07:20 +0000 |
commit | 85d34b2e841d99dab914111fe2eaa4db99345e1e (patch) | |
tree | e5f7e81602d89c608fc72b0d84827cdfcd154d60 /include/gpu/gl | |
parent | 97627d4434d4f559bd2ccf2235b5d75366add4dd (diff) |
Remove SkCrossContextImageData and all support code
Bug: skia:
Change-Id: I8eb8cef5456c05a8e314d8404698893c7af82d13
Reviewed-on: https://skia-review.googlesource.com/16368
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/gpu/gl')
-rw-r--r-- | include/gpu/gl/GrGLTypes.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/gpu/gl/GrGLTypes.h b/include/gpu/gl/GrGLTypes.h index 345364b050..a615888980 100644 --- a/include/gpu/gl/GrGLTypes.h +++ b/include/gpu/gl/GrGLTypes.h @@ -9,7 +9,6 @@ #ifndef GrGLTypes_DEFINED #define GrGLTypes_DEFINED -#include "GrExternalTextureData.h" #include "GrGLConfig.h" #include "SkRefCnt.h" @@ -114,25 +113,6 @@ struct GrGLTextureInfo { GrGLuint fID; }; -class GrSemaphore; - -class GrGLExternalTextureData : public GrExternalTextureData { -public: - GrGLExternalTextureData(const GrGLTextureInfo& info, sk_sp<GrSemaphore> semaphore, GrContext*); - GrBackend getBackend() const override { return kOpenGL_GrBackend; } - -protected: - GrBackendObject getBackendObject() const override { - return reinterpret_cast<GrBackendObject>(&fInfo); - } - void attachToContext(GrContext*) override; - - GrGLTextureInfo fInfo; - sk_sp<GrSemaphore> fSemaphore; - - typedef GrExternalTextureData INHERITED; -}; - GR_STATIC_ASSERT(sizeof(GrBackendObject) >= sizeof(const GrGLTextureInfo*)); struct GrGLFramebufferInfo { |