summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/grdev.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-10-02 17:59:26 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-10-03 15:57:00 +0200
commitaec3f44651998211d559b474bb830aad65680a62 (patch)
tree633953f3668928f2403285d69ddd8945a737475e /src/libsystemd-terminal/grdev.h
parent6a15ce2b3eb852023d77787f96c6a4a72eb4d60d (diff)
terminal/drm: provide pipe->target() callback
Instead of looking for available back-buffers on each operation, set it to NULL and wait for the next frame request. It will call back into the pipe to request the back-buffer via ->target(), where we can do the same and look for an available backbuffer. This simplifies the code and avoids double lookups if we run short of buffers.
Diffstat (limited to 'src/libsystemd-terminal/grdev.h')
0 files changed, 0 insertions, 0 deletions