Merge "Force a repaint when hwc invalidate hook is called"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1302d32996
@@ -75,7 +75,7 @@ void HWComposer::hook_invalidate(struct hwc_procs* procs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HWComposer::invalidate() {
|
void HWComposer::invalidate() {
|
||||||
mFlinger->signalEvent();
|
mFlinger->repaintEverything();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HWComposer::setFrameBuffer(EGLDisplay dpy, EGLSurface sur) {
|
void HWComposer::setFrameBuffer(EGLDisplay dpy, EGLSurface sur) {
|
||||||
|
|||||||
@@ -256,12 +256,11 @@ private:
|
|||||||
public: // hack to work around gcc 4.0.3 bug
|
public: // hack to work around gcc 4.0.3 bug
|
||||||
const GraphicPlane& graphicPlane(int dpy) const;
|
const GraphicPlane& graphicPlane(int dpy) const;
|
||||||
GraphicPlane& graphicPlane(int dpy);
|
GraphicPlane& graphicPlane(int dpy);
|
||||||
private:
|
void signalEvent();
|
||||||
|
void repaintEverything();
|
||||||
|
|
||||||
void waitForEvent();
|
|
||||||
public: // hack to work around gcc 4.0.3 bug
|
|
||||||
void signalEvent();
|
|
||||||
private:
|
private:
|
||||||
|
void waitForEvent();
|
||||||
void handleConsoleEvents();
|
void handleConsoleEvents();
|
||||||
void handleTransaction(uint32_t transactionFlags);
|
void handleTransaction(uint32_t transactionFlags);
|
||||||
void handleTransactionLocked(uint32_t transactionFlags);
|
void handleTransactionLocked(uint32_t transactionFlags);
|
||||||
@@ -279,7 +278,6 @@ private:
|
|||||||
void postFramebuffer();
|
void postFramebuffer();
|
||||||
void setupHardwareComposer(Region& dirtyInOut);
|
void setupHardwareComposer(Region& dirtyInOut);
|
||||||
void composeSurfaces(const Region& dirty);
|
void composeSurfaces(const Region& dirty);
|
||||||
void repaintEverything();
|
|
||||||
|
|
||||||
|
|
||||||
ssize_t addClientLayer(const sp<Client>& client,
|
ssize_t addClientLayer(const sp<Client>& client,
|
||||||
|
|||||||
Reference in New Issue
Block a user