Lines Matching refs:blend
73 SDL_BlendMode blend; member
720 const SDL_BlendMode blend = cmd->data.draw.blend; in SetDrawState() local
773 if (blend != data->drawstate.blend) { in SetDrawState()
774 if (blend == SDL_BLENDMODE_NONE) { in SetDrawState()
779 data->glBlendFuncSeparateOES(GetBlendFunc(SDL_GetBlendModeSrcColorFactor(blend)), in SetDrawState()
780 GetBlendFunc(SDL_GetBlendModeDstColorFactor(blend)), in SetDrawState()
781 GetBlendFunc(SDL_GetBlendModeSrcAlphaFactor(blend)), in SetDrawState()
782 GetBlendFunc(SDL_GetBlendModeDstAlphaFactor(blend))); in SetDrawState()
784 data->glBlendFunc(GetBlendFunc(SDL_GetBlendModeSrcColorFactor(blend)), in SetDrawState()
785 GetBlendFunc(SDL_GetBlendModeDstColorFactor(blend))); in SetDrawState()
788 … data->glBlendEquationSeparateOES(GetBlendEquation(SDL_GetBlendModeColorOperation(blend)), in SetDrawState()
789 … GetBlendEquation(SDL_GetBlendModeAlphaOperation(blend))); in SetDrawState()
791 data->glBlendEquationOES(GetBlendEquation(SDL_GetBlendModeColorOperation(blend))); in SetDrawState()
794 data->drawstate.blend = blend; in SetDrawState()
1242 data->drawstate.blend = SDL_BLENDMODE_INVALID; in GLES_CreateRenderer()