commit | b9086a026844e4cfd08b219e49ce3f12294cba98 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 01 18:02:54 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 01 18:02:54 2012 +0000 |
tree | 1f97e490ba203d8717d70a5cae5571efef8a495b | |
parent | db2e25a7d45d8a63ed87af96e5d1bf7577ff48fe [diff] [blame] |
Replace GrMatrix with SkMatrix. Review URL: https://codereview.appspot.com/6814067 git-svn-id: http://skia.googlecode.com/svn/trunk@6247 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h index 65950a6..d41be11 100644 --- a/include/gpu/GrTexture.h +++ b/include/gpu/GrTexture.h
@@ -151,8 +151,8 @@ , fRenderTarget(NULL) { // only make sense if alloc size is pow2 - fShiftFixedX = 31 - Gr_clz(fDesc.fWidth); - fShiftFixedY = 31 - Gr_clz(fDesc.fHeight); + fShiftFixedX = 31 - SkCLZ(fDesc.fWidth); + fShiftFixedY = 31 - SkCLZ(fDesc.fHeight); } // GrResource overrides