| Index: Source/core/html/canvas/WebGLRenderingContext.h
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContext.h b/Source/core/html/canvas/WebGLRenderingContext.h
|
| index 83bb6a62841b16fd4f0d068fe6ed69eab1d48504..4b7de618836c32749d904a2b8c48b50602fd79b9 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContext.h
|
| +++ b/Source/core/html/canvas/WebGLRenderingContext.h
|
| @@ -20,7 +20,7 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| #ifndef WebGLRenderingContext_h
|
| @@ -326,7 +326,7 @@ public:
|
|
|
| void removeSharedObject(WebGLSharedObject*);
|
| void removeContextObject(WebGLContextObject*);
|
| -
|
| +
|
| unsigned getMaxVertexAttribs() const { return m_maxVertexAttribs; }
|
|
|
| // ActiveDOMObject notifications
|
| @@ -400,7 +400,7 @@ public:
|
|
|
| // List of bound VBO's. Used to maintain info about sizes for ARRAY_BUFFER and stored values for ELEMENT_ARRAY_BUFFER
|
| RefPtr<WebGLBuffer> m_boundArrayBuffer;
|
| -
|
| +
|
| RefPtr<WebGLVertexArrayObjectOES> m_defaultVertexArrayObject;
|
| RefPtr<WebGLVertexArrayObjectOES> m_boundVertexArrayObject;
|
| void setBoundVertexArrayObject(PassRefPtr<WebGLVertexArrayObjectOES> arrayObject)
|
| @@ -410,14 +410,14 @@ public:
|
| else
|
| m_boundVertexArrayObject = m_defaultVertexArrayObject;
|
| }
|
| -
|
| +
|
| class VertexAttribValue {
|
| public:
|
| VertexAttribValue()
|
| {
|
| initValue();
|
| }
|
| -
|
| +
|
| void initValue()
|
| {
|
| value[0] = 0.0f;
|
| @@ -425,7 +425,7 @@ public:
|
| value[2] = 0.0f;
|
| value[3] = 1.0f;
|
| }
|
| -
|
| +
|
| GC3Dfloat value[4];
|
| };
|
| Vector<VertexAttribValue> m_vertexAttribValue;
|
|
|