Home
last modified time | relevance | path

Searched refs:filterOperation (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DReferenceFilterBuilder.cpp47 …eference* ReferenceFilterBuilder::documentResourceReference(const FilterOperation* filterOperation) in documentResourceReference() argument
52 return documentResourceReferences->get(filterOperation); in documentResourceReference()
55 void ReferenceFilterBuilder::setDocumentResourceReference(const FilterOperation* filterOperation, P… in setDocumentResourceReference() argument
59 documentResourceReferences->add(filterOperation, documentResourceReference); in setDocumentResourceReference()
62 void ReferenceFilterBuilder::clearDocumentResourceReference(const FilterOperation* filterOperation) in clearDocumentResourceReference() argument
67 documentResourceReferences->remove(filterOperation); in clearDocumentResourceReference()
110 …derObject* renderer, FilterEffect* previousEffect, const ReferenceFilterOperation* filterOperation) in build() argument
117 … if (DocumentResourceReference* documentResourceRef = documentResourceReference(filterOperation)) { in build()
129 Element* filter = document->getElementById(filterOperation->fragment()); in build()
134 …document->accessSVGExtensions()->addPendingResource(filterOperation->fragment(), toElement(rendere… in build()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFilterEffectRenderer.cpp128 FilterOperation* filterOperation = operations.operations().at(i).get(); in build() local
129 switch (filterOperation->type()) { in build()
131 …rBuilder::build(this, renderer, previousEffect.get(), toReferenceFilterOperation(filterOperation)); in build()
136 …double oneMinusAmount = clampTo(1 - toBasicColorMatrixFilterOperation(filterOperation)->amount(), … in build()
163 …double oneMinusAmount = clampTo(1 - toBasicColorMatrixFilterOperation(filterOperation)->amount(), … in build()
190 …eters.append(narrowPrecisionToFloat(toBasicColorMatrixFilterOperation(filterOperation)->amount())); in build()
196 …eters.append(narrowPrecisionToFloat(toBasicColorMatrixFilterOperation(filterOperation)->amount())); in build()
201 …erOperation* componentTransferOperation = toBasicComponentTransferFilterOperation(filterOperation); in build()
218 …append(narrowPrecisionToFloat(toBasicComponentTransferFilterOperation(filterOperation)->amount())); in build()
228 …slope = narrowPrecisionToFloat(toBasicComponentTransferFilterOperation(filterOperation)->amount()); in build()
[all …]
DRenderLayerFilterInfo.cpp118 RefPtr<FilterOperation> filterOperation = operations.operations().at(i); in updateReferenceFilterClients() local
119 if (filterOperation->type() != FilterOperation::REFERENCE) in updateReferenceFilterClients()
121 …renceFilterOperation* referenceFilterOperation = toReferenceFilterOperation(filterOperation.get()); in updateReferenceFilterClients()
174 const FilterOperation* filterOperation = operations.at(i); in updateCustomFilterClients() local
175 if (filterOperation->type() != FilterOperation::CUSTOM) in updateCustomFilterClients()
177 RefPtr<CustomFilterProgram> program = toCustomFilterOperation(filterOperation)->program(); in updateCustomFilterClients()
DRenderLayer.cpp4054 FilterOperation* filterOperation = filters.operations().at(i).get(); in computeFilterOperations() local
4055 if (filterOperation->type() != FilterOperation::REFERENCE) in computeFilterOperations()
4057 … ReferenceFilterOperation* referenceOperation = toReferenceFilterOperation(filterOperation); in computeFilterOperations()
4080 RefPtr<FilterOperation> filterOperation = filters.operations().at(i); in computeFilterOperations() local
4081 if (filterOperation->type() == FilterOperation::CUSTOM) { in computeFilterOperations()
4084 … const CustomFilterOperation* customOperation = toCustomFilterOperation(filterOperation.get()); in computeFilterOperations()
4099 outputFilters.operations().append(filterOperation.release()); in computeFilterOperations()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFilterOperations.cpp126 FilterOperation* filterOperation = m_operations.at(i).get(); in outsets() local
127 switch (filterOperation->type()) { in outsets()
129 BlurFilterOperation* blurOperation = toBlurFilterOperation(filterOperation); in outsets()
137 … DropShadowFilterOperation* dropShadowOperation = toDropShadowFilterOperation(filterOperation); in outsets()
149 … ReferenceFilterOperation* referenceOperation = toReferenceFilterOperation(filterOperation); in outsets()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleResourceLoader.cpp63 RefPtr<FilterOperation> filterOperation = filterOperations.at(i); in loadPendingSVGDocuments() local
64 if (filterOperation->type() == FilterOperation::REFERENCE) { in loadPendingSVGDocuments()
65 … ReferenceFilterOperation* referenceFilter = toReferenceFilterOperation(filterOperation.get()); in loadPendingSVGDocuments()
217 RefPtr<FilterOperation> filterOperation = filterOperations.at(i); in loadPendingShaders() local
218 if (filterOperation->type() == FilterOperation::CUSTOM) { in loadPendingShaders()
219 CustomFilterOperation* customFilter = toCustomFilterOperation(filterOperation.get()); in loadPendingShaders()
DElementStyleResources.cpp94 void ElementStyleResources::addPendingSVGDocument(FilterOperation* filterOperation, CSSSVGDocumentV… in addPendingSVGDocument() argument
96 m_pendingSVGDocuments.set(filterOperation, cssSVGDocumentValue); in addPendingSVGDocument()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSComputedStyleDeclaration.cpp852 FilterOperation* filterOperation = (*it).get(); in valueForFilter() local
853 switch (filterOperation->type()) { in valueForFilter()
856 …rValue->append(cssValuePool().createValue(toReferenceFilterOperation(filterOperation)->url(), CSSP… in valueForFilter()
860 …>append(cssValuePool().createValue(toBasicColorMatrixFilterOperation(filterOperation)->amount(), C… in valueForFilter()
864 …>append(cssValuePool().createValue(toBasicColorMatrixFilterOperation(filterOperation)->amount(), C… in valueForFilter()
868 …>append(cssValuePool().createValue(toBasicColorMatrixFilterOperation(filterOperation)->amount(), C… in valueForFilter()
872 …>append(cssValuePool().createValue(toBasicColorMatrixFilterOperation(filterOperation)->amount(), C… in valueForFilter()
876 …d(cssValuePool().createValue(toBasicComponentTransferFilterOperation(filterOperation)->amount(), C… in valueForFilter()
880 …d(cssValuePool().createValue(toBasicComponentTransferFilterOperation(filterOperation)->amount(), C… in valueForFilter()
884 …d(cssValuePool().createValue(toBasicComponentTransferFilterOperation(filterOperation)->amount(), C… in valueForFilter()
[all …]