Lines Matching defs:mode
61 inline GrPrimitiveType point_mode_to_primitive_type(SkCanvas::PointMode mode) {
62 switch (mode) {
70 SK_ABORT("Unexpected mode");
263 // Regions don't actually need AA, but in DMSAA mode every clip element is antialiased.
334 void Device::drawPoints(SkCanvas::PointMode mode,
347 if (paint.getPathEffect() && 2 == count && SkCanvas::kLines_PointMode == mode) {
378 draw.drawPoints(mode, count, pts, paint, this);
382 GrPrimitiveType primitiveType = point_mode_to_primitive_type(mode);
441 SkBlendMode mode) {
449 if (mode != SkBlendMode::kSrcOver) {
450 grPaint.setXPFactory(SkBlendMode_AsXPFactory(mode));
812 void Device::drawVertices(const SkVertices* vertices, SkBlendMode mode, const SkPaint& paint) {
821 this->asMatrixProvider(), mode, info.hasColors(), &grPaint)) {
855 SkBlendMode mode,
863 paint, this->asMatrixProvider(), mode, &grPaint)) {
921 bool Device::replaceBackingProxy(SkSurface::ContentChangeMode mode,
936 if (mode == SkSurface::kRetain_ContentChangeMode) {
1059 // Regions don't actually need AA, but in DMSAA mode everything is antialiased.