|
Split drawing functionality out of GrContext and into new GrDrawContext
This is mainly a mechanical CL. There were some fiddly bits in GrContext.cpp where it no longer had access to the GrDrawTarget (and had to use the new GrDrawContext).
I've converted GrAARectRenderer & GrOvalRenderer into static classes so I could stop allocating them.
Committed: https://skia.googlesource.com/skia/+/ea4615034498aca2f9ca1753fb9a1ef10508d8cc
Total comments: 20
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1061 lines, -2774 lines) |
Patch |
|
M |
gm/texdata.cpp
|
View
|
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
gyp/gpu.gypi
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrContext.h
|
View
|
1
2
3
|
8 chunks |
+55 lines, -190 lines |
0 comments
|
Download
|
|
A |
include/gpu/GrDrawContext.h
|
View
|
1
2
3
4
5
|
1 chunk |
+252 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkImageFilter.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkAlphaThresholdFilter.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurMaskFilter.cpp
|
View
|
1
|
4 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDisplacementMapEffect.cpp
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkGpuBlurUtils.cpp
|
View
|
|
13 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
|
5 chunks |
+21 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
|
8 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/effects/SkXfermodeImageFilter.cpp
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrAARectRenderer.h
|
View
|
|
2 chunks |
+35 lines, -38 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAARectRenderer.cpp
|
View
|
|
7 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAtlas.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrAtlasTextContext.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAtlasTextContext.cpp
|
View
|
1
2
|
11 chunks |
+29 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrBatchFontCache.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrContext.cpp
|
View
|
1
2
3
|
22 chunks |
+100 lines, -1322 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDefaultPathRenderer.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
src/gpu/GrDrawContext.cpp
|
View
|
1
2
3
4
|
20 chunks |
+212 lines, -942 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.h
|
View
|
1
2
3
|
1 chunk |
+13 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
2
3
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrLayerCache.cpp
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrOvalRenderer.h
|
View
|
|
1 chunk |
+45 lines, -49 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrOvalRenderer.cpp
|
View
|
|
10 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrRenderTarget.cpp
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrSWMaskHelper.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrSoftwarePathRenderer.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrStencilAndCoverPathRenderer.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrStencilAndCoverTextContext.cpp
|
View
|
1
2
3
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTest.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTextContext.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrTextContext.cpp
|
View
|
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
|
26 chunks |
+67 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGr.cpp
|
View
|
1
2
3
|
3 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConfigConversionEffect.cpp
|
View
|
|
3 chunks |
+24 lines, -18 lines |
0 comments
|
Download
|
Total messages: 38 (17 generated)
|