Home | History | Annotate | Download | only in libhwcomposer

Lines Matching refs:MDPComp

39 //==============MDPComp========================================================
41 IdleInvalidator *MDPComp::sIdleInvalidator = NULL;
42 bool MDPComp::sIdleFallBack = false;
43 bool MDPComp::sHandleTimeout = false;
44 bool MDPComp::sDebugLogs = false;
45 bool MDPComp::sEnabled = false;
46 bool MDPComp::sEnableMixedMode = true;
47 int MDPComp::sSimulationFlags = 0;
48 int MDPComp::sMaxPipesPerMixer = 0;
49 bool MDPComp::sEnableYUVsplit = false;
50 bool MDPComp::sSrcSplitEnabled = false;
51 int MDPComp::sMaxSecLayers = 1;
52 bool MDPComp::enablePartialUpdateForMDP3 = false;
53 bool MDPComp::sIsPartialUpdateActive = true;
54 void *MDPComp::sLibPerfHint = NULL;
55 int MDPComp::sPerfLockHandle = 0;
56 int (*MDPComp::sPerfLockAcquire)(int, int, int*, int) = NULL;
57 int (*MDPComp::sPerfLockRelease)(int value) = NULL;
58 int MDPComp::sPerfHintWindow = -1;
60 MDPComp* MDPComp::getObject(hwc_context_t *ctx, const int& dpy) {
70 MDPComp::MDPComp(int dpy):mDpy(dpy){};
72 void MDPComp::dump(android::String8& buf, hwc_context_t *ctx)
117 bool MDPComp::init(hwc_context_t *ctx) {
128 (property_get("persist.hwc.mdpcomp.enable", property, NULL) > 0) &&
135 if((property_get("debug.mdpcomp.mixedmode.disable", property, NULL) > 0) &&
144 if(property_get("persist.hwc.mdpcomp.maxpermixer", property, "-1") > 0) {
170 property_get("persist.mdpcomp.4k2kSplit", property, "0") > 0 &&
215 void MDPComp::reset(hwc_context_t *ctx) {
222 void MDPComp::reset() {
227 void MDPComp::timeout_handler(void *udata) {
253 void MDPComp::setMaxPipesPerMixer(const uint32_t value) {
263 void MDPComp::setIdleTimeout(const uint32_t& timeout) {
282 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx,
302 void MDPComp::setRedraw(hwc_context_t *ctx,
312 MDPComp::FrameInfo::FrameInfo() {
317 void MDPComp::FrameInfo::reset(const int& numLayers) {
338 void MDPComp::FrameInfo::map() {
349 MDPComp::LayerCache::LayerCache() {
353 void MDPComp::LayerCache::reset() {
360 void MDPComp::LayerCache::cacheAll(hwc_display_contents_1_t* list) {
367 void MDPComp::LayerCache::updateCounts(const FrameInfo& curFrame) {
373 bool MDPComp::LayerCache::isSameFrame(const FrameInfo& curFrame,
390 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) {
401 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) {
456 MDPComp
486 bool MDPComp::isFrameDoable(hwc_context_t *ctx) {
764 bool MDPComp::tryFullFrame(hwc_context_t *ctx,
849 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
889 bool MDPComp::fullMDPCompWithPTOR(hwc_context_t *ctx,
1118 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
1137 bool MDPComp::cacheBasedComp(hwc_context_t *ctx,
1186 bool MDPComp::loadBasedComp(hwc_context_t *ctx,
1276 bool MDPComp::isLoadBasedCompDoable(hwc_context_t *ctx) {
1284 bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
1296 bool MDPComp::tryVideoOnly(hwc_context_t *ctx,
1303 bool MDPComp::videoOnlyComp(hwc_context_t *ctx,
1358 bool MDPComp::tryMDPOnlyLayers(hwc_context_t *ctx,
1373 bool MDPComp::mdpOnlyLayersComp(hwc_context_t *ctx,
1437 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1470 bool MDPComp::isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1493 bool MDPComp::canPushBatchToTop(const hwc_display_contents_1_t* list,
1508 bool MDPComp::intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
1521 int MDPComp::getBatch(hwc_display_contents_1_t* list,
1598 bool MDPComp::markLayersForCaching(hwc_context_t* ctx,
1654 void MDPComp::updateLayerCache(hwc_context_t* ctx,
1678 void MDPComp::dropNonAIVLayers(hwc_context_t* ctx,
1695 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
1726 void MDPComp::updateSecureRGB(hwc_context_t* ctx,
1752 hwc_rect_t MDPComp::getUpdatingFBRect(hwc_context_t *ctx,
1768 bool MDPComp::postHeuristicsHandling(hwc_context_t *ctx,
1846 bool MDPComp::resourceCheck(hwc_context_t* ctx,
1882 bool MDPComp::hwLimitationsCheck(hwc_context_t* ctx,
1927 bool MDPComp::onlyVideosUpdating(hwc_context_t *ctx,
1946 void MDPComp::setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1964 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
2080 bool MDPComp::allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) {
2113 int MDPComp::drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
2816 bool MDPComp::getPartialUpdatePref(hwc_context_t *ctx) {
2838 int MDPComp::setPartialUpdatePref(hwc_context_t *ctx, bool enable) {
2861 bool MDPComp::loadPerfLib() {
2887 void MDPComp::setPerfHint(hwc_context_t *ctx, hwc_display_contents_1_t* list) {