HomeSort by relevance Sort by last modified time
    Searched refs:CopyParams (Results 1 - 25 of 29) sorted by null

1 2

  /external/skqp/src/gpu/
GrTextureAdjuster.h 43 void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey,
57 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams &copyParams, bool willBeMipped);
GrTextureProducer.h 33 struct CopyParams {
89 const CopyParams& copyParams,
95 builder[0] = static_cast<uint32_t>(copyParams.fFilter);
96 builder[1] = copyParams.fWidth;
97 builder[2] = copyParams.fHeight;
109 virtual void makeCopyKey(const CopyParams&, GrUniqueKey* copyKey,
127 const CopyParams& copyParams,
GrBitmapTextureMaker.h 26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
GrImageTextureMaker.h 25 // GrTexture* generateTextureForParams(const CopyParams&) override;
30 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey,
GrTextureMaker.h 73 virtual sk_sp<GrTextureProxy> generateTextureProxyForParams(const CopyParams&,
GrTextureAdjuster.cpp 29 void GrTextureAdjuster::makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey,
41 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams,
46 this->makeCopyKey(copyParams, &key, nullptr);
57 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped);
71 CopyParams copyParams;
79 if (!gpu->isACopyNeededForTextureParams(proxy.get(), params, &copyParams, scaleAdjust)) {
84 return this->refTextureProxyCopy(copyParams, willBeMipped);
GrImageTextureMaker.cpp 35 void GrImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey,
GrTextureMaker.cpp 20 CopyParams copyParams;
35 if (!gpu->isACopyNeededForTextureParams(original.get(), params, &copyParams, scaleAdjust)) {
40 params, &copyParams, scaleAdjust)) {
50 this->makeCopyKey(copyParams, &copyKey, dstColorSpace);
73 result = CopyOnGpu(fContext, std::move(result), copyParams, willBeMipped);
141 sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams,
150 return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped);
GrBitmapTextureMaker.cpp 100 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
104 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey);
GrGpu.h 492 GrTextureProducer::CopyParams*,
500 GrTextureProducer::CopyParams* copyParams,
503 copyParams, scaleAdjust)) {
506 return this->onIsACopyNeededForTextureParams(proxy, params, copyParams, scaleAdjust);
568 GrTextureProducer::CopyParams*,
GrTextureProducer.cpp 20 const CopyParams& copyParams,
24 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight);
40 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) {
50 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap);
53 GrTextureDomain::kClamp_Mode, copyParams.fFilter));
55 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter);
GrGpu.cpp 50 GrTextureProducer::CopyParams* copyParams,
56 copyParams->fWidth = GrNextPow2(width);
57 copyParams->fHeight = GrNextPow2(height);
58 scaleAdjust[0] = ((SkScalar) copyParams->fWidth) / width;
59 scaleAdjust[1] = ((SkScalar) copyParams->fHeight) / height;
62 copyParams->fFilter = GrSamplerState::Filter::kNearest;
67 copyParams->fFilter = GrSamplerState::Filter::kBilerp;
  /external/skia/src/gpu/
GrBitmapTextureMaker.h 26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
GrImageTextureMaker.h 25 // GrTexture* generateTextureForParams(const CopyParams&) override;
30 void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey,
GrTextureProducer.h 33 struct CopyParams {
118 const CopyParams& copyParams,
124 builder[0] = static_cast<uint32_t>(copyParams.fFilter);
125 builder[1] = copyParams.fWidth;
126 builder[2] = copyParams.fHeight;
138 virtual void makeCopyKey(const CopyParams&, GrUniqueKey* copyKey,
156 const CopyParams& copyParams,
GrTextureAdjuster.h 38 void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey,
51 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
GrTextureMaker.h 61 virtual sk_sp<GrTextureProxy> generateTextureProxyForParams(const CopyParams&,
GrTextureAdjuster.cpp 29 void GrTextureAdjuster::makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey,
41 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams,
46 this->makeCopyKey(copyParams, &key, nullptr);
57 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped);
74 CopyParams copyParams;
90 if (!gpu->isACopyNeededForTextureParams(proxy.get(), params, &copyParams, scaleAdjust)) {
95 return this->refTextureProxyCopy(copyParams, willBeMipped);
GrImageTextureMaker.cpp 35 void GrImageTextureMaker::makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey,
GrTextureMaker.cpp 20 CopyParams copyParams;
35 if (!gpu->isACopyNeededForTextureParams(original.get(), params, &copyParams, scaleAdjust)) {
40 params, &copyParams, scaleAdjust)) {
50 this->makeCopyKey(copyParams, &copyKey, dstColorSpace);
73 result = CopyOnGpu(fContext, std::move(result), copyParams, willBeMipped);
141 sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams,
150 return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped);
GrGpu.h 484 GrTextureProducer::CopyParams*,
492 GrTextureProducer::CopyParams* copyParams,
495 copyParams, scaleAdjust)) {
498 return this->onIsACopyNeededForTextureParams(proxy, params, copyParams, scaleAdjust);
561 GrTextureProducer::CopyParams*,
GrBitmapTextureMaker.cpp 100 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
104 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey);
GrTextureProducer.cpp 20 const CopyParams& copyParams,
24 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight);
44 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) {
54 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap);
57 GrTextureDomain::kClamp_Mode, copyParams.fFilter));
59 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter);
GrGpu.cpp 49 GrTextureProducer::CopyParams* copyParams,
55 copyParams->fWidth = GrNextPow2(width);
56 copyParams->fHeight = GrNextPow2(height);
58 scaleAdjust[0] = ((SkScalar) copyParams->fWidth) / width;
59 scaleAdjust[1] = ((SkScalar) copyParams->fHeight) / height;
62 copyParams->fFilter = GrSamplerState::Filter::kNearest;
67 copyParams->fFilter = GrSamplerState::Filter::kBilerp;
  /external/skia/src/gpu/gl/
GrGLGpu.h 216 GrTextureProducer::CopyParams*,

Completed in 271 milliseconds

1 2