Lines Matching full:hwcomposer
20 #define LOG_TAG "HWComposer"
43 #include <hardware/hwcomposer.h>
50 #include "HWComposer.h"
89 HWComposer::HWComposer(std::unique_ptr<android::Hwc2::Composer> composer)
92 HWComposer::~HWComposer() = default;
94 void HWComposer::registerCallback(HWC2::ComposerCallback* callback,
99 bool HWComposer::hasCapability(HWC2::Capability capability) const
104 bool HWComposer::isValidDisplay(int32_t displayId) const {
109 void HWComposer::validateChange(HWC2::Composition from, HWC2::Composition to) {
134 void HWComposer::onHotplug(hwc2_display_t displayId, int32_t displayType,
145 // Disconnect is handled through HWComposer::disconnectDisplay via
153 bool HWComposer::onVsync(hwc2_display_t displayId, int64_t timestamp,
208 status_t HWComposer::allocateVirtualDisplay(uint32_t width, uint32_t height,
253 HWC2::Layer* HWComposer::createLayer(int32_t displayId) {
263 void HWComposer::destroyLayer(int32_t displayId, HWC2::Layer* layer) {
271 nsecs_t HWComposer::getRefreshTimestamp(int32_t displayId) const {
281 bool HWComposer::isConnected(int32_t displayId) const {
287 HWComposer::getConfigs(int32_t displayId) const {
301 HWComposer::getActiveConfig(int32_t displayId) const {
321 int HWComposer::getActiveConfigIndex(int32_t displayId) const {
343 std::vector<ui::ColorMode> HWComposer::getColorModes(int32_t displayId) const {
352 status_t HWComposer::setActiveColorMode(int32_t displayId, ui::ColorMode mode,
367 void HWComposer::setVsyncEnabled(int32_t displayId, HWC2::Vsync enabled) {
394 status_t HWComposer::setClientTarget(int32_t displayId, uint32_t slot,
406 status_t HWComposer::prepare(DisplayDevice& displayDevice) {
412 ALOGV("Skipping HWComposer prepare for non-HWC display");
522 bool HWComposer::hasDeviceComposition(int32_t displayId) const {
533 bool HWComposer::hasFlipClientTargetRequest(int32_t displayId) const {
545 bool HWComposer::hasClientComposition(int32_t displayId) const {
556 sp<Fence> HWComposer::getPresentFence(int32_t displayId) const {
561 sp<Fence> HWComposer::getLayerReleaseFence(int32_t displayId,
572 status_t HWComposer::presentAndGetReleaseFences(int32_t displayId) {
600 status_t HWComposer::setPowerMode(int32_t displayId, int32_t intMode) {
656 status_t HWComposer::setActiveConfig(int32_t displayId, size_t configId) {
670 status_t HWComposer::setColorTransform(int32_t displayId,
683 void HWComposer::disconnectDisplay(int displayId) {
705 status_t HWComposer::setOutputBuffer(int32_t displayId,
724 void HWComposer::clearReleaseFences(int32_t displayId) {
729 status_t HWComposer::getHdrCapabilities(
739 int32_t HWComposer::getSupportedPerFrameMetadata(int32_t displayId) const {
749 std::vector<ui::RenderIntent> HWComposer::getRenderIntents(int32_t displayId,
759 mat4 HWComposer::getDataspaceSaturationMatrix(int32_t displayId, ui::Dataspace dataspace) {
789 bool HWComposer::isUsingVrComposer() const {
793 void HWComposer::dump(String8& result) const {
801 HWComposer::getHwcDisplayId(int32_t displayId) const {
810 HWComposer::DisplayData::DisplayData()
821 HWComposer::DisplayData::~DisplayData() {
824 void HWComposer::DisplayData::reset() {