You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some changes that must be done for a probable first release of the library (some of these items are implemented in an internal beta version that will be published in the near future):
update to Skia m81
add Surface::drawText() expand the current os::draw_text() function (Drawing text as functions instead of Surface members #12) and remove freetype usage if possible, use Skia directly to draw text, SkShaper module uses harfbuzz+icu
what to do with os::ScopedHandle? add os::DisplayHandle and os::SurfaceHandle aliases? or use move semantic and pimpl idiom?
rename os::Display -> os::Window?
add API to get main monitor/screen, list of monitors/screen, bounds of each monitor, etc.
create an example that can create 4 windows in a 2x2 grid of windows on each monitor
add a new kind of coordinate/position for os::Display that is bounds + monitor/screen
getEvent() -> replace bool arg with an enum { WaitForEvents, DontWait } we've replaced the parameter with a timeout
enable GPU support again and create a simple OpenGL example
create an example about complex text layout / new text API
merge all os::Surface::drawSurface()/blitTo() in one member function with a os::Paint argument
decide if constants should have k prefix (e.g. os::Event::ResizeDisplay vs os::kArrowCursor; or os::Key::Esc instead of os::kKeyEsc) / Check web KeyboardEvent codes as a reference / Review keyboard events #50
create test about color spaces
prepare API documentation / tutorial
...
The text was updated successfully, but these errors were encountered:
* We've added a new "shader" example to show the capabilities of SkSL
shading language (it works on CPU without acceleration, and with GPU
shaders). More info: https://skia.org/docs/user/sksl/
* The macOS port still need some work as live resizing is not
working/refreshing the window properly.
* The API needs some refactor to support different GPU
backends (Raster, OpenGL, Direct3D, Metal, etc.)
* We still need a way to specify the GPU acceleration by
window (instead of system-wide) and when we change the option the
window/OpenGL context should be updated/created/destroyed
immediately (right now a resize events must be generated to update the
backend).
Related to:
aseprite/aseprite#960#11
Some changes that must be done for a probable first release of the library (some of these items are implemented in an internal beta version that will be published in the near future):
add Surface::drawText()expand the currentos::draw_text()
function (Drawing text as functions instead of Surface members #12) and remove freetype usage if possible, use Skia directly to draw text,SkShaper
module uses harfbuzz+icuos::Display::setTitleBar()
->setTitle()
os::Surface::bounds()
->Rect(0, 0, width, height)
os::Display::invalidate()
=os::Display->invalidateRegion(display->surface->bounds)
os::ScopedHandle
? addos::DisplayHandle
andos::SurfaceHandle
aliases? or use move semantic and pimpl idiom?os::Display
->os::Window
?os::Display
that is bounds + monitor/screenwe've replaced the parameter with a timeoutgetEvent()
-> replace bool arg with anenum { WaitForEvents, DontWait }
os::Surface::drawSurface()
/blitTo()
in one member function with aos::Paint
argumentk
prefix (e.g.os::Event::ResizeDisplay
vsos::kArrowCursor
; oros::Key::Esc
instead ofos::kKeyEsc
) / Check web KeyboardEvent codes as a reference / Review keyboard events #50The text was updated successfully, but these errors were encountered: