OSDN Git Service

PixelCopy fixes
authorJohn Reck <jreck@google.com>
Tue, 19 Apr 2016 14:51:13 +0000 (07:51 -0700)
committerJohn Reck <jreck@google.com>
Fri, 22 Apr 2016 23:31:17 +0000 (16:31 -0700)
commit2f78327cfcd4c7b23aae9bb0262e64050d093a64
tree859aecc12b2a5d7fa6574d4e11184052f261ae68
parent98c7c05dde8c288a4eab680af31b030813b8c87f
PixelCopy fixes

Bug: 27708453

Fixes some issues with camera sources. Previously
it was using GL_TEXTURE_2D target which doesn't
work properly if the source is YUV. It is critical
to ensure GL_TEXTURE_EXTERNAL_OES is used throughout
so the right sampler is used.

Change-Id: I0dcd8941ba08331f24809467b0e828663a38e93b
libs/hwui/GlopBuilder.cpp
libs/hwui/GlopBuilder.h
libs/hwui/Readback.cpp