History log of /frameworks/base/libs/hwui/renderstate/TextureState.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e310f83d591dc3fb7bd5c684239481a586f00662 13-Jul-2015 Chris Craik <ccraik@google.com> Fix unsafety in SkiaShader storage, and texture unit accounting

bug:22390304

Fixes two issues:

1) The max texture unit wasn't large enough to handle the most complex
ComposeShader case (1 for draw primitive, 2 for gradient shader, 1 for
bitmap shader).

2) If a shader isn't supported by SkiaShader::store, the shader data
needs to be explicitly disabled, so we won't read uninitilized data
from it when trying to read shader information out.

Change-Id: I29ee7b7c1e07f67db88c1707bdc857daa305e713
/frameworks/base/libs/hwui/renderstate/TextureState.h
44eb2c00861098dd3e2950d923646814b4cc57c2 29-Jan-2015 Chris Craik <ccraik@google.com> Refactor blending and texture gl state

Change-Id: Ia6b3c8b2afd3dfcee7f3ce401d846b789612054a
/frameworks/base/libs/hwui/renderstate/TextureState.h