Revert "Move GrTextureProvider to src"
This reverts commit 24429c68c5
.
Reason for revert: Breaking a roll
Original change's description:
> Move GrTextureProvider to src
>
> With this hidden, we can make further simplification. Just want to test
> this change against our external clients first, to make sure we're okay
> to proceed.
>
> BUG=skia:
>
> Change-Id: I47f8c8f2912201c2890bc2f9a9d68aa92649a2d4
> Reviewed-on: https://skia-review.googlesource.com/9072
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
>
TBR=bsalomon@google.com,brianosman@google.com,benjaminwagner@google.com,reviews@skia.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Change-Id: I43cc135731245c29e24bbecf06ee46c562955c03
Reviewed-on: https://skia-review.googlesource.com/9123
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
5fb88b3ab2
commit
13d7f5d7c2
@ -36,6 +36,7 @@ skia_gpu_sources = [
|
||||
"$_include/gpu/GrTexture.h",
|
||||
"$_include/gpu/GrTextureContext.h",
|
||||
"$_include/gpu/GrSamplerParams.h",
|
||||
"$_include/gpu/GrTextureProvider.h",
|
||||
"$_include/gpu/GrTestUtils.h",
|
||||
"$_include/gpu/GrTypes.h",
|
||||
"$_include/gpu/GrTypesPriv.h",
|
||||
@ -211,7 +212,6 @@ skia_gpu_sources = [
|
||||
"$_src/gpu/GrTextureProducer.cpp",
|
||||
"$_src/gpu/GrTextureProducer.h",
|
||||
"$_src/gpu/GrTextureProvider.cpp",
|
||||
"$_src/gpu/GrTextureProvider.h",
|
||||
"$_src/gpu/GrTextureProxy.cpp",
|
||||
"$_src/gpu/GrTextureRenderTargetProxy.cpp",
|
||||
"$_src/gpu/GrTextureToYUVPlanes.cpp",
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "GrColor.h"
|
||||
#include "GrPaint.h"
|
||||
#include "GrRenderTarget.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkMatrix.h"
|
||||
#include "SkPathEffect.h"
|
||||
#include "SkTypes.h"
|
||||
@ -37,7 +38,6 @@ class GrResourceCache;
|
||||
class GrResourceProvider;
|
||||
class GrTextBlobCache;
|
||||
class GrTextContext;
|
||||
class GrTextureProvider;
|
||||
class GrSamplerParams;
|
||||
class GrVertexBuffer;
|
||||
class GrSwizzle;
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "GrImageTextureMaker.h"
|
||||
#include "GrResourceKey.h"
|
||||
#include "GrSamplerParams.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrYUVProvider.h"
|
||||
#include "SkGr.h"
|
||||
#include "SkGrPriv.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "GrFragmentProcessor.h"
|
||||
#include "GrShaderCaps.h"
|
||||
#include "GrStyle.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "effects/GrSimpleTextureEffect.h"
|
||||
#include "glsl/GrGLSLFragmentProcessor.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "GrContext.h"
|
||||
#include "GrGpuResourcePriv.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkBitmap.h"
|
||||
#include "SkGrPriv.h"
|
||||
#include "SkPixelRef.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "GrGpu.h"
|
||||
#include "GrGpuResourcePriv.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkGrPriv.h"
|
||||
|
||||
GrTextureAdjuster::GrTextureAdjuster(GrTexture* original, SkAlphaType alphaType,
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "GrContext.h"
|
||||
#include "GrGpu.h"
|
||||
#include "GrTextureProvider.h"
|
||||
|
||||
GrTexture* GrTextureMaker::refTextureForParams(const GrSamplerParams& params,
|
||||
SkColorSpace* dstColorSpace,
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "GrGpuResourcePriv.h"
|
||||
#include "GrRenderTargetContext.h"
|
||||
#include "GrTexturePriv.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "GrTypes.h"
|
||||
#include "GrXferProcessor.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "GrContextPriv.h"
|
||||
#include "GrResourceProvider.h"
|
||||
#include "GrSurfaceContext.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkGr.h"
|
||||
#include "SkPixelRef.h"
|
||||
#include "SkTSearch.h"
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include "GrRenderTargetContext.h"
|
||||
#include "GrTextureAdjuster.h"
|
||||
#include "GrTexturePriv.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "effects/GrYUVEffect.h"
|
||||
#include "SkCanvas.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrContext.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkHalf.h"
|
||||
|
||||
static const int DEV_W = 100, DEV_H = 100;
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "GrGpu.h"
|
||||
#include "GrRenderTarget.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrSurfacePriv.h"
|
||||
#include "Test.h"
|
||||
|
||||
|
@ -179,7 +179,6 @@ DEF_TEST(ImageFilterCache_ImageBackedRaster, reporter) {
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrContext.h"
|
||||
#include "GrTextureProvider.h"
|
||||
|
||||
static GrTexture* create_texture(GrContext* context) {
|
||||
SkBitmap srcBM = create_bm();
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "GrFragmentProcessor.h"
|
||||
#include "GrRenderTargetContext.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "glsl/GrGLSLFragmentProcessor.h"
|
||||
#include "glsl/GrGLSLFragmentShaderBuilder.h"
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "GrContext.h"
|
||||
#include "GrRenderTargetContext.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "effects/GrSimpleTextureEffect.h"
|
||||
|
||||
template <typename I>
|
||||
|
@ -16,7 +16,6 @@
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrContext.h"
|
||||
#include "GrTexture.h"
|
||||
#include "GrTextureProvider.h"
|
||||
|
||||
static const int DEV_W = 10, DEV_H = 10;
|
||||
static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H);
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrSurfaceProxy.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "GrRenderTargetProxy.h"
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrSurfaceProxy.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "GrRenderTargetPriv.h"
|
||||
#include "GrRenderTargetProxy.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrSurfaceProxy.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "GrTextureProxy.h"
|
||||
#include "GrRenderTargetPriv.h"
|
||||
#include "GrRenderTargetProxy.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrContext.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkGr.h"
|
||||
#endif
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "GrContextPriv.h"
|
||||
#include "GrSurfaceContext.h"
|
||||
#include "GrSurfaceProxy.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkCanvas.h"
|
||||
#include "SkSurface.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "GrCaps.h"
|
||||
#include "GrContext.h"
|
||||
#include "GrRenderTargetContext.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "gl/GrGLGpu.h"
|
||||
#include "SkCanvas.h"
|
||||
#include "SkSurface.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#if SK_SUPPORT_GPU
|
||||
#include "GrCaps.h"
|
||||
#include "GrContext.h"
|
||||
#include "GrTextureProvider.h"
|
||||
#include "SkCanvas.h"
|
||||
#include "SkSurface.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user