Lines Matching refs:layer
147 //GPU/CPU composition, don't change layer composition type
184 // numAppLayers-1, as we iterate till 0th layer index
195 // be drawn on the framebuffer or that are on the layer cache.
197 //There is no need to reset layer properties here as we return in
230 if(mCopyBitDraw == false) // there is no layer marked for copybit
236 ALOGE("%s: Render buffer layer handle is NULL", __FUNCTION__);
252 // numAppLayers-1, as we iterate from 0th layer index with HWC_COPYBIT flag
254 hwc_layer_1_t *layer = &list->hwLayers[i];
286 int CopyBit::drawLayerUsingCopybit(hwc_context_t *dev, hwc_layer_1_t *layer,
296 private_handle_t *hnd = (private_handle_t *)layer->handle;
314 src.handle = (native_handle_t *)layer->handle;
322 hwc_rect_t sourceCrop = layer->sourceCrop;
328 hwc_rect_t displayFrame = layer->displayFrame;
354 if((layer->transform == HWC_TRANSFORM_ROT_90) ||
355 (layer->transform == HWC_TRANSFORM_ROT_270)) {
437 //TODO: once, we are able to read layer alpha, update this
454 hwc_region_t region = layer->visibleRegionScreen;
462 layer->transform);
463 //TODO: once, we are able to read layer alpha, update this
466 layer->blending);
485 void CopyBit::getLayerResolution(const hwc_layer_1_t* layer,
488 hwc_rect_t displayFrame = layer->displayFrame;
501 ALOGE("%s:Invalid HWC layer list", __FUNCTION__);