Home | History | Annotate | Download | only in libhwcomposer

Lines Matching defs: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() {
278 void MDPComp::LayerCache::cacheAll(hwc_display_contents_1_t* list) {
285 void MDPComp::LayerCache::updateCounts(const FrameInfo& curFrame) {
291 bool MDPComp::LayerCache::isSameFrame(const FrameInfo& curFrame,
308 bool MDPComp::isSupportedForMDPComp(hwc_context_t *ctx, hwc_layer_1_t* layer) {
319 bool MDPComp::isValidDimension(hwc_context_t *ctx, hwc_layer_1_t *layer) {
374 * 1. Src crop > MAX_DISPLAY_DIM on nonsplit MDPComp
404 bool MDPComp::isFrameDoable(hwc_context_t *ctx) {
662 bool MDPComp::tryFullFrame(hwc_context_t *ctx,
734 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
785 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
804 bool MDPComp::cacheBasedComp(hwc_context_t *ctx,
859 bool MDPComp::loadBasedComp(hwc_context_t *ctx,
949 bool MDPComp::isLoadBasedCompDoable(hwc_context_t *ctx) {
957 bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
967 bool MDPComp::tryVideoOnly(hwc_context_t *ctx,
974 bool MDPComp::videoOnlyComp(hwc_context_t *ctx,
1016 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1051 bool MDPComp::canPushBatchToTop(const hwc_display_contents_1_t* list,
1066 bool MDPComp::intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
1079 int MDPComp::getBatch(hwc_display_contents_1_t* list,
1156 bool MDPComp::markLayersForCaching(hwc_context_t* ctx,
1212 void MDPComp::updateLayerCache(hwc_context_t* ctx,
1236 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
1265 hwc_rect_t MDPComp::getUpdatingFBRect(hwc_context_t *ctx,
1281 bool MDPComp::postHeuristicsHandling(hwc_context_t *ctx,
1359 bool MDPComp::resourceCheck() {
1368 bool MDPComp::hwLimitationsCheck(hwc_context_t* ctx,
1410 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1485 bool MDPComp::allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) {