Home
last modified time | relevance | path

Searched refs:gSize (Results 1 – 8 of 8) 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/chromium_org/third_party/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/chromium_org/third_party/skia/gm/
Ddrawbitmaprect.cpp75 static const int gSize = 1024; variable
89 SkISize onISize() { return SkISize::Make(gSize, gSize); } in onISize()
104 SkRect::MakeWH(gSize * SK_Scalar1, in onDraw()
105 gSize * SK_Scalar1), in onDraw()
147 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()
/external/skia/gm/
Ddrawbitmaprect.cpp75 static const int gSize = 1024; variable
89 SkISize onISize() { return SkISize::Make(gSize, gSize); } in onISize()
104 SkRect::MakeWH(gSize * SK_Scalar1, in onDraw()
105 gSize * SK_Scalar1), in onDraw()
147 if ((dstRect.width() + kPadX) * rowCount > gSize) { in onDraw()
/external/chromium_org/third_party/skia/include/core/
DSkImageInfo.h96 static const uint8_t gSize[] = { in SkColorTypeBytesPerPixel() local
105 SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSize) == (size_t)(kLastEnum_SkColorType + 1), in SkColorTypeBytesPerPixel()
108 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel()
109 return gSize[ct]; in SkColorTypeBytesPerPixel()
/external/skia/include/core/
DSkImageInfo.h96 static const uint8_t gSize[] = { in SkColorTypeBytesPerPixel() local
105 SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSize) == (size_t)(kLastEnum_SkColorType + 1), in SkColorTypeBytesPerPixel()
108 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); in SkColorTypeBytesPerPixel()
109 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()
/external/chromium_org/third_party/mesa/src/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()