Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs:MDPComp

38 //==============MDPComp========================================================
40 IdleInvalidator *MDPComp::sIdleInvalidator = NULL;
41 bool MDPComp::sIdleFallBack = 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::sEnableYUVsplit = false;
48 bool MDPComp::sSrcSplitEnabled = false;
49 bool MDPComp::enablePartialUpdateForMDP3 = false;
50 bool MDPComp::sIsPartialUpdateActive = true;
51 MDPComp* MDPComp::getObject(hwc_context_t *ctx, const int& dpy) {
61 MDPComp::MDPComp(int dpy) : mDpy(dpy), mModeOn(false), mPrevModeOn(false) {
64 void MDPComp::dump(android::String8& buf, hwc_context_t *ctx)
109 bool MDPComp::init(hwc_context_t *ctx) {
120 (property_get("persist.hwc.mdpcomp.enable", property, NULL) > 0) &&
127 if((property_get("debug.mdpcomp.mixedmode.disable", property, NULL) > 0) &&
134 if(property_get("debug.mdpcomp.maxpermixer", property, "-1") > 0) {
151 property_get("persist.mdpcomp.4k2kSplit", property, "0") > 0 &&
190 void MDPComp::reset(hwc_context_t *ctx) {
200 void MDPComp::reset() {
205 void MDPComp::timeout_handler(void *udata) {
240 void MDPComp::setIdleTimeout(const uint32_t& timeout) {
259 void MDPComp::setMDPCompLayerFlags(hwc_context_t *ctx,
279 void MDPComp::setRedraw(hwc_context_t *ctx,
289 MDPComp::FrameInfo::FrameInfo() {
294 void MDPComp::FrameInfo::reset(const int& numLayers) {
315 void MDPComp::FrameInfo::map() {
326 MDPComp::LayerCache::LayerCache() {
330 void MDPComp::LayerCache::reset() {
336 void MDPComp::LayerCache::updateCounts(const FrameInfo& curFrame) {
342 bool MDPComp::LayerCache::isSameFrame(const FrameInfo& curFrame,
359 bool MDPComp::LayerCache::isSameFrame(hwc_context_t *ctx, int dpy,
379 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) {
390 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) {
445 * 1. Src crop > Mixer limit on nonsplit MDPComp
475 bool MDPComp::isFrameDoable(hwc_context_t *ctx) {
738 bool MDPComp::tryFullFrame(hwc_context_t *ctx,
837 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
893 bool MDPComp::fullMDPCompWithPTOR(hwc_context_t *ctx,
1131 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
1151 bool MDPComp::cacheBasedComp(hwc_context_t *ctx,
1208 bool MDPComp::loadBasedComp(hwc_context_t *ctx,
1298 bool MDPComp::isLoadBasedCompDoable(hwc_context_t *ctx) {
1306 bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
1318 bool MDPComp::tryVideoOnly(hwc_context_t *ctx,
1325 bool MDPComp
1367 bool MDPComp::tryMDPOnlyLayers(hwc_context_t *ctx,
1382 bool MDPComp::mdpOnlyLayersComp(hwc_context_t *ctx,
1432 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1465 bool MDPComp::isSecureRGBDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1488 bool MDPComp::canPushBatchToTop(const hwc_display_contents_1_t* list,
1503 bool MDPComp::intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
1516 int MDPComp::getBatch(hwc_display_contents_1_t* list,
1593 bool MDPComp::markLayersForCaching(hwc_context_t* ctx,
1649 void MDPComp::updateLayerCache(hwc_context_t* ctx,
1674 void MDPComp::dropNonAIVLayers(hwc_context_t* ctx,
1691 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
1722 void MDPComp::updateSecureRGB(hwc_context_t* ctx,
1748 hwc_rect_t MDPComp::getUpdatingFBRect(hwc_context_t *ctx,
1764 bool MDPComp::postHeuristicsHandling(hwc_context_t *ctx,
1842 bool MDPComp::resourceCheck(hwc_context_t* ctx,
1870 bool MDPComp::hwLimitationsCheck(hwc_context_t* ctx,
1912 void MDPComp::setDynRefreshRate(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1939 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
2066 bool MDPComp::allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) {
2099 int MDPComp::drawOverlap(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
2783 int MDPComp::getPartialUpdatePref(hwc_context_t *ctx) {
2805 int MDPComp::setPartialUpdatePref(hwc_context_t *ctx, bool enable) {