Home
last modified time | relevance | path

Searched refs:gSize (Results 1 – 4 of 4) sorted by relevance

/external/skia/samplecode/
DSampleStrokeRect.cpp38 static const SkISize gSize[] = { in onDrawContent() local
56 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()
/external/skia/gm/
Ddrawbitmaprect.cpp126 static const int gSize = 1024; variable
146 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()
/external/skia/include/core/
DSkImageInfo.h89 static const uint8_t gSize[] = { in SkColorTypeBytesPerPixel() local
99 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_pixeltransfer.c97 const GLuint gSize = ctx->PixelMaps.GtoG.Size; in load_color_map_texture() local
121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; in load_color_map_texture()