Home
last modified time | relevance | path

Searched refs:isProtected (Results 1 – 25 of 174) sorted by relevance

1234567

/third_party/skia/src/gpu/mock/
DGrMockTexture.h21 GrProtected isProtected, in GrMockTexture() argument
24 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture()
30 GrProtected isProtected, in GrMockTexture() argument
35 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture()
56 GrMockTexture(GrMockGpu* gpu, const SkISize& dimensions, GrProtected isProtected, in GrMockTexture() argument
58 : GrSurface(gpu, dimensions, isProtected) in GrMockTexture()
59 , INHERITED(gpu, dimensions, isProtected, GrTextureType::k2D, mipmapStatus) in GrMockTexture()
86 GrProtected isProtected, in GrMockRenderTarget() argument
88 : GrSurface(gpu, dimensions, isProtected) in GrMockRenderTarget()
89 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget()
[all …]
DGrMockGpu.cpp99 GrProtected isProtected, in onCreateTexture() argument
118 renderTargetSampleCnt, isProtected, in onCreateTexture()
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture()
130 GrProtected isProtected, in onCreateCompressedTexture() argument
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture()
167 auto isProtected = GrProtected(tex.isProtected()); in onWrapBackendTexture() local
168 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus, in onWrapBackendTexture()
192 auto isProtected = GrProtected(tex.isProtected()); in onWrapRenderableBackendTexture() local
194 isProtected, mipmapStatus, texInfo, in onWrapRenderableBackendTexture()
202 auto isProtected = GrProtected(rt.isProtected()); in onWrapBackendRenderTarget() local
[all …]
/third_party/flutter/skia/src/gpu/mock/
DGrMockTexture.h21 GrProtected isProtected, GrMipMapsStatus mipMapsStatus, in GrMockTexture() argument
23 : GrMockTexture(gpu, desc, isProtected, mipMapsStatus, info) { in GrMockTexture()
27 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrProtected isProtected, in GrMockTexture() argument
30 : GrMockTexture(gpu, desc, isProtected, mipMapsStatus, info) { in GrMockTexture()
52 GrMockTexture(GrMockGpu* gpu, const GrSurfaceDesc& desc, GrProtected isProtected, in GrMockTexture() argument
54 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockTexture()
55 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected,
80 int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) in GrMockRenderTarget() argument
81 : GrSurface(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, isProtected) in GrMockRenderTarget()
82 , INHERITED(gpu, {desc.fWidth, desc.fHeight}, desc.fConfig, sampleCnt, isProtected)
[all …]
DGrMockGpu.cpp150 GrProtected isProtected, in onCreateTexture() argument
166 renderTargetSampleCnt, isProtected, in onCreateTexture()
170 new GrMockTexture(this, budgeted, desc, isProtected, mipMapsStatus, texInfo)); in onCreateTexture()
193 auto isProtected = GrProtected(tex.isProtected()); in onWrapBackendTexture() local
195 new GrMockTexture(this, desc, isProtected, mipMapsStatus, texInfo, wrapType, ioType)); in onWrapBackendTexture()
218 auto isProtected = GrProtected(tex.isProtected()); in onWrapRenderableBackendTexture() local
220 this, desc, sampleCnt, isProtected, mipMapsStatus, texInfo, rtInfo, cacheable)); in onWrapRenderableBackendTexture()
234 auto isProtected = GrProtected(rt.isProtected()); in onWrapBackendRenderTarget() local
236 rt.sampleCnt(), isProtected, info)); in onWrapBackendRenderTarget()
254 auto isProtected = GrProtected(tex.isProtected()); in onWrapBackendTextureAsRenderTarget() local
[all …]
/third_party/skia/src/gpu/
DGrAttachment.cpp44 GrProtected isProtected, in build_key() argument
48 SkASSERT(static_cast<uint32_t>(isProtected) <= 1); in build_key()
58 (*builder)[4] = (static_cast<uint32_t>(isProtected) << 0) | in build_key()
70 GrProtected isProtected, in ComputeSharedAttachmentUniqueKey() argument
76 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected, in ComputeSharedAttachmentUniqueKey()
86 GrProtected isProtected, in ComputeScratchKey() argument
92 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected, in ComputeScratchKey()
98 auto isProtected = this->isProtected() ? GrProtected::kYes : GrProtected::kNo; in computeScratchKey() local
105 isProtected, in computeScratchKey()
DGrTexture.cpp43 GrProtected isProtected, in GrTexture() argument
46 : INHERITED(gpu, dimensions, isProtected) in GrTexture()
97 auto isProtected = this->isProtected() ? GrProtected::kYes : GrProtected::kNo; in computeScratchKey() local
99 renderable, sampleCount, this->mipmapped(), isProtected, key); in computeScratchKey()
109 GrProtected isProtected, in ComputeScratchKey() argument
117 SkASSERT(static_cast<uint32_t>(isProtected) <= 1); in ComputeScratchKey()
129 | (static_cast<uint32_t>(isProtected) << 1) in ComputeScratchKey()
DGrResourceProvider.cpp52 GrProtected isProtected, in createTexture() argument
82 isProtected); in createTexture()
105 isProtected, in createTexture()
119 GrProtected isProtected) { in getExactScratch() argument
126 isProtected)); in getExactScratch()
142 GrProtected isProtected, in createTexture() argument
160 renderTargetSampleCnt, isProtected); in createTexture()
174 isProtected, in createTexture()
183 GrProtected isProtected, in createCompressedTexture() argument
190 isProtected, data->data(), data->size()); in createCompressedTexture()
[all …]
DGrTextureRenderTargetProxy.cpp33 GrProtected isProtected, in GrTextureRenderTargetProxy() argument
37 : GrSurfaceProxy(format, dimensions, fit, budgeted, isProtected, surfaceFlags, useAllocator) in GrTextureRenderTargetProxy()
39 , GrRenderTargetProxy(caps, format, dimensions, sampleCnt, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
41 , GrTextureProxy(format, dimensions, mipMapped, mipmapStatus, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
56 GrProtected isProtected, in GrTextureRenderTargetProxy() argument
60 : GrSurfaceProxy(std::move(callback), format, dimensions, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
65 budgeted, isProtected, surfaceFlags, useAllocator, in GrTextureRenderTargetProxy()
68 fit, budgeted, isProtected, surfaceFlags, useAllocator, in GrTextureRenderTargetProxy()
170 this->isProtected(), in callbackDesc()
DGrRecordingContextPriv.cpp45 GrProtected isProtected, in createDevice() argument
51 mipmapped, isProtected, origin, props, init); in createDevice()
124 GrProtected isProtected, in makeSC() argument
137 isProtected); in makeSC()
156 GrProtected isProtected, in makeSFC() argument
170 isProtected, in makeSFC()
183 isProtected); in makeSFC()
212 GrProtected isProtected, in makeSFC() argument
230 isProtected, in makeSFC()
245 isProtected); in makeSFC()
[all …]
DGrDirectContext.cpp473 GrProtected isProtected) { in createBackendTexture() argument
480 mipMapped, isProtected); in createBackendTexture()
487 GrProtected isProtected) { in createBackendTexture() argument
494 return this->createBackendTexture(width, height, format, mipMapped, renderable, isProtected); in createBackendTexture()
502 GrProtected isProtected, in create_and_clear_backend_texture() argument
507 mipMapped, isProtected); in create_and_clear_backend_texture()
568 GrProtected isProtected, in createBackendTexture() argument
583 isProtected, in createBackendTexture()
593 GrProtected isProtected, in createBackendTexture() argument
615 isProtected, in createBackendTexture()
[all …]
DGrRenderTargetProxy.cpp33 GrProtected isProtected, in GrRenderTargetProxy() argument
36 : INHERITED(format, dimensions, fit, budgeted, isProtected, surfaceFlags, useAllocator) in GrRenderTargetProxy()
47 GrProtected isProtected, in GrRenderTargetProxy() argument
51 : INHERITED(std::move(callback), format, dimensions, fit, budgeted, isProtected, in GrRenderTargetProxy()
163 this->isProtected(), in callbackDesc()
DGrProxyProvider.cpp129 GrProtected isProtected) { in testingOnly_createInstantiatedProxy() argument
154 isProtected); in testingOnly_createInstantiatedProxy()
163 isProtected); in testingOnly_createInstantiatedProxy()
179 GrProtected isProtected) { in testingOnly_createInstantiatedProxy() argument
191 isProtected); in testingOnly_createInstantiatedProxy()
430 GrProtected isProtected, in createProxy() argument
472 budgeted, isProtected, surfaceFlags | extraFlags, useAllocator, in createProxy()
477 fit, budgeted, isProtected, surfaceFlags, in createProxy()
482 SkISize dimensions, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, in createCompressedTextureProxy() argument
756 GrProtected isProtected, in createLazyProxy() argument
[all …]
/third_party/skia/tools/gpu/
DBackendSurfaceFactory.cpp23 GrProtected isProtected, in MakeBackendTextureSurface() argument
34 isProtected); in MakeBackendTextureSurface()
56 GrProtected isProtected, in MakeBackendTextureSurface() argument
60 dContext, ii, origin, sampleCnt, mipMapped, isProtected, props); in MakeBackendTextureSurface()
66 GrProtected isProtected, in MakeBackendRenderTargetSurface() argument
79 ii.dimensions(), ct, sampleCnt, isProtected); in MakeBackendRenderTargetSurface()
101 GrProtected isProtected, in MakeBackendRenderTargetSurface() argument
104 return MakeBackendRenderTargetSurface(dContext, ii, origin, sampleCnt, isProtected, props); in MakeBackendRenderTargetSurface()
DManagedBackendTexture.cpp66 GrProtected isProtected) { in MakeFromInfo() argument
68 dContext, ii.width(), ii.height(), ii.colorType(), mipmapped, renderable, isProtected); in MakeFromInfo()
75 GrProtected isProtected) { in MakeFromBitmap() argument
81 return MakeFromPixmap(dContext, srcPixmap, mipmapped, renderable, isProtected); in MakeFromBitmap()
88 GrProtected isProtected) { in MakeFromPixmap() argument
108 isProtected); in MakeFromPixmap()
/third_party/flutter/skia/src/gpu/
DGrRecordingContext.cpp178 GrProtected isProtected) { in makeDeferredTextureContext() argument
196 fit, budgeted, isProtected); in makeDeferredTextureContext()
199 origin, budgeted, isProtected); in makeDeferredTextureContext()
222 GrProtected isProtected) { in makeDeferredRenderTargetContext() argument
245 origin, fit, budgeted, isProtected); in makeDeferredRenderTargetContext()
248 origin, budgeted, isProtected); in makeDeferredRenderTargetContext()
299 GrProtected isProtected) { in makeDeferredRenderTargetContextWithFallback() argument
305 budgeted, isProtected); in makeDeferredRenderTargetContextWithFallback()
348 GrProtected isProtected) { in makeDeferredTextureContext() argument
351 isProtected); in makeDeferredTextureContext()
[all …]
DGrTextureRenderTargetProxy.cpp32 GrProtected isProtected, in GrTextureRenderTargetProxy() argument
35 isProtected, surfaceFlags) in GrTextureRenderTargetProxy()
38 budgeted, isProtected, surfaceFlags) in GrTextureRenderTargetProxy()
40 isProtected, surfaceFlags) {} in GrTextureRenderTargetProxy()
55 GrProtected isProtected, in GrTextureRenderTargetProxy() argument
58 texSwizzle, fit, budgeted, isProtected, surfaceFlags) in GrTextureRenderTargetProxy()
62 texSwizzle, outSwizzle, fit, budgeted, isProtected, surfaceFlags, in GrTextureRenderTargetProxy()
65 mipMapsStatus, texSwizzle, fit, budgeted, isProtected, surfaceFlags) {} in GrTextureRenderTargetProxy()
DGrResourceProvider.cpp84 GrProtected isProtected, in createTexture() argument
120 isProtected, tmpTexels.get(), mipLevelCount); in createTexture()
128 GrProtected isProtected, in getExactScratch() argument
131 isProtected, flags)); in getExactScratch()
145 GrProtected isProtected, in createTexture() argument
181 isProtected, flags) in createTexture()
183 isProtected, flags); in createTexture()
224 GrProtected isProtected, in createTexture() argument
239 desc, format, renderable, renderTargetSampleCnt, budgeted, isProtected, flags); in createTexture()
253 isProtected, &level, 1); in createTexture()
[all …]
DGrContext.cpp330 GrProtected isProtected) { in createBackendTexture() argument
346 nullptr, 0, nullptr, isProtected); in createBackendTexture()
353 GrProtected isProtected) { in createBackendTexture() argument
367 return this->createBackendTexture(width, height, format, mipMapped, renderable, isProtected); in createBackendTexture()
402 c.isProtected()); in createBackendTexture()
438 c.isProtected()); in createBackendTexture()
448 GrProtected isProtected) { in createBackendTexture() argument
464 nullptr, 0, &color, isProtected); in createBackendTexture()
472 GrProtected isProtected) { in createBackendTexture() argument
490 isProtected); in createBackendTexture()
DGrProxyProvider.cpp126 GrProtected isProtected) { in testingOnly_createInstantiatedProxy() argument
150 isProtected, in testingOnly_createInstantiatedProxy()
154 budgeted, isProtected, in testingOnly_createInstantiatedProxy()
172 GrProtected isProtected) { in testingOnly_createInstantiatedProxy() argument
182 isProtected); in testingOnly_createInstantiatedProxy()
330 GrProtected isProtected) { in createMipMapProxy() argument
338 GrMipMapped::kYes, SkBackingFit::kExact, budgeted, isProtected, in createMipMapProxy()
473 GrProtected isProtected, in createProxy() argument
518 texSwizzle, outSwizzle, fit, budgeted, isProtected, surfaceFlags)); in createProxy()
523 isProtected, surfaceFlags)); in createProxy()
[all …]
DGrResourceProvider.h82 GrProtected isProtected,
91 GrProtected isProtected,
99 GrProtected isProtected,
110 GrProtected isProtected,
299 GrProtected isProtected,
311 GrProtected isProtected,
DGrRenderTargetProxy.cpp26 SkBudgeted budgeted, GrProtected isProtected, in GrRenderTargetProxy() argument
29 isProtected, surfaceFlags) in GrRenderTargetProxy()
39 SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, in GrRenderTargetProxy() argument
42 textureSwizzle, fit, budgeted, isProtected, surfaceFlags) in GrRenderTargetProxy()
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp115 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in characterize() local
128 isProtected, in characterize()
172 GrProtected isProtected = readSurfaceView.asRenderTargetProxy()->isProtected(); in isCompatible() local
184 characterization.isProtected() == isProtected && in isCompatible()
DGrVkTexture.cpp29 texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
31 texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
49 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
50 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
67 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
68 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
82 GrProtected isProtected, in MakeNewTexture() argument
86 isProtected); in MakeNewTexture()
DGrVkTextureRenderTarget.cpp32 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget()
47 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget()
55 GrProtected isProtected, in create_rt_attachments() argument
62 dimensions, GrBackendFormat::MakeVk(format), sampleCnt, isProtected, in create_rt_attachments()
83 GrProtected isProtected) { in MakeNewTextureRenderTarget() argument
91 isProtected); in MakeNewTextureRenderTarget()
98 if (!create_rt_attachments(gpu, dimensions, format, sampleCnt, isProtected, texture, in MakeNewTextureRenderTarget()
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp108 GrProtected(rtc->asRenderTargetProxy()->isProtected()), in characterize()
149 GrProtected isProtected = GrProtected(rtc->asRenderTargetProxy()->isProtected()); in isCompatible() local
161 characterization.isProtected() == isProtected && in isCompatible()

1234567