• Home
  • Raw
  • Download

Lines Matching refs:sf_layer

301 int DrmHwcLayer::InitFromHwcLayer(hwc_layer_1_t *sf_layer, Importer *importer,  in InitFromHwcLayer()  argument
303 sf_handle = sf_layer->handle; in InitFromHwcLayer()
304 alpha = sf_layer->planeAlpha; in InitFromHwcLayer()
307 sf_layer->sourceCropf.left, sf_layer->sourceCropf.top, in InitFromHwcLayer()
308 sf_layer->sourceCropf.right, sf_layer->sourceCropf.bottom); in InitFromHwcLayer()
310 sf_layer->displayFrame.left, sf_layer->displayFrame.top, in InitFromHwcLayer()
311 sf_layer->displayFrame.right, sf_layer->displayFrame.bottom); in InitFromHwcLayer()
318 if (sf_layer->transform == HWC_TRANSFORM_ROT_270) { in InitFromHwcLayer()
320 } else if (sf_layer->transform == HWC_TRANSFORM_ROT_180) { in InitFromHwcLayer()
323 if (sf_layer->transform & HWC_TRANSFORM_FLIP_H) in InitFromHwcLayer()
325 if (sf_layer->transform & HWC_TRANSFORM_FLIP_V) in InitFromHwcLayer()
327 if (sf_layer->transform & HWC_TRANSFORM_ROT_90) in InitFromHwcLayer()
331 switch (sf_layer->blending) { in InitFromHwcLayer()
342 ALOGE("Invalid blending in hwc_layer_1_t %d", sf_layer->blending); in InitFromHwcLayer()
346 int ret = buffer.ImportBuffer(sf_layer->handle, importer); in InitFromHwcLayer()
350 ret = handle.CopyBufferHandle(sf_layer->handle, gralloc); in InitFromHwcLayer()
505 hwc_layer_1_t *sf_layer = &dc->hwLayers[j]; in hwc_set() local
506 if (sf_layer->compositionType == HWC_FRAMEBUFFER_TARGET) { in hwc_set()
513 hwc_layer_1_t *sf_layer = &dc->hwLayers[j]; in hwc_set() local
521 if (sf_layer->flags & HWC_SKIP_LAYER) { in hwc_set()
535 if (sf_layer->compositionType == HWC_OVERLAY) in hwc_set()
538 layer.acquire_fence.Set(sf_layer->acquireFenceFd); in hwc_set()
539 sf_layer->acquireFenceFd = -1; in hwc_set()
545 checked_output_fences.emplace_back(&sf_layer->releaseFenceFd, in hwc_set()
548 layer.release_fence = OutputFd(&sf_layer->releaseFenceFd); in hwc_set()
555 hwc_layer_1_t *sf_layer = &dc->hwLayers[framebuffer_target_index]; in hwc_set() local
556 if (!sf_layer->handle || (sf_layer->flags & HWC_SKIP_LAYER)) { in hwc_set()
582 hwc_layer_1_t *sf_layer = &dc->hwLayers[j]; in hwc_set() local
586 ret = layer.InitFromHwcLayer(sf_layer, ctx->importer.get(), ctx->gralloc); in hwc_set()