Remove unused function with an incorrect assert

Bug: skia:
Change-Id: I4003085fbb1cadc4aeb2e950f1a9f44f96d03a93
Reviewed-on: https://skia-review.googlesource.com/50240
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
Brian Osman 2017-09-22 15:27:19 -04:00 committed by Skia Commit-Bot
parent 4935a01912
commit acbdb5d990
2 changed files with 0 additions and 12 deletions

View File

@ -25,8 +25,6 @@ public:
// Actually instantiate the backing texture, if necessary
bool instantiate(GrResourceProvider*) override;
void setMipColorMode(SkDestinationSurfaceColorMode colorMode);
GrSamplerState::Filter highestFilterMode() const;
GrSLType imageStorageType() const {

View File

@ -67,16 +67,6 @@ sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvi
return surface;
}
void GrTextureProxy::setMipColorMode(SkDestinationSurfaceColorMode colorMode) {
SkASSERT(fTarget || fTarget->asTexture());
if (fTarget) {
fTarget->asTexture()->texturePriv().setMipColorMode(colorMode);
}
fMipColorMode = colorMode;
}
// This method parallels the highest_filter_mode functions in GrGLTexture & GrVkTexture.
GrSamplerState::Filter GrTextureProxy::highestFilterMode() const {
if (fTarget) {