Home
last modified time | relevance | path

Searched refs:CropRect (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/include/effects/
DSkLightingImageFilter.h50 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
53 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
57 SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
60 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
63 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
67 SkScalar shininess, SkImageFilter* input = NULL, const CropRect* cropRect = NULL);
76 const CropRect* cropRect);
DSkMorphologyImageFilter.h33 const CropRect* cropRect);
56 const CropRect* cropRect = NULL) {
74 SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
84 const CropRect* cropRect = NULL) {
102 SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input, const CropRect* cropRect) in SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS()
DSkMergeImageFilter.h21 const CropRect* cropRect = NULL) {
28 const CropRect* cropRect = NULL) {
38 const CropRect* cropRect);
DSkColorFilterImageFilter.h19 const CropRect* cropRect = NULL);
36 const CropRect* cropRect);
DSkRectShaderImageFilter.h31 static SkRectShaderImageFilter* Create(SkShader* s, const CropRect* rect = NULL);
44 SkRectShaderImageFilter(SkShader* s, const CropRect* rect);
DSkOffsetImageFilter.h19 const CropRect* cropRect = NULL) {
30 SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect* cropRect);
DSkXfermodeImageFilter.h28 const CropRect* cropRect = NULL) {
49 const CropRect* cropRect);
DSkBlurImageFilter.h19 const CropRect* cropRect = NULL) {
32 const CropRect* cropRect);
DSkDropShadowImageFilter.h27 const CropRect* cropRect = NULL) {
38 ShadowMode shadowMode, SkImageFilter* input, const CropRect* cropRect);
DSkDisplacementMapEffect.h30 const CropRect* cropRect = NULL);
56 const CropRect* cropRect);
DSkMatrixConvolutionImageFilter.h63 const CropRect* cropRect = NULL);
77 const CropRect* cropRect);
/external/skia/include/core/
DSkImageFilter.h36 class CropRect { in SK_DECLARE_INST_COUNT()
45 CropRect() {} in SK_DECLARE_INST_COUNT()
46 …explicit CropRect(const SkRect& rect, uint32_t flags = kHasAll_CropEdge) : fRect(rect), fFlags(fla… in SK_DECLARE_INST_COUNT()
236 const CropRect& cropRect() const { return fCropRect; } in SK_DEFINE_FLATTENABLE_TYPE()
249 CropRect fCropRect; in SK_DEFINE_FLATTENABLE_TYPE()
256 SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect = NULL);
351 CropRect fCropRect;
/external/skia/src/effects/
DSkRectShaderImageFilter.cpp18 uint32_t flags = CropRect::kHasAll_CropEdge; in Create()
22 CropRect cropRect(rect, flags); in Create()
26 SkRectShaderImageFilter* SkRectShaderImageFilter::Create(SkShader* s, const CropRect* cropRect) { in Create()
31 SkRectShaderImageFilter::SkRectShaderImageFilter(SkShader* s, const CropRect* cropRect) in SkRectShaderImageFilter()
DSkColorFilterImageFilter.cpp19 SkImageFilter* input, const CropRect* cropRect) { in Create()
39 SkImageFilter* input, const CropRect* cropRect) in SkColorFilterImageFilter()
/external/skia/src/core/
DSkImageFilter.cpp107 fCropRect = CropRect(rect, flags); in unflatten()
117 SkImageFilter::SkImageFilter(int inputCount, SkImageFilter** inputs, const CropRect* cropRect) in SkImageFilter()
121 fCropRect(cropRect ? *cropRect : CropRect(SkRect(), 0x0)), in SkImageFilter()
298 if (flags & CropRect::kHasLeft_CropEdge) srcBounds.fLeft = cropRectI.fLeft; in applyCropRect()
299 if (flags & CropRect::kHasTop_CropEdge) srcBounds.fTop = cropRectI.fTop; in applyCropRect()
300 if (flags & CropRect::kHasRight_CropEdge) srcBounds.fRight = cropRectI.fRight; in applyCropRect()
301 if (flags & CropRect::kHasBottom_CropEdge) srcBounds.fBottom = cropRectI.fBottom; in applyCropRect()
319 if (flags & CropRect::kHasLeft_CropEdge) bounds->fLeft = cropRectI.fLeft; in applyCropRect()
320 if (flags & CropRect::kHasTop_CropEdge) bounds->fTop = cropRectI.fTop; in applyCropRect()
321 if (flags & CropRect::kHasRight_CropEdge) bounds->fRight = cropRectI.fRight; in applyCropRect()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c204 const GLfloat s0 = obj->CropRect[0] / wt; in st_DrawTex()
205 const GLfloat t0 = obj->CropRect[1] / ht; in st_DrawTex()
206 const GLfloat s1 = (obj->CropRect[0] + obj->CropRect[2]) / wt; in st_DrawTex()
207 const GLfloat t1 = (obj->CropRect[1] + obj->CropRect[3]) / ht; in st_DrawTex()
/external/skia/gm/
Dimagefilterscropexpand.cpp97 SkImageFilter::CropRect crop_rect( in onDraw()
99 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
129 SkImageFilter::CropRect big_rect(rect, SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
Ddropshadowimagefilter.cpp122 SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), in onDraw()
123 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
124 SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), in onDraw()
125 SkImageFilter::CropRect::kHasAll_CropEdge); in onDraw()
Dimagefilterscropped.cpp144 …SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), SkImageFilter::C… in onDraw()
145 …SkImageFilter::CropRect bogusRect(SkRect::Make(SkIRect::MakeXYWH(-100, -100, 10, 10)), SkImageFilt… in onDraw()
Dlighting.cpp89 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65)); in onDraw()
90 SkImageFilter::CropRect fullSizeCropRect(SkRect::MakeXYWH(0, 0, 100, 100)); in onDraw()
95 … const SkImageFilter::CropRect* cr = (i == 1) ? &cropRect : (i == 2) ? &fullSizeCropRect : NULL; in onDraw()
Dmorphology.cpp72 SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80)); in onDraw()
76 const SkImageFilter::CropRect* cr = j & 0x02 ? &cropRect : NULL; in onDraw()
Dmatrixconvolution.cpp52 const SkImageFilter::CropRect* cropRect = NULL) { in draw()
96 SkImageFilter::CropRect rect(SkRect::MakeXYWH(10, 5, 60, 60)); in onDraw()
Doffsetimagefilter.cpp89 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
101 SkImageFilter::CropRect rect(SkRect::Make(cropRect)); in onDraw()
Dimagefiltersgraph.cpp195 SkImageFilter::CropRect cropRect(SkRect::MakeWH(SkIntToScalar(95), SkIntToScalar(100))); in onDraw()
210 SkImageFilter::CropRect outerRect(SkRect::MakeXYWH(SkIntToScalar(10), SkIntToScalar(10), in onDraw()
212 SkImageFilter::CropRect innerRect(SkRect::MakeXYWH(SkIntToScalar(20), SkIntToScalar(20), in onDraw()
/external/mesa3d/src/mesa/main/
Dtexparam.c436 texObj->CropRect[0] = params[0]; in set_tex_parameteri()
437 texObj->CropRect[1] = params[1]; in set_tex_parameteri()
438 texObj->CropRect[2] = params[2]; in set_tex_parameteri()
439 texObj->CropRect[3] = params[3]; in set_tex_parameteri()
1406 params[0] = obj->CropRect[0]; in _mesa_GetTexParameterfv()
1407 params[1] = obj->CropRect[1]; in _mesa_GetTexParameterfv()
1408 params[2] = obj->CropRect[2]; in _mesa_GetTexParameterfv()
1409 params[3] = obj->CropRect[3]; in _mesa_GetTexParameterfv()
1587 params[0] = obj->CropRect[0]; in _mesa_GetTexParameteriv()
1588 params[1] = obj->CropRect[1]; in _mesa_GetTexParameteriv()
[all …]

12