feat(后端架构): 移除实验性GoGPU后端,保留多后端扩展能力
build.yaml / build (push) Successful in 40s

This commit is contained in:
xiaoqidun committed 2026-09-24 09:23:16 +08:00
1 parent 46e6d5b622
commit a1abe55726
15 files changed
+199 -1121

No files matched your search

+1 -4
View File
@@ -21,13 +21,10 @@ import (
"github.com/tdewolff/canvas"
)
// canvasNativeStroke 判断描边是否仍由Canvas提供,组合几何不改变矢量描边编码
// canvasNativeStroke 判断描边是否由Canvas提供
// 入参: geometry 几何后端
// 返回: bool 是否采用原生描边
func canvasNativeStroke(geometry GeometryBackend) bool {
if combined, ok := geometry.(GGGeometryBackend); ok {
return canvasNativeStroke(combined.GeometryBackend)
}
_, ok := geometry.(CanvasBackend)
return ok
}