Lines Matching refs:EmuHWC2

75 EmuHWC2::EmuHWC2()  in EmuHWC2()  function in android::EmuHWC2
87 Error EmuHWC2::initDisplayParameters() { in initDisplayParameters()
101 void EmuHWC2::doGetCapabilities(uint32_t* outCount, int32_t* outCapabilities) { in doGetCapabilities()
117 hwc2_function_pointer_t EmuHWC2::doGetFunction( in doGetFunction()
326 Error EmuHWC2::createVirtualDisplay(uint32_t /*width*/, uint32_t /*height*/, in createVirtualDisplay()
333 Error EmuHWC2::destroyVirtualDisplay(hwc2_display_t /*displayId*/) { in destroyVirtualDisplay()
339 void EmuHWC2::dump(uint32_t* /*outSize*/, char* /*outBuffer*/) { in dump()
345 uint32_t EmuHWC2::getMaxVirtualDisplayCount() { in getMaxVirtualDisplayCount()
360 Error EmuHWC2::registerCallback(Callback descriptor, in registerCallback()
394 const native_handle_t* EmuHWC2::allocateDisplayColorBuffer(int width, int height) { in allocateDisplayColorBuffer()
414 void EmuHWC2::freeDisplayColorBuffer(const native_handle_t* h) { in freeDisplayColorBuffer()
438 std::atomic<hwc2_display_t> EmuHWC2::Display::sNextId(0);
440 EmuHWC2::Display::Display(EmuHWC2& device, DisplayType type, int width, int height) in Display()
464 EmuHWC2::Display::~Display() { in ~Display()
468 Error EmuHWC2::Display::acceptChanges() { in acceptChanges()
496 Error EmuHWC2::Display::createLayer(hwc2_layer_t* outLayerId) { in createLayer()
508 Error EmuHWC2::Display::destroyLayer(hwc2_layer_t layerId) { in destroyLayer()
532 Error EmuHWC2::Display::getActiveConfig(hwc2_config_t* outConfig) { in getActiveConfig()
548 Error EmuHWC2::Display::getDisplayAttribute(hwc2_config_t configId, in getDisplayAttribute()
564 Error EmuHWC2::Display::getChangedCompositionTypes( in getChangedCompositionTypes()
597 Error EmuHWC2::Display::getColorModes(uint32_t* outNumModes, in getColorModes()
615 Error EmuHWC2::Display::getConfigs(uint32_t* outNumConfigs, in getConfigs()
636 Error EmuHWC2::Display::getDozeSupport(int32_t* outSupport) { in getDozeSupport()
643 Error EmuHWC2::Display::getHdrCapabilities(uint32_t* outNumTypes, in getHdrCapabilities()
652 Error EmuHWC2::Display::getName(uint32_t* outSize, char* outName) { in getName()
665 Error EmuHWC2::Display::getReleaseFences(uint32_t* outNumElements, in getReleaseFences()
688 Error EmuHWC2::Display::getRequests(int32_t* outDisplayRequests, in getRequests()
720 Error EmuHWC2::Display::getType(int32_t* outType) { in getType()
728 Error EmuHWC2::Display::present(int32_t* outRetireFence) { in present()
913 Error EmuHWC2::Display::setActiveConfig(hwc2_config_t configId) { in setActiveConfig()
931 Error EmuHWC2::Display::setClientTarget(buffer_handle_t target, in setClientTarget()
941 Error EmuHWC2::Display::setColorMode(int32_t intMode) { in setColorMode()
959 Error EmuHWC2::Display::setColorTransform(const float* /*matrix*/, in setColorTransform()
973 Error EmuHWC2::Display::setOutputBuffer(buffer_handle_t /*buffer*/, in setOutputBuffer()
990 Error EmuHWC2::Display::setPowerMode(int32_t intMode) { in setPowerMode()
1016 Error EmuHWC2::Display::setVsyncEnabled(int32_t intEnable) { in setVsyncEnabled()
1032 Error EmuHWC2::Display::validate(uint32_t* outNumTypes, in validate()
1101 Error EmuHWC2::Display::updateLayerZ(hwc2_layer_t layerId, uint32_t z) { in updateLayerZ()
1137 Error EmuHWC2::Display::getClientTargetSupport(uint32_t width, uint32_t height, in getClientTargetSupport()
1201 Error EmuHWC2::Display::getDisplayIdentificationData(uint8_t* outPort, in getDisplayIdentificationData()
1254 Error EmuHWC2::Display::getDisplayCapabilities(uint32_t* outNumCapabilities, in getDisplayCapabilities()
1279 Error EmuHWC2::Display::getDisplayBrightnessSupport(bool *out_support) { in getDisplayBrightnessSupport()
1284 Error EmuHWC2::Display::setDisplayBrightness(float brightness) { in setDisplayBrightness()
1289 int EmuHWC2::Display::populatePrimaryConfigs(int width, int height, int dpiX, int dpiY) { in populatePrimaryConfigs()
1316 void EmuHWC2::Display::post(HostConnection *hostCon, in post()
1327 HWC2::Error EmuHWC2::Display::populateSecondaryConfigs(uint32_t width, uint32_t height, in populateSecondaryConfigs()
1373 void EmuHWC2::Display::Config::setAttribute(Attribute attribute, in setAttribute()
1378 int32_t EmuHWC2::Display::Config::getAttribute(Attribute attribute) const { in getAttribute()
1385 std::string EmuHWC2::Display::Config::toString() const { in toString()
1416 bool EmuHWC2::Display::VsyncThread::threadLoop() { in threadLoop()
1489 bool EmuHWC2::SortLayersByZ::operator()(const std::shared_ptr<Layer>& lhs, in operator ()()
1494 std::atomic<hwc2_layer_t> EmuHWC2::Layer::sNextId(1);
1496 EmuHWC2::Layer::Layer(Display& display) in Layer()
1513 Error EmuHWC2::Layer::setBuffer(buffer_handle_t buffer, in setBuffer()
1522 Error EmuHWC2::Layer::setCursorPosition(int32_t /*x*/, in setCursorPosition()
1533 Error EmuHWC2::Layer::setSurfaceDamage(hwc_region_t /*damage*/) { in setSurfaceDamage()
1541 Error EmuHWC2::Layer::setBlendMode(int32_t mode) { in setBlendMode()
1547 Error EmuHWC2::Layer::setColor(hwc_color_t color) { in setColor()
1553 Error EmuHWC2::Layer::setCompositionType(int32_t type) { in setCompositionType()
1559 Error EmuHWC2::Layer::setDataspace(int32_t) { in setDataspace()
1564 Error EmuHWC2::Layer::setDisplayFrame(hwc_rect_t frame) { in setDisplayFrame()
1570 Error EmuHWC2::Layer::setPlaneAlpha(float alpha) { in setPlaneAlpha()
1576 Error EmuHWC2::Layer::setSidebandStream(const native_handle_t* stream) { in setSidebandStream()
1582 Error EmuHWC2::Layer::setSourceCrop(hwc_frect_t crop) { in setSourceCrop()
1588 Error EmuHWC2::Layer::setTransform(int32_t transform) { in setTransform()
1601 Error EmuHWC2::Layer::setVisibleRegion(hwc_region_t visible) { in setVisibleRegion()
1612 Error EmuHWC2::Layer::setZ(uint32_t z) { in setZ()
1620 void EmuHWC2::populateCapabilities() { in populateCapabilities()
1629 int EmuHWC2::populatePrimary() { in populatePrimary()
1647 int EmuHWC2::populateSecondaryDisplays() { in populateSecondaryDisplays()
1707 EmuHWC2::Display* EmuHWC2::getDisplay(hwc2_display_t id) { in getDisplay()
1716 std::tuple<EmuHWC2::Layer*, Error> EmuHWC2::getLayer( in getLayer()
1747 EmuHWC2* ctx = new EmuHWC2(); in hwc2DevOpen()