diff options
author | Robert Phillips <robertphillips@google.com> | 2017-05-22 13:59:44 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-22 18:02:52 +0000 |
commit | ee26363aaae62db2a851f2873e2405a9cf7f995a (patch) | |
tree | 475d8255d76381852fa73e8b9732d60bdbfe9398 /src/gpu/gl/GrGLGpu.h | |
parent | 317a1857f80ffc18d591dd6b1ac0988184b1ed2b (diff) |
Remove compressed (ETC1) texture support from Ganesh
Change-Id: If4cf286df87ea87338aba47001d90a5fcc4f2667
Reviewed-on: https://skia-review.googlesource.com/17456
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index cf3d38fa6b..a4706c79ed 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -163,9 +163,6 @@ private: GrTexture* onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const SkTArray<GrMipLevel>& texels) override; - GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, - SkBudgeted budgeted, - const SkTArray<GrMipLevel>& texels) override; GrBuffer* onCreateBuffer(size_t size, GrBufferType intendedType, GrAccessPattern, const void* data) override; @@ -366,18 +363,6 @@ private: int top, int width, int height, GrPixelConfig dataConfig, const SkTArray<GrMipLevel>& texels); - // helper for onCreateCompressedTexture. If width and height are - // set to -1, then this function will use desc.fWidth and desc.fHeight - // for the size of the data. The isNewTexture flag should be set to true - // whenever a new texture needs to be created. Otherwise, we assume that - // the texture is already in GPU memory and that it's going to be updated - // with new data. - bool uploadCompressedTexData(GrPixelConfig texAndDataConfig, int texWidth, int texHeight, - GrSurfaceOrigin texOrigin, GrGLenum target, - const SkTArray<GrMipLevel>& texels, - UploadType uploadType = kNewTexture_UploadType, int left = 0, - int top = 0, int width = -1, int height = -1); - bool createRenderTargetObjects(const GrSurfaceDesc&, const GrGLTextureInfo& texInfo, GrGLRenderTarget::IDDesc*); |