Skip to content

Commit

Permalink
These attributes are not (yet) available under m116; may never be. RE…
Browse files Browse the repository at this point in the history
…-VISIT!!!
  • Loading branch information
HinTak committed Aug 2, 2023
1 parent 5c18a9c commit 15dd24a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_grcontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,9 @@ def test_GrContext_compressedBackendFormat(context):

@pytest.mark.parametrize('args', [
(64, 64, skia.GrBackendFormat(), 0xFFFFFFFF, skia.GrMipmapped.kNo),
(64, 64, skia.Image.kBC1_RGBA8_UNORM, 0xFFFFFFFF, skia.GrMipmapped.kNo),
# (64, 64, skia.Image.kBC1_RGBA8_UNORM, 0xFFFFFFFF, skia.GrMipmapped.kNo),
(16, 16, skia.GrBackendFormat(), bytearray(256), skia.GrMipmapped.kNo),
(16, 16, skia.Image.kBC1_RGBA8_UNORM, bytearray(256), skia.GrMipmapped.kNo),
# (16, 16, skia.Image.kBC1_RGBA8_UNORM, bytearray(256), skia.GrMipmapped.kNo),
])
def test_GrContext_createCompressedBackendTexture(context, args):
backend_texture = context.createCompressedBackendTexture(*args)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_paint.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
'Color4f': skia.Color4f.FromColor(0xFF00FF00),
'ColorFilter': skia.LumaColorFilter.Make(),
'Dither': False,
'FilterQuality': skia.kMedium_FilterQuality,
# 'FilterQuality': skia.kMedium_FilterQuality,
'ImageFilter': skia.ImageFilters.Blur(1.0, 1.0),
'MaskFilter': skia.MaskFilter.MakeBlur(skia.kNormal_BlurStyle, 1.),
'PathEffect': skia.DashPathEffect.Make([2., 1.], 0),
Expand Down

0 comments on commit 15dd24a

Please sign in to comment.