Skip to content

Commit

Permalink
🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon committed Oct 30, 2024
1 parent 1470140 commit 11659d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
7 changes: 1 addition & 6 deletions apps/example/src/Cube/Cube.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,7 @@ export function Cube() {

return (
<View style={style.container}>
<Canvas
ref={ref}
style={style.webgpu}
androidTransparency
androidExperimental
/>
<Canvas ref={ref} style={style.webgpu} />
</View>
);
}
Expand Down
7 changes: 1 addition & 6 deletions apps/example/src/Resize/Resize.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ export const Resize = () => {
<Animated.View
style={{ width: width.current, flex: 1, backgroundColor: "cyan" }}
>
<Canvas
ref={ref}
style={{ flex: 1 }}
androidTransparency
androidExperimental
/>
<Canvas ref={ref} style={{ flex: 1 }} />
</Animated.View>
</View>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;

import java.io.PipedReader;
import java.util.LinkedList;
import java.util.Queue;

@SuppressLint("ViewConstructor")
@RequiresApi(api = Build.VERSION_CODES.Q)
public class WebGPUAHBView extends View implements ImageReader.OnImageAvailableListener {
Expand Down

0 comments on commit 11659d9

Please sign in to comment.