Lines Matching full:fcontext
115 GrContext* fContext;
199 fContext = context;
200 fContext->ref();
234 fContext = context;
235 fContext->ref();
259 SkAutoTUnref<GrTexture> texture(fContext->createUncachedTexture(desc, NULL, 0));
284 if (fContext->getRenderTarget() == fRenderTarget) {
285 fContext->setRenderTarget(NULL);
288 if (fContext->getClip() == &fClipData) {
289 fContext->setClip(NULL);
293 fContext->unref();
300 fContext->setRenderTarget(fRenderTarget);
346 return fContext->readRenderTargetPixels(fRenderTarget,
393 fContext->setRenderTarget(fRenderTarget);
398 fContext->setIdentityMatrix();
400 fContext->setMatrix(*draw.fMatrix);
404 fContext->setClip(&fClipData);
554 fContext->clear(&rect, SkColor2GrColor(color), true, fRenderTarget);
566 fContext->drawPaint(grPaint);
598 fContext->drawVertices(grPaint,
629 if (!usePath && paint.isAntiAlias() && !fContext->getMatrix().rectStaysRect()) {
636 usePath = !fContext->getMatrix().preservesRightAngles();
658 fContext->drawRect(grPaint, rect);
661 fContext->drawRect(grPaint, rect, &stroke);
678 if (!usePath && !fContext->getMatrix().rectStaysRect()) {
695 fContext->drawRRect(grPaint, rect, stroke);
724 fContext->drawOval(grPaint, oval, stroke);
918 pathPtr->transform(fContext->getMatrix(), devPathPtr);
923 fContext->getMatrix(),
938 if (create_mask_GPU(fContext, maskRect, *devPathPtr, stroke,
954 if (draw_mask(fContext, maskRect, &grPaint, filtered)) {
966 draw_with_mask_filter(fContext, *devPathPtr, paint.getMaskFilter(),
971 fContext->drawPath(grPaint, *pathPtr, stroke);
1041 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect);
1051 if (GrIsBitmapInCache(fContext, bitmap, ¶ms)) {
1064 fContext->getTextureCacheLimits(NULL, &cacheSize);
1070 determine_clipped_src_rect(fContext, bitmap, srcRectPtr, clippedSrcRect);
1178 drawMatrix.setConcat(fContext->getMatrix(), newM);
1187 fContext->concatMatrix(m);
1211 if (fContext->getMatrix().getMinStretch() >= SK_Scalar1 &&
1237 int maxTileSize = fContext->getMaxTextureSize() - 2 * tileFilterPad;
1312 am.setPreConcat(fContext, tmpM);
1374 SkASSERT(bitmap.width() <= fContext->getMaxTextureSize() &&
1375 bitmap.height() <= fContext->getMaxTextureSize());
1399 if (needsTextureDomain && fContext->getMatrix().rectStaysRect()) {
1400 const SkMatrix& matrix = fContext->getMatrix();
1457 fContext->drawRectToRect(grPaint, dstRect, paintRect, NULL);
1502 if (filter_texture(this, fContext, texture, filter, w, h, matrix, &filteredBitmap,
1519 fContext->drawRectToRect(grPaint,
1591 if (filter_texture(this, fContext, devTex, filter, w, h, matrix, &filteredBitmap,
1620 fContext->drawRectToRect(grPaint, dstRect, srcRect);
1645 return filter_texture(this, fContext, texture, filter, src.width(), src.height(), ctm, result,
1696 fContext->drawVertices(grPaint,
1751 fDrawProcs->fContext = fContext;
1768 if (fContext->getMatrix().hasPerspective()) {
1781 GrBitmapTextContext context(fContext, grPaint, paint.getColor());
1786 GrDistanceFieldTextContext context(fContext, grPaint, paint.getColor(),
1804 if (fContext->getMatrix().hasPerspective()) {
1818 GrBitmapTextContext context(fContext, grPaint, paint.getColor());
1824 GrDistanceFieldTextContext context(fContext, grPaint, paint.getColor(),
1873 fContext->resolveRenderTarget(fRenderTarget);
1899 texture.reset(fContext->lockAndRefScratchTexture(desc, match));
1901 texture.reset(fContext->createUncachedTexture(desc, NULL, 0));
1904 return SkNEW_ARGS(SkGpuDevice,(fContext, texture, needClear));