Loading libs/surfaceflinger/SurfaceFlinger.cpp +1 −11 Original line number Diff line number Diff line Loading @@ -177,7 +177,6 @@ SurfaceFlinger::SurfaceFlinger() mFreezeCount(0), mFreezeDisplayTime(0), mDebugRegion(0), mDebugFps(0), mDebugBackground(0), mDebugNoBootAnimation(0), mConsoleSignals(0), Loading @@ -196,14 +195,11 @@ void SurfaceFlinger::init() mDebugRegion = atoi(value); property_get("debug.sf.showbackground", value, "0"); mDebugBackground = atoi(value); property_get("debug.sf.showfps", value, "0"); mDebugFps = atoi(value); property_get("debug.sf.nobootanimation", value, "0"); mDebugNoBootAnimation = atoi(value); LOGI_IF(mDebugRegion, "showupdates enabled"); LOGI_IF(mDebugBackground, "showbackground enabled"); LOGI_IF(mDebugFps, "showfps enabled"); LOGI_IF(mDebugNoBootAnimation, "boot animation disabled"); } Loading Loading @@ -525,10 +521,6 @@ void SurfaceFlinger::postFramebuffer() if (!mInvalidRegion.isEmpty()) { const DisplayHardware& hw(graphicPlane(0).displayHardware()); if (UNLIKELY(mDebugFps)) { debugShowFPS(); } hw.flip(mInvalidRegion); mInvalidRegion.clear(); Loading Loading @@ -1547,9 +1539,7 @@ status_t SurfaceFlinger::onTransact( switch (code) { case 1000: // SHOW_CPU, NOT SUPPORTED ANYMORE return NO_ERROR; case 1001: // SHOW_FPS n = data.readInt32(); mDebugFps = n ? 1 : 0; case 1001: // SHOW_FPS, NOT SUPPORTED ANYMORE return NO_ERROR; case 1002: // SHOW_UPDATES n = data.readInt32(); Loading libs/surfaceflinger/SurfaceFlinger.h +0 −1 Original line number Diff line number Diff line Loading @@ -340,7 +340,6 @@ private: // don't use a lock for these, we don't care int mDebugRegion; int mDebugFps; int mDebugBackground; int mDebugNoBootAnimation; Loading Loading
libs/surfaceflinger/SurfaceFlinger.cpp +1 −11 Original line number Diff line number Diff line Loading @@ -177,7 +177,6 @@ SurfaceFlinger::SurfaceFlinger() mFreezeCount(0), mFreezeDisplayTime(0), mDebugRegion(0), mDebugFps(0), mDebugBackground(0), mDebugNoBootAnimation(0), mConsoleSignals(0), Loading @@ -196,14 +195,11 @@ void SurfaceFlinger::init() mDebugRegion = atoi(value); property_get("debug.sf.showbackground", value, "0"); mDebugBackground = atoi(value); property_get("debug.sf.showfps", value, "0"); mDebugFps = atoi(value); property_get("debug.sf.nobootanimation", value, "0"); mDebugNoBootAnimation = atoi(value); LOGI_IF(mDebugRegion, "showupdates enabled"); LOGI_IF(mDebugBackground, "showbackground enabled"); LOGI_IF(mDebugFps, "showfps enabled"); LOGI_IF(mDebugNoBootAnimation, "boot animation disabled"); } Loading Loading @@ -525,10 +521,6 @@ void SurfaceFlinger::postFramebuffer() if (!mInvalidRegion.isEmpty()) { const DisplayHardware& hw(graphicPlane(0).displayHardware()); if (UNLIKELY(mDebugFps)) { debugShowFPS(); } hw.flip(mInvalidRegion); mInvalidRegion.clear(); Loading Loading @@ -1547,9 +1539,7 @@ status_t SurfaceFlinger::onTransact( switch (code) { case 1000: // SHOW_CPU, NOT SUPPORTED ANYMORE return NO_ERROR; case 1001: // SHOW_FPS n = data.readInt32(); mDebugFps = n ? 1 : 0; case 1001: // SHOW_FPS, NOT SUPPORTED ANYMORE return NO_ERROR; case 1002: // SHOW_UPDATES n = data.readInt32(); Loading
libs/surfaceflinger/SurfaceFlinger.h +0 −1 Original line number Diff line number Diff line Loading @@ -340,7 +340,6 @@ private: // don't use a lock for these, we don't care int mDebugRegion; int mDebugFps; int mDebugBackground; int mDebugNoBootAnimation; Loading