OSDN Git Service

Increase YV12BufferPow2 test threshold
authorKalle Raita <kraita@google.com>
Tue, 2 Aug 2016 23:19:15 +0000 (16:19 -0700)
committerCourtney Goeltzenleuchter <courtneygo@google.com>
Tue, 13 Sep 2016 16:22:37 +0000 (10:22 -0600)
commit6a2593ac53c6eccf5505e17594e57dab51f816ea
treeea6e301ca63003711df7ebfef0daa524e6e5b3b8
parente373a97bd767a9b0a9b80fdfdb6996e2ed410cae
Increase YV12BufferPow2 test threshold

The NPOT version already has 3 as the threshold and at least one
platform seems to have diff of 3 in one of the internal pixels for POW2
variant.

Bug: 21306103
Bug: 30920650
Change-Id: I7882a6ff43ffc862d95fea32c8ee8e7f19fb759d
Cherry-pick from master (e3747fd25918c943caef4d9c7158a668c786c55d)
libs/gui/tests/SurfaceTextureGL_test.cpp