- 19 Mar, 2021 3 commits
-
-
Igor Demin authored
-
Igor Demin authored
Make HardwareLayer internal. It doesn't provide any API now, and when it does - we can provide it in SkiaLayer.
-
-
- 18 Mar, 2021 3 commits
-
-
Roman Sedaikin authored
Added API to get the current SkiaLayer graphics API.
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
- 17 Mar, 2021 3 commits
-
-
Igor Demin authored
Some fixes after metal
-
Igor Demin authored
We don't need them anymore, because `paint` will be called every time we change size and init layer. It is because we changed java.awt.Canvas to javax.swing.JPanel
-
Igor Demin authored
-
- 16 Mar, 2021 7 commits
-
-
Roman Sedaikin authored
Metal API prototype.
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
- 15 Mar, 2021 6 commits
-
-
Igor Demin authored
Fix crash when we close the window immediately after its start
-
Igor Demin authored
Thread 0 Crashed:: Java: AWT-AppKit Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff203b2936 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff203e1615 pthread_kill + 263 2 libsystem_c.dylib 0x00007fff20336411 abort + 120 3 libjvm.dylib 0x0000000108d899bc os::abort(bool, void*, void const*) + 22 4 libjvm.dylib 0x0000000108ecf0cd VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2953 5 libjvm.dylib 0x0000000108ece51e VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 152 6 libjvm.dylib 0x0000000108ecf169 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33 7 libjvm.dylib 0x0000000108d8d95d JVM_handle_bsd_signal + 774 8 libjvm.dylib 0x0000000108d8b4b5 signalHandler(int, __siginfo*, void*) + 45 9 libsystem_platform.dylib 0x00007fff20426d7d _sigtramp + 29 10 ??? 0x0000000000000054 0 + 84 11 libskiko-macos-x64.dylib 0x000000011e5e0fe0 -[AWTGLLayer canDrawInCGLContext:pixelFormat:forLayerTime:displayTime:] + 208 12 com.apple.QuartzCore 0x00007fff26cd854f CAOpenGLLayerDraw(CAOpenGLLayer*, double, CVTimeStamp const*, unsigned int) + 691 13 com.apple.QuartzCore 0x00007fff26cd80be -[CAOpenGLLayer _display] + 582 14 com.apple.QuartzCore 0x00007fff26c3350f CA::Layer::display_if_needed(CA::Transaction*) + 863 15 com.apple.QuartzCore 0x00007fff26d7e622 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 666 16 com.apple.QuartzCore 0x00007fff26c14a43 CA::Transaction::commit() + 713 17 com.apple.QuartzCore 0x00007fff26c4d4a2 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 110 18 com.apple.CoreFoundation 0x00007fff204d95f1 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 19 com.apple.CoreFoundation 0x00007fff204d9485 __CFRunLoopDoObservers + 543 20 com.apple.CoreFoundation 0x00007fff204d7f74 CFRunLoopRunSpecific + 683 21 com.apple.HIToolbox 0x00007fff28789ad3 RunCurrentEventLoopInMode + 292 22 com.apple.HIToolbox 0x00007fff28789835 ReceiveNextEventCommon + 587 23 com.apple.HIToolbox 0x00007fff287895d3 _BlockUntilNextEventMatchingListInModeWithFilter + 70 24 com.apple.AppKit 0x00007fff22cc51da _DPSNextEvent + 864 25 com.apple.AppKit 0x00007fff22cc39ad -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364 26 com.apple.AppKit 0x00007fff22cb5d15 -[NSApplication run] + 586 27 com.jetbrains.toolbox 0x0000000105405b7e runApp() + 30 28 com.jetbrains.toolbox 0x00000001053f8ad1 main_jvm_launcher(int, char**) + 1137 29 com.jetbrains.toolbox 0x00000001053f8d62 main + 34 30 libdyld.dylib 0x00007fff203fcf3d start + 1
-
Nikolay Igotti authored
-
Nikolay Igotti authored
-
Nikolay Igotti authored
-
Roman Sedaikin authored
-
- 11 Mar, 2021 2 commits
-
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
- 10 Mar, 2021 2 commits
-
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
- 09 Mar, 2021 1 commit
-
-
Roman Sedaikin authored
-
- 05 Mar, 2021 1 commit
-
-
Roman Sedaikin authored
-
- 01 Mar, 2021 1 commit
-
-
Alexey Tsvetkov authored
-
- 25 Feb, 2021 1 commit
-
-
Nikolay Igotti authored
-
- 24 Feb, 2021 1 commit
-
-
Nikolay Igotti authored
-
- 23 Feb, 2021 1 commit
-
-
Nikolay Igotti authored
-
- 20 Feb, 2021 2 commits
-
-
Igor Demin authored
Schedule redraw on resize and initialization
-
Igor Demin authored
We probably shouldn't perform frame rendering in init/setBounds. Because in onRender we can call window.setBounds. It will cause drawing onRender inside another onRender. After the fix there is no increase in artifacts on start or resize. "True" fix would be to call "repaint" instead of manual scheduling redrawing with "invokeLater", because paint events have higher priority than usual events. But "repaint" doesn't work with Canvas. It is only works with Swing components. We can extend JLayeredPane instead of HardwareLayer (and just add HardwareLayer to JLayeredPane). But there are too much changes. Anyway, system draws Window independently of AWT, so we probably can't get rid of artifacts if we use only AWT.
-
- 19 Feb, 2021 6 commits
-
-
Roman Sedaikin authored
DirectX rendering implementation.
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-
Roman Sedaikin authored
-