Searched refs:GrFixed (Results 1 - 7 of 7) sorted by relevance

/external/skia/gpu/include/
H A DGrGpuVertex.h29 typedef GrFixed GrTextScalar;
56 void setX(GrFixed x, GrFixed y) {
87 void setXRectFan(GrFixed l, GrFixed t, GrFixed r, GrFixed b) {
92 void setXRectFan(GrFixed l, GrFixed t, GrFixed
[all...]
H A DGrGlyph.h63 static inline unsigned ExtractSubPixelBitsFromFixed(GrFixed pos) {
68 static inline PackedID Pack(uint16_t glyphID, GrFixed x, GrFixed y) {
74 static inline GrFixed UnpackFixedX(PackedID packed) {
78 static inline GrFixed UnpackFixedY(PackedID packed) {
H A DGrTextContext.h38 void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top,
H A DGrTexture.h184 GrFixed normalizeFixedX(GrFixed x) const { GrAssert(GrIsPow2(fWidth));
186 GrFixed normalizeFixedY(GrFixed y) const { GrAssert(GrIsPow2(fHeight));
H A DGrTypes.h150 typedef int32_t GrFixed; typedef
/external/skia/gpu/src/
H A DGrTextContext.cpp163 GrFixed vx, GrFixed vy,
178 GrFixed width = glyph->fBounds.width();
179 GrFixed height = glyph->fBounds.height();
272 GrFixed tx = GrIntToFixed(glyph->fAtlasLocation.fX);
273 GrFixed ty = GrIntToFixed(glyph->fAtlasLocation.fY);
H A DGrContext.cpp182 GrFixed dx = (srcW << 16) / dstW;
183 GrFixed dy = (srcH << 16) / dstH;
185 GrFixed y = dy >> 1;
189 GrFixed x = dx >> 1;

Completed in 231 milliseconds