Unverified Commit 1f2ab5a6 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Declare a system message channel for Skia configuration (#26262)

Fixes https://github.com/flutter/flutter/issues/25244
parent 7c19ec6c
......@@ -224,4 +224,15 @@ class SystemChannels {
StandardMethodCodec(),
);
/// A [MethodChannel] for configuring the Skia graphics library.
///
/// The following outgoing methods are defined for this channel (invoked using
/// [OptionalMethodChannel.invokeMethod]):
///
/// * `Skia.setResourceCacheMaxBytes`: Set the maximum number of bytes that
/// can be held in the GPU resource cache.
static const MethodChannel skia = MethodChannel(
'flutter/skia',
JSONMethodCodec(),
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment