Merge "hwc: Remove unused utility function"

This commit is contained in:
Linux Build Service Account
2015-02-10 08:10:16 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 0 additions and 5 deletions

View File

@@ -1459,10 +1459,6 @@ void getNonWormholeRegion(hwc_display_contents_1_t* list,
nwr = getIntersection(nwr, fbDisplayFrame);
}
bool isExternalActive(hwc_context_t* ctx) {
return ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].isActive;
}
void closeAcquireFds(hwc_display_contents_1_t* list) {
if(LIKELY(list)) {
for(uint32_t i = 0; i < list->numHwLayers; i++) {

View File

@@ -280,7 +280,6 @@ bool isSecureModePolicy(int mdpVersion);
bool isRotatorSupportedFormat(private_handle_t *hnd);
//Returns true, if the layer is YUV or the layer has been rendered by CPU
bool isRotationDoable(hwc_context_t *ctx, private_handle_t *hnd);
bool isExternalActive(hwc_context_t* ctx);
bool isAlphaScaled(hwc_layer_1_t const* layer);
bool needsScaling(hwc_layer_1_t const* layer);
bool isDownscaleRequired(hwc_layer_1_t const* layer);