Merge "hwc: Remove unused utility function"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
94b3741b1b
@@ -1459,10 +1459,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