Home
last modified time | relevance | path

Searched refs:buffer_allocator_ (Results 1 – 25 of 46) sorted by relevance

12

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_color_manager.cpp219 buffer_allocator_ = new HWCBufferAllocator(); in SetFrameCapture()
220 if (buffer_allocator_ == NULL) { in SetFrameCapture()
225 ret = buffer_allocator_->AllocateBuffer(&buffer_info); in SetFrameCapture()
228 delete buffer_allocator_; in SetFrameCapture()
229 buffer_allocator_ = NULL; in SetFrameCapture()
238 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
239 delete buffer_allocator_; in SetFrameCapture()
240 buffer_allocator_ = NULL; in SetFrameCapture()
260 if (buffer_allocator_ != NULL) { in SetFrameCapture()
262 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
[all …]
Dhwc_display_primary.cpp92 buffer_allocator_(buffer_allocator), in HWCDisplayPrimary()
456 if (buffer_allocator_->FreeBuffer(&output_buffer_info_) != 0) { in HandleFrameDump()
483 if (buffer_allocator_->AllocateBuffer(&output_buffer_info_) != 0) { in SetFrameDumpConfig()
494 buffer_allocator_->FreeBuffer(&output_buffer_info_); in SetFrameDumpConfig()
Dhwc_display_primary.h88 BufferAllocator *buffer_allocator_ = nullptr; variable
Dhwc_color_manager.h137 HWCBufferAllocator *buffer_allocator_ = NULL; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_color_manager.cpp364 buffer_allocator_ = new HWCBufferAllocator(); in SetFrameCapture()
365 if (buffer_allocator_ == NULL) { in SetFrameCapture()
370 ret = buffer_allocator_->AllocateBuffer(&buffer_info); in SetFrameCapture()
373 delete[] buffer_allocator_; in SetFrameCapture()
374 buffer_allocator_ = NULL; in SetFrameCapture()
384 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
385 delete[] buffer_allocator_; in SetFrameCapture()
386 buffer_allocator_ = NULL; in SetFrameCapture()
401 if (buffer_allocator_ != NULL) { in SetFrameCapture()
403 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
[all …]
Dhwc_display_primary.cpp89 DISPLAY_CLASS_PRIMARY), buffer_allocator_(buffer_allocator) { in HWCDisplayPrimary()
397 if (buffer_allocator_->FreeBuffer(&output_buffer_info_) != 0) { in HandleFrameDump()
424 if (buffer_allocator_->AllocateBuffer(&output_buffer_info_) != 0) { in SetFrameDumpConfig()
436 buffer_allocator_->FreeBuffer(&output_buffer_info_); in SetFrameDumpConfig()
Dhwc_display_primary.h76 BufferAllocator *buffer_allocator_ = nullptr; variable
Dhwc_color_manager.h139 HWCBufferAllocator *buffer_allocator_ = NULL; variable
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dhwc_color_manager.cpp362 buffer_allocator_ = new HWCBufferAllocator(); in SetFrameCapture()
363 if (buffer_allocator_ == NULL) { in SetFrameCapture()
368 ret = buffer_allocator_->AllocateBuffer(&buffer_info); in SetFrameCapture()
371 delete buffer_allocator_; in SetFrameCapture()
372 buffer_allocator_ = NULL; in SetFrameCapture()
382 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
383 delete buffer_allocator_; in SetFrameCapture()
384 buffer_allocator_ = NULL; in SetFrameCapture()
404 if (buffer_allocator_ != NULL) { in SetFrameCapture()
406 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
[all …]
Dhwc_display_primary.cpp90 DISPLAY_CLASS_PRIMARY), buffer_allocator_(buffer_allocator) { in HWCDisplayPrimary()
455 if (buffer_allocator_->FreeBuffer(&output_buffer_info_) != 0) { in HandleFrameDump()
482 if (buffer_allocator_->AllocateBuffer(&output_buffer_info_) != 0) { in SetFrameDumpConfig()
494 buffer_allocator_->FreeBuffer(&output_buffer_info_); in SetFrameDumpConfig()
Dhwc_display_external_test.cpp93 buffer_allocator_ = new HWCBufferAllocator(); in Init()
119 delete buffer_allocator_; in Deinit()
120 buffer_allocator_ = NULL; in Deinit()
658 int ret = buffer_allocator_->AllocateBuffer(&buffer_info_); in InitLayer()
666 buffer_allocator_->FreeBuffer(&buffer_info_); in InitLayer()
688 int ret = buffer_allocator_->FreeBuffer(&buffer_info_); in DeinitLayer()
Dhwc_tonemapper.h94 HWCBufferAllocator buffer_allocator_ = {}; variable
Dhwc_display_external_test.h47 HWCBufferAllocator *buffer_allocator_ = NULL;
Dhwc_display_primary.h70 BufferAllocator *buffer_allocator_ = nullptr; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_color_manager.cpp138 buffer_allocator_(buffer_allocator) { in HWCColorManager()
224 ret = buffer_allocator_->AllocateBuffer(&buffer_info); in SetFrameCapture()
235 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
250 if (buffer_allocator_ != NULL) { in SetFrameCapture()
252 ret = buffer_allocator_->FreeBuffer(&buffer_info); in SetFrameCapture()
Dhwc_display_primary.cpp92 buffer_allocator_(buffer_allocator), in HWCDisplayPrimary()
453 if (buffer_allocator_->FreeBuffer(&output_buffer_info_) != 0) { in HandleFrameDump()
480 if (buffer_allocator_->AllocateBuffer(&output_buffer_info_) != 0) { in SetFrameDumpConfig()
491 buffer_allocator_->FreeBuffer(&output_buffer_info_); in SetFrameDumpConfig()
Dhwc_color_manager.h133 HWCBufferAllocator *buffer_allocator_ = NULL; variable
Dhwc_session.cpp95 buffer_allocator_ = new HWCBufferAllocator(); in Init()
97 DisplayError error = CoreInterface::CreateCore(HWCDebugHandler::Get(), buffer_allocator_, in Init()
112 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init()
116 status = HWCDisplayPrimary::Create(core_intf_, buffer_allocator_, &callbacks_, qservice_, in Init()
125 color_mgr_ = HWCColorManager::CreateColorManager(buffer_allocator_); in Init()
156 if (buffer_allocator_ != nullptr) { in Deinit()
157 delete buffer_allocator_; in Deinit()
159 buffer_allocator_ = nullptr; in Deinit()
701 auto status = HWCDisplayVirtual::Create(core_intf_, buffer_allocator_, &callbacks_, width, in CreateVirtualDisplayObject()
720 status = HWCDisplayExternal::Create(core_intf_, buffer_allocator_, &callbacks_, primary_width, in ConnectDisplay()
Dhwc_display_primary.h87 BufferAllocator *buffer_allocator_ = nullptr; variable
/hardware/qcom/display/msm8998/sdm/libs/core/
Dcore_impl.cpp44 : buffer_allocator_(buffer_allocator), buffer_sync_handler_(buffer_sync_handler), in CoreImpl()
81 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
Dcore_impl.h64 BufferAllocator *buffer_allocator_ = NULL; variable
Dstrategy.h72 BufferAllocator *buffer_allocator_ = NULL; variable
Dstrategy.cpp44 buffer_allocator_(buffer_allocator) { in Strategy()
51 error = extension_intf_->CreateStrategyExtn(display_type_, buffer_allocator_, hw_resource_info_, in Init()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dcore_impl.cpp43 : buffer_allocator_(buffer_allocator), buffer_sync_handler_(buffer_sync_handler) { in CoreImpl()
85 error = extension_intf_->CreateRotator(hw_resource_.hw_rot_info, buffer_allocator_, in Init()
Dcore_impl.h66 BufferAllocator *buffer_allocator_; variable

12