/hardware/qcom/sm7250/display/sdm/libs/utils/ |
D | fence.cpp | 43 BufferSyncHandler* Fence::g_buffer_sync_handler_ = nullptr; 44 std::vector<std::weak_ptr<Fence>> Fence::wps_; 46 Fence::Fence(int fd, const string &name) : fd_(fd), name_(name) { in Fence() function in sdm::Fence 49 Fence::~Fence() { in ~Fence() 60 void Fence::Set(BufferSyncHandler *buffer_sync_handler) { in Set() 64 shared_ptr<Fence> Fence::Create(int fd, const string &name) { in Create() 70 shared_ptr<Fence> fence(new Fence(fd, name)); in Create() 80 int Fence::Dup(const shared_ptr<Fence> &fence) { in Dup() 84 int Fence::Get(const shared_ptr<Fence> &fence) { in Get() 88 shared_ptr<Fence> Fence::Merge(const shared_ptr<Fence> &fence1, const shared_ptr<Fence> &fence2) { in Merge() [all …]
|
/hardware/qcom/sm7250/display/sdm/include/utils/ |
D | fence.h | 46 class Fence { 60 int Get(const shared_ptr<Fence> &fence); 66 ~Fence(); 74 static shared_ptr<Fence> Create(int fd, const string &name); 77 static int Dup(const shared_ptr<Fence> &fence); 79 static shared_ptr<Fence> Merge(const shared_ptr<Fence> &fence1, const shared_ptr<Fence> &fence2); 81 static shared_ptr<Fence> Merge(const std::vector<shared_ptr<Fence>> &fences, 85 static DisplayError Wait(const shared_ptr<Fence> &fence); 86 static DisplayError Wait(const shared_ptr<Fence> &fence, int timeout); 89 static Status GetStatus(const shared_ptr<Fence> &fence); [all …]
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_display_virtual_gpu.h | 55 shared_ptr<Fence> src_acquire_fence = nullptr; 56 shared_ptr<Fence> dst_acquire_fence = nullptr; 57 shared_ptr<Fence> release_fence = nullptr; 69 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence); 70 virtual HWC2::Error SetOutputBuffer(buffer_handle_t buf, shared_ptr<Fence> release_fence);
|
D | hwc_tonemapper.h | 61 shared_ptr<Fence> merged = nullptr; 62 shared_ptr<Fence> fence = nullptr; 79 void UpdateBuffer(const shared_ptr<Fence> &acquire_fence, LayerBuffer *buffer); 80 void SetReleaseFence(const shared_ptr<Fence> &fd); 95 shared_ptr<Fence> release_fence_[kNumIntermediateBuffers] = {nullptr, nullptr}; 114 void DumpToneMapOutput(ToneMapSession *session, shared_ptr<sdm::Fence> acquire_fence);
|
D | gl_color_convert.h | 50 const shared_ptr<Fence> &src_acquire_fence, 51 const shared_ptr<Fence> &dst_acquire_fence, 52 shared_ptr<Fence> *release_fence) = 0;
|
D | gl_layer_stitch.h | 45 shared_ptr<Fence> src_acquire_fence = nullptr; 46 shared_ptr<Fence> dst_acquire_fence = nullptr; 54 shared_ptr<Fence> *release_fence) = 0;
|
D | gl_common.cpp | 112 int GLCommon::WaitOnInputFence(const std::vector<shared_ptr<Fence>> &in_fences) { in WaitOnInputFence() 115 shared_ptr<Fence> in_fence = Fence::Merge(in_fences, true /* ignore signaled*/); in WaitOnInputFence() 120 int fd = Fence::Dup(in_fence); in WaitOnInputFence() 126 DLOGE("Failed to create sync from source fd: %s", Fence::GetStr(in_fence).c_str()); in WaitOnInputFence() 137 int GLCommon::CreateOutputFence(shared_ptr<Fence> *out_fence) { in CreateOutputFence() 155 *out_fence = Fence::Create(fd, "gl_out_fence"); in CreateOutputFence()
|
D | gl_color_convert_impl.h | 47 const shared_ptr<Fence> &src_acquire_fence, 48 const shared_ptr<Fence> &dst_acquire_fence, 49 shared_ptr<Fence> *release_fence);
|
D | gl_color_convert_impl.cpp | 160 const shared_ptr<Fence> &src_acquire_fence, in Blit() 161 const shared_ptr<Fence> &dst_acquire_fence, in Blit() 162 shared_ptr<Fence> *release_fence) { in Blit() 179 std::vector<shared_ptr<Fence>> in_fence = {Fence::Merge(src_acquire_fence, dst_acquire_fence)}; in Blit()
|
D | gl_layer_stitch_impl.cpp | 143 shared_ptr<Fence> *release_fence) { in Blit() 146 std::vector<shared_ptr<Fence>> acquire_fences; in Blit() 147 std::vector<shared_ptr<Fence>> release_fences; in Blit() 161 shared_ptr<Fence> temp_release_fence = nullptr; in Blit() 174 *release_fence = Fence::Merge(release_fences, false); in Blit()
|
D | hwc_display_virtual_dpu.h | 44 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence); 45 virtual HWC2::Error SetOutputBuffer(buffer_handle_t buf, shared_ptr<Fence> release_fence);
|
D | hwc_layers.h | 92 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, shared_ptr<Fence> acquire_fence); 117 void PushBackReleaseFence(const shared_ptr<Fence> &fence); 118 void PopBackReleaseFence(shared_ptr<Fence> *fence); 119 void PopFrontReleaseFence(shared_ptr<Fence> *fence); 144 std::deque<shared_ptr<Fence>> release_fences_;
|
D | gl_common.h | 68 virtual int WaitOnInputFence(const std::vector<shared_ptr<Fence>> &in_fences); 69 virtual int CreateOutputFence(shared_ptr<Fence> *out_fence);
|
D | hwc_display_virtual.h | 45 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence); 50 virtual HWC2::Error SetOutputBuffer(buffer_handle_t buf, shared_ptr<Fence> release_fence);
|
D | hwc_tonemapper.cpp | 90 int fence = gpu_tone_mapper_->blit(dst_hnd, src_hnd, Fence::Dup(ctx->merged)); in OnTask() 91 ctx->fence = Fence::Create(fence, "tonemap"); in OnTask() 134 void ToneMapSession::UpdateBuffer(const shared_ptr<Fence> &acquire_fence, LayerBuffer *buffer) { in UpdateBuffer() 143 void ToneMapSession::SetReleaseFence(const shared_ptr<Fence> &fd) { in SetReleaseFence() 229 ctx.merged = Fence::Merge(session->release_fence_[buffer_index], in ToneMap() 283 void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, shared_ptr<Fence> acquire_fd) { in DumpToneMapOutput() 291 Fence::Wait(acquire_fd); in DumpToneMapOutput()
|
D | hwc_display_dummy.h | 46 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence); 52 virtual HWC2::Error SetClientTarget(buffer_handle_t target, shared_ptr<Fence> acquire_fence,
|
D | hwc_display_pluggable_test.h | 48 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence); 100 HWC2::Error PostCommit(shared_ptr<Fence> *out_retire_fence);
|
D | QtiComposerCommandBuffer.h | 56 using sdm::Fence; 215 void setPresentFence(const shared_ptr<Fence> &presentFence) { in setPresentFence() 222 const std::vector<shared_ptr<Fence>>& releaseFences) { in setReleaseFences() 251 const shared_ptr<Fence>& acquireFence, Dataspace dataspace, in setClientTarget() 272 const shared_ptr<Fence>& releaseFence) { in setOutputBuffer() 316 const shared_ptr<Fence>& acquireFence) { in setLayerBuffer() 590 void writeFence(const shared_ptr<Fence>& fence) { in writeFence() 595 handle->data[0] = Fence::Dup(fence); in writeFence() 597 ALOGW("failed to get temporary handle for fence %s", Fence::GetStr(fence).c_str()); in writeFence() 598 Fence::Wait(fence); in writeFence() [all …]
|
D | hwc_display.h | 228 shared_ptr<Fence> acquire_fence, in SetReadbackBuffer() 232 virtual HWC2::Error GetReadbackBufferFence(shared_ptr<Fence> *release_fence) { in GetReadbackBufferFence() 313 virtual HWC2::Error SetClientTarget(buffer_handle_t target, shared_ptr<Fence> acquire_fence, 315 virtual HWC2::Error GetClientTarget(buffer_handle_t target, shared_ptr<Fence> acquire_fence, 385 std::vector<shared_ptr<Fence>> *out_fences); 386 virtual HWC2::Error Present(shared_ptr<Fence> *out_retire_fence) = 0; 476 shared_ptr<Fence> &retire_fence); 479 virtual HWC2::Error PostCommitLayerStack(shared_ptr<Fence> *out_retire_fence); 581 shared_ptr<Fence> client_acquire_fence_ = nullptr; 600 shared_ptr<Fence> fbt_release_fence_ = nullptr; [all …]
|
D | hwc_display_dummy.cpp | 55 HWC2::Error HWCDisplayDummy::Present(shared_ptr<Fence> *out_retire_fence) { in Present() 116 shared_ptr<Fence> acquire_fence, in SetClientTarget()
|
D | gl_layer_stitch_impl.h | 46 …virtual int Blit(const std::vector<StitchParams> &stitch_params, shared_ptr<Fence> *release_fence);
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_tv_drm.h | 46 virtual DisplayError Doze(const HWQosData &qos_data, shared_ptr<Fence> *release_fence); 47 virtual DisplayError DozeSuspend(const HWQosData &qos_data, shared_ptr<Fence> *release_fence); 52 virtual DisplayError PowerOn(const HWQosData &qos_data, shared_ptr<Fence> *release_fence);
|
D | hw_peripheral_drm.h | 59 virtual DisplayError PowerOn(const HWQosData &qos_data, shared_ptr<Fence> *release_fence); 61 virtual DisplayError Doze(const HWQosData &qos_data, shared_ptr<Fence> *release_fence); 62 virtual DisplayError DozeSuspend(const HWQosData &qos_data, shared_ptr<Fence> *release_fence);
|
/hardware/qcom/sm7250/display/sdm/include/core/ |
D | layer_buffer.h | 250 shared_ptr<Fence> acquire_fence = nullptr; 262 shared_ptr<Fence> release_fence = nullptr;
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | hw_interface.h | 91 virtual DisplayError PowerOn(const HWQosData &qos_data, shared_ptr<Fence> *release_fence) = 0; 93 virtual DisplayError Doze(const HWQosData &qos_data, shared_ptr<Fence> *release_fence) = 0; 95 shared_ptr<Fence> *release_fence) = 0;
|