Searched refs:kSQRT_TABLE_SIZE (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkRadialGradient.cpp13 #define kSQRT_TABLE_SIZE (1 << kSQRT_TABLE_BITS) macro
26 for (int i = 0; i < kSQRT_TABLE_SIZE; i++) {
31 uint8_t value = SkToU8(SkFixedSqrt(i * SK_Fixed1 / kSQRT_TABLE_SIZE) >> 8);
34 if (i < kSQRT_TABLE_SIZE-1) {
154 // make sure our table is insync with our current #define for kSQRT_TABLE_SIZE
155 SkASSERT(sizeof(gSqrt8Table) == kSQRT_TABLE_SIZE);
/external/skia/src/effects/gradients/
H A DSkRadialGradient.cpp13 #define kSQRT_TABLE_SIZE (1 << kSQRT_TABLE_BITS) macro
26 for (int i = 0; i < kSQRT_TABLE_SIZE; i++) {
31 uint8_t value = SkToU8(SkFixedSqrt(i * SK_Fixed1 / kSQRT_TABLE_SIZE) >> 8);
34 if (i < kSQRT_TABLE_SIZE-1) {
154 // make sure our table is insync with our current #define for kSQRT_TABLE_SIZE
155 SkASSERT(sizeof(gSqrt8Table) == kSQRT_TABLE_SIZE);

Completed in 100 milliseconds