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:
parent
4935a01912
commit
acbdb5d990
@ -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 {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user