aboutsummaryrefslogtreecommitdiffstats
path: root/android/protocol/fb-updates-proxy.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify async utils by removing extra LoopIo parameter.David 'Digit' Turner2011-04-111-3/+3
| | | | | | | | | | | | | | | This patch removes the LoopIo parameter from asyncReader_run() by storing the initial pointer passed to asyncReader_init() inside the object itself. Same treatment is performed for: - AsyncReader - AsyncWriter - AsyncLineReader - AsyncConnector - AsyncConsoleConnect Change-Id: Ic74b817e4c326230ca1d38b3a5d8c4790c4f90c1
* Simplify core framebuffer management.David 'Digit' Turner2011-02-021-28/+42
| | | | | | | | | | | | | | | | | | | | | | | Remove one layer of indirection between the core's DisplayState and a ProxyFramebuffer object. The main ideas behind this patch are that: - We don't need a QFrameBuffer object when in the core process, each proxy can receive display updates directly from QEMU. - The DisplayChangeListener is really lame: its can't dissociate between several listeners that use the same callback pointers, so introduce DisplayUpdateListener in console.h to work around this. This is preferably to modifying DisplayChangeListener which is going to introduce conflicts with upstream. - Simplify a lot the console code and display-core. Note that we can have several framebuffer clients at the same time now. Note that QFrameBuffer is still used by both the UI program and the standalone emulator. Change-Id: I6d5ad6ecd9b34b9d9d1a30ea5000e875c285e84e
* Move framebuffer.h to android/David 'Digit' Turner2011-02-021-1/+1
| | | | | | | The QFrameBuffer is no used by QEMU-specific code anymore so it's more logical to move it here. Change-Id: Id49ff53dd49648000e7543652d66f7c03881a8cb
* Refactor the framebuffer serviceVladimir Chtchetkine2011-01-311-0/+332
Change-Id: I8ac4580af65b8d58976c97b77b309dd202e75003