复用 LUT 浏览器位图并消除点击闪黑

这个提交包含在:
mac 于 2026-11-08 21:50:39 +08:00 提交
1 父节点 a0225404a2
当前提交 e0bd8342c0
9 个文件已更改
+150 -83

没有与搜索条件相匹配的文件

+1
查看文件
@@ -232,6 +232,7 @@ static NSData *DYLookBufferData(id<MTLBuffer> buffer) {
}
}
NSMutableDictionary *frames=[NSMutableDictionary dictionary];
if(_scopeDestination&&CMTIME_IS_NUMERIC(_scopeRenderTime))frames[@"time"]=@(CMTimeGetSeconds(_scopeRenderTime));
if(look){frames[@"standard"]=look;frames[@"standardSize"]=[NSValue valueWithSize:size];}
if(high){frames[@"high"]=DYLookBufferData(high);frames[@"highSize"]=[NSValue valueWithSize:highSize];}
[_lookLUTPreviewFrames release];_lookLUTPreviewFrames=[frames copy];