OSDN Git Service

Simplify handling of opaque layers in shader generation
authorMathias Agopian <mathias@google.com>
Wed, 14 Aug 2013 23:33:27 +0000 (16:33 -0700)
committerMathias Agopian <mathias@google.com>
Thu, 15 Aug 2013 22:11:01 +0000 (15:11 -0700)
commit2eaefe198a0cae1ee0b6366797a6b074c76df9ef
tree5cae5b8aeda6fe703063afaa1c1e43930eca2331
parent6db4ff621898573b41abf570271a04a13bd36a69
Simplify handling of opaque layers in shader generation

just ensure the alpha value is 1.0 in the opaque case
when reading the color from the texture or the
global color.

Bug: 8679321

Change-Id: Ia38b30e97c3bce5a2d534a40c0d66e0bfc3ea40d
services/surfaceflinger/RenderEngine/ProgramCache.cpp