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:
parent
8cf81e0f4f
commit
de5553ae8b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user