lp://staging/~dandrader/frame/smarter_backend
- Get this branch:
- bzr branch lp://staging/~dandrader/frame/smarter_backend
Branch merges
- Chase Douglas (community): Approve
-
Diff: 691 lines (+301/-99)10 files modifiedinclude/oif/frame.h (+1/-0)
include/oif/frame_backend.h (+49/-12)
src/frame.cpp (+70/-11)
src/frame.h (+4/-4)
src/libframe.ver (+4/-3)
src/touch.cpp (+75/-59)
src/touch.h (+7/-2)
src/window.h (+1/-1)
src/x11/window_x11.cpp (+2/-2)
test/regular/backend.cpp (+88/-5)
Branch information
Recent revisions
- 95. By Daniel d'Andrada
-
The Window class no longer needs to subclass std::enable_
shared_ from_this< Window> . - 94. By Daniel d'Andrada
-
Make it possible to edit a touch that already belongs to a frame
We do that by borrowing the touch from the frame, so that its reference
count is still one and therefore won't trigger the execution of hard-copy.A side effect is that we now enforce the desired (correct) manipulation of a
touch backend by restricting what is possible to be done via the API. - 93. By Daniel d'Andrada
-
Add some helper functions to the backend API and lazy copy for touches
The new functions are:
- frame_backend_frame_create_ next
- frame_backend_frame_get_ touch_by_ id With those functions, backend implementors can more easily write efficient
end error-free implementations. - 90. By Daniel d'Andrada
-
Adds a backend API.
So that any client can adapt frame+grail to work on top of their input system
without relying on frame to provide a suitable backend implementation.This API also removes the need to mock libframe when writing grail tests.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/frame