Lines Matching refs:mDefaultShadersAsyncInfo
173 mDefaultShadersAsyncInfo = nullptr;
992 mDefaultShadersAsyncInfo.reset(new DefaultShaderAsyncInfoMtl);
996 mDefaultShadersAsyncInfo->defaultShaders =
999 if (error && !mDefaultShadersAsyncInfo->defaultShaders)
1006 mDefaultShadersAsyncInfo->defaultShadersCompileError = std::move(error);
1009 mDefaultShadersAsyncInfo->compiled = true;
1012 mDefaultShadersAsyncInfo.reset(new DefaultShaderAsyncInfoMtl);
1016 std::shared_ptr<DefaultShaderAsyncInfoMtl> asyncRef = mDefaultShadersAsyncInfo;
1046 std::unique_lock<std::mutex> lg(mDefaultShadersAsyncInfo->lock);
1047 if (!mDefaultShadersAsyncInfo->compiled)
1050 mDefaultShadersAsyncInfo->cv.wait(lg,
1051 [this] { return mDefaultShadersAsyncInfo->compiled; });
1054 if (mDefaultShadersAsyncInfo->defaultShadersCompileError &&
1055 !mDefaultShadersAsyncInfo->defaultShaders)
1060 << mDefaultShadersAsyncInfo->defaultShadersCompileError.get()
1067 return mDefaultShadersAsyncInfo->defaultShaders;