| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrGpuGL.h" | 8 #include "GrGpuGL.h" |
| 9 | 9 |
| 10 #include "GrEffect.h" | 10 #include "GrEffect.h" |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 vertexAttribIndex, | 364 vertexAttribIndex, |
| 365 vbuf, | 365 vbuf, |
| 366 GrGLAttribTypeToLayout(attribType).fCount, | 366 GrGLAttribTypeToLayout(attribType).fCount, |
| 367 GrGLAttribTypeToLayout(attribType).fType, | 367 GrGLAttribTypeToLayout(attribType).fType, |
| 368 GrGLAttribTypeToLayout(attribType).fNormalized, | 368 GrGLAttribTypeToLayout(attribType).fNormalized, |
| 369 stride, | 369 stride, |
| 370 reinterpret_cast<GrGLvoid*>( | 370 reinterpret_cast<GrGLvoid*>( |
| 371 vertexOffsetInBytes + vertexAttrib->fOffset)); | 371 vertexOffsetInBytes + vertexAttrib->fOffset)); |
| 372 } | 372 } |
| 373 | 373 |
| 374 attribState->disableUnusedAttribArrays(this, usedAttribArraysMask); | 374 attribState->disableUnusedArrays(this, usedAttribArraysMask, false); |
| 375 } | 375 } |
| OLD | NEW |