diff --git a/frameworks/wms/lite_proxy_surface.cpp b/frameworks/wms/lite_proxy_surface.cpp index b27290a54cbc07e881043bd911da65896d44c708..955009b45dd77abfdbdf29fe27ca9a373fcbf6e7 100755 --- a/frameworks/wms/lite_proxy_surface.cpp +++ b/frameworks/wms/lite_proxy_surface.cpp @@ -28,7 +28,6 @@ LiteProxySurface::~LiteProxySurface() void LiteProxySurface::Lock(void** buf, void** phyMem, uint32_t* strideLen) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, "Lock"); if (surface_ == nullptr) { return; } @@ -47,7 +46,6 @@ void LiteProxySurface::Lock(void** buf, void** phyMem, uint32_t* strideLen) uintptr_t phyAddr = buffer_->GetPhyAddr(); *phyMem = (void*)phyAddr; *strideLen = surface_->GetStride(); - HILOG_INFO(HILOG_MODULE_GRAPHIC, "strideLen=%d", *strideLen); } void LiteProxySurface::Unlock() @@ -56,7 +54,6 @@ void LiteProxySurface::Unlock() return; } - HILOG_INFO(HILOG_MODULE_GRAPHIC, "Unlock"); surface_->FlushBuffer(buffer_); buffer_ = nullptr; } diff --git a/services/wms/lite_win.cpp b/services/wms/lite_win.cpp index 06ad58f30b2e9f77f4e644c14301fdd453d1d313..5744f5c1a5123aa9cf2f15bfacb94fedec7409aa 100644 --- a/services/wms/lite_win.cpp +++ b/services/wms/lite_win.cpp @@ -127,8 +127,6 @@ void LiteWindow::UpdateBackBuf() void* acquireBufVirAddr = acquireBuffer->GetVirAddr(); void* backBufVirAddr = backBuf_->GetVirAddr(); if (acquireBufVirAddr != nullptr && backBufVirAddr != nullptr) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, "memcpy, backBuf size=%d, acquireBuffer size=%d", - backBuf_->GetSize(), acquireBuffer->GetSize()); #ifdef ARM_NEON_OPT { DEBUG_PERFORMANCE_TRACE("UpdateBackBuf_neon"); @@ -143,7 +141,6 @@ void LiteWindow::UpdateBackBuf() } } #endif - HILOG_INFO(HILOG_MODULE_GRAPHIC, "memcpy end"); } surface_->ReleaseBuffer(acquireBuffer); } @@ -239,8 +236,6 @@ void LiteWindow::Flush(const Rect& srcRect, const LiteSurfaceData* layerData, in srcData.pixelFormat = (ImagePixelFormat)surface_->GetFormat(); srcData.stride = surface_->GetStride(); srcData.phyAddr = reinterpret_cast(phyaddr); - HILOG_DEBUG(HILOG_MODULE_GRAPHIC, "Hardware composite, width=%d, height=%d, pixelFormat=%d, stride=%d", - srcData.width, srcData.height, srcData.pixelFormat, srcData.stride); if (GfxEngines::GetInstance()->GfxBlit(srcData, srcRect, *layerData, dx, dy)) { return; } diff --git a/services/wms/lite_wm.cpp b/services/wms/lite_wm.cpp index ce62e55ff04af78fc44366f7f9d61876fbb6225a..a148e3242163a26242a85bb4656bf80a42269a42 100755 --- a/services/wms/lite_wm.cpp +++ b/services/wms/lite_wm.cpp @@ -274,7 +274,6 @@ void LiteWM::Resize(int32_t id, int16_t width, int16_t height) void LiteWM::UpdateWindow(int32_t id) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, "UpdateWindow, id=%d", id); LiteWindow* window = GetWindowById(id); if (window != nullptr) { UpdateWindowRegion(window, window->config_.rect); @@ -426,8 +425,6 @@ void LiteWM::CalculateUpdateRegion(const ListNode* winNode, int16_t if ((window != nullptr) && window->isShow_ && window->IsCoverMode()) { Rect& winRect = window->config_.rect; Rect mask; - HILOG_DEBUG(HILOG_MODULE_GRAPHIC, - "winRect={%d,%d,%d,%d}, rect={%d,%d,%d,%d}", EXPAND_RECT(winRect), EXPAND_RECT(rect)); if (mask.Intersect(winRect, rect)) { if (x1 != mask.GetLeft()) { CalculateUpdateRegion(winNode->prev_, x1, y1, mask.GetLeft() - 1, y2); @@ -453,7 +450,6 @@ void LiteWM::CalculateUpdateRegion(const ListNode* winNode, int16_t void LiteWM::AddUpdateRegion(const Rect& rect) { GraphicLocker lock(stackLock_); - HILOG_DEBUG(HILOG_MODULE_GRAPHIC, "AddUpdateRegion, rect={%d,%d,%d,%d}", EXPAND_RECT(rect)); if (updates_.num == 0) { updates_.updates[updates_.num++] = rect; updates_.bound = rect; @@ -528,8 +524,6 @@ void LiteWM::DrawRegion(const ListNode* winNode, int16_t x1, int16_ Rect mask; if (!window->isShow_ || window->NoNeedToDraw() || window->backBuf_ == nullptr || !mask.Intersect(winRect, rect)) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, - "winRect={%d,%d,%d,%d}, rect={%d,%d,%d,%d}", EXPAND_RECT(winRect), EXPAND_RECT(rect)); DrawRegion(winNode->next_, x1, y1, x2, y2); return; } @@ -543,10 +537,7 @@ void LiteWM::DrawRegion(const ListNode* winNode, int16_t x1, int16_ Rect srcRect = mask; srcRect.SetPosition(mask.GetLeft() - winRect.GetLeft(), mask.GetTop() - winRect.GetTop()); - HILOG_DEBUG(HILOG_MODULE_GRAPHIC, - "Blit, id=%d, srcRect={%d,%d,%d,%d}, x=%d, y=%d", window->id_, EXPAND_RECT(srcRect), x, y); window->Flush(srcRect, layerData_, x, y); - HILOG_DEBUG(HILOG_MODULE_GRAPHIC, "Blit finish"); if (x1 != mask.GetLeft()) { DrawRegion(winNode->next_, x1, y1, mask.GetLeft() - 1, y2); diff --git a/services/wms/lite_wms.cpp b/services/wms/lite_wms.cpp index be5653aa6448c1628f86fca65c7762ae54ed5de7..c02a6a6b7f5bc5927655f6a74f232dfea8c11b09 100755 --- a/services/wms/lite_wms.cpp +++ b/services/wms/lite_wms.cpp @@ -84,7 +84,6 @@ int32_t LiteWMS::SurfaceRequestHandler(const IpcContext* context, void* ipcMsg, (void)GetCode(ipcMsg, &code); LiteWindow* window = reinterpret_cast(arg); if (code == 0) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, "requestBuffer"); window->UpdateBackBuf(); } @@ -162,7 +161,6 @@ void LiteWMS::Resize(IpcIo* req, IpcIo* reply) void LiteWMS::Update(IpcIo* req, IpcIo* reply) { - HILOG_INFO(HILOG_MODULE_GRAPHIC, "Update"); int32_t id = IpcIoPopInt32(req); LiteWM::GetInstance()->UpdateWindow(id); }