Home
last modified time | relevance | path

Searched refs:scaleRGB (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_texcombine.c99 const GLfloat scaleRGB = (GLfloat) (1 << combine->ScaleShiftRGB); in texture_combine() local
316 rgba[i][RCOMP] = arg0[i][RCOMP] * scaleRGB; in texture_combine()
317 rgba[i][GCOMP] = arg0[i][GCOMP] * scaleRGB; in texture_combine()
318 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB; in texture_combine()
323 rgba[i][RCOMP] = arg0[i][RCOMP] * arg1[i][RCOMP] * scaleRGB; in texture_combine()
324 rgba[i][GCOMP] = arg0[i][GCOMP] * arg1[i][GCOMP] * scaleRGB; in texture_combine()
325 rgba[i][BCOMP] = arg0[i][BCOMP] * arg1[i][BCOMP] * scaleRGB; in texture_combine()
333 arg2[i][RCOMP] * arg3[i][RCOMP]) * scaleRGB; in texture_combine()
335 arg2[i][GCOMP] * arg3[i][GCOMP]) * scaleRGB; in texture_combine()
337 arg2[i][BCOMP] * arg3[i][BCOMP]) * scaleRGB; in texture_combine()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texcombine.c91 const GLfloat scaleRGB = (GLfloat) (1 << combine->ScaleShiftRGB); in texture_combine() local
308 rgba[i][RCOMP] = arg0[i][RCOMP] * scaleRGB; in texture_combine()
309 rgba[i][GCOMP] = arg0[i][GCOMP] * scaleRGB; in texture_combine()
310 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB; in texture_combine()
315 rgba[i][RCOMP] = arg0[i][RCOMP] * arg1[i][RCOMP] * scaleRGB; in texture_combine()
316 rgba[i][GCOMP] = arg0[i][GCOMP] * arg1[i][GCOMP] * scaleRGB; in texture_combine()
317 rgba[i][BCOMP] = arg0[i][BCOMP] * arg1[i][BCOMP] * scaleRGB; in texture_combine()
325 arg2[i][RCOMP] * arg3[i][RCOMP]) * scaleRGB; in texture_combine()
327 arg2[i][GCOMP] * arg3[i][GCOMP]) * scaleRGB; in texture_combine()
329 arg2[i][BCOMP] * arg3[i][BCOMP]) * scaleRGB; in texture_combine()
[all …]
/external/skia/src/gpu/gl/
DGrGpuGL.cpp1295 GrGLfloat scaleRGB = scale255; in onClear() local
1296 r = GrColorUnpackR(color) * scaleRGB; in onClear()
1297 g = GrColorUnpackG(color) * scaleRGB; in onClear()
1298 b = GrColorUnpackB(color) * scaleRGB; in onClear()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL.cpp1295 GrGLfloat scaleRGB = scale255; in onClear() local
1296 r = GrColorUnpackR(color) * scaleRGB; in onClear()
1297 g = GrColorUnpackG(color) * scaleRGB; in onClear()
1298 b = GrColorUnpackB(color) * scaleRGB; in onClear()