commit | 9b98c1b7d099249384782807731dd5f8256f3f60 | [log] [tgz] |
---|---|---|
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Mar 01 18:54:50 2013 +0000 |
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Mar 01 18:54:50 2013 +0000 |
tree | 0ac8576514d6fe7ae92f3b1c39bb2d10783dc85c | |
parent | 9b855c7c95ce9fff7a447e4a6bdf8a469c1f3097 [diff] |
Make global static variable kVertexAttribs in GrAARectRenderer local to functions. Chrome was choking on this static variable because it's global and initialized using a constructor. Moved it inside the two functions that use it, so it's no longer global. In addition, made the constructors for GrVertexAttrib inline so hopefully they will be optimized away. git-svn-id: http://skia.googlecode.com/svn/trunk@7930 2bbb7eff-a529-9590-31e7-b0007b416f81