uno
uno copied to clipboard
feat(android): GLCanvasElement
GitHub Issue (If applicable): https://github.com/unoplatform/uno/issues/9405, follows from #16621
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] Docs have been added/updated which fit documentation template (for bug fixes / features)
- [ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
- [ ] Validated PR
Screenshots Compare Test Runresults. - [ ] Contains NO breaking changes
- [ ] Associated with an issue (GitHub or internal) and uses the automatic close keywords.
- [ ] Commits must be following the Conventional Commits specification.
Other information
Internal Issue (If applicable):
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18216/index.html
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18216/index.html
/azp run
Azure Pipelines successfully started running 2 pipeline(s).
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18216/index.html
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18216/index.html
@ramezgerges
Section changed: SearchContent
fail: Microsoft.UI.Xaml.UIElement[0]
OnElementUnloaded failed in FrameworkElement
System.NullReferenceException: Object reference not set to an instance of an object.
at UITests.Shared.Windows_UI_Composition.RotatingCubeGlCanvasElement.OnDestroy(GL Gl) in C:\a\1\s\src\SamplesApp\UITests.Shared\Windows_UI_Composition\RotatingCubeGlCanvasElement.cs:line 121
at Uno.WinUI.Graphics3DGL.GLCanvasElement.OnUnloaded(Object sender, RoutedEventArgs routedEventArgs) in C:\a\1\s\src\AddIns\Uno.WinUI.Graphics3DGL\GLCanvasElement.cs:line 286
at Microsoft.UI.Xaml.FrameworkElement.<OnFwEltUnloaded>g__InvokeUnloaded|86_0() in C:\a\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.crossruntime.cs:line 206
at Microsoft.UI.Xaml.FrameworkElement.<OnFwEltUnloaded>g__InvokeUnloadedWithTry|86_1() in C:\a\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.crossruntime.cs:line 221
info: Uno.UI.Runtime.Skia.MacOS.MacOSNativeOpenGLWrapper[0]
Found EGL version 1.5.
fail: Microsoft.UI.Xaml.UIElement[0]
OnElementLoaded failed in FrameworkElement
System.Exception: Vertex shader failed to compile: ERROR: 0:2: '#' : invalid character
ERROR: 0:2: 'for' : syntax error
at UITests.Shared.Windows_UI_Composition.SimpleTriangleGlCanvasElement.Init(GL gl) in C:\a\1\s\src\SamplesApp\UITests.Shared\Windows_UI_Composition\SimpleTriangleGlCanvasElement.cs:line 80
at Uno.WinUI.Graphics3DGL.GLCanvasElement.OnLoaded(Object sender, RoutedEventArgs routedEventArgs) in C:\a\1\s\src\AddIns\Uno.WinUI.Graphics3DGL\GLCanvasElement.cs:line 245
at Microsoft.UI.Xaml.FrameworkElement.<OnFwEltLoaded>g__InvokeLoadedWithTry|327_1() in C:\a\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.Layout.crossruntime.cs:line 111
dbug: Uno.UI.Runtime.Skia.MacOS.MacOSWindowHost[0]
SetPointerCapture not supported on macOS.
dbug: Uno.UI.Runtime.Skia.MacOS.MacOSWindowHost[0]
ReleasePointerCapture not supported on macOS.
Section changed: SearchContent
info: Uno.UI.Runtime.Skia.MacOS.MacOSNativeOpenGLWrapper[0]
Found EGL version 1.5.
fail: Microsoft.UI.Xaml.UIElement[0]
OnElementLoaded failed in FrameworkElement
System.Exception: Error compiling shader of type VertexShader, failed with error ERROR: 0:2: '#' : invalid character
ERROR: 0:2: 'for' : syntax error
at UITests.Shared.Windows_UI_Composition.RotatingCubeGlCanvasElement.Shader.LoadShader(ShaderType type, String src) in C:\a\1\s\src\SamplesApp\UITests.Shared\Windows_UI_Composition\RotatingCubeGlCanvasElement.cs:line 241
at UITests.Shared.Windows_UI_Composition.RotatingCubeGlCanvasElement.Shader..ctor(GL gl, String vertexShaderSource, String fragmentShaderSource) in C:\a\1\s\src\SamplesApp\UITests.Shared\Windows_UI_Composition\RotatingCubeGlCanvasElement.cs:line 175
at UITests.Shared.Windows_UI_Composition.RotatingCubeGlCanvasElement.Init(GL Gl) in C:\a\1\s\src\SamplesApp\UITests.Shared\Windows_UI_Composition\RotatingCubeGlCanvasElement.cs:line 113
at Uno.WinUI.Graphics3DGL.GLCanvasElement.OnLoaded(Object sender, RoutedEventArgs routedEventArgs) in C:\a\1\s\src\AddIns\Uno.WinUI.Graphics3DGL\GLCanvasElement.cs:line 245
at Microsoft.UI.Xaml.FrameworkElement.<OnFwEltLoaded>g__InvokeLoadedWithTry|327_1() in C:\a\1\s\src\Uno.UI\UI\Xaml\FrameworkElement.Layout.crossruntime.cs:line 111
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days.
This PR was closed because it has been stalled for 10 days with no activity.
We won't need this change, this is specifically for native.