Home
last modified time | relevance | path

Searched refs:isProtected (Results 1 - 25 of 114) sorted by relevance

12345

/third_party/skia/src/gpu/mock/
H A DGrMockTexture.h21 GrProtected isProtected, in GrMockTexture()
24 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture()
30 GrProtected isProtected, in GrMockTexture()
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()
88 : GrSurface(gpu, dimensions, isProtected) in GrMockRenderTarget()
89 , INHERITED(gpu, dimensions, sampleCnt, isProtected) in GrMockRenderTarget()
18 GrMockTexture(GrMockGpu* gpu, SkBudgeted budgeted, SkISize dimensions, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& info) GrMockTexture() argument
28 GrMockTexture(GrMockGpu* gpu, SkISize dimensions, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& info, GrWrapCacheable cacheable, GrIOType ioType) GrMockTexture() argument
82 GrMockRenderTarget(GrMockGpu* gpu, SkBudgeted budgeted, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument
95 GrMockRenderTarget(GrMockGpu* gpu, Wrapped, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument
137 GrMockRenderTarget(GrMockGpu* gpu, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument
155 GrMockTextureRenderTarget(GrMockGpu* gpu, SkBudgeted budgeted, SkISize dimensions, int sampleCnt, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& texInfo, const GrMockRenderTargetInfo& rtInfo) GrMockTextureRenderTarget() argument
170 GrMockTextureRenderTarget(GrMockGpu* gpu, SkISize dimensions, int sampleCnt, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& texInfo, const GrMockRenderTargetInfo& rtInfo, GrWrapCacheable cacheable) GrMockTextureRenderTarget() argument
[all...]
H A DGrMockGpu.cpp99 GrProtected isProtected, in onCreateTexture()
118 renderTargetSampleCnt, isProtected, in onCreateTexture()
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture()
125 // TODO: why no 'isProtected' ?!
130 GrProtected isProtected, in onCreateCompressedTexture()
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture()
157 GrProtected isProtected, in onCreateCompressedTexture()
178 auto isProtected = GrProtected(tex.isProtected()); in onWrapBackendTexture() local
179 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatu in onWrapBackendTexture()
94 onCreateTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, uint32_t levelClearMask) onCreateTexture() argument
126 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, const void* data, size_t dataSize) onCreateCompressedTexture() argument
153 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, OH_NativeBuffer* nativeBuffer, size_t bufferSize) onCreateCompressedTexture() argument
203 auto isProtected = GrProtected(tex.isProtected()); onWrapRenderableBackendTexture() local
213 auto isProtected = GrProtected(rt.isProtected()); onWrapBackendRenderTarget() local
[all...]
/third_party/skia/src/gpu/
H A DGrAttachment.cpp62 GrProtected isProtected, in build_key()
66 SkASSERT(static_cast<uint32_t>(isProtected) <= 1); in build_key()
76 (*builder)[4] = (static_cast<uint32_t>(isProtected) << 0) | in build_key()
88 GrProtected isProtected, in ComputeSharedAttachmentUniqueKey()
94 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected, in ComputeSharedAttachmentUniqueKey()
104 GrProtected isProtected, in ComputeScratchKey()
110 build_key(&builder, caps, format, dimensions, requiredUsage, sampleCnt, mipmapped, isProtected, in ComputeScratchKey()
116 auto isProtected = this->isProtected() ? GrProtected::kYes : GrProtected::kNo; in computeScratchKey() local
123 isProtected, in computeScratchKey()
55 build_key(GrResourceKey::Builder* builder, const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, GrAttachment::UsageFlags requiredUsage, int sampleCnt, GrMipmapped mipmapped, GrProtected isProtected, GrMemoryless memoryless) build_key() argument
82 ComputeSharedAttachmentUniqueKey(const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, UsageFlags requiredUsage, int sampleCnt, GrMipmapped mipmapped, GrProtected isProtected, GrMemoryless memoryless, GrUniqueKey* key) ComputeSharedAttachmentUniqueKey() argument
98 ComputeScratchKey(const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, UsageFlags requiredUsage, int sampleCnt, GrMipmapped mipmapped, GrProtected isProtected, GrMemoryless memoryless, GrScratchKey* key) ComputeScratchKey() argument
[all...]
H A DGrResourceProvider.cpp52 GrProtected isProtected, in createTexture()
82 isProtected); in createTexture()
105 isProtected, in createTexture()
119 GrProtected isProtected) { in getExactScratch()
126 isProtected)); in getExactScratch()
142 GrProtected isProtected, in createTexture()
160 renderTargetSampleCnt, isProtected); in createTexture()
174 isProtected, in createTexture()
183 GrProtected isProtected, in createCompressedTexture()
192 isProtected, dat in createCompressedTexture()
44 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrColorType colorType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrMipmapped mipmapped, GrProtected isProtected, const GrMipLevel texels[]) createTexture() argument
112 getExactScratch(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrMipmapped mipmapped, GrProtected isProtected) getExactScratch() argument
134 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrColorType colorType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, SkBackingFit fit, GrProtected isProtected, const GrMipLevel& mipLevel) createTexture() argument
179 createCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipmapped, GrProtected isProtected, SkData* data) createCompressedTexture() argument
199 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, GrMipmapped mipmapped, SkBudgeted budgeted, GrProtected isProtected) createTexture() argument
274 createApproxTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, GrProtected isProtected) createApproxTexture() argument
326 findAndRefScratchTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, GrMipmapped mipmapped, GrProtected isProtected) findAndRefScratchTexture() argument
623 GrProtected isProtected = rt->isProtected() ? GrProtected::kYes : GrProtected::kNo; attachStencilAttachment() local
647 getDiscardableMSAAAttachment(SkISize dimensions, const GrBackendFormat& format, int sampleCnt, GrProtected isProtected, GrMemoryless memoryless) getDiscardableMSAAAttachment() argument
691 makeMSAAAttachment(SkISize dimensions, const GrBackendFormat& format, int sampleCnt, GrProtected isProtected, GrMemoryless memoryless) makeMSAAAttachment() argument
725 refScratchMSAAAttachment(SkISize dimensions, const GrBackendFormat& format, int sampleCnt, GrProtected isProtected, GrMemoryless memoryless) refScratchMSAAAttachment() argument
[all...]
H A DGrTexture.cpp43 GrProtected isProtected, in GrTexture()
46 : INHERITED(gpu, dimensions, isProtected) in GrTexture()
97 auto isProtected = this->isProtected() ? GrProtected::kYes : GrProtected::kNo; in isFormatCompressed() local
99 renderable, sampleCount, this->mipmapped(), isProtected, key); in isFormatCompressed()
109 GrProtected isProtected, in ComputeScratchKey()
117 SkASSERT(static_cast<uint32_t>(isProtected) <= 1); in ComputeScratchKey()
129 | (static_cast<uint32_t>(isProtected) << 1) in ComputeScratchKey()
41 GrTexture(GrGpu* gpu, const SkISize& dimensions, GrProtected isProtected, GrTextureType textureType, GrMipmapStatus mipmapStatus) GrTexture() argument
103 ComputeScratchKey(const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, GrRenderable renderable, int sampleCnt, GrMipmapped mipMapped, GrProtected isProtected, GrScratchKey* key) ComputeScratchKey() argument
H A DGrTextureRenderTargetProxy.cpp33 GrProtected isProtected, in GrTextureRenderTargetProxy()
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()
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()
25 GrTextureRenderTargetProxy(const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, int sampleCnt, GrMipmapped mipMapped, GrMipmapStatus mipmapStatus, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, UseAllocator useAllocator, GrDDLProvider creatingProvider) GrTextureRenderTargetProxy() argument
47 GrTextureRenderTargetProxy(const GrCaps& caps, LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, int sampleCnt, GrMipmapped mipMapped, GrMipmapStatus mipmapStatus, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, UseAllocator useAllocator, GrDDLProvider creatingProvider) GrTextureRenderTargetProxy() argument
H A DGrRecordingContextPriv.cpp45 GrProtected isProtected, in createDevice()
51 mipmapped, isProtected, origin, props, init); in createDevice()
124 GrProtected isProtected, in makeSC()
137 isProtected); in makeSC()
156 GrProtected isProtected, in makeSFC()
170 isProtected, in makeSFC()
183 isProtected); in makeSFC()
212 GrProtected isProtected, in makeSFC()
230 isProtected, in makeSFC()
245 isProtected); in makeSFC()
40 createDevice(SkBudgeted budgeted, const SkImageInfo& ii, SkBackingFit fit, int sampleCount, GrMipmapped mipmapped, GrProtected isProtected, GrSurfaceOrigin origin, const SkSurfaceProps& props, skgpu::BaseDevice::InitContents init) createDevice() argument
117 makeSC(const GrImageInfo& info, const GrBackendFormat& format, SkBackingFit fit, GrSurfaceOrigin origin, GrRenderable renderable, int sampleCount, GrMipmapped mipmapped, GrProtected isProtected, SkBudgeted budgeted) makeSC() argument
152 makeSFC(GrImageInfo info, SkBackingFit fit, int sampleCount, GrMipmapped mipmapped, GrProtected isProtected, GrSurfaceOrigin origin, SkBudgeted budgeted) makeSFC() argument
204 makeSFC( SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace, SkISize dimensions, SkBackingFit fit, const GrBackendFormat& format, int sampleCount, GrMipmapped mipmapped, GrProtected isProtected, GrSwizzle readSwizzle, GrSwizzle writeSwizzle, GrSurfaceOrigin origin, SkBudgeted budgeted) makeSFC() argument
264 makeSFCWithFallback( GrImageInfo info, SkBackingFit fit, int sampleCount, GrMipmapped mipmapped, GrProtected isProtected, GrSurfaceOrigin origin, SkBudgeted budgeted) makeSFCWithFallback() argument
[all...]
H A DGrProxyProvider.cpp141 GrProtected isProtected) { in testingOnly_createInstantiatedProxy()
166 isProtected); in testingOnly_createInstantiatedProxy()
175 isProtected); in testingOnly_createInstantiatedProxy()
191 GrProtected isProtected) { in testingOnly_createInstantiatedProxy()
203 isProtected); in testingOnly_createInstantiatedProxy()
443 GrProtected isProtected, in createProxy()
485 budgeted, isProtected, surfaceFlags | extraFlags, useAllocator, in createProxy()
490 fit, budgeted, isProtected, surfaceFlags, in createProxy()
495 SkISize dimensions, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, in createCompressedTextureProxy()
770 GrProtected isProtected, in createLazyProxy()
134 testingOnly_createInstantiatedProxy( SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected) testingOnly_createInstantiatedProxy() argument
184 testingOnly_createInstantiatedProxy( SkISize dimensions, GrColorType colorType, GrRenderable renderable, int renderTargetSampleCnt, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected) testingOnly_createInstantiatedProxy() argument
436 createProxy(const GrBackendFormat& format, SkISize dimensions, GrRenderable renderable, int renderTargetSampleCnt, GrMipmapped mipMapped, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, GrSurfaceProxy::UseAllocator useAllocator) createProxy() argument
494 createCompressedTextureProxy( SkISize dimensions, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, SkImage::CompressionType compressionType, sk_sp<SkData> data) createCompressedTextureProxy() argument
762 createLazyProxy(LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, GrMipmapped mipMapped, GrMipmapStatus mipmapStatus, GrInternalSurfaceFlags surfaceFlags, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrSurfaceProxy::UseAllocator useAllocator) createLazyProxy() argument
801 createLazyRenderTargetProxy( LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, int sampleCnt, GrInternalSurfaceFlags surfaceFlags, const TextureInfo* textureInfo, GrMipmapStatus mipmapStatus, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, bool wrapsVkSecondaryCB, UseAllocator useAllocator) createLazyRenderTargetProxy() argument
845 MakeFullyLazyProxy(LazyInstantiateCallback&& callback, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, GrProtected isProtected, const GrCaps& caps, UseAllocator useAllocator) MakeFullyLazyProxy() argument
[all...]
H A DGrRenderTargetProxy.cpp33 GrProtected isProtected, in GrRenderTargetProxy()
36 : INHERITED(format, dimensions, fit, budgeted, isProtected, surfaceFlags, useAllocator) in GrRenderTargetProxy()
47 GrProtected isProtected, in GrRenderTargetProxy()
51 : INHERITED(std::move(callback), format, dimensions, fit, budgeted, isProtected, in GrRenderTargetProxy()
163 this->isProtected(), in callbackDesc()
27 GrRenderTargetProxy(const GrCaps& caps, const GrBackendFormat& format, SkISize dimensions, int sampleCount, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, UseAllocator useAllocator) GrRenderTargetProxy() argument
41 GrRenderTargetProxy(LazyInstantiateCallback&& callback, const GrBackendFormat& format, SkISize dimensions, int sampleCount, SkBackingFit fit, SkBudgeted budgeted, GrProtected isProtected, GrInternalSurfaceFlags surfaceFlags, UseAllocator useAllocator, WrapsVkSecondaryCB wrapsVkSecondaryCB) GrRenderTargetProxy() argument
H A DGrDirectContext.cpp679 GrProtected isProtected) { in createBackendTexture()
686 mipMapped, isProtected); in createBackendTexture()
693 GrProtected isProtected) { in createBackendTexture()
700 return this->createBackendTexture(width, height, format, mipMapped, renderable, isProtected); in createBackendTexture()
708 GrProtected isProtected, in create_and_clear_backend_texture()
713 mipMapped, isProtected); in create_and_clear_backend_texture()
774 GrProtected isProtected, in createBackendTexture()
789 isProtected, in createBackendTexture()
799 GrProtected isProtected, in createBackendTexture()
821 isProtected, in createBackendTexture()
675 createBackendTexture(int width, int height, const GrBackendFormat& backendFormat, GrMipmapped mipMapped, GrRenderable renderable, GrProtected isProtected) createBackendTexture() argument
689 createBackendTexture(int width, int height, SkColorType skColorType, GrMipmapped mipMapped, GrRenderable renderable, GrProtected isProtected) createBackendTexture() argument
703 create_and_clear_backend_texture(GrDirectContext* dContext, SkISize dimensions, const GrBackendFormat& backendFormat, GrMipmapped mipMapped, GrRenderable renderable, GrProtected isProtected, sk_sp<GrRefCntedCallback> finishedCallback, std::array<float, 4> color) create_and_clear_backend_texture() argument
769 createBackendTexture(int width, int height, const GrBackendFormat& backendFormat, const SkColor4f& color, GrMipmapped mipMapped, GrRenderable renderable, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createBackendTexture() argument
794 createBackendTexture(int width, int height, SkColorType skColorType, const SkColor4f& color, GrMipmapped mipMapped, GrRenderable renderable, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createBackendTexture() argument
826 createBackendTexture(const SkPixmap srcData[], int numProvidedLevels, GrSurfaceOrigin textureOrigin, GrRenderable renderable, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createBackendTexture() argument
948 create_and_update_compressed_backend_texture( GrDirectContext* dContext, SkISize dimensions, const GrBackendFormat& backendFormat, GrMipmapped mipMapped, GrProtected isProtected, sk_sp<GrRefCntedCallback> finishedCallback, const void* data, size_t size) create_and_update_compressed_backend_texture() argument
973 createCompressedBackendTexture( int width, int height, const GrBackendFormat& backendFormat, const SkColor4f& color, GrMipmapped mipmapped, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createCompressedBackendTexture() argument
1009 createCompressedBackendTexture( int width, int height, SkImage::CompressionType compression, const SkColor4f& color, GrMipmapped mipMapped, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createCompressedBackendTexture() argument
1024 createCompressedBackendTexture( int width, int height, const GrBackendFormat& backendFormat, const void* compressedData, size_t dataSize, GrMipmapped mipMapped, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createCompressedBackendTexture() argument
1050 createCompressedBackendTexture( int width, int height, SkImage::CompressionType compression, const void* data, size_t dataSize, GrMipmapped mipMapped, GrProtected isProtected, GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext) createCompressedBackendTexture() argument
[all...]
H A DGrGpu.cpp104 GrProtected isProtected, in createTextureCommon()
134 isProtected, in createTextureCommon()
159 GrProtected isProtected) { in createTexture()
173 isProtected, in createTexture()
188 GrProtected isProtected, in createTexture()
221 isProtected, in createTexture()
255 GrProtected isProtected, in createCompressedTexture()
283 return this->onCreateCompressedTexture(dimensions, format, budgeted, mipMapped, isProtected, in createCompressedTexture()
291 GrProtected isProtected, in createCompressedTexture()
316 return this->onCreateCompressedTexture(dimensions, format, budgeted, mipMapped, isProtected, in createCompressedTexture()
98 createTextureCommon(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, uint32_t levelClearMask) createTextureCommon() argument
152 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, GrMipmapped mipMapped, SkBudgeted budgeted, GrProtected isProtected) createTexture() argument
182 createTexture(SkISize dimensions, const GrBackendFormat& format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, GrColorType textureColorType, GrColorType srcColorType, const GrMipLevel texels[], int texelLevelCount) createTexture() argument
251 createCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, const void* data, size_t dataSize) createCompressedTexture() argument
287 createCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, OH_NativeBuffer* nativeBuffer, size_t bufferSize) createCompressedTexture() argument
872 createBackendTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, GrMipmapped mipMapped, GrProtected isProtected) createBackendTexture() argument
914 createCompressedBackendTexture(SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, GrProtected isProtected) createCompressedBackendTexture() argument
[all...]
H A DGrTextureProxy.cpp27 GrProtected isProtected,
31 : INHERITED(format, dimensions, fit, budgeted, isProtected, surfaceFlags, useAllocator)
52 GrProtected isProtected,
56 : INHERITED(std::move(callback), format, dimensions, fit, budgeted, isProtected,
228 this->isProtected(), in callbackDesc()
H A DGrAttachment.h56 GrProtected isProtected,
74 GrMipmapped mipmapped, GrProtected isProtected, in GrAttachment()
76 : INHERITED(gpu, dimensions, isProtected) in GrAttachment()
73 GrAttachment(GrGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, int sampleCnt, GrMipmapped mipmapped, GrProtected isProtected, GrMemoryless memoryless = GrMemoryless::kNo) GrAttachment() argument
/third_party/skia/tools/gpu/
H A DBackendSurfaceFactory.cpp23 GrProtected isProtected, in MakeBackendTextureSurface()
34 isProtected); in MakeBackendTextureSurface()
56 GrProtected isProtected, in MakeBackendTextureSurface()
60 dContext, ii, origin, sampleCnt, mipMapped, isProtected, props); in MakeBackendTextureSurface()
66 GrProtected isProtected, in MakeBackendRenderTargetSurface()
79 ii.dimensions(), ct, sampleCnt, isProtected); in MakeBackendRenderTargetSurface()
101 GrProtected isProtected, in MakeBackendRenderTargetSurface()
104 return MakeBackendRenderTargetSurface(dContext, ii, origin, sampleCnt, isProtected, props); in MakeBackendRenderTargetSurface()
18 MakeBackendTextureSurface(GrDirectContext* dContext, const SkImageInfo& ii, GrSurfaceOrigin origin, int sampleCnt, GrMipmapped mipMapped, GrProtected isProtected, const SkSurfaceProps* props) MakeBackendTextureSurface() argument
49 MakeBackendTextureSurface(GrDirectContext* dContext, SkISize dimensions, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp<SkColorSpace> colorSpace, GrMipmapped mipMapped, GrProtected isProtected, const SkSurfaceProps* props) MakeBackendTextureSurface() argument
62 MakeBackendRenderTargetSurface(GrDirectContext* dContext, const SkImageInfo& ii, GrSurfaceOrigin origin, int sampleCnt, GrProtected isProtected, const SkSurfaceProps* props) MakeBackendRenderTargetSurface() argument
95 MakeBackendRenderTargetSurface(GrDirectContext* dContext, SkISize dimensions, GrSurfaceOrigin origin, int sampleCnt, SkColorType colorType, sk_sp<SkColorSpace> colorSpace, GrProtected isProtected, const SkSurfaceProps* props) MakeBackendRenderTargetSurface() argument
H A DManagedBackendTexture.cpp66 GrProtected isProtected) { in MakeFromInfo()
68 dContext, ii.width(), ii.height(), ii.colorType(), mipmapped, renderable, isProtected); in MakeFromInfo()
75 GrProtected isProtected) { in MakeFromBitmap()
81 return MakeFromPixmap(dContext, srcPixmap, mipmapped, renderable, isProtected); in MakeFromBitmap()
88 GrProtected isProtected) { in MakeFromPixmap()
108 isProtected); in MakeFromPixmap()
62 MakeFromInfo(GrDirectContext* dContext, const SkImageInfo& ii, GrMipmapped mipmapped, GrRenderable renderable, GrProtected isProtected) MakeFromInfo() argument
71 MakeFromBitmap(GrDirectContext* dContext, const SkBitmap& src, GrMipmapped mipmapped, GrRenderable renderable, GrProtected isProtected) MakeFromBitmap() argument
84 MakeFromPixmap(GrDirectContext* dContext, const SkPixmap& src, GrMipmapped mipmapped, GrRenderable renderable, GrProtected isProtected) MakeFromPixmap() argument
/third_party/skia/src/gpu/vk/
H A 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()
H A DGrVkTexture.cpp29 texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
31 texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
57 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
58 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
75 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTexture()
76 , GrTexture(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo, in GrVkTexture()
90 GrProtected isProtected, in MakeNewTexture()
94 isProtected); in MakeNewTexture()
87 MakeNewTexture(GrVkGpu* gpu, SkBudgeted budgeted, SkISize dimensions, VkFormat format, uint32_t mipLevels, GrProtected isProtected, GrMipmapStatus mipmapStatus) MakeNewTexture() argument
H A DGrVkTextureRenderTarget.cpp32 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget()
56 : GrSurface(gpu, dimensions, texture->isProtected() ? GrProtected::kYes : GrProtected::kNo) in GrVkTextureRenderTarget()
64 GrProtected isProtected, in create_rt_attachments()
71 dimensions, GrBackendFormat::MakeVk(format), sampleCnt, isProtected, in create_rt_attachments()
92 GrProtected isProtected) { in MakeNewTextureRenderTarget()
100 isProtected); in MakeNewTextureRenderTarget()
107 if (!create_rt_attachments(gpu, dimensions, format, sampleCnt, isProtected, texture, in MakeNewTextureRenderTarget()
63 create_rt_attachments(GrVkGpu* gpu, SkISize dimensions, VkFormat format, int sampleCnt, GrProtected isProtected, sk_sp<GrVkImage> texture, sk_sp<GrVkImage>* colorAttachment, sk_sp<GrVkImage>* resolveAttachment) create_rt_attachments() argument
84 MakeNewTextureRenderTarget( GrVkGpu* gpu, SkBudgeted budgeted, SkISize dimensions, VkFormat format, uint32_t mipLevels, int sampleCnt, GrMipmapStatus mipmapStatus, GrProtected isProtected) MakeNewTextureRenderTarget() argument
H A DGrVkGpu.cpp1151 GrProtected isProtected, in onCreateTexture()
1168 mipmapStatus, isProtected); in onCreateTexture()
1171 mipLevelCount, isProtected, mipmapStatus); in onCreateTexture()
1216 GrProtected isProtected, in onCreateCompressedTexture()
1231 numMipLevels, isProtected, mipmapStatus); in onCreateCompressedTexture()
1249 GrProtected isProtected, in onCreateCompressedTexture()
1264 mipmapLevelCount, isProtected, mipmapStatus); in onCreateCompressedTexture()
1425 if (backendTex.isProtected() && (fProtectedContext == GrProtected::kNo)) { in onWrapBackendTexture()
1465 if (backendTex.isProtected() && (fProtectedContext == GrProtected::kNo)) { in onWrapRenderableBackendTexture()
1496 if (backendRT.isProtected() in onWrapBackendRenderTarget()
1146 onCreateTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, uint32_t levelClearMask) onCreateTexture() argument
1212 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, const void* data, size_t dataSize) onCreateCompressedTexture() argument
1245 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, OH_NativeBuffer* nativeBuffer, size_t bufferSize) onCreateCompressedTexture() argument
1643 makeMSAAAttachment(SkISize dimensions, const GrBackendFormat& format, int numSamples, GrProtected isProtected, GrMemoryless memoryless) makeMSAAAttachment() argument
1681 createVkImageForBackendSurface(VkFormat vkFormat, SkISize dimensions, int sampleCnt, GrTexturable texturable, GrRenderable renderable, GrMipmapped mipMapped, GrVkImageInfo* info, GrProtected isProtected) createVkImageForBackendSurface() argument
1806 onCreateBackendTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, GrMipmapped mipMapped, GrProtected isProtected) onCreateBackendTexture() argument
1840 onCreateCompressedBackendTexture( SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, GrProtected isProtected) onCreateCompressedBackendTexture() argument
2112 createTestingOnlyBackendRenderTarget(SkISize dimensions, GrColorType ct, int sampleCnt, GrProtected isProtected) createTestingOnlyBackendRenderTarget() argument
[all...]
/third_party/skia/include/core/
H A DSkSurfaceCharacterization.h112 GrProtected isProtected() const { return fIsProtected; } in isProtected() function in SkSurfaceCharacterization::Textureable::MipMapped::UsesGLFBO0::VkRTSupportsInputAttachment::VulkanSecondaryCBCompatible
140 GrProtected isProtected, in SkSurfaceCharacterization()
153 , fIsProtected(isProtected) in SkSurfaceCharacterization()
173 GrProtected isProtected, in set()
191 fIsProtected = isProtected; in set()
129 SkSurfaceCharacterization(sk_sp<GrContextThreadSafeProxy> contextInfo, size_t cacheMaxResourceBytes, const SkImageInfo& ii, const GrBackendFormat& backendFormat, GrSurfaceOrigin origin, int sampleCnt, Textureable isTextureable, MipMapped isMipMapped, UsesGLFBO0 usesGLFBO0, VkRTSupportsInputAttachment vkRTSupportsInputAttachment, VulkanSecondaryCBCompatible vulkanSecondaryCBCompatible, GrProtected isProtected, const SkSurfaceProps& surfaceProps) SkSurfaceCharacterization() argument
162 set(sk_sp<GrContextThreadSafeProxy> contextInfo, size_t cacheMaxResourceBytes, const SkImageInfo& ii, const GrBackendFormat& backendFormat, GrSurfaceOrigin origin, int sampleCnt, Textureable isTextureable, MipMapped isMipMapped, UsesGLFBO0 usesGLFBO0, VkRTSupportsInputAttachment vkRTSupportsInputAttachment, VulkanSecondaryCBCompatible vulkanSecondaryCBCompatible, GrProtected isProtected, const SkSurfaceProps& surfaceProps) set() argument
/third_party/skia/src/gpu/d3d/
H A DGrD3DTypesMinimal.cpp53 bool GrD3DBackendSurfaceInfo::isProtected() const { in isProtected() function in GrD3DBackendSurfaceInfo
75 GrProtected isProtected) const { in getSurfaceInfo()
77 return GrD3DTextureResourceSpecToSurfaceInfo(*fSpec, sampleCount, levelCount, isProtected); in getSurfaceInfo()
H A DGrD3DGpu.cpp259 GrProtected isProtected, in createD3DTexture()
288 this, budgeted, dimensions, renderTargetSampleCnt, resourceDesc, isProtected, in createD3DTexture()
291 return GrD3DTexture::MakeNewTexture(this, budgeted, dimensions, resourceDesc, isProtected, in createD3DTexture()
301 GrProtected isProtected, in onCreateTexture()
312 renderTargetSampleCnt, budgeted, isProtected, in onCreateTexture()
348 GrProtected isProtected, in onCreateCompressedTexture()
366 1, budgeted, isProtected, in onCreateCompressedTexture()
417 GrProtected isProtected, in onCreateCompressedTexture()
434 if (src->isProtected() && !dst->isProtected()) { in onCopySurface()
254 createD3DTexture(SkISize dimensions, DXGI_FORMAT dxgiFormat, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, GrMipmapStatus mipmapStatus) createD3DTexture() argument
296 onCreateTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, int renderTargetSampleCnt, SkBudgeted budgeted, GrProtected isProtected, int mipLevelCount, uint32_t levelClearMask) onCreateTexture() argument
344 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, const void* data, size_t dataSize) onCreateCompressedTexture() argument
413 onCreateCompressedTexture(SkISize dimensions, const GrBackendFormat& format, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected, OH_NativeBuffer* nativeBuffer, size_t bufferSize) onCreateCompressedTexture() argument
1281 createTextureResourceForBackendSurface(DXGI_FORMAT dxgiFormat, SkISize dimensions, GrTexturable texturable, GrRenderable renderable, GrMipmapped mipMapped, int sampleCnt, GrD3DTextureResourceInfo* info, GrProtected isProtected) createTextureResourceForBackendSurface() argument
1351 onCreateBackendTexture(SkISize dimensions, const GrBackendFormat& format, GrRenderable renderable, GrMipmapped mipMapped, GrProtected isProtected) onCreateBackendTexture() argument
1494 onCreateCompressedBackendTexture( SkISize dimensions, const GrBackendFormat& format, GrMipmapped mipMapped, GrProtected isProtected) onCreateCompressedBackendTexture() argument
1611 createTestingOnlyBackendRenderTarget(SkISize dimensions, GrColorType colorType, int sampleCnt, GrProtected isProtected) createTestingOnlyBackendRenderTarget() argument
[all...]
H A DGrD3DTypesPriv.cpp13 GrProtected isProtected) { in GrD3DTextureResourceSpecToSurfaceInfo()
18 info.fProtected = isProtected; in GrD3DTextureResourceSpecToSurfaceInfo()
10 GrD3DTextureResourceSpecToSurfaceInfo(const GrD3DTextureResourceSpec& d3dSpec, uint32_t sampleCount, uint32_t levelCount, GrProtected isProtected) GrD3DTextureResourceSpecToSurfaceInfo() argument
/third_party/skia/tools/gpu/vk/
H A DVkTestUtils.cpp361 VkPhysicalDeviceFeatures2* features, bool isProtected) { in setup_features()
368 // If |isProtected| is given, attach that first in setup_features()
370 if (isProtected) { in setup_features()
414 if (isProtected) { in setup_features()
430 bool isProtected) { in CreateVkBackendContext()
445 if (isProtected && instanceVersion < VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
577 if (isProtected && physDeviceVersion < VK_MAKE_VERSION(1, 1, 0)) { in CreateVkBackendContext()
698 isProtected)) { in CreateVkBackendContext()
714 VkDeviceQueueCreateFlags flags = isProtected ? VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT : 0; in CreateVkBackendContext()
766 if (isProtected) { in CreateVkBackendContext()
359 setup_features(GrVkGetProc getProc, VkInstance inst, VkPhysicalDevice physDev, uint32_t physDeviceVersion, GrVkExtensions* extensions, VkPhysicalDeviceFeatures2* features, bool isProtected) setup_features() argument
423 CreateVkBackendContext(GrVkGetProc getProc, GrVkBackendContext* ctx, GrVkExtensions* extensions, VkPhysicalDeviceFeatures2* features, VkDebugReportCallbackEXT* debugCallback, uint32_t* presentQueueIndexPtr, CanPresentFn canPresent, bool isProtected) CreateVkBackendContext() argument
[all...]
/third_party/skia/src/gpu/dawn/
H A DGrDawnTypesPriv.cpp13 GrProtected isProtected) { in GrDawnTextureSpecToSurfaceInfo()
18 info.fProtected = isProtected; in GrDawnTextureSpecToSurfaceInfo()
10 GrDawnTextureSpecToSurfaceInfo(const GrDawnTextureSpec& dawnSpec, uint32_t sampleCount, uint32_t levelCount, GrProtected isProtected) GrDawnTextureSpecToSurfaceInfo() argument

Completed in 22 milliseconds

12345