hwc: Remove unused utility function
Cleaning up unused code in utils library. Change-Id: I642f78897fa317f34bdcdba4df84db10ad9f7eb3
This commit is contained in:
@@ -1455,10 +1455,6 @@ void getNonWormholeRegion(hwc_display_contents_1_t* list,
|
|||||||
nwr = getIntersection(nwr, fbDisplayFrame);
|
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) {
|
void closeAcquireFds(hwc_display_contents_1_t* list) {
|
||||||
if(LIKELY(list)) {
|
if(LIKELY(list)) {
|
||||||
for(uint32_t i = 0; i < list->numHwLayers; i++) {
|
for(uint32_t i = 0; i < list->numHwLayers; i++) {
|
||||||
|
|||||||
@@ -280,7 +280,6 @@ bool isSecureModePolicy(int mdpVersion);
|
|||||||
bool isRotatorSupportedFormat(private_handle_t *hnd);
|
bool isRotatorSupportedFormat(private_handle_t *hnd);
|
||||||
//Returns true, if the layer is YUV or the layer has been rendered by CPU
|
//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 isRotationDoable(hwc_context_t *ctx, private_handle_t *hnd);
|
||||||
bool isExternalActive(hwc_context_t* ctx);
|
|
||||||
bool isAlphaScaled(hwc_layer_1_t const* layer);
|
bool isAlphaScaled(hwc_layer_1_t const* layer);
|
||||||
bool needsScaling(hwc_layer_1_t const* layer);
|
bool needsScaling(hwc_layer_1_t const* layer);
|
||||||
bool isDownscaleRequired(hwc_layer_1_t const* layer);
|
bool isDownscaleRequired(hwc_layer_1_t const* layer);
|
||||||
|
|||||||
Reference in New Issue
Block a user