Home
last modified time | relevance | path

Searched refs:protectedContext (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/src/gpu/vk/
DGrVkBuffer.cpp23 SkASSERT(!gpu->protectedContext() || (gpu->protectedContext() == desc.fDynamic)); in Create()
191 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
DGrVkIndexBuffer.cpp21 desc.fDynamic = gpu->protectedContext() ? true : dynamic; in Make()
DGrVkVertexBuffer.cpp21 desc.fDynamic = gpu->protectedContext() ? true : dynamic; in Make()
DGrVkCommandPool.cpp18 if (gpu->protectedContext()) { in Create()
DGrVkCommandBuffer.cpp495 GrProtected protectedContext) { in submit_to_queue() argument
497 if (protectedContext == GrProtected::kYes) { in submit_to_queue()
507 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
546 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
568 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
DGrVkGpuCommandBuffer.cpp97 SkASSERT(!src->isProtected() || (fTexture->isProtected() && fGpu->protectedContext())); in copy()
596 SkASSERT(!src->isProtected() || (fRenderTarget->isProtected() && fGpu->protectedContext())); in copy()
768 (fRenderTarget->isProtected() && fGpu->protectedContext())); in onDraw()
DGrVkMemory.cpp100 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
DGrVkImage.cpp180 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
DGrVkGpu.h65 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
/third_party/skia/src/gpu/d3d/
DGrD3DBuffer.cpp66 SkASSERT(!gpu->protectedContext() || (accessPattern != kStatic_GrAccessPattern)); in Make()
164 SkASSERT(!this->getD3DGpu()->protectedContext()); in onUpdateData()
DGrD3DGpu.h54 bool protectedContext() const { return false; } in protectedContext() function
DGrD3DOpsRenderPass.cpp212 SkASSERT(!tex->isProtected() || (rt->isProtected() && gpu->protectedContext())); in update_resource_state()
DGrD3DGpu.cpp1280 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in createTextureResourceForBackendSurface()
1347 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in onCreateBackendTexture()
/third_party/skia/src/gpu/vk/
DGrVkBuffer.cpp77 bool requiresMappable = gpu->protectedContext() || in Make()
202 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
DGrVkCommandBuffer.cpp539 GrProtected protectedContext) { in submit_to_queue() argument
541 if (protectedContext == GrProtected::kYes) { in submit_to_queue()
551 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
598 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
620 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
DGrVkCommandPool.cpp17 if (gpu->protectedContext()) { in Create()
DGrVkMemory.cpp79 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
DGrVkGpu.h75 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
DGrVkImage.cpp482 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
DGrVkOpsRenderPass.cpp680 SkASSERT(!tex->isProtected() || (colorAttachment->isProtected() && gpu->protectedContext())); in check_sampled_texture()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp313 SkASSERT(!isProtectedContent || gpu->protectedContext()); in make_vk_backend_texture()
529 return static_cast<GrVkGpu*>(dContext->priv().getGpu())->protectedContext(); in can_import_protected_content()