Skip to content

Commit b6c2bb0

Browse files
Sean GilhulySkia Commit-Bot
authored andcommitted
Turn off mip map support in GrDawnCaps
GrDawnGpu::onRegenerateMipMapLevels() is not implemented. Set mip map support to false in GrDawnCaps so that the function is not called. Change-Id: I342c59d171d21250ee4da400f58b6da54a04ca8c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/272139 Commit-Queue: Sean Gilhuly <sgilhuly@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org>
1 parent e1a81ba commit b6c2bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpu/dawn/GrDawnCaps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "src/gpu/GrStencilSettings.h"
1515

1616
GrDawnCaps::GrDawnCaps(const GrContextOptions& contextOptions) : INHERITED(contextOptions) {
17-
fMipMapSupport = true;
17+
fMipMapSupport = false; // FIXME: implement onRegenerateMipMapLevels in GrDawnGpu.
1818
fBufferMapThreshold = SK_MaxS32; // FIXME: get this from Dawn?
1919
fShaderCaps.reset(new GrShaderCaps(contextOptions));
2020
fMaxTextureSize = fMaxRenderTargetSize = 4096; // FIXME

0 commit comments

Comments
 (0)