Searched defs:colorArray (Results 1 - 3 of 3) sorted by relevance
/external/skia/src/gl/ |
H A D | SkGL.cpp | 356 const uint8_t* SK_RESTRICT colorArray, 370 if (NULL != colorArray) { 372 glColorPointer(4, GL_UNSIGNED_BYTE, 0, colorArray); 353 DrawVertices(int count, GLenum mode, const SkGLVertex* SK_RESTRICT vertex, const SkGLVertex* SK_RESTRICT texCoords, const uint8_t* SK_RESTRICT colorArray, const uint16_t* SK_RESTRICT indexArray, SkGLClipIter* iter) argument
|
H A D | SkGLDevice.cpp | 523 uint8_t* colorArray = NULL; local 525 colorArray = (uint8_t*)sk_malloc_throw(vertexCount*4); 526 SkGL::SetRGBA(colorArray, colors, vertexCount); 528 SkAutoFree afca(colorArray); 575 glVerts, glTexs, colorArray, indices, iter);
|
/external/webkit/WebCore/css/ |
H A D | CSSParser.cpp | 3570 bool CSSParser::parseColorParameters(CSSParserValue* value, int* colorArray, bool parseAlpha) argument 3582 colorArray[0] = static_cast<int>(v->fValue * (v->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 256.0 / 100.0 : 1.0)); 3590 colorArray[i] = static_cast<int>(v->fValue * (v->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 256.0 / 100.0 : 1.0)); 3599 colorArray[3] = static_cast<int>(max(0.0, min(1.0, v->fValue)) * 255); 3609 bool CSSParser::parseHSLParameters(CSSParserValue* value, double* colorArray, bool parseAlpha) argument 3617 colorArray[0] = (((static_cast<int>(v->fValue) % 360) + 360) % 360) / 360.0; 3625 colorArray[i] = max(0.0, min(100.0, v->fValue)) / 100.0; // needs to be value between 0 and 1.0 3634 colorArray[3] = max(0.0, min(1.0, v->fValue));
|
Completed in 45 milliseconds