Searched refs:fPicture (Results 1 - 25 of 55) sorted by relevance

123

/external/skia/dm/
H A DDMSKPTask.cpp9 : CpuTask(r, tr), fPicture(SkRef(pic)), fName(FileToTaskName(filename)) {}
13 AllocatePixels(kN32_SkColorType, fPicture->width(), fPicture->height(), &bitmap);
14 DrawPicture(fPicture, &bitmap);
17 (*this, fPicture, bitmap, RecordTask::kNoOptimize_Mode)));
19 (*this, fPicture, bitmap, RecordTask::kOptimize_Mode)));
H A DDMSKPTask.h24 SkAutoTUnref<SkPicture> fPicture; member in class:DM::SKPTask
H A DDMPDFTask.cpp39 , fPicture(SkRef(picture))
79 SinglePagePDF pdf(SkIntToScalar(fPicture->width()), SkIntToScalar(fPicture->height()));
80 fPicture->draw(pdf.canvas());
H A DDMPDFTask.h40 SkAutoTUnref<SkPicture> fPicture; member in class:DM::PDFTask
/external/chromium_org/third_party/skia/dm/
H A DDMSKPTask.cpp18 , fPicture(SkRef(pic))
22 const int width = SkTMin(SkScalarCeilToInt(fPicture->cullRect().width()), FLAGS_skpMaxWidth),
23 height = SkTMin(SkScalarCeilToInt(fPicture->cullRect().height()), FLAGS_skpMaxHeight);
26 DrawPicture(*fPicture, &bitmap);
H A DDMSKPTask.h24 SkAutoTUnref<const SkPicture> fPicture; member in class:DM::SKPTask
H A DDMPDFTask.cpp39 , fPicture(SkRef(picture))
80 SinglePagePDF pdf(fPicture->cullRect().width(), fPicture->cullRect().height());
82 fPicture->playback(pdf.canvas());
H A DDMPDFTask.h39 SkAutoTUnref<const SkPicture> fPicture; member in class:DM::PDFTask
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePdfFileViewer.cpp35 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array member in class:PdfFileViewer
53 fPicture = NULL;
57 SkSafeUnref(fPicture);
81 if (!fPicture) {
82 fPicture = LoadPdf(fFilename.c_str());
84 if (fPicture) {
85 canvas->drawPicture(*fPicture);
/external/skia/samplecode/
H A DSamplePdfFileViewer.cpp35 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array member in class:PdfFileViewer
53 fPicture = NULL;
57 SkSafeUnref(fPicture);
81 if (!fPicture) {
82 fPicture = LoadPdf(fFilename.c_str());
84 if (fPicture) {
85 canvas->drawPicture(*fPicture);
/external/skia/tools/
H A DPdfRenderer.cpp17 SkASSERT(NULL == fPicture);
19 if (fPicture != NULL || NULL != fCanvas.get()) {
28 fPicture = pict;
42 fPicture = NULL;
49 SkASSERT(fPicture != NULL);
50 if (NULL == fCanvas.get() || NULL == fPicture) {
54 fCanvas->drawPicture(fPicture);
H A DPdfRenderer.h38 : fPicture(NULL)
47 SkPicture* fPicture; member in class:sk_tools::PdfRenderer
H A DPictureRenderer.cpp58 SkASSERT(NULL == fPicture);
60 if (NULL != fPicture || NULL != fCanvas.get()) {
69 fPicture.reset(pict)->ref();
185 fPicture.reset(NULL);
190 SkASSERT(fPicture != NULL);
191 int width = SkScalarCeilToInt(fPicture->width() * fScaleFactor);
199 SkASSERT(fPicture != NULL);
200 int height = SkScalarCeilToInt(fPicture->height() * fScaleFactor);
207 /** Converts fPicture to a picture that uses a BBoxHierarchy.
212 SkASSERT(NULL != fPicture);
[all...]
/external/skia/src/effects/
H A DSkPictureImageFilter.cpp17 fPicture(picture),
20 SkSafeRef(fPicture);
25 fPicture(picture),
27 SkSafeRef(fPicture);
31 SkSafeUnref(fPicture);
36 fPicture(NULL) {
39 fPicture = SkPicture::CreateFromBuffer(buffer);
50 bool hasPicture = (fPicture != NULL);
53 fPicture->flatten(buffer);
63 if (!fPicture) {
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dpicture.cpp42 PictureGM() : fPicture(make_picture()) {}
59 canvas->drawPicture(fPicture);
62 canvas->drawPicture(fPicture, &matrix, NULL);
65 canvas->drawPicture(fPicture, &matrix, &paint);
69 canvas->drawPicture(fPicture, &matrix, &paint);
73 SkAutoTUnref<SkPicture> fPicture; member in class:PictureGM
H A Dpictureimagefilter.cpp36 fPicture.reset(recorder.endRecording());
60 SkAutoTUnref<SkImageFilter> pictureSource(SkPictureImageFilter::Create(fPicture));
61 SkAutoTUnref<SkImageFilter> pictureSourceSrcRect(SkPictureImageFilter::Create(fPicture, srcRect));
62 SkAutoTUnref<SkImageFilter> pictureSourceEmptyRect(SkPictureImageFilter::Create(fPicture, emptyRect));
88 SkAutoTUnref<SkPicture> fPicture; member in class:PictureImageFilterGM
/external/chromium_org/third_party/skia/src/effects/
H A DSkPictureImageFilter.cpp17 , fPicture(SkSafeRef(picture))
24 , fPicture(SkSafeRef(picture))
29 SkSafeUnref(fPicture);
35 fPicture(NULL) {
38 fPicture = SkPicture::CreateFromBuffer(buffer);
65 bool hasPicture = (fPicture != NULL);
68 fPicture->flatten(buffer);
78 if (!fPicture) {
106 canvas.drawPicture(fPicture);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPictureUtils.h21 SaveLayerInfo() : fPicture(NULL), fPaint(NULL) {}
22 ~SaveLayerInfo() { SkSafeUnref(fPicture); SkDELETE(fPaint); }
32 const SkPicture* fPicture; member in class:GrAccelData::SaveLayerInfo
H A DGrLayerHoister.h27 const SkPicture* fPicture; member in struct:GrLayerHoister::HoistedLayer
/external/chromium_org/third_party/skia/tools/
H A DPictureRenderer.cpp61 SkASSERT(NULL == fPicture);
63 if (fPicture || fCanvas.get()) {
72 fPicture.reset(pict)->ref();
189 fPicture.reset(NULL);
194 SkASSERT(fPicture != NULL);
195 int width = SkScalarCeilToInt(fPicture->cullRect().width() * fScaleFactor);
203 SkASSERT(fPicture != NULL);
204 int height = SkScalarCeilToInt(fPicture->cullRect().height() * fScaleFactor);
211 /** Converts fPicture to a picture that uses a BBoxHierarchy.
216 SkASSERT(fPicture);
[all...]
/external/skia/src/core/
H A DSkPictureShader.cpp24 , fPicture(SkRef(picture))
32 fPicture = SkPicture::CreateFromBuffer(buffer);
36 fPicture->unref();
52 fPicture->flatten(buffer);
56 SkASSERT(fPicture && fPicture->width() > 0 && fPicture->height() > 0);
71 SkSize scaledSize = SkSize::Make(scale.x() * fPicture->width(), scale.y() * fPicture->height());
79 SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fPicture
[all...]
/external/skia/gm/
H A Dpictureimagefilter.cpp35 fPicture.reset(recorder.endRecording());
59 SkAutoTUnref<SkImageFilter> pictureSource(SkPictureImageFilter::Create(fPicture));
60 SkAutoTUnref<SkImageFilter> pictureSourceSrcRect(SkPictureImageFilter::Create(fPicture, srcRect));
61 SkAutoTUnref<SkImageFilter> pictureSourceEmptyRect(SkPictureImageFilter::Create(fPicture, emptyRect));
87 SkAutoTUnref<SkPicture> fPicture; member in class:PictureImageFilterGM
/external/skia/src/gpu/
H A DGrPictureUtils.cpp34 fPicture = picture;
39 fInfo.fSaveLayerOpID = fPicture->EXPERIMENTAL_curOpID();
126 device->fInfo.fRestoreOpID = fPicture->EXPERIMENTAL_curOpID();
167 const SkPicture *fPicture; member in class:GrGatherDevice
193 return SkNEW_ARGS(GrGatherDevice, (info.width(), info.height(), fPicture,
220 , fPicture(pict) {
224 if (NULL == fPicture || 0 == fPicture->width() || 0 == fPicture->height()) {
228 this->clipRect(SkRect::MakeWH(SkIntToScalar(fPicture
263 const SkPicture* fPicture; member in class:GrGatherCanvas
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureShader.cpp24 , fPicture(SkRef(picture))
35 fPicture = SkPicture::CreateFromBuffer(buffer);
40 fPicture->unref();
67 fPicture->flatten(buffer);
71 SkASSERT(fPicture && !fPicture->cullRect().isEmpty());
118 canvas.drawPicture(fPicture);
203 fPicture ? fPicture->cullRect().fLeft : 0,
204 fPicture
[all...]
/external/chromium_org/third_party/skia/debugger/
H A DSkDebugger.h95 return NULL == fPicture ? SkRect::MakeEmpty() : fPicture->cullRect();
133 SkPicture* fPicture; member in class:SkDebugger

Completed in 345 milliseconds

123