Lines Matching refs:HWC2On1Adapter
57 class HWC2On1Adapter::Callbacks : public hwc_procs_t {
59 explicit Callbacks(HWC2On1Adapter& adapter) : mAdapter(adapter) { in Callbacks()
83 HWC2On1Adapter& mAdapter;
93 HWC2On1Adapter::HWC2On1Adapter(hwc_composer_device_1_t* hwc1Device) in HWC2On1Adapter() function in android::HWC2On1Adapter
120 HWC2On1Adapter::~HWC2On1Adapter() { in ~HWC2On1Adapter()
124 void HWC2On1Adapter::doGetCapabilities(uint32_t* outCount, in doGetCapabilities()
141 hwc2_function_pointer_t HWC2On1Adapter::doGetFunction( in doGetFunction()
316 Error HWC2On1Adapter::createVirtualDisplay(uint32_t width, in createVirtualDisplay()
326 mHwc1VirtualDisplay = std::make_shared<HWC2On1Adapter::Display>(*this, in createVirtualDisplay()
338 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) { in destroyVirtualDisplay()
352 void HWC2On1Adapter::dump(uint32_t* outSize, char* outBuffer) { in dump()
405 uint32_t HWC2On1Adapter::getMaxVirtualDisplayCount() { in getMaxVirtualDisplayCount()
418 Error HWC2On1Adapter::registerCallback(Callback descriptor, in registerCallback()
507 std::atomic<hwc2_display_t> HWC2On1Adapter::Display::sNextId(1);
509 HWC2On1Adapter::Display::Display(HWC2On1Adapter& device, HWC2::DisplayType type) in Display()
534 Error HWC2On1Adapter::Display::acceptChanges() { in acceptChanges()
562 Error HWC2On1Adapter::Display::createLayer(hwc2_layer_t* outLayerId) { in createLayer()
573 Error HWC2On1Adapter::Display::destroyLayer(hwc2_layer_t layerId) { in destroyLayer()
596 Error HWC2On1Adapter::Display::getActiveConfig(hwc2_config_t* outConfig) { in getActiveConfig()
610 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, in getAttribute()
625 Error HWC2On1Adapter::Display::getChangedCompositionTypes( in getChangedCompositionTypes()
658 Error HWC2On1Adapter::Display::getColorModes(uint32_t* outNumModes, in getColorModes()
673 Error HWC2On1Adapter::Display::getConfigs(uint32_t* outNumConfigs, in getConfigs()
693 Error HWC2On1Adapter::Display::getDozeSupport(int32_t* outSupport) { in getDozeSupport()
704 Error HWC2On1Adapter::Display::getHdrCapabilities(uint32_t* outNumTypes, in getHdrCapabilities()
712 Error HWC2On1Adapter::Display::getName(uint32_t* outSize, char* outName) { in getName()
724 Error HWC2On1Adapter::Display::getReleaseFences(uint32_t* outNumElements, in getReleaseFences()
749 Error HWC2On1Adapter::Display::getRequests(int32_t* outDisplayRequests, in getRequests()
780 Error HWC2On1Adapter::Display::getType(int32_t* outType) { in getType()
787 Error HWC2On1Adapter::Display::present(int32_t* outRetireFence) { in present()
806 Error HWC2On1Adapter::Display::setActiveConfig(hwc2_config_t configId) { in setActiveConfig()
837 Error HWC2On1Adapter::Display::setClientTarget(buffer_handle_t target, in setClientTarget()
848 Error HWC2On1Adapter::Display::setColorMode(android_color_mode_t mode) { in setColorMode()
881 Error HWC2On1Adapter::Display::setColorTransform(android_color_transform_t hint) { in setColorTransform()
890 Error HWC2On1Adapter::Display::setOutputBuffer(buffer_handle_t buffer, in setOutputBuffer()
918 Error HWC2On1Adapter::Display::setPowerMode(PowerMode mode) { in setPowerMode()
952 Error HWC2On1Adapter::Display::setVsyncEnabled(Vsync enable) { in setVsyncEnabled()
971 Error HWC2On1Adapter::Display::validate(uint32_t* outNumTypes, in validate()
994 Error HWC2On1Adapter::Display::updateLayerZ(hwc2_layer_t layerId, uint32_t z) { in updateLayerZ()
1031 Error HWC2On1Adapter::Display::getClientTargetSupport(uint32_t width, uint32_t height, in getClientTargetSupport()
1111 void HWC2On1Adapter::Display::populateConfigs() { in populateConfigs()
1189 void HWC2On1Adapter::Display::populateConfigs(uint32_t width, uint32_t height) { in populateConfigs()
1202 bool HWC2On1Adapter::Display::prepare() { in prepare()
1245 void HWC2On1Adapter::Display::generateChanges() { in generateChanges()
1267 bool HWC2On1Adapter::Display::hasChanges() const { in hasChanges()
1272 Error HWC2On1Adapter::Display::set(hwc_display_contents_1& hwcContents) { in set()
1308 void HWC2On1Adapter::Display::addRetireFence(int fenceFd) { in addRetireFence()
1313 void HWC2On1Adapter::Display::addReleaseFences( in addReleaseFences()
1341 bool HWC2On1Adapter::Display::hasColorTransform() const { in hasColorTransform()
1513 std::string HWC2On1Adapter::Display::dump() const { in dump()
1561 hwc_rect_t* HWC2On1Adapter::Display::GetRects(size_t numRects) { in GetRects()
1579 hwc_display_contents_1* HWC2On1Adapter::Display::getDisplayContents() { in getDisplayContents()
1583 void HWC2On1Adapter::Display::Config::setAttribute(HWC2::Attribute attribute, in setAttribute()
1588 int32_t HWC2On1Adapter::Display::Config::getAttribute(Attribute attribute) const { in getAttribute()
1595 void HWC2On1Adapter::Display::Config::setHwc1Id(uint32_t id) { in setHwc1Id()
1600 bool HWC2On1Adapter::Display::Config::hasHwc1Id(uint32_t id) const { in hasHwc1Id()
1609 Error HWC2On1Adapter::Display::Config::getColorModeForHwc1Id( in getColorModeForHwc1Id()
1621 Error HWC2On1Adapter::Display::Config::getHwc1IdForColorMode(android_color_mode_t mode, in getHwc1IdForColorMode()
1633 bool HWC2On1Adapter::Display::Config::merge(const Config& other) { in merge()
1655 std::set<android_color_mode_t> HWC2On1Adapter::Display::Config::getColorModes() const { in getColorModes()
1663 std::string HWC2On1Adapter::Display::Config::toString(bool splitLine) const { in toString()
1718 std::shared_ptr<const HWC2On1Adapter::Display::Config>
1719 HWC2On1Adapter::Display::getConfig(hwc2_config_t configId) const { in getConfig()
1726 void HWC2On1Adapter::Display::populateColorModes() { in populateColorModes()
1738 void HWC2On1Adapter::Display::initializeActiveConfig() { in initializeActiveConfig()
1783 void HWC2On1Adapter::Display::allocateRequestedContents() { in allocateRequestedContents()
1816 void HWC2On1Adapter::Display::assignHwc1LayerIds() { in assignHwc1LayerIds()
1825 void HWC2On1Adapter::Display::updateTypeChanges(const hwc_layer_1_t& hwc1Layer, in updateTypeChanges()
1860 void HWC2On1Adapter::Display::updateLayerRequests( in updateLayerRequests()
1868 void HWC2On1Adapter::Display::prepareFramebufferTarget() { in prepareFramebufferTarget()
1903 std::atomic<hwc2_layer_t> HWC2On1Adapter::Layer::sNextId(1);
1905 HWC2On1Adapter::Layer::Layer(Display& display) in Layer()
1924 bool HWC2On1Adapter::SortLayersByZ::operator()(const std::shared_ptr<Layer>& lhs, in operator ()()
1929 Error HWC2On1Adapter::Layer::setBuffer(buffer_handle_t buffer, in setBuffer()
1937 Error HWC2On1Adapter::Layer::setCursorPosition(int32_t x, int32_t y) { in setCursorPosition()
1952 Error HWC2On1Adapter::Layer::setSurfaceDamage(hwc_region_t damage) { in setSurfaceDamage()
1964 Error HWC2On1Adapter::Layer::setBlendMode(BlendMode mode) { in setBlendMode()
1970 Error HWC2On1Adapter::Layer::setColor(hwc_color_t color) { in setColor()
1976 Error HWC2On1Adapter::Layer::setCompositionType(Composition type) { in setCompositionType()
1982 Error HWC2On1Adapter::Layer::setDataspace(android_dataspace_t) { in setDataspace()
1986 Error HWC2On1Adapter::Layer::setDisplayFrame(hwc_rect_t frame) { in setDisplayFrame()
1992 Error HWC2On1Adapter::Layer::setPlaneAlpha(float alpha) { in setPlaneAlpha()
1998 Error HWC2On1Adapter::Layer::setSidebandStream(const native_handle_t* stream) { in setSidebandStream()
2004 Error HWC2On1Adapter::Layer::setSourceCrop(hwc_frect_t crop) { in setSourceCrop()
2010 Error HWC2On1Adapter::Layer::setTransform(Transform transform) { in setTransform()
2023 Error HWC2On1Adapter::Layer::setVisibleRegion(hwc_region_t visible) { in setVisibleRegion()
2034 Error HWC2On1Adapter::Layer::setZ(uint32_t z) { in setZ()
2039 void HWC2On1Adapter::Layer::addReleaseFence(int fenceFd) { in addReleaseFence()
2044 const sp<MiniFence>& HWC2On1Adapter::Layer::getReleaseFence() const { in getReleaseFence()
2048 void HWC2On1Adapter::Layer::applyState(hwc_layer_1_t& hwc1Layer) { in applyState()
2087 std::string HWC2On1Adapter::Layer::dump() const { in dump()
2125 void HWC2On1Adapter::Layer::applyCommonState(hwc_layer_1_t& hwc1Layer) { in applyCommonState()
2163 void HWC2On1Adapter::Layer::applySolidColorState(hwc_layer_1_t& hwc1Layer) { in applySolidColorState()
2176 void HWC2On1Adapter::Layer::applySidebandState(hwc_layer_1_t& hwc1Layer) { in applySidebandState()
2180 void HWC2On1Adapter::Layer::applyBufferState(hwc_layer_1_t& hwc1Layer) { in applyBufferState()
2185 void HWC2On1Adapter::Layer::applyCompositionType(hwc_layer_1_t& hwc1Layer) { in applyCompositionType()
2242 void HWC2On1Adapter::populateCapabilities() { in populateCapabilities()
2274 HWC2On1Adapter::Display* HWC2On1Adapter::getDisplay(hwc2_display_t id) { in getDisplay()
2285 std::tuple<HWC2On1Adapter::Layer*, Error> HWC2On1Adapter::getLayer( in getLayer()
2304 void HWC2On1Adapter::populatePrimary() { in populatePrimary()
2314 bool HWC2On1Adapter::prepareAllDisplays() { in prepareAllDisplays()
2482 Error HWC2On1Adapter::setAllDisplays() { in setAllDisplays()
2529 void HWC2On1Adapter::hwc1Invalidate() { in hwc1Invalidate()
2556 void HWC2On1Adapter::hwc1Vsync(int hwc1DisplayId, int64_t timestamp) { in hwc1Vsync()
2583 void HWC2On1Adapter::hwc1Hotplug(int hwc1DisplayId, int connected) { in hwc1Hotplug()
2601 auto display = std::make_shared<HWC2On1Adapter::Display>(*this, in hwc1Hotplug()