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() {
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,
669 bool MDPComp::tryFullFrame(hwc_context_t *ctx,
741 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
792 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
811 bool MDPComp::cacheBasedComp(hwc_context_t *ctx,
866 bool MDPComp::loadBasedComp(hwc_context_t *ctx,
956 bool MDPComp::isLoadBasedCompDoable(hwc_context_t *ctx) {
964 bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
974 bool MDPComp::tryVideoOnly(hwc_context_t *ctx,
981 bool MDPComp::videoOnlyComp(hwc_context_t *ctx,
1023 bool MDPComp::isYUVDoable(hwc_context_t* ctx, hwc_layer_1_t* layer) {
1058 bool MDPComp::canPushBatchToTop(const hwc_display_contents_1_t* list,
1073 bool MDPComp::intersectingUpdatingLayers(const hwc_display_contents_1_t* list,
1086 int MDPComp::getBatch(hwc_display_contents_1_t* list,
1163 bool MDPComp::markLayersForCaching(hwc_context_t* ctx,
1219 void MDPComp::updateLayerCache(hwc_context_t* ctx,
1244 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list,
1273 hwc_rect_t MDPComp::getUpdatingFBRect(hwc_context_t *ctx,
1289 bool MDPComp::postHeuristicsHandling(hwc_context_t *ctx,
1367 bool MDPComp::resourceCheck() {
1376 bool MDPComp::hwLimitationsCheck(hwc_context_t* ctx,
1418 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1492 bool MDPComp::allocSplitVGPipesfor4k2k(hwc_context_t *ctx, int index) {