Searched refs:gSize (Results 1 – 4 of 4) sorted by relevance
38 static const SkISize gSize[] = { in onDrawContent() local56 for (size_t j = 0; j < SK_ARRAY_COUNT(gSize); ++j) { in onDrawContent()57 SkRect r = SkRect::MakeWH(SkIntToScalar(gSize[j].fWidth), in onDrawContent()58 SkIntToScalar(gSize[j].fHeight)); in onDrawContent()
126 static const int gSize = 1024; variable146 SkISize onISize() override { return SkISize::Make(gSize, gSize); } in onISize()161 SkRect::MakeWH(gSize * SK_Scalar1, in onDraw()162 gSize * SK_Scalar1), in onDraw()203 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()
89 static const uint8_t gSize[] = { in SkColorTypeBytesPerPixel() local99 SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSize) == (size_t)(kLastEnum_SkColorType + 1), in SkColorTypeBytesPerPixel()102 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel()103 return gSize[ct]; in SkColorTypeBytesPerPixel()
97 const GLuint gSize = ctx->PixelMaps.GtoG.Size; in load_color_map_texture() local121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture()