d063e8b6f1
Windowing and events: * Use a NSTrackingArea to only capture mouse events within the view. * Use ViewDelegate to track events rather than pulling them out of the event pump. * Sets up the autoreleasepool correctly to clear out old events Context creation: * Don't use a subview for OpenGL (it's not necessary). * For Metal, use a CAMetalLayer rather than MTKView. * Add vsync support to Metal. Bug: skia:8737 Change-Id: I8ea5cc865df65f8dc2fef47082bf6a4d1657cf03 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/213672 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
android | ||
ios | ||
mac | ||
unix | ||
win | ||
Application.h | ||
CommandSet.cpp | ||
CommandSet.h | ||
DisplayParams.h | ||
GLWindowContext.cpp | ||
GLWindowContext.h | ||
MetalWindowContext.h | ||
MetalWindowContext.mm | ||
RasterWindowContext.h | ||
VulkanWindowContext.cpp | ||
VulkanWindowContext.h | ||
Window.cpp | ||
Window.h | ||
WindowContext.h |