Lines Matching refs:fd
73 int fd = component==GGLFormat::ALPHA ? mBlendDstA : mBlendDst;
76 const int blending = blending_codes(fs, fd);
101 (fs==GGL_DST_COLOR && fd==GGL_ONE_MINUS_DST_COLOR) ||
102 (fs==GGL_SRC_COLOR && fd==GGL_ONE_MINUS_SRC_COLOR) ||
103 (fs==GGL_DST_ALPHA && fd==GGL_ONE_MINUS_DST_ALPHA) ||
104 (fs==GGL_SRC_ALPHA && fd==GGL_ONE_MINUS_SRC_ALPHA);
107 (fs==GGL_ONE_MINUS_DST_COLOR && fd==GGL_DST_COLOR) ||
108 (fs==GGL_ONE_MINUS_SRC_COLOR && fd==GGL_SRC_COLOR) ||
109 (fs==GGL_ONE_MINUS_DST_ALPHA && fd==GGL_DST_ALPHA) ||
110 (fs==GGL_ONE_MINUS_SRC_ALPHA && fd==GGL_SRC_ALPHA);
180 build_blend_factor(factor, fd,
203 if (fd==GGL_ZERO) { // R = 0
205 } else if (fd==GGL_ONE) { // R = D
207 } else { // R = D*fd
208 // compute fd
209 build_blend_factor(dst_factor, fd,
214 if (fd==GGL_ZERO) { // R = S
216 } else if (fd==GGL_ONE) { // R = S + D
219 } else { // R = S + D*fd
220 // compute fd
221 build_blend_factor(dst_factor, fd,
230 if (fd==GGL_ZERO) { // R = S*fs
232 } else if (fd==GGL_ONE) { // R = S*fs + D
235 } else { // R = S*fs + D*fd
239 // compute fd
240 build_blend_factor(dst_factor, fd,
376 int GGLAssembler::blending_codes(int fs, int fd)
405 switch(fd) {