Source/ThirdParty/ANGLE/src/libGLESv2/Context.cpp
void Context::markAllStateDirty()
{
    mAppliedRenderTargetSerial = 0;
    mAppliedDepthbufferSerial = 0;
    mAppliedStencilbufferSerial = 0;
    mDepthStencilInitialized = false;
    mAppliedProgram = 0;

    mClearStateDirty = true;
    mCullStateDirty = true;
    mDepthStateDirty = true;
    mMaskStateDirty = true;
    mBlendStateDirty = true;
    mStencilStateDirty = true;
    mPolygonOffsetStateDirty = true;
    mScissorStateDirty = true;
    mSampleStateDirty = true;
    mDitherStateDirty = true;
    mFrontFaceDirty = true;
}
// This function will set all of the state-related dirty flags, so that all state is set during next pre-draw.
This function will set all of the state-related dirty flags, so that all state is set during next pre-draw.
This function will set all of the state - related dirty flags so that all state is set during next pre - draw .
void Context::markAllStateDirty()
{
    mAppliedRenderTargetSerial = 0;
    mAppliedDepthbufferSerial = 0;
    mAppliedStencilbufferSerial = 0;
    mDepthStencilInitialized = false;
    mAppliedProgram = 0;
    mClearStateDirty = true;
    mCullStateDirty = true;
    mDepthStateDirty = true;
    mMaskStateDirty = true;
    mBlendStateDirty = true;
    mStencilStateDirty = true;
    mPolygonOffsetStateDirty = true;
    mScissorStateDirty = true;
    mSampleStateDirty = true;
    mDitherStateDirty = true;
    mFrontFaceDirty = true;
}
void Context :: markAllStateDirty ( ) { mAppliedRenderTargetSerial = 0 ; mAppliedDepthbufferSerial = 0 ; mAppliedStencilbufferSerial = 0 ; mDepthStencilInitialized = false ; mAppliedProgram = 0 ; mClearStateDirty = true ; mCullStateDirty = true ; mDepthStateDirty = true ; mMaskStateDirty = true ; mBlendStateDirty = true ; mStencilStateDirty = true ; mPolygonOffsetStateDirty = true ; mScissorStateDirty = true ; mSampleStateDirty = true ; mDitherStateDirty = true ; mFrontFaceDirty = true ; }
This function will set all of the state-related dirty flags, so that all state is set during next pre-draw.
This function will set all of the state - related dirty flags so that all state is set during next pre - draw .