Home | History | Annotate | Download | only in draw_buffers_indexed

Lines Matching refs:NumComponents

136 	int		  numComponents = NumComponents(format);
140 static_cast<unsigned int>((numComponents >= 2 ? colors[0].y() : 0.0f) * 255),
141 static_cast<unsigned int>((numComponents >= 3 ? colors[0].z() : 0.0f) * 255),
142 static_cast<unsigned int>((numComponents == 4 ? background.w() : 1.0f) * 255)),
145 static_cast<unsigned int>((numComponents >= 2 ? background.y() : 0.0f) * 255),
146 static_cast<unsigned int>((numComponents >= 3 ? background.z() : 0.0f) * 255),
147 static_cast<unsigned int>((numComponents == 4 ? colors[1].w() : 1.0f) * 255)),
150 static_cast<unsigned int>((colors[2].x() * (numComponents == 4 ? colors[2].w() : 1.0f) -
151 background.x() * (numComponents == 4 ? background.w() : 1.0f)) *
153 static_cast<unsigned int>((numComponents >= 2 ?
154 (colors[2].y() * (numComponents == 4 ? colors[2].w() : 1.0f) -
155 background.y() * (numComponents == 4 ? background.w() : 1.0f)) :
158 static_cast<unsigned int>((numComponents >= 3 ?
159 (colors[2].z() * (numComponents == 4 ? colors[2].w() : 1.0f) -
160 background.z() * (numComponents == 4 ? background.w() : 1.0f)) :
164 (numComponents == 4 ? (colors[2].w() * colors[2].w() - background.w() * background.w()) : 1.0f) * 255)),
167 static_cast<unsigned int>((numComponents >= 2 ? (background.y() - colors[3].y()) : 0.0f) * 255),
168 static_cast<unsigned int>((numComponents >= 3 ? (background.z() - colors[3].z()) : 0.0f) * 255),
169 static_cast<unsigned int>((numComponents == 4 ? (background.w() - colors[3].w()) : 1.0f) * 255))
331 unsigned int DrawBuffersIndexedBlending::NumComponents(glw::GLenum format)