remove dependency of libqcomui on libskia
Said dependency was being used to generate a PNG image in a dump() call. Commenting out for now. Change-Id: I4710d017534f44e76e1417a21fc919c056fff448 Signed-off-by: Gohulan Balachandran <gohulanb@codeaurora.org>
This commit is contained in:
parent
a6f47452bd
commit
2d968bf0cc
@ -8,8 +8,7 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libcutils \
|
||||
libui \
|
||||
libEGL \
|
||||
libskia
|
||||
libEGL
|
||||
|
||||
LOCAL_C_INCLUDES := $(TOP)/hardware/qcom/display/libgralloc \
|
||||
$(TOP)/frameworks/native/services/surfaceflinger \
|
||||
|
@ -36,8 +36,10 @@
|
||||
#include <errno.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <sys/stat.h>
|
||||
#if 0
|
||||
#include <SkBitmap.h>
|
||||
#include <SkImageEncoder.h>
|
||||
#endif
|
||||
#include <Transform.h>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
@ -726,6 +728,7 @@ void dumpLayer(int moduleCompositionType, int listFlags, size_t layerIndex,
|
||||
}
|
||||
|
||||
if ((sfdump_counter_png <= sfdump_countlimit_png) && hnd->base) {
|
||||
#if 0
|
||||
bool bResult = false;
|
||||
char sfdumpfile_name[256];
|
||||
SkBitmap *tempSkBmp = new SkBitmap();
|
||||
@ -763,6 +766,7 @@ void dumpLayer(int moduleCompositionType, int listFlags, size_t layerIndex,
|
||||
pixelformatstr);
|
||||
}
|
||||
delete tempSkBmp; // Calls SkBitmap::freePixels() internally.
|
||||
#endif
|
||||
}
|
||||
|
||||
if ((sfdump_counter_raw <= sfdump_countlimit_raw) && hnd->base) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user