diff options
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 15 | 
1 files changed, 0 insertions, 15 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 434e473d74b1..5a8888a26622 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -394,14 +394,10 @@ bool SurfaceFlinger::threadLoop()          logger.log(GraphicLog::SF_SWAP_BUFFERS, index);          postFramebuffer(); -        logger.log(GraphicLog::SF_UNLOCK_CLIENTS, index); -        unlockClients(); -          logger.log(GraphicLog::SF_REPAINT_DONE, index);      } else {          // pretend we did the post          hw.compositionComplete(); -        unlockClients();          usleep(16667); // 60 fps period      }      return true; @@ -920,17 +916,6 @@ void SurfaceFlinger::composeSurfaces(const Region& dirty)      }  } -void SurfaceFlinger::unlockClients() -{ -    const LayerVector& drawingLayers(mDrawingState.layersSortedByZ); -    const size_t count = drawingLayers.size(); -    sp<LayerBase> const* const layers = drawingLayers.array(); -    for (size_t i=0 ; i<count ; ++i) { -        const sp<LayerBase>& layer = layers[i]; -        layer->finishPageFlip(); -    } -} -  void SurfaceFlinger::debugFlashRegions()  {      const DisplayHardware& hw(graphicPlane(0).displayHardware());  |