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

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

Issue 1135113005: rename GrDrawTargetCaps.h to GrCaps.h and move to include (Closed) Base URL: https://skia.googlesource.com/skia.git@caps
Patch Set: rebase again Created 5 years, 7 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/gpu/GrAAHairLinePathRenderer.cpp ('k') | src/gpu/GrClipMaskManager.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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrBufferAllocPool.h" 10 #include "GrBufferAllocPool.h"
11 #include "GrDrawTargetCaps.h" 11 #include "GrCaps.h"
12 #include "GrGpu.h" 12 #include "GrGpu.h"
13 #include "GrIndexBuffer.h" 13 #include "GrIndexBuffer.h"
14 #include "GrTypes.h" 14 #include "GrTypes.h"
15 #include "GrVertexBuffer.h" 15 #include "GrVertexBuffer.h"
16 16
17 #include "SkTraceEvent.h" 17 #include "SkTraceEvent.h"
18 18
19 #ifdef SK_DEBUG 19 #ifdef SK_DEBUG
20 #define VALIDATE validate 20 #define VALIDATE validate
21 #else 21 #else
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 &geomBuffer, 412 &geomBuffer,
413 &offset); 413 &offset);
414 414
415 *buffer = (const GrIndexBuffer*) geomBuffer; 415 *buffer = (const GrIndexBuffer*) geomBuffer;
416 SkASSERT(0 == offset % sizeof(uint16_t)); 416 SkASSERT(0 == offset % sizeof(uint16_t));
417 *startIndex = static_cast<int>(offset / sizeof(uint16_t)); 417 *startIndex = static_cast<int>(offset / sizeof(uint16_t));
418 return ptr; 418 return ptr;
419 } 419 }
420 420
421 421
OLDNEW
« no previous file with comments | « src/gpu/GrAAHairLinePathRenderer.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698