File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ void HWComposer::hook_invalidate(struct hwc_procs* procs) {
7575}
7676
7777void HWComposer::invalidate() {
78- mFlinger->signalEvent ();
78+ mFlinger->repaintEverything ();
7979}
8080
8181void HWComposer::setFrameBuffer(EGLDisplay dpy, EGLSurface sur) {
Original file line number Diff line number Diff line change @@ -256,12 +256,11 @@ class SurfaceFlinger :
256256public: // hack to work around gcc 4.0.3 bug
257257 const GraphicPlane& graphicPlane(int dpy) const;
258258 GraphicPlane& graphicPlane(int dpy);
259- private:
259+ void signalEvent();
260+ void repaintEverything();
260261
261- void waitForEvent();
262- public: // hack to work around gcc 4.0.3 bug
263- void signalEvent();
264262private:
263+ void waitForEvent();
265264 void handleConsoleEvents();
266265 void handleTransaction(uint32_t transactionFlags);
267266 void handleTransactionLocked(uint32_t transactionFlags);
@@ -279,7 +278,6 @@ class SurfaceFlinger :
279278 void postFramebuffer();
280279 void setupHardwareComposer(Region& dirtyInOut);
281280 void composeSurfaces(const Region& dirty);
282- void repaintEverything();
283281
284282
285283 ssize_t addClientLayer(const sp<Client>& client,
You can’t perform that action at this time.
0 commit comments