Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:MDPComp

37 //==============MDPComp========================================================
39 IdleInvalidator *MDPComp::idleInvalidator = NULL;
40 bool MDPComp::sIdleFallBack = false;
41 bool MDPComp::sHandleTimeout = false;
42 bool MDPComp::sDebugLogs = false;
43 bool MDPComp::sEnabled = false;
44 bool MDPComp::sEnableMixedMode = true;
45 int MDPComp::sSimulationFlags = 0;
46 int MDPComp::sMaxPipesPerMixer = MAX_PIPES_PER_MIXER;
47 bool MDPComp::sEnable4k2kYUVSplit = false;
48 bool MDPComp::sSrcSplitEnabled = false;
49 MDPComp* MDPComp::getObject(hwc_context_t *ctx, const int& dpy) {
59 MDPComp::MDPComp(int dpy):mDpy(dpy){};
61 void MDPComp::dump(android::String8& buf, hwc_context_t *ctx)
106 bool MDPComp::init(hwc_context_t *ctx) {
116 if((property_get("persist.hwc.mdpcomp.enable", property, NULL) > 0) &&
123 if((property_get("debug.mdpcomp.mixedmode.disable", property, NULL) > 0) &&
129 if(property_get("debug.mdpcomp.logs", property, NULL) > 0) {
135 if(property_get("debug.mdpcomp.maxpermixer", property, "-1") > 0) {
144 if(property_get("debug.mdpcomp.idletime", property, NULL) > 0) {
163 property_get("persist.mdpcomp.4k2kSplit", property, "0") > 0 &&
171 void MDPComp::reset(hwc_context_t *ctx) {
178 void MDPComp::timeout_handler(void *udata) {
200 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx,
220 void MDPComp::setRedraw(hwc_context_t *ctx,
230 MDPComp::FrameInfo::FrameInfo() {
235 void MDPComp::FrameInfo::reset(const int& numLayers) {
256 void MDPComp::FrameInfo::map() {
267 MDPComp::LayerCache::LayerCache() {
271 void MDPComp::LayerCache::reset() {
277 void MDPComp::LayerCache::updateCounts(const FrameInfo& curFrame) {
283 bool MDPComp::LayerCache::isSameFrame(const FrameInfo& curFrame,
300 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) {
311 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) {
366 * 1. Src crop > MAX_DISPLAY_DIM on nonsplit MDPComp
396 bool MDPComp::isFrameDoable(hwc_context_t *ctx) {
421 hwc_rect_t MDPComp::calculateDirtyRect(const hwc_layer_1_t* layer,
664 bool MDPComp::tryFullFrame(hwc_context_t *ctx,
736 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
787 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
806 bool MDPComp::cacheBasedComp(hwc_context_t *ctx,
861 bool MDPComp::loadBasedComp(hwc_context_t *ctx,
951 bool MDPComp::isLoadBasedCompDoable(hwc_context_t *ctx) {
959 bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
969 bool MDPComp::tryVideoOnly(hwc_context_t *ctx,
976 bool MDPComp::videoOnlyComp(hwc_context_t *ctx,
1018 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1053 bool MDPComp::canPushBatchToTop(const hwc_display_contents_1_t* list,
1068 bool MDPComp::intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
1081 int MDPComp::getBatch(hwc_display_contents_1_t* list,
1158 bool MDPComp::markLayersForCaching(hwc_context_t* ctx,
1214 void MDPComp::updateLayerCache(hwc_context_t* ctx,
1239 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
1268 hwc_rect_t MDPComp::getUpdatingFBRect(hwc_context_t *ctx,
1284 bool MDPComp::postHeuristicsHandling(hwc_context_t *ctx,
1362 bool MDPComp::resourceCheck() {
1371 bool MDPComp::hwLimitationsCheck(hwc_context_t* ctx,
1413 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1487 bool MDPComp::allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) {