Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 69) sorted by relevance

123

/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dbase_composer.cpp57 bool BaseComposer::IsValidLayer(const hwc_layer_1_t& layer) { in IsValidLayer() argument
58 auto buffer_opt = gralloc_.Import(layer.handle); in IsValidLayer()
79 if (layer.sourceCrop.left < 0 || layer.sourceCrop.top < 0 || in IsValidLayer()
80 layer.sourceCrop.right > buffer_width || in IsValidLayer()
81 layer.sourceCrop.bottom > buffer_height) { in IsValidLayer()
86 __FUNCTION__, layer.sourceCrop.left, layer.sourceCrop.right, in IsValidLayer()
87 layer.sourceCrop.top, layer.sourceCrop.bottom, buffer_width, in IsValidLayer()
Dhwcomposer.cpp182 bool IsValidLayer(hwc_composer_device_1_t* dev, const hwc_layer_1_t& layer) { in IsValidLayer() argument
183 if (layer.flags & HWC_SKIP_LAYER) { in IsValidLayer()
189 if (layer.displayFrame.left > layer.displayFrame.right || in IsValidLayer()
190 layer.displayFrame.top > layer.displayFrame.bottom) { in IsValidLayer()
194 __FUNCTION__, layer.displayFrame.left, layer.displayFrame.right, in IsValidLayer()
195 layer.displayFrame.top, layer.displayFrame.bottom); in IsValidLayer()
199 if (layer.sourceCrop.left > layer.sourceCrop.right || in IsValidLayer()
200 layer.sourceCrop.top > layer.sourceCrop.bottom) { in IsValidLayer()
204 __FUNCTION__, layer.sourceCrop.left, layer.sourceCrop.right, in IsValidLayer()
205 layer.sourceCrop.top, layer.sourceCrop.bottom); in IsValidLayer()
[all …]
Dcpu_composer.cpp38 bool LayerNeedsScaling(const hwc_layer_1_t& layer) { in LayerNeedsScaling() argument
39 int from_w = layer.sourceCrop.right - layer.sourceCrop.left; in LayerNeedsScaling()
40 int from_h = layer.sourceCrop.bottom - layer.sourceCrop.top; in LayerNeedsScaling()
41 int to_w = layer.displayFrame.right - layer.displayFrame.left; in LayerNeedsScaling()
42 int to_h = layer.displayFrame.bottom - layer.displayFrame.top; in LayerNeedsScaling()
47 bool needs_rot = layer.transform & HAL_TRANSFORM_ROT_90; in LayerNeedsScaling()
52 bool LayerNeedsBlending(const hwc_layer_1_t& layer) { in LayerNeedsBlending() argument
53 return layer.blending != HWC_BLENDING_NONE; in LayerNeedsBlending()
56 bool LayerNeedsAttenuation(const hwc_layer_1_t& layer) { in LayerNeedsAttenuation() argument
57 return layer.blending == HWC_BLENDING_COVERAGE; in LayerNeedsAttenuation()
[all …]
Dcpu_composer.h42 bool CanCompositeLayer(const hwc_layer_1_t& layer);
Dbase_composer.h32 virtual bool IsValidLayer(const hwc_layer_1_t& layer);
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp575 auto layer = mDevice.mLayers[layerId]; in acceptChanges() local
576 layer->setCompositionType(type); in acceptChanges()
587 auto layer = *mLayers.emplace(std::make_shared<Layer>(*this)); in createLayer() local
588 mDevice.mLayers.emplace(std::make_pair(layer->getId(), layer)); in createLayer()
589 *outLayerId = layer->getId(); in createLayer()
604 const auto layer = mapLayer->second; in destroyLayer() local
606 const auto zRange = mLayers.equal_range(layer); in destroyLayer()
608 if (**current == *layer) { in destroyLayer()
752 for (const auto& layer : mLayers) { in getReleaseFences() local
757 auto releaseFence = layer->getReleaseFence(); in getReleaseFences()
[all …]
DHWC2.h387 const Layer& layer);
392 const Layer& layer);
626 auto layer = std::get<Layer*>(result); in callLayerFunction() local
627 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction()
642 hwc2_display_t display, hwc2_layer_t layer, int32_t intMode) { in setLayerBlendModeHook() argument
644 return callLayerFunction(device, display, layer, in setLayerBlendModeHook()
649 hwc2_display_t display, hwc2_layer_t layer, int32_t intType) { in setLayerCompositionTypeHook() argument
651 return callLayerFunction(device, display, layer, in setLayerCompositionTypeHook()
656 hwc2_display_t display, hwc2_layer_t layer, int32_t intDataspace) { in setLayerDataspaceHook() argument
658 return callLayerFunction(device, display, layer, &Layer::setDataspace, in setLayerDataspaceHook()
[all …]
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.cpp488 auto layer = mDevice.mLayers[layerId]; in acceptChanges() local
489 layer->setCompositionType((int32_t)type); in acceptChanges()
500 auto layer = *mLayers.emplace(std::make_shared<Layer>(*this)); in createLayer() local
501 mDevice.mLayers.emplace(std::make_pair(layer->getId(), layer)); in createLayer()
502 *outLayerId = layer->getId(); in createLayer()
518 const auto layer = mapLayer->second; in destroyLayer() local
520 const auto zRange = mLayers.equal_range(layer); in destroyLayer()
522 if (**current == *layer) { in destroyLayer()
755 for (auto layer: mLayers) { in present() local
756 if (layer->getCompositionType() == Composition::Device || in present()
[all …]
DEmuHWC2.h158 struct compose_layer layer[0]; member
165 struct compose_layer layer[0]; member
457 auto layer = std::get<Layer*>(result); in layerHook() local
458 error = ((*layer).*memFunc)(std::forward<Args>(args)...); in layerHook()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassStorageDxe.uni4 // The USB mass storage class is specified in two layers: the bottom layer
5 // is the transportation protocol. The top layer is the command set.
6 // The transportation layer provides the transportation of the command, data and result.
31 …d in two layers: the bottom layer is the transportation protocol. The top layer is the command set…
DUsbMassStorageDxe.inf4 # The USB mass storage class is specified in two layers: the bottom layer
5 # is the transportation protocol. The top layer is the command set.
6 # The transportation layer provides the transportation of the command, data and result.
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe/
DSataControllerDxe.uni4 // It consumes PciIo protocol and produces IdeControllerInit protocol for upper layer use.
21 … #language en-US "Implements the IdeControllerInit protocol interface for upper layer use\n"
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/
DUfsPassThru.uni4 // It produces an EFI_EXT_SCSI_PASS_THRU_PROTOCOL interface for upper layer to send
22 …en-US "It produces an EFI_EXT_SCSI_PASS_THRU_PROTOCOL interface for upper layer to send SCSI cmd t…
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
DEmmcDxe.uni2 // EMMC device driver to manage the EMMC device and provide interface for upper layer
17 …e en-US "EMMC device driver to manage the EMMC device and provide interface for upper layer access"
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdDxeExtra.uni2 …memory card device driver to manage the SD memory card device and provide interface for upper layer
17 …"SD device driver to manage the SD memory card device and provide interface for upper layer access"
DSdDxe.uni2 …memory card device driver to manage the SD memory card device and provide interface for upper layer
17 …"SD device driver to manage the SD memory card device and provide interface for upper layer access"
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcDxe/
DUfsPciHcDxe.uni2 // The UfsPciHcDxe driver is used by upper layer to retrieve mmio base address of managed pci-based…
17 #string STR_MODULE_ABSTRACT #language en-US "Providing interface for upper layer to ret…
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcPei/
DSdMmcPciHcPei.uni2 // The SdMmcPciHcPei driver is used by upper layer to retrieve mmio base address
19 #string STR_MODULE_ABSTRACT #language en-US "Providing interface for upper layer to ret…
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHcDxe.uni6 // to specified devices from upper layer.
22 …r follows the UEFI driver model and produces SD/MMC Pass Thru protocol for upper layer bus driver."
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHcDxe.uni6 // to specified devices from upper layer.
22 …r follows the UEFI driver model and produces SD/MMC Pass Thru protocol for upper layer bus driver."
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcPei/
DUfsPciHcPei.uni2 // The UfsPciHcPei driver is used by upper layer to retrieve mmio base address of managed
19 #string STR_MODULE_ABSTRACT #language en-US "Providing interface for upper layer to ret…
/device/linaro/bootloader/edk2/StdLib/SocketDxe/
DSocketDxe.inf2 # Component description file for the socket layer driver.
4 # This module implements the socket layer.
/device/google/sunfish/
Dinit.recovery.device.rc12 # Block layer tuning: discard chunk size up to 128MB
/device/linaro/bootloader/edk2/StdLib/UseSocketDxe/
DUseSocketDxe.inf4 # This module implements the socket layer.
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DEfiSocketLib.inf4 # This module implements the socket layer.

123