| Index: cc/geometry_binding.h
|
| diff --git a/cc/geometry_binding.h b/cc/geometry_binding.h
|
| index 717ec6b099a84abd14babdc6f29257f755b705cd..6a8bfde541e06eed4d4984cfc151edf51a735d3d 100644
|
| --- a/cc/geometry_binding.h
|
| +++ b/cc/geometry_binding.h
|
| @@ -25,6 +25,7 @@ public:
|
| WebKit::WebGraphicsContext3D* context() const { return m_context; }
|
| unsigned quadVerticesVbo() const { return m_quadVerticesVbo; }
|
| unsigned quadElementsVbo() const { return m_quadElementsVbo; }
|
| + unsigned quadListVerticesVbo() const { return m_quadListVerticesVbo; }
|
|
|
| void prepareForDraw();
|
|
|
| @@ -33,14 +34,18 @@ public:
|
| // rebinding attribute arrays.
|
| static int positionAttribLocation() { return 0; }
|
| static int texCoordAttribLocation() { return 1; }
|
| + static int triangleIndexAttribLocation() { return 2; }
|
|
|
| private:
|
| WebKit::WebGraphicsContext3D* m_context;
|
| + bool m_initialized;
|
| +
|
| unsigned m_quadVerticesVbo;
|
| unsigned m_quadElementsVbo;
|
| - bool m_initialized;
|
| + unsigned m_quadListVerticesVbo;
|
| };
|
|
|
| } // namespace cc
|
|
|
| -#endif // CC_GEOMETRY_BINDING_H_
|
| +#endif // CC_GEOMETRY_BINDING_H_
|
| +
|
|
|