Home | History | Annotate | Download | only in gpu

Lines Matching full:drawcontext

28 static bool draw_mask(GrDrawContext* drawContext,
45 drawContext->fillRectWithLocalMatrix(clip, *grp, SkMatrix::I(), maskRect, inverse);
49 static bool sw_draw_with_mask_filter(GrDrawContext* drawContext,
92 return draw_mask(drawContext, clipData, viewMatrix, maskRect, grp, texture);
127 SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(mask->asRenderTarget()));
128 if (!drawContext) {
132 drawContext->clear(nullptr, 0x0, true);
145 drawContext->drawPath(clip, tempPaint, translate, devPath, strokeInfo);
150 GrDrawContext* drawContext,
162 clip.getConservativeBounds(drawContext->width(), drawContext->height(), &clipBounds);
211 drawContext,
227 drawContext->numColorSamples()));
234 if (draw_mask(drawContext, clip, viewMatrix, maskRect, paint, filtered)) {
246 sw_draw_with_mask_filter(drawContext, context->textureProvider(),
252 GrDrawContext* drawContext,
274 draw_path_with_mask_filter(context, drawContext, clip, paint, viewMatrix, mf, pathEffect,
279 GrDrawContext* drawContext,
343 draw_path_with_mask_filter(context, drawContext, clip, &grPaint, viewMatrix,
347 drawContext->drawPath(clip, grPaint, viewMatrix, *pathPtr, strokeInfo);