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

Side by Side Diff: src/gpu/GrGpu.cpp

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-06-07 (Tuesday) 11:28:42 EDT Created 4 years, 6 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
« no previous file with comments | « src/effects/gradients/SkClampRange.cpp ('k') | src/gpu/GrPathUtils.cpp » ('j') | 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 2010 Google Inc. 2 * Copyright 2010 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 8
9 #include "GrGpu.h" 9 #include "GrGpu.h"
10 10
11 #include "GrBuffer.h" 11 #include "GrBuffer.h"
12 #include "GrCaps.h" 12 #include "GrCaps.h"
13 #include "GrContext.h" 13 #include "GrContext.h"
14 #include "GrGpuResourcePriv.h" 14 #include "GrGpuResourcePriv.h"
15 #include "GrMesh.h" 15 #include "GrMesh.h"
16 #include "GrPathRendering.h" 16 #include "GrPathRendering.h"
17 #include "GrPipeline.h" 17 #include "GrPipeline.h"
18 #include "GrResourceCache.h" 18 #include "GrResourceCache.h"
19 #include "GrResourceProvider.h" 19 #include "GrResourceProvider.h"
20 #include "GrRenderTargetPriv.h" 20 #include "GrRenderTargetPriv.h"
21 #include "GrStencilAttachment.h" 21 #include "GrStencilAttachment.h"
22 #include "GrSurfacePriv.h" 22 #include "GrSurfacePriv.h"
23 #include "GrTexturePriv.h" 23 #include "GrTexturePriv.h"
24 #include "SkTypes.h" 24 #include "SkMathPriv.h"
25 25
26 GrMesh& GrMesh::operator =(const GrMesh& di) { 26 GrMesh& GrMesh::operator =(const GrMesh& di) {
27 fPrimitiveType = di.fPrimitiveType; 27 fPrimitiveType = di.fPrimitiveType;
28 fStartVertex = di.fStartVertex; 28 fStartVertex = di.fStartVertex;
29 fStartIndex = di.fStartIndex; 29 fStartIndex = di.fStartIndex;
30 fVertexCount = di.fVertexCount; 30 fVertexCount = di.fVertexCount;
31 fIndexCount = di.fIndexCount; 31 fIndexCount = di.fIndexCount;
32 32
33 fInstanceCount = di.fInstanceCount; 33 fInstanceCount = di.fInstanceCount;
34 fVerticesPerInstance = di.fVerticesPerInstance; 34 fVerticesPerInstance = di.fVerticesPerInstance;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 int meshCount) { 497 int meshCount) {
498 if (primProc.numAttribs() > this->caps()->maxVertexAttributes()) { 498 if (primProc.numAttribs() > this->caps()->maxVertexAttributes()) {
499 fStats.incNumFailedDraws(); 499 fStats.incNumFailedDraws();
500 return false; 500 return false;
501 } 501 }
502 this->handleDirtyContext(); 502 this->handleDirtyContext();
503 503
504 this->onDraw(pipeline, primProc, meshes, meshCount); 504 this->onDraw(pipeline, primProc, meshes, meshCount);
505 return true; 505 return true;
506 } 506 }
OLDNEW
« no previous file with comments | « src/effects/gradients/SkClampRange.cpp ('k') | src/gpu/GrPathUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698