Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/gpu/gl/GrGpuGL_program.cpp

Issue 23542013: Improve handling of FF vertex array state (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Rob's comments and add secondary color array disable Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/gpu/gl/GrGpuGL.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGpuGL.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698