Home
last modified time | relevance | path

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

/external/skia/src/gpu/d3d/
DGrD3DBuffer.cpp66 SkASSERT(!gpu->protectedContext() || (accessPattern != kStatic_GrAccessPattern)); in Make()
160 SkASSERT(!this->getD3DGpu()->protectedContext()); in onUpdateData()
DGrD3DGpu.h54 bool protectedContext() const { return false; } in protectedContext() function
DGrD3DOpsRenderPass.cpp217 SkASSERT(!tex->isProtected() || (rt->isProtected() && gpu->protectedContext())); in update_resource_state()
DGrD3DGpu.cpp1078 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in createTextureResourceForBackendSurface()
1145 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in onCreateBackendTexture()
/external/skia/src/gpu/vk/
DGrVkBuffer.cpp77 bool requiresMappable = gpu->protectedContext() || in Make()
202 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
DGrVkCommandBuffer.cpp544 GrProtected protectedContext) { in submit_to_queue() argument
546 if (protectedContext == GrProtected::kYes) { in submit_to_queue()
556 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
603 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
625 gpu->protectedContext() ? GrProtected::kYes : GrProtected::kNo); in submitToQueue()
DGrVkCommandPool.cpp16 if (gpu->protectedContext()) { in Create()
DGrVkMemory.cpp80 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
DGrVkImage.cpp233 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
DGrVkGpu.h75 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
DGrVkOpsRenderPass.cpp680 SkASSERT(!tex->isProtected() || (colorAttachment->isProtected() && gpu->protectedContext())); in check_sampled_texture()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp313 SkASSERT(!isProtectedContent || gpu->protectedContext()); in make_vk_backend_texture()
531 return static_cast<GrVkGpu*>(dContext->priv().getGpu())->protectedContext(); in can_import_protected_content()