Home
last modified time | relevance | path

Searched refs:transformHint (Results 1 - 14 of 14) sorted by relevance

/foundation/graphic/graphic_surface/surface/src/
H A Dconsumer_surface.cpp540 GraphicTransformType transformHint = GraphicTransformType::GRAPHIC_ROTATE_BUTT; in GetTransformHint() local
541 if (producer_->GetTransformHint(transformHint) != GSERROR_OK) { in GetTransformHint()
545 return transformHint; in GetTransformHint()
548 GSError ConsumerSurface::SetTransformHint(GraphicTransformType transformHint) in SetTransformHint() argument
553 return producer_->SetTransformHint(transformHint); in SetTransformHint()
H A Dbuffer_queue_producer.cpp743 GraphicTransformType transformHint = static_cast<GraphicTransformType>(arguments.ReadUint32()); in SetTransformHintRemote() local
744 GSError sRet = SetTransformHint(transformHint); in SetTransformHintRemote()
754 GraphicTransformType transformHint = GraphicTransformType::GRAPHIC_ROTATE_BUTT; in GetTransformHintRemote() local
755 auto ret = GetTransformHint(transformHint); in GetTransformHintRemote()
763 if (!reply.WriteInt32(GSERROR_OK) || !reply.WriteUint32(static_cast<uint32_t>(transformHint))) { in GetTransformHintRemote()
1194 GSError BufferQueueProducer::SetTransformHint(GraphicTransformType transformHint) in SetTransformHint() argument
1200 return bufferQueue_->SetTransformHint(transformHint); in SetTransformHint()
1203 GSError BufferQueueProducer::GetTransformHint(GraphicTransformType &transformHint) in GetTransformHint() argument
1207 transformHint = GraphicTransformType::GRAPHIC_ROTATE_BUTT; in GetTransformHint()
1210 transformHint in GetTransformHint()
[all...]
H A Dbuffer_client_producer.cpp740 GSError BufferClientProducer::GetTransformHint(GraphicTransformType &transformHint) in GetTransformHint() argument
745 GSError BufferClientProducer::SetTransformHint(GraphicTransformType transformHint) in SetTransformHint() argument
749 if (!arguments.WriteUint32(static_cast<uint32_t>(transformHint))) { in SetTransformHint()
H A Dproducer_surface.cpp526 GSError ProducerSurface::SetTransformHint(GraphicTransformType transformHint)
531 GSError err = producer_->SetTransformHint(transformHint);
534 lastSetTransformHint_ = transformHint;
H A Dbuffer_queue.cpp1600 GSError BufferQueue::SetTransformHint(GraphicTransformType transformHint) in SetTransformHint() argument
1603 transformHint_ = transformHint; in SetTransformHint()
/foundation/graphic/graphic_surface/surface/include/
H A Dbuffer_client_producer.h96 GSError GetTransformHint(GraphicTransformType &transformHint) override;
97 GSError SetTransformHint(GraphicTransformType transformHint) override;
H A Dbuffer_queue_producer.h108 GSError SetTransformHint(GraphicTransformType transformHint) override;
109 GSError GetTransformHint(GraphicTransformType &transformHint) override;
H A Dbuffer_queue.h179 GSError SetTransformHint(GraphicTransformType transformHint);
H A Dproducer_surface.h200 GSError SetTransformHint(GraphicTransformType transformHint) override;
H A Dconsumer_surface.h218 GSError SetTransformHint(GraphicTransformType transformHint) override;
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dibuffer_producer.h113 virtual GSError GetTransformHint(GraphicTransformType &transformHint) = 0;
114 virtual GSError SetTransformHint(GraphicTransformType transformHint) = 0;
H A Dsurface.h143 virtual GSError SetTransformHint(GraphicTransformType transformHint) = 0;
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp537 //Use to compare preTransform to transformHint
640 OH_NativeBuffer_TransformType transformHint = NATIVEBUFFER_ROTATE_NONE; in SetWindowTransform() local
641 err = NativeWindowGetTransformHint(window, &transformHint); in SetWindowTransform()
646 if (transformHint != TranslateVulkanToNativeTransform(createInfo->preTransform)) { in SetWindowTransform()
647 SWLOGE("The App Is Not Doing Pre-rotation, transformHint: %{public}d, preTransform(to native): %{public}d", in SetWindowTransform()
648 transformHint, TranslateVulkanToNativeTransform(createInfo->preTransform)); in SetWindowTransform()
1332 OH_NativeBuffer_TransformType transformHint = NATIVEBUFFER_ROTATE_NONE; in GetPhysicalDeviceSurfaceCapabilitiesKHR() local
1341 err = NativeWindowGetTransformHint(window, &transformHint); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1357 capabilities->currentTransform = TranslateNativeToVulkanTransformHint(transformHint); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp1063 uint32_t transformHint = (rotation + deviceRotation) % FULL_CIRCLE_DEGREE; in UpdateViewportConfig() local
1068 rotation, deviceRotation, transformHint, virtualPixelRatio_); in UpdateViewportConfig()
1074 config.SetTransformHint(transformHint); in UpdateViewportConfig()

Completed in 22 milliseconds