Lines Matching refs:Error
96 Error getDisplayIdentificationData(hwc2_display_t hwcDisplayId, uint8_t* outPort,
99 Error createVirtualDisplay(uint32_t width, uint32_t height,
114 Error flushCommands();
206 [[clang::warn_unused_result]] virtual Error acceptChanges() = 0;
207 [[clang::warn_unused_result]] virtual Error createLayer(Layer** outLayer) = 0;
208 [[clang::warn_unused_result]] virtual Error destroyLayer(Layer* layer) = 0;
209 [[clang::warn_unused_result]] virtual Error getActiveConfig(
211 [[clang::warn_unused_result]] virtual Error getActiveConfigIndex(int* outIndex) const = 0;
212 [[clang::warn_unused_result]] virtual Error getChangedCompositionTypes(
214 [[clang::warn_unused_result]] virtual Error getColorModes(
218 [[clang::warn_unused_result]] virtual Error getRenderIntents(
221 [[clang::warn_unused_result]] virtual Error getDataspaceSaturationMatrix(
227 [[clang::warn_unused_result]] virtual Error getName(std::string* outName) const = 0;
228 [[clang::warn_unused_result]] virtual Error getRequests(
231 [[clang::warn_unused_result]] virtual Error getType(DisplayType* outType) const = 0;
232 [[clang::warn_unused_result]] virtual Error supportsDoze(bool* outSupport) const = 0;
233 [[clang::warn_unused_result]] virtual Error getHdrCapabilities(
235 [[clang::warn_unused_result]] virtual Error getDisplayedContentSamplingAttributes(
238 [[clang::warn_unused_result]] virtual Error setDisplayContentSamplingEnabled(
240 [[clang::warn_unused_result]] virtual Error getDisplayedContentSample(
243 [[clang::warn_unused_result]] virtual Error getReleaseFences(
245 [[clang::warn_unused_result]] virtual Error present(
247 [[clang::warn_unused_result]] virtual Error setActiveConfig(
249 [[clang::warn_unused_result]] virtual Error setClientTarget(
252 [[clang::warn_unused_result]] virtual Error setColorMode(
254 [[clang::warn_unused_result]] virtual Error setColorTransform(
256 [[clang::warn_unused_result]] virtual Error setOutputBuffer(
259 [[clang::warn_unused_result]] virtual Error setPowerMode(PowerMode mode) = 0;
260 [[clang::warn_unused_result]] virtual Error setVsyncEnabled(Vsync enabled) = 0;
261 [[clang::warn_unused_result]] virtual Error validate(uint32_t* outNumTypes,
263 [[clang::warn_unused_result]] virtual Error presentOrValidate(
266 [[clang::warn_unused_result]] virtual Error setDisplayBrightness(float brightness) const = 0;
278 Error acceptChanges() override;
279 Error createLayer(Layer** outLayer) override;
280 Error destroyLayer(Layer* layer) override;
281 Error getActiveConfig(std::shared_ptr<const Config>* outConfig) const override;
282 Error getActiveConfigIndex(int* outIndex) const override;
283 Error getChangedCompositionTypes(std::unordered_map<Layer*, Composition>* outTypes) override;
284 Error getColorModes(std::vector<android::ui::ColorMode>* outModes) const override;
287 Error getRenderIntents(android::ui::ColorMode colorMode,
289 Error getDataspaceSaturationMatrix(android::ui::Dataspace dataspace,
295 Error getName(std::string* outName) const override;
296 Error getRequests(DisplayRequest* outDisplayRequests,
298 Error getType(DisplayType* outType) const override;
299 Error supportsDoze(bool* outSupport) const override;
300 Error getHdrCapabilities(android::HdrCapabilities* outCapabilities) const override;
301 Error getDisplayedContentSamplingAttributes(android::ui::PixelFormat* outFormat,
304 Error setDisplayContentSamplingEnabled(bool enabled, uint8_t componentMask,
306 Error getDisplayedContentSample(uint64_t maxFrames, uint64_t timestamp,
308 Error getReleaseFences(
310 Error present(android::sp<android::Fence>* outPresentFence) override;
311 Error setActiveConfig(const std::shared_ptr<const HWC2::Display::Config>& config) override;
312 Error setClientTarget(uint32_t slot, const android::sp<android::GraphicBuffer>& target,
315 Error setColorMode(android::ui::ColorMode mode,
317 Error setColorTransform(const android::mat4& matrix, android_color_transform_t hint) override;
318 Error setOutputBuffer(const android::sp<android::GraphicBuffer>& buffer,
320 Error setPowerMode(PowerMode mode) override;
321 Error setVsyncEnabled(Vsync enabled) override;
322 Error validate(uint32_t* outNumTypes, uint32_t* outNumRequests) override;
323 Error presentOrValidate(uint32_t* outNumTypes, uint32_t* outNumRequests,
325 Error setDisplayBrightness(float brightness) const override;
370 [[clang::warn_unused_result]] virtual Error setCursorPosition(int32_t x, int32_t y) = 0;
371 [[clang::warn_unused_result]] virtual Error setBuffer(
374 [[clang::warn_unused_result]] virtual Error setSurfaceDamage(const android::Region& damage) = 0;
376 [[clang::warn_unused_result]] virtual Error setBlendMode(BlendMode mode) = 0;
377 [[clang::warn_unused_result]] virtual Error setColor(hwc_color_t color) = 0;
378 [[clang::warn_unused_result]] virtual Error setCompositionType(Composition type) = 0;
379 [[clang::warn_unused_result]] virtual Error setDataspace(android::ui::Dataspace dataspace) = 0;
380 [[clang::warn_unused_result]] virtual Error setPerFrameMetadata(
382 [[clang::warn_unused_result]] virtual Error setDisplayFrame(const android::Rect& frame) = 0;
383 [[clang::warn_unused_result]] virtual Error setPlaneAlpha(float alpha) = 0;
384 [[clang::warn_unused_result]] virtual Error setSidebandStream(
386 [[clang::warn_unused_result]] virtual Error setSourceCrop(const android::FloatRect& crop) = 0;
387 [[clang::warn_unused_result]] virtual Error setTransform(Transform transform) = 0;
388 [[clang::warn_unused_result]] virtual Error setVisibleRegion(const android::Region& region) = 0;
389 [[clang::warn_unused_result]] virtual Error setZOrder(uint32_t z) = 0;
390 [[clang::warn_unused_result]] virtual Error setInfo(uint32_t type, uint32_t appId) = 0;
393 [[clang::warn_unused_result]] virtual Error setColorTransform(const android::mat4& matrix) = 0;
409 Error setCursorPosition(int32_t x, int32_t y) override;
410 Error setBuffer(uint32_t slot, const android::sp<android::GraphicBuffer>& buffer,
412 Error setSurfaceDamage(const android::Region& damage) override;
414 Error setBlendMode(BlendMode mode) override;
415 Error setColor(hwc_color_t color) override;
416 Error setCompositionType(Composition type) override;
417 Error setDataspace(android::ui::Dataspace dataspace) override;
418 Error setPerFrameMetadata(const int32_t supportedPerFrameMetadata,
420 Error setDisplayFrame(const android::Rect& frame) override;
421 Error setPlaneAlpha(float alpha) override;
422 Error setSidebandStream(const native_handle_t* stream) override;
423 Error setSourceCrop(const android::FloatRect& crop) override;
424 Error setTransform(Transform transform) override;
425 Error setVisibleRegion(const android::Region& region) override;
426 Error setZOrder(uint32_t z) override;
427 Error setInfo(uint32_t type, uint32_t appId) override;
430 Error setColorTransform(const android::mat4& matrix) override;