• Home
  • Raw
  • Download

Lines Matching refs:virtual

98      virtual ~IComposerHal() = default;
100 virtual void getCapabilities(std::vector<Capability>* caps) = 0;
101 virtual void dumpDebugInfo(std::string* output) = 0;
102 virtual bool hasCapability(Capability cap) = 0;
106 virtual ~EventCallback() = default;
107 virtual void onHotplug(int64_t display, bool connected) = 0;
108 virtual void onRefresh(int64_t display) = 0;
109 virtual void onVsync(int64_t display, int64_t timestamp, int32_t vsyncPeriodNanos) = 0;
110 virtual void onVsyncPeriodTimingChanged(int64_t display,
112 virtual void onVsyncIdle(int64_t display) = 0;
113 virtual void onSeamlessPossible(int64_t display) = 0;
114 virtual void onRefreshRateChangedDebug(const RefreshRateChangedDebugData& data) = 0;
115 virtual void onHotplugEvent(int64_t display, common::DisplayHotplugEvent event) = 0;
117 virtual void registerEventCallback(EventCallback* callback) = 0;
118 virtual void unregisterEventCallback() = 0;
120 virtual int32_t acceptDisplayChanges(int64_t display) = 0;
121 virtual int32_t createLayer(int64_t display, int64_t* outLayer) = 0;
122 virtual int32_t batchedCreateDestroyLayer(int64_t display, int64_t layer,
124 virtual int32_t createVirtualDisplay(uint32_t width, uint32_t height, AidlPixelFormat format,
126 virtual int32_t destroyLayer(int64_t display, int64_t layer) = 0;
127 virtual int32_t destroyVirtualDisplay(int64_t display) = 0;
128 virtual int32_t flushDisplayBrightnessChange(int64_t display) = 0;
129 virtual int32_t getActiveConfig(int64_t display, int32_t* outConfig) = 0;
130 virtual int32_t getColorModes(int64_t display, std::vector<ColorMode>* outModes) = 0;
131 virtual int32_t getDataspaceSaturationMatrix(common::Dataspace dataspace,
133 virtual int32_t getDisplayAttribute(int64_t display, int32_t config,
135 virtual int32_t getDisplayBrightnessSupport(int64_t display, bool& outSupport) = 0;
136 virtual int32_t getDisplayIdleTimerSupport(int64_t display, bool& outSupport) = 0;
137 virtual int32_t getDisplayMultiThreadedPresentSupport(const int64_t& display,
139 virtual int32_t getDisplayCapabilities(int64_t display,
141 virtual int32_t getDisplayConfigs(int64_t display, std::vector<int32_t>* configs) = 0;
142 virtual int32_t getDisplayConfigurations(int64_t display, int32_t maxFrameIntervalNs,
144 virtual int32_t notifyExpectedPresent(int64_t display,
147 virtual int32_t getDisplayConnectionType(int64_t display, DisplayConnectionType* outType) = 0;
148 virtual int32_t getDisplayIdentificationData(int64_t display, DisplayIdentification *id) = 0;
149 virtual int32_t getDisplayName(int64_t display, std::string* outName) = 0;
150 virtual int32_t getDisplayVsyncPeriod(int64_t display, int32_t* outVsyncPeriod) = 0;
151 virtual int32_t getDisplayedContentSample(int64_t display, int64_t maxFrames,
153 virtual int32_t getDisplayedContentSamplingAttributes(
155 virtual int32_t getDisplayPhysicalOrientation(int64_t display,
157 virtual int32_t getDozeSupport(int64_t display, bool& outSupport) = 0;
158 virtual int32_t getHdrCapabilities(int64_t display, HdrCapabilities* caps) = 0;
159 virtual int32_t getOverlaySupport(OverlayProperties* caps) = 0;
160 virtual int32_t getMaxVirtualDisplayCount(int32_t* count) = 0;
161 virtual int32_t getPerFrameMetadataKeys(int64_t display,
163 virtual int32_t getReadbackBufferAttributes(int64_t display,
165 virtual int32_t getReadbackBufferFence(int64_t display,
167 virtual int32_t getRenderIntents(int64_t display, ColorMode mode,
169 virtual int32_t getSupportedContentTypes(int64_t display, std::vector<ContentType>* types) = 0;
170 virtual int32_t presentDisplay(int64_t display, ndk::ScopedFileDescriptor& fence,
173 virtual int32_t setActiveConfig(int64_t display, int32_t config) = 0;
174 virtual int32_t setActiveConfigWithConstraints(
178 virtual int32_t setBootDisplayConfig(int64_t display, int32_t config) = 0;
179 virtual int32_t clearBootDisplayConfig(int64_t display) = 0;
180 virtual int32_t getPreferredBootDisplayConfig(int64_t display, int32_t* config) = 0;
181 virtual int32_t getHdrConversionCapabilities(std::vector<common::HdrConversionCapability>*) = 0;
182 virtual int32_t setHdrConversionStrategy(const common::HdrConversionStrategy&,
184 virtual int32_t setAutoLowLatencyMode(int64_t display, bool on) = 0;
185 virtual int32_t setClientTarget(int64_t display, buffer_handle_t target,
189 virtual int32_t getHasClientComposition(int64_t display, bool& outHasClientComp) = 0;
190 virtual int32_t setColorMode(int64_t display, ColorMode mode, RenderIntent intent) = 0;
191 virtual int32_t setColorTransform(int64_t display, const std::vector<float>& matrix) = 0; // cmd
192 virtual int32_t setContentType(int64_t display, ContentType contentType) = 0;
193 virtual int32_t setDisplayBrightness(int64_t display, float brightness) = 0;
194 virtual int32_t setDisplayedContentSamplingEnabled(int64_t display, bool enable,
197 virtual int32_t setLayerBlendMode(int64_t display, int64_t layer, common::BlendMode mode) = 0;
198 virtual int32_t setLayerBuffer(int64_t display, int64_t layer, buffer_handle_t buffer,
200 virtual int32_t uncacheLayerBuffers(int64_t display, int64_t layer,
203 virtual int32_t setLayerColor(int64_t display, int64_t layer, Color color) = 0;
204 virtual int32_t setLayerColorTransform(int64_t display, int64_t layer,
206 virtual int32_t setLayerCompositionType(int64_t display, int64_t layer, Composition type) = 0;
207 virtual int32_t setLayerCursorPosition(int64_t display, int64_t layer, int32_t x,
209 virtual int32_t setLayerDataspace(int64_t display, int64_t layer,
211 virtual int32_t setLayerDisplayFrame(int64_t display, int64_t layer,
213 virtual int32_t setLayerPerFrameMetadata(int64_t display, int64_t layer,
215 virtual int32_t setLayerPerFrameMetadataBlobs(int64_t display, int64_t layer,
217 virtual int32_t setLayerPlaneAlpha(int64_t display, int64_t layer, float alpha) = 0;
218 virtual int32_t setLayerSidebandStream(int64_t display, int64_t layer,
220 virtual int32_t setLayerSourceCrop(int64_t display, int64_t layer,
222 virtual int32_t setLayerSurfaceDamage(int64_t display, int64_t layer,
224 virtual int32_t setLayerTransform(int64_t display, int64_t layer,
226 virtual int32_t setLayerVisibleRegion(int64_t display, int64_t layer,
228 virtual int32_t setLayerBrightness(int64_t display, int64_t layer, float brightness) = 0;
229 virtual int32_t setLayerZOrder(int64_t display, int64_t layer, uint32_t z) = 0;
230 virtual int32_t setOutputBuffer(int64_t display, buffer_handle_t buffer,
232 virtual int32_t setPowerMode(int64_t display, PowerMode mode) = 0;
233 virtual int32_t getPowerMode(int64_t display, std::optional<PowerMode>& outMode) = 0;
234 virtual int32_t setReadbackBuffer(int64_t display, buffer_handle_t buffer,
236 virtual int32_t setVsyncEnabled(int64_t display, bool enabled) = 0;
237 virtual int32_t validateDisplay(int64_t display, std::vector<int64_t>* outChangedLayers,
244 virtual int32_t setExpectedPresentTime(
247 virtual int32_t setIdleTimerEnabled(int64_t display, int32_t timeout) = 0;
248 virtual int32_t getRCDLayerSupport(int64_t display, bool& outSupport) = 0;
249 virtual int32_t setLayerBlockingRegion(
252 virtual int32_t setRefreshRateChangedCallbackDebugEnabled(int64_t display, bool enabled) = 0;
253 virtual int32_t layerSf2Hwc(int64_t display, int64_t layer, hwc2_layer_t& outMappedLayer) = 0;