Lines Matching refs:layer
56 HwcLayer::HwcLayer(int index, hwc_layer_1_t *layer)
60 mLayer(layer),
153 // Upper layer HWComposer will reset the compositionType automatically.
256 bool HwcLayer::update(hwc_layer_1_t *layer)
258 // update layer
259 mLayer = layer;
280 ITRACE("fps of layer %d is %.1f", mIndex, fps);
284 // if not a FB layer & a plane was attached update plane's data buffer
286 mPlane->setPosition(layer->displayFrame.left,
287 layer->displayFrame.top,
288 layer->displayFrame.right - layer->displayFrame.left,
289 layer->displayFrame.bottom - layer->displayFrame.top);
290 mPlane->setSourceCrop(layer->sourceCropf.left,
291 layer->sourceCropf.top,
292 layer->sourceCropf.right - layer->sourceCropf.left,
293 layer->sourceCropf.bottom - layer->sourceCropf.top);
294 mPlane->setTransform(layer->transform);
295 mPlane->setPlaneAlpha(layer->planeAlpha, layer->blending);
296 bool ret = mPlane->setDataBuffer(layer->handle);
307 // if buffer is not ready overlay will still be attached to this layer
363 // if the given layer is not ready