mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[ios] Remove unused is_valid_ from IOS Metal Context (flutter/engine#21432)
This commit is contained in:
parent
605d9f178f
commit
100e0491d8
@ -37,7 +37,6 @@ class IOSContextMetal final : public IOSContext {
|
||||
sk_sp<GrDirectContext> main_context_;
|
||||
sk_sp<GrDirectContext> resource_context_;
|
||||
fml::CFRef<CVMetalTextureCacheRef> texture_cache_;
|
||||
bool is_valid_ = false;
|
||||
|
||||
// |IOSContext|
|
||||
sk_sp<GrDirectContext> CreateResourceContext() override;
|
||||
|
||||
@ -65,8 +65,6 @@ IOSContextMetal::IOSContextMetal() {
|
||||
return;
|
||||
}
|
||||
texture_cache_.Reset(texture_cache_raw);
|
||||
|
||||
is_valid_ = false;
|
||||
}
|
||||
|
||||
IOSContextMetal::~IOSContextMetal() = default;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user