• Home
  • Raw
  • Download

Lines Matching refs:glContext

363 angle::Result ProgramMtl::linkImplSpirv(const gl::Context *glContext,
367 ContextMtl *contextMtl = mtl::GetImpl(glContext);
371 ANGLE_TRY(initDefaultUniformBlocks(glContext));
411 angle::Result ProgramMtl::linkImplDirect(const gl::Context *glContext,
415 ContextMtl *contextMtl = mtl::GetImpl(glContext);
418 ANGLE_TRY(initDefaultUniformBlocks(glContext));
425 ANGLE_TRY(mtl::GlslangGetMSL(glContext, mState, contextMtl->getCaps(), shaderSources,
442 angle::Result ProgramMtl::linkImpl(const gl::Context *glContext,
449 return linkImplDirect(glContext, resources, infoLog);
453 return linkImplSpirv(glContext, resources, infoLog);
456 return linkImplDirect(glContext, resources, infoLog);
460 angle::Result ProgramMtl::linkTranslatedShaders(const gl::Context *glContext,
464 ContextMtl *contextMtl = mtl::GetImpl(glContext);
471 ANGLE_TRY(loadDefaultUniformBlocksInfo(glContext, stream));
501 angle::Result ProgramMtl::initDefaultUniformBlocks(const gl::Context *glContext)
561 return resizeDefaultUniformBlocksMemory(glContext, requiredBufferSize);
565 const gl::Context *glContext,
568 ContextMtl *contextMtl = mtl::GetImpl(glContext);
799 angle::Result ProgramMtl::loadDefaultUniformBlocksInfo(const gl::Context *glContext,
823 return resizeDefaultUniformBlocksMemory(glContext, requiredBufferSize);
1156 angle::Result ProgramMtl::setupDraw(const gl::Context *glContext,
1163 ContextMtl *context = mtl::GetImpl(glContext);
1190 ANGLE_TRY(updateTextures(glContext, cmdEncoder, forceTexturesSetting));
1236 angle::Result ProgramMtl::updateTextures(const gl::Context *glContext,
1240 ContextMtl *contextMtl = mtl::GetImpl(glContext);
1241 const auto &glState = glContext->getState();
1280 ANGLE_TRY(contextMtl->getIncompleteTexture(glContext, textureType, &texture));
1291 ANGLE_TRY(textureMtl->bindToShader(glContext, cmdEncoder, shaderType, sampler,