Remove GrSurfaceDesc member from GrSurfaceProxy.
authorBrian Salomon <bsalomon@google.com>
Wed, 17 May 2017 17:49:59 +0000 (13:49 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 17 May 2017 18:17:50 +0000 (18:17 +0000)
commitbb5711a5e4b9c83f0fc49f2d4ee19ca1e4592e14
treee743c265e75a1dad32c1425bf3b9ed88abad2c52
parent9f1c403362d8de6038328c7238b6ac56be552324
Remove GrSurfaceDesc member from GrSurfaceProxy.

Stores the config, origin, and dimensions in GrSurfaceProxy, sample count in GrRenderTargetProxy, and "was constructed with mip maps" in GrTextureProxy.

Change-Id: Iee058674dce49107a991cca9d083cd33e3572809
Reviewed-on: https://skia-review.googlesource.com/17209
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
30 files changed:
include/gpu/GrSurface.h
include/private/GrRenderTargetProxy.h
include/private/GrSurfaceProxy.h
include/private/GrTextureProxy.h
src/core/SkGpuBlurUtils.cpp
src/gpu/GrContext.cpp
src/gpu/GrCoordTransform.cpp
src/gpu/GrDrawOpAtlas.cpp
src/gpu/GrDrawingManager.cpp
src/gpu/GrProcessor.cpp
src/gpu/GrRenderTargetContext.cpp
src/gpu/GrRenderTargetContext.h
src/gpu/GrRenderTargetProxy.cpp
src/gpu/GrResourceProvider.cpp
src/gpu/GrSurface.cpp
src/gpu/GrSurfaceProxy.cpp
src/gpu/GrTexture.cpp
src/gpu/GrTextureProxy.cpp
src/gpu/GrTextureRenderTargetProxy.cpp
src/gpu/GrTextureRenderTargetProxy.h
src/gpu/effects/GrSimpleTextureEffect.h
src/gpu/gl/GrGLRenderTarget.cpp
src/gpu/gl/GrGLTextureRenderTarget.h
src/gpu/vk/GrVkRenderTarget.h
src/gpu/vk/GrVkTextureRenderTarget.h
src/image/SkImage_Gpu.cpp
src/image/SkImage_Gpu.h
tests/ClipStackTest.cpp
tests/ImageFilterCacheTest.cpp
tests/ProxyTest.cpp