diff options
author | Simon Dubray <simonx.dubray@intel.com> | 2018-04-12 07:08:29 -0700 |
---|---|---|
committer | Simon Dubray <simonx.dubray@intel.com> | 2018-12-20 06:32:36 -0800 |
commit | 2a7f2f247c5ffecd6a3b762a3aebb0143a715437 (patch) | |
tree | 6e13fe8f62f946803567aa5f42202c9bbddb318a /merrifield/ips/tangier/TngDisplayContext.cpp | |
parent | b2fd52839026be1ac1a2df1a4bc2bb76d0f95689 (diff) | |
download | hwcomposer-android-o-mr1-iot-release-1.0.13.tar.gz |
hwcomposer: fix warningsHEADandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releasemastermain
- remove unused variables and functions
- avoid comparison between different types
- fix old-style field designator extension
- fix wrong print format
- unhide an overloaded virtual function
- add flag -Wno-unused-parameter to disable these ones
Bug: 110425202
Change-Id: I37623d93c0e497c733532050c88644812c4d9bb7
Signed-off-by: Simon Dubray <simonx.dubray@intel.com>
Diffstat (limited to 'merrifield/ips/tangier/TngDisplayContext.cpp')
-rw-r--r-- | merrifield/ips/tangier/TngDisplayContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/merrifield/ips/tangier/TngDisplayContext.cpp b/merrifield/ips/tangier/TngDisplayContext.cpp index 3f4fd5e..df6110a 100644 --- a/merrifield/ips/tangier/TngDisplayContext.cpp +++ b/merrifield/ips/tangier/TngDisplayContext.cpp @@ -120,7 +120,7 @@ bool TngDisplayContext::commitContents(hwc_display_contents_1_t *display, HwcLay memset(&ctx->zorder, 0, sizeof(ctx->zorder)); } - VTRACE("count %p, handle %#x, trans %#x, blending %#x" + VTRACE("count %d, handle %p, trans %#x, blending %#x" " sourceCrop %f,%f - %fx%f, dst %d,%d - %dx%d, custom %#x", mCount, imgLayer->psLayer->handle, @@ -213,7 +213,7 @@ bool TngDisplayContext::commitEnd(size_t numDisplays, hwc_display_contents_1_t * // log for layer fence status for (size_t j = 0; j < displays[i]->numHwLayers; j++) { - VTRACE("handle %#p, acquiredFD %d, releaseFD %d", + VTRACE("handle %p, acquiredFD %d, releaseFD %d", displays[i]->hwLayers[j].handle, displays[i]->hwLayers[j].acquireFenceFd, displays[i]->hwLayers[j].releaseFenceFd); |