Searched refs:protectedContext (Results 1 – 12 of 12) sorted by relevance
66 SkASSERT(!gpu->protectedContext() || (accessPattern != kStatic_GrAccessPattern)); in Make()160 SkASSERT(!this->getD3DGpu()->protectedContext()); in onUpdateData()
54 bool protectedContext() const { return false; } in protectedContext() function
217 SkASSERT(!tex->isProtected() || (rt->isProtected() && gpu->protectedContext())); in update_resource_state()
1078 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in createTextureResourceForBackendSurface()1145 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in onCreateBackendTexture()
77 bool requiresMappable = gpu->protectedContext() || in Make()202 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
544 GrProtected protectedContext) { in submit_to_queue() argument546 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()
16 if (gpu->protectedContext()) { in Create()
80 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
233 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
75 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
680 SkASSERT(!tex->isProtected() || (colorAttachment->isProtected() && gpu->protectedContext())); in check_sampled_texture()
313 SkASSERT(!isProtectedContent || gpu->protectedContext()); in make_vk_backend_texture()531 return static_cast<GrVkGpu*>(dContext->priv().getGpu())->protectedContext(); in can_import_protected_content()