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

12 3 4 5 6 7

  /external/skia/src/gpu/
GrRecordReplaceDraw.cpp 118 // Same as Draw for all ops except DrawPicture and SaveLayer.
149 void operator()(const SkRecords::SaveLayer& sl) {
151 // For a saveLayer command, check if it can be replaced by a drawBitmap
202 // The op code indices of all the enclosing drawPicture and saveLayer calls
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
NopCanvas.java 55 public int saveLayer(RectF bounds, Paint paint, int saveFlags) {
60 public int saveLayer(RectF bounds, Paint paint) {
65 public int saveLayer(float left, float top, float right, float bottom, Paint paint,
71 public int saveLayer(float left, float top, float right, float bottom, Paint paint) {
  /external/skia/tests/
RecordDrawTest.cpp 203 // bounds for the saveLayer, clip, and restore to be greater than the bounds of the picture.
204 // (We were applying the saveLayer paint to the bounds after restore, which makes no sense.)
210 // bounds based on SaveLayer paints, so the drop shadow could be cut off.
215 recorder.saveLayer(nullptr, &paint);
224 // The saveLayer, clipRect, and restore bounds were incorrectly (0,0,70,50).
233 // When a saveLayer provides an explicit bound and has a complex paint (e.g., one that
244 recorder.saveLayer(&layerBounds, &p);
MatrixClipCollapseTest.cpp 26 // Body methods only directly emit draw ops and saveLayer/restore pairs but call
28 // be collapsed (i.e., draw ops, saveLayer/restore) they also generate the
29 // expected result information. Note: every saveLayer in a body method is
134 // saveLayer's have to handled apart from the other draw operations
462 // SaveLayer
477 // TODO: widen testing to exercise saveLayer's parameters
478 canvas->saveLayer(nullptr, nullptr);
496 // SaveLayer
498 // SaveLayer
515 // TODO: widen testing to exercise saveLayer's parameter
    [all...]
CanvasStateTest.cpp 116 canvas.saveLayer(SkCanvas::SaveLayerRec(&rect, paint.getMaybeNull(), flags[k]));
220 canvas.saveLayer(SkCanvas::SaveLayerRec(&layerBounds, &paint, flags[j]));
333 // Check that saveLayer without the kClipToLayer_SaveFlag leaves the
335 canvas.saveLayer(SkCanvas::SaveLayerRec(&bounds,
351 // Check that saveLayer with the kClipToLayer_SaveFlag sets the clip
353 canvas.saveLayer(&bounds, nullptr);
RecordReplaceDrawTest.cpp 100 canvas->saveLayer(nullptr, &paint);
136 int numLayers = count_instances_of_type<SkRecords::SaveLayer>(rerecord);
PictureTest.cpp 301 c->saveLayer(nullptr, &complexPaint);
309 // SaveLayer
312 // SaveLayer
314 // SaveLayer w/ bound
318 // SaveLayer w/ copyable paint
321 // SaveLayer
322 // DrawPicture (which has a SaveLayer/Restore pair)
325 // SaveLayer
326 // DrawPicture with Matrix & Paint (with SaveLayer/Restore pair)
336 c->saveLayer(nullptr, &complexPaint); // layer #
    [all...]
ImageFilterTest.cpp 565 recordingCanvas->saveLayer(&bounds, &paint);
684 canvas->saveLayer(nullptr, &filterPaint);
    [all...]
  /external/skia/gm/
lumafilter.cpp 41 canvas->saveLayer(&bounds, nullptr);
58 canvas->saveLayer(&bounds, &xferPaint);
blend.cpp 24 canvas->saveLayer(nullptr, nullptr);
complexclip_blur_tiled.cpp 54 tileCanvas->saveLayer(&rect, &blurPaint);
imageblur2.cpp 63 canvas->saveLayer(nullptr, &paint);
imageblurtiled.cpp 45 canvas->saveLayer(nullptr, &paint);
imagesource2.cpp 73 canvas->saveLayer(nullptr, &p);
matriximagefilter.cpp 18 canvas->saveLayer(&rect, &paint);
complexclip.cpp 22 ComplexClipGM(bool aaclip, bool saveLayer, bool invertDraw)
24 , fDoSaveLayer(saveLayer)
118 canvas->saveLayer(&bounds, nullptr);
xfermodes3.cpp 119 * We are trying to test those. We could use saveLayer() to create small SkGpuDevices but
120 * saveLayer() uses the texture cache. This means that the actual render target may be larger
147 canvas->saveLayer(&r, nullptr);
convexpolyclip.cpp 90 // When benchmarking the saveLayer set of draws is skipped.
172 canvas->saveLayer(&bounds, nullptr);
195 canvas->saveLayer(&bounds, nullptr);
imagealphathreshold.cpp 71 canvas->saveLayer(nullptr, &paint);
  /external/skia/src/core/
SkRecordDraw.cpp 81 DRAW(SaveLayer, saveLayer(SkCanvas::SaveLayerRec(r.bounds, r.paint, r.backdrop, r.saveLayerFlags)));
253 // Restore holds the devBounds for the clip after the {save,saveLayer}/restore block completes.
256 // paired saveLayer (if it is one); it has not yet been popped off the save stack. Our
257 // devBounds reflect the state of the world after the saveLayer/restore block is done,
258 // so they are not affected by the saveLayer's paint.
268 // We also take advantage of SaveLayer bounds when present to further cut the clip down.
269 void updateClipBounds(const SaveLayer& op) {
279 void trackBounds(const SaveLayer& op) { this->pushSaveBlock(op.paint); }
592 // SkRecord visitor to gather saveLayer/restore information
    [all...]
SkPictureCommon.h 65 static bool CheckPaint(const SkRecords::SaveLayer& op) {
69 // Shouldn't be any non-Draw non-SaveLayer ops with paints.
138 void operator()(const SkRecords::SaveLayer& op) {
SkRecordDraw.h 25 // where each saveLayer will land and which ops in the picture it represents.
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
NewLayersActivity.java 65 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint, saveFlags);
  /external/skia/src/pdf/
SkPDFFormXObject.cpp 66 // Right now SkPDFFormXObject is only used for saveLayer, which implies
  /frameworks/base/libs/hwui/tests/unit/
LeakCheckTests.cpp 39 // opaque draw, rejects saveLayer beneath

Completed in 1174 milliseconds

12 3 4 5 6 7