HomeSort by relevance Sort by last modified time
    Searched full:savelayer (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /external/skia/src/core/
SkRecordOpts.h 19 // For some SaveLayer-[drawing command]-Restore patterns, merge the SaveLayer's alpha into the
20 // draw, and no-op the SaveLayer and Restore.
23 // For SVG generated SaveLayer-Save-ClipRect-SaveLayer-3xRestore patterns, merge
24 // the alpha of the first SaveLayer to the second SaveLayer.
SkLayerInfo.h 14 // This class stores information about the saveLayer/restore pairs found
18 // Information about a given saveLayer/restore block in an SkPicture
35 // If not-empty, the optional bounds parameter passed in to the saveLayer
51 // The index of this saveLayer in the picture.
55 // True if this saveLayer has at least one other saveLayer nested within it.
58 // True if this saveLayer is nested within another. False otherwise.
60 // The variable length key for this saveLayer block. It stores the
61 // thread of drawPicture and saveLayer operation indices that lead to this
62 // saveLayer (including its own op index). The BlockInfo owns this memory
    [all...]
SkRecordOpts.cpp 92 // We assume layerPaint is always from a saveLayer. If isSaveLayer is
108 // modulated with the paint color, so it's fine to proceed with the fold for saveLayer
152 Is<SaveLayer>,
174 // For some SaveLayer-[drawing command]-Restore patterns, merge the SaveLayer's alpha into the
175 // draw, and no-op the SaveLayer and Restore.
177 typedef Pattern<Is<SaveLayer>, IsDraw, Is<Restore>> Match;
180 if (match->first<SaveLayer>()->backdrop) {
185 // A SaveLayer's bounds field is just a hint, so we should be free to ignore it.
186 SkPaint* layerPaint = match->first<SaveLayer>()->paint
    [all...]
SkPictureContentInfo.h 80 // Did the current save or saveLayer contain another saveLayer.
85 // Stack of save vs saveLayer information to track nesting
  /external/skia/src/gpu/
GrRecordReplaceDraw.h 17 // Draw an SkPicture into an SkCanvas replacing saveLayer/restore blocks with
19 // It returns the number of saveLayer/restore blocks replaced with drawBitmap calls.
  /external/skia/tests/
RecordOptsTest.cpp 80 recorder.saveLayer(nullptr, nullptr);
88 assert_type<SkRecords::SaveLayer>(r, record, 1);
93 assert_type<SkRecords::SaveLayer>(r, record, 0);
112 assert_type<SkRecords::SaveLayer>(r, *record, i);
126 assert_type<SkRecords::SaveLayer>(r, *record, i);
148 // SaveLayer/Restore removed: No paint = no point.
149 recorder.saveLayer(nullptr, nullptr);
155 recorder.saveLayer(&bounds, nullptr);
163 recorder.saveLayer(nullptr, &translucentLayerPaint);
169 recorder.saveLayer(nullptr, &xfermodeLayerPaint)
    [all...]
QuickRejectTest.cpp 99 // Test that saveLayer updates quickReject
101 canvas.saveLayer(&bounds, nullptr);
RecorderTest.cpp 55 // We use SaveLayer to test:
67 recorder.saveLayer(&bounds, &paint);
  /external/skia/src/animator/
SkDrawSaveLayer.h 20 DECLARE_MEMBER_INFO(SaveLayer);
SkDrawSaveLayer.cpp 44 maker.fCanvas->saveLayer(&bounds->fRect, &realPaint);
47 maker.fCanvas->saveLayer(&bounds->fRect, save);
  /frameworks/base/libs/hwui/tests/common/scenes/
SaveLayerAnimation.cpp 22 "savelayer",
23 "A nested pair of clipped saveLayer operations. "
24 "Tests the clipped saveLayer codepath. Draws content into offscreen buffers and back again.",
45 // single unclipped saveLayer
  /external/skia/gm/
recordopts.cpp 54 // Draws an pattern that can be optimized by alpha folding outer savelayer alpha value to
62 canvas->saveLayer(&targetRect, &layerPaint);
70 // Draws an pattern that can be optimized by alpha folding outer savelayer alpha value to
90 canvas->saveLayer(&targetRect, &layerPaint);
97 // Draws an pattern that can be optimized by alpha folding outer savelayer alpha value to
98 // inner savelayer. We know that alpha folding happens to inner savelayer, so add detector there.
116 canvas->saveLayer(&targetRect, &layerPaint);
122 canvas->saveLayer(&targetRect, &drawPaint);
bigtileimagefilter.cpp 65 canvas->saveLayer(&bound, &p);
81 canvas->saveLayer(&bound2, &p2);
resizeimagefilter.cpp 47 canvas->saveLayer(&rect, &filteredPaint);
53 canvas->restore(); // for saveLayer
annotated_text.cpp 37 canvas->saveLayer(nullptr, nullptr);
imageblur.cpp 19 canvas->saveLayer(nullptr, &paint);
imagemagnifier.cpp 23 canvas->saveLayer(nullptr, &filterPaint);
imageresizetiled.cpp 33 canvas->saveLayer(nullptr, &paint);
plus.cpp 39 canvas->saveLayer(nullptr, nullptr);
  /external/skia/include/utils/
SkNoSaveLayerCanvas.h 14 // The NoSaveLayerCanvas is used to play back SkPictures when the saveLayer
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
LayersActivity.java 55 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
65 count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
82 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
99 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
QuickRejectActivity.java 73 count = canvas.saveLayer(0, 0, 10, 10, mBitmapPaint, Canvas.ALL_SAVE_FLAG);
74 Log.d("OpenGLRenderer", "count after saveLayer=" + count);
76 Log.d("OpenGLRenderer", "getSaveCount after saveLayer=" + count);
  /external/skia/samplecode/
SampleLayers.cpp 73 canvas->saveLayer(&r, nullptr);
77 canvas->saveLayer(&r, nullptr);
164 canvas->saveLayer(&r, &p);
182 canvas->saveLayer(&r, &p);
204 canvas->saveLayer(&r, &p);
286 canvas->saveLayer({ &bounds, &paint, fFilter, 0 });
SampleLayerMask.cpp 61 canvas->saveLayer(&r, nullptr);
  /external/skia/tools/
DumpRecord.cpp 58 void print(const SkRecords::SaveLayer& command, double ns) {
104 static const char* NameOf(const SkRecords::SaveLayer&) {

Completed in 206 milliseconds

1 2 3 4 5 6 7