Lines Matching defs:ProducerSurface

38     sptr<ProducerSurface> surf = new ProducerSurface(producer);
49 ProducerSurface::ProducerSurface(sptr<IBufferProducer>& producer)
61 BLOGD("ProducerSurface ctor");
64 ProducerSurface::~ProducerSurface()
66 BLOGD("~ProducerSurface dtor, name: %{public}s, uniqueId: %{public}" PRIu64 ".", name_.c_str(), queueId_);
72 GSError ProducerSurface::GetProducerInitInfo(ProducerInitInfo& info)
80 GSError ProducerSurface::Init()
92 bool ProducerSurface::IsConsumer() const
97 sptr<IBufferProducer> ProducerSurface::GetProducer() const
102 GSError ProducerSurface::RequestBuffer(sptr<SurfaceBuffer>& buffer,
143 GSError ProducerSurface::SetMetadataValve(sptr<SurfaceBuffer>& buffer)
185 void ProducerSurface::OutputRequestBufferLog(sptr<SurfaceBuffer>& buffer)
201 GSError ProducerSurface::AddCacheLocked(sptr<BufferExtraData>& bedataimpl,
237 GSError ProducerSurface::RequestBuffers(std::vector<sptr<SurfaceBuffer>>& buffers,
272 GSError ProducerSurface::FlushBuffer(sptr<SurfaceBuffer>& buffer,
282 GSError ProducerSurface::FlushBuffer(sptr<SurfaceBuffer>& buffer, const sptr<SyncFence>& fence,
301 GSError ProducerSurface::FlushBuffers(const std::vector<sptr<SurfaceBuffer>>& buffers,
329 GSError ProducerSurface::GetLastFlushedBuffer(sptr<SurfaceBuffer>& buffer,
338 GSError ProducerSurface::RequestBuffer(sptr<SurfaceBuffer>& buffer,
351 GSError ProducerSurface::CancelBuffer(sptr<SurfaceBuffer>& buffer)
364 GSError ProducerSurface::FlushBuffer(sptr<SurfaceBuffer>& buffer,
371 GSError ProducerSurface::AttachBufferToQueue(sptr<SurfaceBuffer> buffer)
388 GSError ProducerSurface::DetachBufferFromQueue(sptr<SurfaceBuffer> buffer)
406 GSError ProducerSurface::AttachBuffer(sptr<SurfaceBuffer>& buffer)
415 GSError ProducerSurface::AttachBuffer(sptr<SurfaceBuffer>& buffer, int32_t timeOut)
424 GSError ProducerSurface::DetachBuffer(sptr<SurfaceBuffer>& buffer)
432 GSError ProducerSurface::RegisterSurfaceDelegator(sptr<IRemoteObject> client)
475 bool ProducerSurface::QueryIfBufferAvailable()
480 uint32_t ProducerSurface::GetQueueSize()
488 GSError ProducerSurface::SetQueueSize(uint32_t queueSize)
496 const std::string& ProducerSurface::GetName()
499 BLOGW("ProducerSurface is not initialized.");
504 int32_t ProducerSurface::GetDefaultWidth()
512 int32_t ProducerSurface::GetDefaultHeight()
520 GraphicTransformType ProducerSurface::GetTransformHint() const
526 GSError ProducerSurface::SetTransformHint(GraphicTransformType transformHint)
539 GSError ProducerSurface::SetDefaultUsage(uint64_t usage)
547 uint64_t ProducerSurface::GetDefaultUsage()
555 GSError ProducerSurface::SetSurfaceSourceType(OHSurfaceSource sourceType)
563 OHSurfaceSource ProducerSurface::GetSurfaceSourceType() const
576 GSError ProducerSurface::SetSurfaceAppFrameworkType(std::string appFrameworkType)
584 std::string ProducerSurface::GetSurfaceAppFrameworkType() const
597 GSError ProducerSurface::SetUserData(const std::string& key, const std::string& val)
622 std::string ProducerSurface::GetUserData(const std::string& key)
632 GSError ProducerSurface::RegisterReleaseListener(OnReleaseFunc func)
646 GSError ProducerSurface::RegisterReleaseListener(OnReleaseFuncWithFence funcWithFence)
660 GSError ProducerSurface::UnRegisterReleaseListener()
678 GSError ProducerSurface::RegisterDeleteBufferListener(OnDeleteBufferFunc func, bool isForUniRedraw)
683 GSError ProducerSurface::RegisterUserDataChangeListener(const std::string& funcName, OnUserDataChangeFunc func)
699 GSError ProducerSurface::UnRegisterUserDataChangeListener(const std::string& funcName)
710 GSError ProducerSurface::ClearUserDataChangeListener()
717 bool ProducerSurface::IsRemote()
725 void ProducerSurface::CleanAllLocked()
738 GSError ProducerSurface::CleanCacheLocked(bool cleanAll)
745 GSError ProducerSurface::CleanCache(bool cleanAll)
758 GSError ProducerSurface::GoBackground()
771 uint64_t ProducerSurface::GetUniqueId() const
774 BLOGW("ProducerSurface is not initialized.");
779 GSError ProducerSurface::SetTransform(GraphicTransformType transform)
787 GraphicTransformType ProducerSurface::GetTransform() const
800 GSError ProducerSurface::IsSupportedAlloc(const std::vector<BufferVerifyAllocInfo>& infos,
809 GSError ProducerSurface::Connect()
827 GSError ProducerSurface::Disconnect()
846 GSError ProducerSurface::SetScalingMode(uint32_t sequence, ScalingMode scalingMode)
855 GSError ProducerSurface::SetScalingMode(ScalingMode scalingMode)
864 void ProducerSurface::SetBufferHold(bool hold)
872 GSError ProducerSurface::SetMetaData(uint32_t sequence, const std::vector<GraphicHDRMetaData>& metaData)
880 GSError ProducerSurface::SetMetaDataSet(uint32_t sequence, GraphicHDRMetadataKey key,
890 GSError ProducerSurface::SetTunnelHandle(const GraphicExtDataHandle *handle)
898 GSError ProducerSurface::GetPresentTimestamp(uint32_t sequence, GraphicPresentTimestampType type,
908 GSError ProducerSurface::SetWptrNativeWindowToPSurface(void* nativeWindow)
919 void ProducerSurface::SetRequestWidthAndHeight(int32_t width, int32_t height)
926 int32_t ProducerSurface::GetRequestWidth()
932 int32_t ProducerSurface::GetRequestHeight()
938 void ProducerSurface::SetWindowConfig(const BufferRequestConfig& config)
944 void ProducerSurface::SetWindowConfigWidthAndHeight(int32_t width, int32_t height)
951 void ProducerSurface::SetWindowConfigStride(int32_t stride)
957 void ProducerSurface::SetWindowConfigFormat(int32_t format)
963 void ProducerSurface::SetWindowConfigUsage(uint64_t usage)
969 void ProducerSurface::SetWindowConfigTimeout(int32_t timeout)
975 void ProducerSurface::SetWindowConfigColorGamut(GraphicColorGamut colorGamut)
981 void ProducerSurface::SetWindowConfigTransform(GraphicTransformType transform)
987 BufferRequestConfig ProducerSurface::GetWindowConfig()
993 GSError ProducerSurface::SetHdrWhitePointBrightness(float brightness)
1005 GSError ProducerSurface::SetSdrWhitePointBrightness(float brightness)
1017 GSError ProducerSurface::AcquireLastFlushedBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence,
1026 GSError ProducerSurface::ReleaseLastFlushedBuffer(sptr<SurfaceBuffer> buffer)
1034 GSError ProducerSurface::SetGlobalAlpha(int32_t alpha)