Searched refs:layerPaint (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkRecordOpts.cpp | 61 static bool fold_opacity_layer_color_to_paint(const SkPaint& layerPaint, in fold_opacity_layer_color_to_paint() argument 95 const uint32_t layerColor = layerPaint.getColor(); in fold_opacity_layer_color_to_paint() 102 if (layerPaint.getPathEffect() || in fold_opacity_layer_color_to_paint() 103 layerPaint.getShader() || in fold_opacity_layer_color_to_paint() 104 layerPaint.getXfermode() || in fold_opacity_layer_color_to_paint() 105 layerPaint.getMaskFilter() || in fold_opacity_layer_color_to_paint() 106 layerPaint.getColorFilter() || in fold_opacity_layer_color_to_paint() 107 layerPaint.getRasterizer() || in fold_opacity_layer_color_to_paint() 108 layerPaint.getLooper() || in fold_opacity_layer_color_to_paint() 109 layerPaint.getImageFilter()) { in fold_opacity_layer_color_to_paint() [all …]
|
/external/skia/gm/ |
D | recordopts.cpp | 60 SkPaint layerPaint; in draw_save_layer_draw_rect_restore_sequence() local 61 layerPaint.setColor(SkColorSetARGB(128, 0, 0, 0)); in draw_save_layer_draw_rect_restore_sequence() 62 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_rect_restore_sequence() 88 SkPaint layerPaint; in draw_save_layer_draw_bitmap_restore_sequence() local 89 layerPaint.setColor(SkColorSetARGB(129, 0, 0, 0)); in draw_save_layer_draw_bitmap_restore_sequence() 90 canvas->saveLayer(&targetRect, &layerPaint); in draw_save_layer_draw_bitmap_restore_sequence() 114 SkPaint layerPaint; in draw_svg_opacity_and_filter_layer_sequence() local 115 layerPaint.setColor(SkColorSetARGB(130, 0, 0, 0)); in draw_svg_opacity_and_filter_layer_sequence() 116 canvas->saveLayer(&targetRect, &layerPaint); in draw_svg_opacity_and_filter_layer_sequence()
|
D | fadefilter.cpp | 22 SkPaint layerPaint; variable 23 layerPaint.setImageFilter(filter); 24 canvas->drawRect(SkRect::MakeLTRB(64, 64, 192, 192), layerPaint);
|
/external/skia/tests/ |
D | LayerDrawLooperTest.cpp | 54 SkPaint* layerPaint = looperBuilder.addLayer(layerInfo); in test_frontToBack() local 55 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_frontToBack() 94 SkPaint* layerPaint = looperBuilder.addLayerOnTop(layerInfo); in test_backToFront() local 95 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_backToFront() 134 SkPaint* layerPaint = looperBuilder.addLayerOnTop(layerInfo); in test_mixed() local 135 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode); in test_mixed()
|
D | RecordingXfermodeTest.cpp | 44 SkPaint layerPaint; in draw() local 45 layerPaint.setColor(0xff000000); in draw() 46 layerPaint.setXfermodeMode(mode); in draw() 55 canvas->saveLayer(NULL, &layerPaint); in draw()
|
D | PictureTest.cpp | 342 SkPaint layerPaint; in test_savelayer_extraction() local 343 layerPaint.setColor(SK_ColorRED); // Non-alpha only to avoid SaveLayerDrawRestoreNooper in test_savelayer_extraction() 346 c->saveLayer(NULL, &layerPaint); // layer #4 in test_savelayer_extraction() 356 c->saveLayer(NULL, &layerPaint); // layer #6 in test_savelayer_extraction()
|
/external/skia/src/gpu/ |
D | GrLayerHoister.cpp | 244 SkDEBUGCODE(const SkPaint* layerPaint = layer->paint();) in DrawLayersToAtlas() 246 SkASSERT(!layerPaint || !layerPaint->getImageFilter()); in DrawLayersToAtlas()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 574 static bool not_supported_for_layers(const SkPaint& layerPaint) { in not_supported_for_layers() argument 582 return layerPaint.getImageFilter() != NULL; in not_supported_for_layers() 585 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice() argument 587 (layerPaint && not_supported_for_layers(*layerPaint))) { in onCreateDevice()
|
/external/skia/src/utils/ |
D | SkDeferredCanvas.cpp | 485 SkBaseDevice* SkDeferredDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice() argument 491 return immediateDevice()->onCreateDevice(cinfo, layerPaint); in onCreateDevice()
|