Move the ability to access textures, buffers, and image storages out from GrProcessor.
authorBrian Salomon <bsalomon@google.com>
Tue, 4 Apr 2017 14:15:51 +0000 (10:15 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 4 Apr 2017 15:27:44 +0000 (15:27 +0000)
commitab015efc48c462ffdffebb45c02cd19efb254983
tree0b120fe0e4238f89f7e4bb73a88a00301ecf1378
parent19aff5dd5cd83141f12c234c4255a35f63e564cd
Move the ability to access textures, buffers, and image storages out from GrProcessor.

GrXferProcessor can no longer use this functionality so it is moved to a new intermediate class inherited by GrFragmentProcessor and GrPrimitiveProcessor.

Change-Id: I4f30c89bdceb2d77b602bf0646107e0780881c26
Reviewed-on: https://skia-review.googlesource.com/11202
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
53 files changed:
experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
include/gpu/GrFragmentProcessor.h
include/gpu/GrGpuResourceRef.h
include/gpu/GrProcessor.h
src/core/SkColorMatrixFilterRowMajor255.cpp
src/core/SkLightingShader.cpp
src/core/SkNormalBevelSource.cpp
src/core/SkNormalFlatSource.cpp
src/core/SkNormalMapSource.cpp
src/core/SkNormalSourcePriv.h
src/core/SkRadialShadowMapShader.cpp
src/core/SkShadowShader.cpp
src/effects/GrAlphaThresholdFragmentProcessor.cpp
src/effects/GrCircleBlurFragmentProcessor.cpp
src/effects/SkArithmeticImageFilter.cpp
src/effects/SkBlurMaskFilter.cpp
src/effects/SkDisplacementMapEffect.cpp
src/effects/SkHighContrastFilter.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkMagnifierImageFilter.cpp
src/effects/SkMorphologyImageFilter.cpp
src/effects/SkOverdrawColorFilter.cpp
src/effects/SkPerlinNoiseShader.cpp
src/effects/SkRRectsGaussianEdgeMaskFilter.cpp
src/effects/SkTableColorFilter.cpp
src/effects/gradients/SkGradientShader.cpp
src/effects/gradients/SkGradientShaderPriv.h
src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
src/gpu/GrFragmentProcessor.cpp
src/gpu/GrPipeline.cpp
src/gpu/GrPrimitiveProcessor.h
src/gpu/GrProcessor.cpp
src/gpu/GrProgramDesc.cpp
src/gpu/effects/GrBicubicEffect.cpp
src/gpu/effects/GrBlurredEdgeFragmentProcessor.cpp
src/gpu/effects/GrConstColorProcessor.cpp
src/gpu/effects/GrConvexPolyEffect.cpp
src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp
src/gpu/effects/GrMatrixConvolutionEffect.cpp
src/gpu/effects/GrNonlinearColorSpaceXformEffect.cpp
src/gpu/effects/GrOvalEffect.cpp
src/gpu/effects/GrRRectEffect.cpp
src/gpu/effects/GrSimpleTextureEffect.cpp
src/gpu/effects/GrTextureDomain.cpp
src/gpu/effects/GrYUVEffect.cpp
src/gpu/gl/GrGLProgram.cpp
src/gpu/gl/GrGLProgram.h
src/gpu/glsl/GrGLSLFragmentProcessor.h
src/gpu/glsl/GrGLSLProgramBuilder.cpp
src/gpu/glsl/GrGLSLProgramBuilder.h
src/gpu/vk/GrVkGpuCommandBuffer.cpp
src/gpu/vk/GrVkPipelineState.cpp
src/gpu/vk/GrVkPipelineState.h