Home
last modified time | relevance | path

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

/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.cpp566 GrProtected protectedContext) { in submit_to_queue() argument
568 if (protectedContext == GrProtected::kYes) { in submit_to_queue()
578 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
625 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
647 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()