diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-01 18:54:50 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-01 18:54:50 +0000 |
commit | 9b98c1b7d099249384782807731dd5f8256f3f60 (patch) | |
tree | 0ac8576514d6fe7ae92f3b1c39bb2d10783dc85c /src/gpu/GrStencil.h | |
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
Diffstat (limited to 'src/gpu/GrStencil.h')
0 files changed, 0 insertions, 0 deletions