Lines Matching refs:mContext
34 , mContext(nullptr)
44 mContext = context;
49 LOG_ALWAYS_FATAL_IF(!mContext, "Lifecycle violation, there's no context to pushLayerUpdate with!");
69 LOG_ALWAYS_FATAL_IF(!mContext, "Cannot drawFrame with no CanvasContext!");
91 TreeInfo info(TreeInfo::MODE_FULL, *mContext);
98 CanvasContext* context = mContext;
121 bool canDraw = mContext->makeCurrent();
122 Caches::getInstance().textureCache.resetMarkInUse(mContext);
128 mContext->prepareTree(info, mFrameInfo, mSyncQueued, mTargetNode);
132 if (CC_UNLIKELY(!mContext->hasSurface() || !canDraw)) {
133 if (!mContext->hasSurface()) {