Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPUTextureUtils: Improve _copyImageToTexture() #30260

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

ycw
Copy link
Contributor

@ycw ycw commented Jan 3, 2025

copy + flipY by single api call

Copy link

github-actions bot commented Jan 3, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.49
79.09
339.49
79.09
+0 B
+0 B
WebGPU 489.83
135.88
489.81
135.88
-19 B
+3 B
WebGPU Nodes 489.29
135.77
489.27
135.77
-19 B
+4 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 465.35
112.14
465.35
112.14
+0 B
+0 B
WebGPU 559.31
151.37
559.29
151.38
-19 B
+3 B
WebGPU Nodes 515.38
141.15
515.36
141.15
-19 B
+3 B

@sunag sunag added this to the r173 milestone Jan 3, 2025
@sunag sunag merged commit c0b0059 into mrdoob:dev Jan 3, 2025
12 checks passed
@ycw ycw deleted the 'native-flip-y' branch January 4, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants