re-expose hasLocalMatrix for now (can't hurt) -- unblocks blink

BUG=skia:
R=fmalita@google.com, fmalita@chromium.org

Author: reed@google.com

Review URL: https://codereview.chromium.org/299043002

git-svn-id: http://skia.googlecode.com/svn/trunk@14853 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-05-22 18:43:05 +00:00
parent 8cf81e0f4f
commit de5553ae8b

View File

@ -43,12 +43,12 @@ public:
*/
const SkMatrix& getLocalMatrix() const { return fLocalMatrix; }
#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX
/**
* Returns true if the local matrix is not an identity matrix.
*/
bool hasLocalMatrix() const { return !fLocalMatrix.isIdentity(); }
#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX
/**
* Set the shader's local matrix.
* @param localM The shader's new local matrix.