HomeSort by relevance Sort by last modified time
    Searched refs:ONE_OVER_255 (Results 1 - 2 of 2) sorted by null

  /external/skia/include/private/
GrColor.h 125 static const float ONE_OVER_255 = 1.f / 255.f;
126 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255;
127 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255;
128 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255;
129 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
134 static const float ONE_OVER_255 = 1.f / 255.f;
135 return value * ONE_OVER_255;
  /external/skqp/include/gpu/
GrColor.h 125 static const float ONE_OVER_255 = 1.f / 255.f;
126 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255;
127 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255;
128 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255;
129 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
134 static const float ONE_OVER_255 = 1.f / 255.f;
135 return value * ONE_OVER_255;

Completed in 681 milliseconds