Home
last modified time | relevance | path

Searched refs:fResources (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/
DGrResourceCache2.cpp21 fResources.addToHead(resource); in insertResource()
30 fResources.remove(resource); in removeResource()
38 while (GrGpuResource* head = fResources.head()) { in abandonAll()
42 SkASSERT(head != fResources.head()); in abandonAll()
49 while (GrGpuResource* head = fResources.head()) { in releaseAll()
53 SkASSERT(head != fResources.head()); in releaseAll()
DGrResourceCache2.h38 return fResources.isInList(r); in isInCache()
54 SkTInternalLList<GrGpuResource> fResources; variable
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFResourceDict.cpp75 fResources.add(value); in insertResourceAsReference()
86 fResources.count()); in getReferencedResources()
88 for (int i = 0; i < fResources.count(); i++) { in getReferencedResources()
89 if (!knownResourceObjects.contains(fResources[i]) && in getReferencedResources()
90 !newResourceObjects->contains(fResources[i])) { in getReferencedResources()
91 newResourceObjects->add(fResources[i]); in getReferencedResources()
92 fResources[i]->ref(); in getReferencedResources()
94 fResources[i]->getResources(knownResourceObjects, in getReferencedResources()
DSkPDFFormXObject.cpp26 resourceDict->getReferencedResources(emptySet, &fResources, false); in SkPDFFormXObject()
54 resourceDict->getReferencedResources(emptySet, &fResources, false); in SkPDFFormXObject()
86 fResources.unrefAll(); in ~SkPDFFormXObject()
92 GetResourcesHelper(&fResources.toArray(), in getResources()
DSkPDFGraphicState.cpp63 fResources.unrefAll(); in ~SkPDFGraphicState()
69 GetResourcesHelper(&fResources, knownResourceObjects, newResourceObjects); in getResources()
156 result->fResources.push(sMask); in GetSMaskGraphicState()
161 result->fResources.push(invertFunction); in GetSMaskGraphicState()
DSkPDFShader.cpp509 fResources.unrefAll(); in ~SkPDFFunctionShader()
512 virtual bool isValid() { return fResources.count() > 0; } in isValid()
516 GetResourcesHelper(&fResources, in getResources()
524 SkTDArray<SkPDFObject*> fResources; member in SkPDFFunctionShader
572 fResources.unrefAll(); in ~SkPDFImageShader()
579 GetResourcesHelper(&fResources.toArray(), in getResources()
585 SkTSet<SkPDFObject*> fResources; member in SkPDFImageShader
946 fResources.push(function); // Pass ownership to resource list. in SkPDFFunctionShader()
1155 resourceDict->getReferencedResources(fResources, &fResources, false); in SkPDFImageShader()
DSkPDFFormXObject.h58 SkTSet<SkPDFObject*> fResources; variable
DSkPDFResourceDict.h95 SkTSet<SkPDFObject*> fResources; variable
DSkPDFImage.h78 SkTDArray<SkPDFObject*> fResources; variable
DSkPDFGraphicState.h78 SkTDArray<SkPDFObject*> fResources; variable
/external/skia/src/pdf/
DSkPDFResourceDict.cpp75 fResources.add(value); in insertResourceAsReference()
86 fResources.count()); in getReferencedResources()
88 for (int i = 0; i < fResources.count(); i++) { in getReferencedResources()
89 if (!knownResourceObjects.contains(fResources[i]) && in getReferencedResources()
90 !newResourceObjects->contains(fResources[i])) { in getReferencedResources()
91 newResourceObjects->add(fResources[i]); in getReferencedResources()
92 fResources[i]->ref(); in getReferencedResources()
94 fResources[i]->getResources(knownResourceObjects, in getReferencedResources()
DSkPDFFormXObject.cpp26 resourceDict->getReferencedResources(emptySet, &fResources, false); in SkPDFFormXObject()
54 resourceDict->getReferencedResources(emptySet, &fResources, false); in SkPDFFormXObject()
86 fResources.unrefAll(); in ~SkPDFFormXObject()
92 GetResourcesHelper(&fResources.toArray(), in getResources()
DSkPDFGraphicState.cpp63 fResources.unrefAll(); in ~SkPDFGraphicState()
69 GetResourcesHelper(&fResources, knownResourceObjects, newResourceObjects); in getResources()
155 result->fResources.push(sMask); in GetSMaskGraphicState()
160 result->fResources.push(invertFunction); in GetSMaskGraphicState()
DSkPDFShader.cpp509 fResources.unrefAll(); in ~SkPDFFunctionShader()
512 virtual bool isValid() { return fResources.count() > 0; } in isValid()
516 GetResourcesHelper(&fResources, in getResources()
524 SkTDArray<SkPDFObject*> fResources; member in SkPDFFunctionShader
572 fResources.unrefAll(); in ~SkPDFImageShader()
579 GetResourcesHelper(&fResources.toArray(), in getResources()
585 SkTSet<SkPDFObject*> fResources; member in SkPDFImageShader
946 fResources.push(function); // Pass ownership to resource list. in SkPDFFunctionShader()
1155 resourceDict->getReferencedResources(fResources, &fResources, false); in SkPDFImageShader()
DSkPDFFormXObject.h58 SkTSet<SkPDFObject*> fResources; variable
DSkPDFResourceDict.h95 SkTSet<SkPDFObject*> fResources; variable
DSkPDFImage.h67 SkTDArray<SkPDFObject*> fResources; variable
DSkPDFGraphicState.h78 SkTDArray<SkPDFObject*> fResources; variable
DSkPDFImage.cpp483 fResources.unrefAll(); in ~SkPDFImage()
487 fResources.push(mask); in addSMask()
495 GetResourcesHelper(&fResources, knownResourceObjects, newResourceObjects); in getResources()
/external/skia/experimental/PdfViewer/
DSkPdfGraphicsState.h97 SkPdfResourceDictionary* fResources; member
336 fResources = NULL; in SkPdfGraphicsState()
/external/chromium_org/third_party/skia/experimental/PdfViewer/
DSkPdfGraphicsState.h97 SkPdfResourceDictionary* fResources; member
336 fResources = NULL; in SkPdfGraphicsState()
/external/skia/tests/
DPDFPrimitivesTest.cpp27 for (int i = 0; i < fResources.count(); i++) { in getResources()
28 newResourceObjects->add(fResources[i]); in getResources()
29 fResources[i]->ref(); in getResources()
34 fResources.append(1, &object); in addResource()
38 SkTDArray<SkPDFObject*> fResources; member in SkPDFTestDict
/external/chromium_org/third_party/skia/tests/
DPDFPrimitivesTest.cpp28 for (int i = 0; i < fResources.count(); i++) { in getResources()
29 newResourceObjects->add(fResources[i]); in getResources()
30 fResources[i]->ref(); in getResources()
35 fResources.append(1, &object); in addResource()
39 SkTDArray<SkPDFObject*> fResources; member in SkPDFTestDict
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp690 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Form()
749 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Pattern()
888 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doPage()
890 if (!pdfContext->fGraphicsState.fResources) { in doPage()
1466 if (!pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)) { in skpdfGraphicsStateApplyFontCore()
1474 = pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)->get(fontName); in skpdfGraphicsStateApplyFontCore()
1629 = pdfContext->fGraphicsState.fResources->ColorSpace(pdfContext->fPdfDoc); in PdfOp_CS_cs()
1741 = pdfContext->fGraphicsState.fResources->Pattern(pdfContext->fPdfDoc); in PdfOp_SCN_scn()
2242 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc); in skpdfGraphicsStateApplySMask_name()
2246 pdfContext->fGraphicsState.fResources, pdfContext); in skpdfGraphicsStateApplySMask_name()
[all …]
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp690 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Form()
749 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doXObject_Pattern()
888 pdfContext->fGraphicsState.fResources = skobj->Resources(pdfContext->fPdfDoc); in doPage()
890 if (!pdfContext->fGraphicsState.fResources) { in doPage()
1466 if (!pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)) { in skpdfGraphicsStateApplyFontCore()
1474 = pdfContext->fGraphicsState.fResources->Font(pdfContext->fPdfDoc)->get(fontName); in skpdfGraphicsStateApplyFontCore()
1629 = pdfContext->fGraphicsState.fResources->ColorSpace(pdfContext->fPdfDoc); in PdfOp_CS_cs()
1741 = pdfContext->fGraphicsState.fResources->Pattern(pdfContext->fPdfDoc); in PdfOp_SCN_scn()
2242 = pdfContext->fGraphicsState.fResources->ExtGState(pdfContext->fPdfDoc); in skpdfGraphicsStateApplySMask_name()
2246 pdfContext->fGraphicsState.fResources, pdfContext); in skpdfGraphicsStateApplySMask_name()
[all …]

12