Merge commit 'fc36afcba6e65f2e0816b1af08255b9ccafb17a6' into eclair-mr2-plus-aosp * commit 'fc36afcba6e65f2e0816b1af08255b9ccafb17a6': fix [2262591] Junk on screen in ERD46
This commit is contained in:
@ -22,9 +22,6 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
|||||||
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
|
ifeq ($(TARGET_BOARD_PLATFORM), msm7k)
|
||||||
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
||||||
endif
|
endif
|
||||||
ifeq ($(TARGET_BOARD_PLATFORM), qsd8k)
|
|
||||||
LOCAL_CFLAGS += -DDIM_WITH_TEXTURE
|
|
||||||
endif
|
|
||||||
|
|
||||||
# need "-lrt" on Linux simulator to pick up clock_gettime
|
# need "-lrt" on Linux simulator to pick up clock_gettime
|
||||||
ifeq ($(TARGET_SIMULATOR),true)
|
ifeq ($(TARGET_SIMULATOR),true)
|
||||||
|
@ -169,6 +169,7 @@ void LayerBlur::onDraw(const Region& clip) const
|
|||||||
// This reads the frame-buffer, so a h/w GL would have to
|
// This reads the frame-buffer, so a h/w GL would have to
|
||||||
// finish() its rendering first. we don't want to do that
|
// finish() its rendering first. we don't want to do that
|
||||||
// too often. Read data is 4-bytes aligned.
|
// too often. Read data is 4-bytes aligned.
|
||||||
|
glFinish();
|
||||||
glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels);
|
glReadPixels(X, Y, w, h, mReadFormat, mReadType, pixels);
|
||||||
|
|
||||||
// blur that texture.
|
// blur that texture.
|
||||||
|
Reference in New Issue
Block a user