Add an opaqueness hint to GrDrawState.
authorbsalomon <bsalomon@google.com>
Fri, 8 Aug 2014 15:08:50 +0000 (08:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 8 Aug 2014 15:08:51 +0000 (08:08 -0700)
commit62c447d3a556e3042cdf5d23b3e2a618eaa3c100
treefe86d636769bec3d9f0899baef17b0a06d02e095
parent6563562cb6b03ad11e33b50b84acf43742b4477e
Add an opaqueness hint to GrDrawState.

Check it when deciding whether to combine draw states.

R=egdaniel@google.com, robertphillips@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/446953002
src/gpu/GrBitmapTextContext.cpp
src/gpu/GrContext.cpp
src/gpu/GrDistanceFieldTextContext.cpp
src/gpu/GrDrawState.cpp
src/gpu/GrDrawState.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/GrInOrderDrawBuffer.cpp