Lines Matching refs:list

147                                    hwc_display_contents_1_t* list) {
151 hwc_layer_1_t* layer = &(list->hwLayers[index]);
252 void MDPComp::LayerCache::cacheAll(hwc_display_contents_1_t* list) {
253 const int numAppLayers = list->numHwLayers - 1;
255 hnd[i] = list->hwLayers[i].handle;
363 hwc_display_contents_1_t* list){
402 hwc_layer_1_t* layer = &list->hwLayers[i];
423 if(fullMDPComp(ctx, list)) {
425 } else if (partialMDPComp(ctx, list)) {
431 bool MDPComp::fullMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
444 int numPipesNeeded = pipesNeeded(ctx, list);
456 bool MDPComp::partialMDPComp(hwc_context_t *ctx, hwc_display_contents_1_t* list)
461 updateLayerCache(ctx, list);
462 updateYUV(ctx, list);
471 int numPipesNeeded = pipesNeeded(ctx, list);
484 hwc_display_contents_1_t* list){
487 updateYUV(ctx, list);
503 int numPipesNeeded = pipesNeeded(ctx, list);
514 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex];
604 hwc_display_contents_1_t* list) {
610 if (mCachedFrame.hnd[i] == list->hwLayers[i].handle) {
615 mCachedFrame.hnd[i] = list->hwLayers[i].handle;
642 void MDPComp::updateYUV(hwc_context_t* ctx, hwc_display_contents_1_t* list) {
647 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex];
668 bool MDPComp::programMDP(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
670 if(!allocLayerPipes(ctx, list)) {
680 hwc_layer_1_t* layer = &list->hwLayers[index];
699 bool MDPComp::programYUV(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
700 if(!allocLayerPipes(ctx, list)) {
708 hwc_layer_1_t* layer = &list->hwLayers[index];
725 int MDPComp::prepare(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
736 mCachedFrame.cacheAll(list);
742 if(isFullFrameDoable(ctx, list)){
745 if(!programMDP(ctx, list)) {
747 mCachedFrame.cacheAll(list);
756 (list->flags & HWC_GEOMETRY_CHANGED) ||
762 } else if(isOnlyVideoDoable(ctx, list)) {
772 if(!programYUV(ctx, list)) {
774 mCachedFrame.cacheAll(list);
778 mCachedFrame.cacheAll(list);
782 setMDPCompLayerFlags(ctx, list);
786 ALOGD("GEOMETRY change: %d", (list->flags & HWC_GEOMETRY_CHANGED));
817 hwc_display_contents_1_t* list) {
822 hwc_display_contents_1_t* list) {
832 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex];
852 hwc_layer_1_t* layer = &list->hwLayers[index];
881 bool MDPCompLowRes::draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
888 if(!ctx || !list) {
889 ALOGE("%s: invalid contxt or list",__FUNCTION__);
905 hwc_layer_1_t *layer = &list->hwLayers[i];
953 hwc_display_contents_1_t* list) {
959 hwc_layer_1_t* layer = &list->hwLayers[i];
1000 hwc_display_contents_1_t* list) {
1009 hwc_layer_1_t* layer = &list->hwLayers[nYuvIndex];
1025 hwc_layer_1_t* layer = &list->hwLayers[index];
1071 bool MDPCompHighRes::draw(hwc_context_t *ctx, hwc_display_contents_1_t* list) {
1078 if(!ctx || !list) {
1079 ALOGE("%s: invalid contxt or list",__FUNCTION__);
1095 hwc_layer_1_t *layer = &list->hwLayers[i];