summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRob Tsuk <robtsuk@google.com>2015-01-22 12:46:31 -0800
committerRob Tsuk <robtsuk@google.com>2015-01-22 13:53:42 -0800
commita9fc9b20da43b0e5d01b10097d6f2e6fafcd6626 (patch)
tree48e9911ba1dfad247eb76134a6a4c72994960a8c /tools/aapt2/java/JavaClassGenerator.cpp
parente1f183d01be8893bfb686731fd00156c6c45c15e (diff)
Ensure compatible layout for vertices
Require that these structs have standard layout, which is what we need to pass them to OpenGL. Inheritence with data members violates the rules for standard layout so I re-implemented them using templates to share the code and putting all the data members in each struct. Change-Id: I19cd0e5518728f2d3e0993b17d15fce7be7e0edb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions