7 #import <Metal/Metal.h>
9 #import "flutter/testing/testing.h"
19 - (void)viewDidReshape:(nonnull NSView*)view {
25 id<MTLDevice> device = MTLCreateSystemDefaultDevice();
26 id<MTLCommandQueue> queue = [device newCommandQueue];
31 reshapeListener:listener
32 threadSynchronizer:threadSynchronizer
33 viewId:kImplicitViewId];
34 EXPECT_EQ([view layer:view.layer shouldInheritContentsScale:3.0 fromWindow:view.window], YES);