|
This replaces the texture creation/caching functions on GrContext with a GrTextureProvider interface. The goal is to pass this narrowly focused object in places that currently take a GrContext but don't need and shouldn't use its other methods. It also has an extended private interface for interacting with non-texture resource types.
Committed: https://skia.googlesource.com/skia/+/d309e7aa0efa2d5dd7e7b1af97026fcd3a047e98
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+509 lines, -369 lines) |
Patch |
|
M |
gm/texdata.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
gyp/gpu.gypi
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/GrContext.h
|
View
|
1
2
3
4
|
10 chunks |
+33 lines, -141 lines |
0 comments
|
Download
|
|
A |
include/gpu/GrTextureProvider.h
|
View
|
1
2
3
4
|
1 chunk |
+167 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkImageFilter.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkAlphaThresholdFilter.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkBlurMaskFilter.cpp
|
View
|
1
2
3
4
|
9 chunks |
+18 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/effects/SkColorCubeFilter.cpp
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/SkDisplacementMapEffect.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkGpuBlurUtils.cpp
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkLightingImageFilter.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkMorphologyImageFilter.cpp
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/SkXfermodeImageFilter.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrAADistanceFieldPathRenderer.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrBatchFontCache.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskCache.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrContext.cpp
|
View
|
1
|
12 chunks |
+11 lines, -123 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrLayerCache.cpp
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
A |
src/gpu/GrResourceProvider.h
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrSWMaskHelper.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrStencilAndCoverPathRenderer.cpp
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrStencilAndCoverTextContext.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
src/gpu/GrTextureProvider.cpp
|
View
|
1
2
3
4
|
1 chunk |
+134 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGr.cpp
|
View
|
1
|
7 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGrPixelRef.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrConfigConversionEffect.cpp
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/gpu/effects/GrTextureStripAtlas.cpp
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/image/SkSurface_Gpu.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/views/SkWindow.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/ClipCacheTest.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/FloatingPointTextureTest.cpp
|
View
|
1
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
tests/GLProgramsTest.cpp
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/GrSurfaceTest.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/ReadPixelsTest.cpp
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/ReadWriteAlphaTest.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/RecordReplaceDrawTest.cpp
|
View
|
1
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/ResourceCacheTest.cpp
|
View
|
1
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
tests/SurfaceTest.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/TessellatingPathRendererTests.cpp
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
tests/WritePixelsTest.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/PictureRenderer.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 13 (6 generated)
|