OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "gl/GrGLPathRendering.h" | 8 #include "gl/GrGLPathRendering.h" |
9 #include "gl/GrGLNameAllocator.h" | 9 #include "gl/GrGLNameAllocator.h" |
10 #include "gl/GrGLUtil.h" | 10 #include "gl/GrGLUtil.h" |
11 #include "gl/GrGpuGL.h" | 11 #include "gl/GrGLGpu.h" |
12 | 12 |
13 #include "GrGLPath.h" | 13 #include "GrGLPath.h" |
14 #include "GrGLPathRange.h" | 14 #include "GrGLPathRange.h" |
15 #include "GrGLPathRendering.h" | 15 #include "GrGLPathRendering.h" |
16 | 16 |
17 #include "SkStream.h" | 17 #include "SkStream.h" |
18 #include "SkTypeface.h" | 18 #include "SkTypeface.h" |
19 | 19 |
20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) | 20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) |
21 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(fGpu->glInterface(), RET, X) | 21 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(fGpu->glInterface(), RET, X) |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 reference, mask, coverMode,
transformType, | 469 reference, mask, coverMode,
transformType, |
470 transformValues)); | 470 transformValues)); |
471 return; | 471 return; |
472 } | 472 } |
473 | 473 |
474 GL_CALL(StencilStrokePathInstanced(numPaths, pathNameType, paths, pathBase, | 474 GL_CALL(StencilStrokePathInstanced(numPaths, pathNameType, paths, pathBase, |
475 reference, mask, transformType, transform
Values)); | 475 reference, mask, transformType, transform
Values)); |
476 GL_CALL(CoverStrokePathInstanced(numPaths, pathNameType, paths, pathBase, | 476 GL_CALL(CoverStrokePathInstanced(numPaths, pathNameType, paths, pathBase, |
477 coverMode, transformType, transformValues))
; | 477 coverMode, transformType, transformValues))
; |
478 } | 478 } |
OLD | NEW |