OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kSQRT_TABLE_SIZE
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/skia/src/effects/gradients/
SkRadialGradient.cpp
13
#define
kSQRT_TABLE_SIZE
(1 << kSQRT_TABLE_BITS)
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/
SkRadialGradient.cpp
13
#define
kSQRT_TABLE_SIZE
(1 << kSQRT_TABLE_BITS)
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 26 milliseconds