Searched refs:protectedContext (Results 1 – 21 of 21) sorted by relevance
23 SkASSERT(!gpu->protectedContext() || (gpu->protectedContext() == desc.fDynamic)); in Create()191 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
21 desc.fDynamic = gpu->protectedContext() ? true : dynamic; in Make()
18 if (gpu->protectedContext()) { in Create()
495 GrProtected protectedContext) { in submit_to_queue() argument497 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()
97 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()
100 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
180 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
65 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
66 SkASSERT(!gpu->protectedContext() || (accessPattern != kStatic_GrAccessPattern)); in Make()164 SkASSERT(!this->getD3DGpu()->protectedContext()); in onUpdateData()
54 bool protectedContext() const { return false; } in protectedContext() function
212 SkASSERT(!tex->isProtected() || (rt->isProtected() && gpu->protectedContext())); in update_resource_state()
1280 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in createTextureResourceForBackendSurface()1347 if (this->protectedContext() != (isProtected == GrProtected::kYes)) { in onCreateBackendTexture()
77 bool requiresMappable = gpu->protectedContext() || in Make()202 SkASSERT(!gpu->protectedContext()); in copyCpuDataToGpuBuffer()
539 GrProtected protectedContext) { in submit_to_queue() argument541 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()
17 if (gpu->protectedContext()) { in Create()
79 if (gpu->protectedContext()) { in AllocAndBindImageMemory()
75 bool protectedContext() const { return fProtectedContext == GrProtected::kYes; } in protectedContext() function
482 if (imageDesc.fIsProtected == GrProtected::kYes || gpu->protectedContext()) { in InitImageInfo()
680 SkASSERT(!tex->isProtected() || (colorAttachment->isProtected() && gpu->protectedContext())); in check_sampled_texture()
313 SkASSERT(!isProtectedContent || gpu->protectedContext()); in make_vk_backend_texture()529 return static_cast<GrVkGpu*>(dContext->priv().getGpu())->protectedContext(); in can_import_protected_content()