Lines Matching refs:href
10 class <a href='SkImage_Reference#SkImage'>SkImage</a> : public <a href='undocumented#SkRefCnt'>SkRe…
12 typedef void* <a href='#SkImage_ReleaseContext'>ReleaseContext</a>;
14 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
15 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
18 …typedef void (*<a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a>)(const void* pixels, <a …
20 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
21 … <a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a> rasterReleaseProc,
22 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext);
23 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
24 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
25 … const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* subset = nullptr);
26 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
28 …typedef void (*<a href='#SkImage_TextureReleaseProc'>TextureReleaseProc</a>)(<a href='#SkImage_Rel…
30 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
31 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
32 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin,
33 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType…
34 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
35 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
36 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
37 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
38 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin,
39 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType…
40 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
41 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
42 … <a href='#SkImage_TextureReleaseProc'>TextureReleaseProc</a> textureReleaseProc,
43 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext);
44 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
45 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
47 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
48 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
50 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
51 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
52 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin,
53 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType…
54 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
55 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
56 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
57 … <a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace,
58 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvaTextures[],
59 … const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4],
60 … <a href='undocumented#SkISize'>SkISize</a> imageSize,
61 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
62 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
63 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a …
64 <a href='undocumented#GrContext'>GrContext</a>* context,
65 <a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace,
66 const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvaTextures[],
67 const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4],
68 <a href='undocumented#SkISize'>SkISize</a> imageSize,
69 <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
70 const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
71 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
72 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
73 … <a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace,
74 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvaTextures[],
75 … const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4],
76 <a href='undocumented#SkISize'>SkISize</a> imageSize,
77 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
78 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
79 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a …
80 … href='undocumented#GrContext'>GrContext</a>* context, <a href='SkImageInfo_Reference#SkYUVColorSp…
81 …const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkI…
83 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
84 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
85 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
86 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
87 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
88 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a …
89 …<a href='undocumented#GrContext'>GrContext</a>* context, <a href='SkImageInfo_Reference#SkYUVColor…
90 …const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3], <a href='undocu…
91 …const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture, <a href='undoc…
92 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
93 … <a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace,
94 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> nv12Textures[2],
95 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
96 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
97 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a …
98 <a href='undocumented#GrContext'>GrContext</a>* context,
99 <a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace,
100 const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> nv12Textures[2],
101 <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
102 const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
103 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
105 enum class <a href='#SkImage_BitDepth'>BitDepth</a> {
110 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
111 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* <a href='SkMatrix_Reference#Matrix'>matrix</a>, c…
112 <a href='#SkImage_BitDepth'>BitDepth</a> bitDepth,
113 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
114 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a …
116 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
117 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
118 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin = <a href='undocumented#k…
119 int <a href='#SkImage_width'>width()</a> const;
120 int <a href='#SkImage_height'>height()</a> const;
121 <a href='undocumented#SkISize'>SkISize</a> <a href='#SkImage_dimensions'>dimensions()</a> const;
122 <a href='SkIRect_Reference#SkIRect'>SkIRect</a> <a href='#SkImage_bounds'>bounds()</a> const;
123 uint32_t <a href='#SkImage_uniqueID'>uniqueID</a>() const;
124 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
125 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType…
126 …<a href='undocumented#SkColorSpace'>SkColorSpace</a>* <a href='#SkImage_colorSpace'>colorSpace</a>…
127 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> <a hr…
128 bool <a href='#SkImage_isAlphaOnly'>isAlphaOnly</a>() const;
129 bool <a href='#SkImage_isOpaque'>isOpaque</a>() const;
130 …href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href='#SkImag…
131 … const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* localMatrix = nullptr) const;
132 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href='#SkI…
133 …bool <a href='#SkImage_peekPixels'>peekPixels</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap</…
134 bool <a href='#SkImage_isTextureBacked'>isTextureBacked</a>() const;
135 …bool <a href='#SkImage_isValid'>isValid</a>(<a href='undocumented#GrContext'>GrContext</a>* contex…
136 …<a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkImage_getBackendTexture'>…
137 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a>* origin = nullptr) const;
139 enum <a href='#SkImage_CachingHint'>CachingHint</a> {
140 <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a>,
141 <a href='#SkImage_kDisallow_CachingHint'>kDisallow_CachingHint</a>,
144 …bool <a href='#SkImage_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInfo…
145 …int srcX, int srcY, <a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage…
146 …bool <a href='#SkImage_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPi…
147 …<a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAllow_CachingHint'…
148 …bool <a href='#SkImage_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>Sk…
149 …<a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAllow_CachingHint'…
150 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#SkImage…
151 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#SkImage…
152 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#SkImage…
153 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
154 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
155 …<a href='undocumented#GrMipMapped'>GrMipMapped</a> mipMapped = <a href='undocumented#GrMipMapped'>…
156 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
157 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
158 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
159 …const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIR…
160 <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>* offset) const;
162 …typedef std::function<void(<a href='undocumented#GrBackendTexture'>GrBackendTexture</a>)> <a href=…
164 …static bool <a href='#SkImage_MakeBackendTextureFromSkImage'>MakeBackendTextureFromSkImage</a>(<a …
165 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='S…
166 … <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>* backendTexture,
167 …<a href='#SkImage_BackendTextureReleaseProc'>BackendTextureReleaseProc</a>* backendTextureReleaseP…
168 bool <a href='#SkImage_isLazyGenerated'>isLazyGenerated</a>() const;
169 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkI…
174 <a href='SkImage_Reference#Image'>Image</a> describes a two dimensional array of pixels to draw. Th…
175 …href='#Raster_Bitmap'>Raster_Bitmap</a>, encoded in a <a href='SkPicture_Reference#Picture'>Pictur…
176 or located in GPU memory as a <a href='#GPU_Texture'>GPU_Texture</a>.
178 <a href='SkImage_Reference#Image'>Image</a> cannot be modified after it is created. <a href='SkImag…
179 storage as needed; for instance, an encoded <a href='SkImage_Reference#Image'>Image</a> may decode …
181 <a href='SkImage_Reference#Image'>Image</a> width and height are greater than zero. Creating an <a …
182 or height returns <a href='SkImage_Reference#Image'>Image</a> equal to nullptr.
184 …href='SkImage_Reference#Image'>Image</a> may be created from <a href='SkBitmap_Reference#Bitmap'>B…
185 <a href='#GPU_Texture'>GPU_Texture</a>, <a href='#Image_Info_YUV_ColorSpace'>YUV_ColorSpace</a> <a …
191 <a href='#Image_Raster_Image'>Raster_Image</a> pixels are decoded in a <a href='#Raster_Bitmap'>Ras…
193 if <a href='SkImage_Reference#Image'>Image</a> has been copied internally.
197 <a href='#Image_Texture_Image'>Texture_Image</a> are located on GPU and pixels are not accessible. …
198 are allocated optimally for best performance. <a href='#Image_Raster_Image'>Raster_Image</a> may
199 be drawn to <a href='#GPU_Surface'>GPU_Surface</a>, but pixels are uploaded from CPU to GPU downgra…
204 <a href='#Image_Lazy_Image'>Lazy_Image</a> defer allocating buffer for <a href='SkImage_Reference#I…
205 <a href='SkImage_Reference#Image'>Image</a> is drawn. <a href='#Image_Lazy_Image'>Lazy_Image</a> ca…
213 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
216 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</…
217 pixels may be modified or deleted without affecting <a href='SkImage_Reference#SkImage'>SkImage</a>.
219 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='SkPixmap_Reference#SkPixmap…
222 …href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAlph…
224 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
229 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, <a href='undocumented#Pixel'>pixe…
235 copy of <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> pixels, or nullptr
239 …by five <a href='SkBitmap_Reference#Bitmap'>bitmap</a>, and draw a copy in an <a href='SkImage_Ref…
240 … <a href='SkBitmap_Reference#Bitmap_Draw'>bitmap draw</a>, but does not alter the <a href='SkImage…
246 <a href='#SkImage_MakeRasterData'>MakeRasterData</a> <a href='#SkImage_MakeFromGenerator'>MakeFromG…
253 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
256 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='SkImageInfo_Reference#SkImage…
258 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='SkImageInfo_Reference#SkIma…
261 …href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAlph…
262 <a href='#SkImage_MakeRasterData_rowBytes'>rowBytes</a> are large enough to hold one row of <a href…
263 <a href='#SkImage_MakeRasterData_pixels'>pixels</a> is not nullptr, and contains enough <a href='un…
268 …, height, <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, <a href='SkImageInfo_Refere…
271 <td>address or <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
274 …<td><a href='undocumented#Size'>size</a> of <a href='undocumented#Pixel'>pixel</a> row or larger</…
280 <a href='SkImage_Reference#SkImage'>SkImage</a> sharing <a href='#SkImage_MakeRasterData_pixels'>pi…
288 <a href='#SkImage_MakeRasterCopy'>MakeRasterCopy</a> <a href='#SkImage_MakeFromGenerator'>MakeFromG…
295 typedef void* <a href='#SkImage_ReleaseContext'>ReleaseContext</a>;
298 Caller <a href='undocumented#Data'>data</a> passed to <a href='#SkImage_RasterReleaseProc'>RasterRe…
302 <a href='#SkImage_MakeFromRaster'>MakeFromRaster</a> <a href='#SkImage_RasterReleaseProc'>RasterRel…
309 …typedef void (*<a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a>)(const void* pixels, <a …
312 Function called when <a href='SkImage_Reference#Image'>Image</a> no longer shares pixels. <a href='…
313 provided by caller when <a href='SkImage_Reference#Image'>Image</a> is created, and may be nullptr.
317 <a href='#SkImage_ReleaseContext'>ReleaseContext</a> <a href='#SkImage_MakeFromRaster'>MakeFromRast…
324 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
325 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext)
328 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromRaster_pixma…
329 unchanged until <a href='#SkImage_MakeFromRaster_rasterReleaseProc'>rasterReleaseProc</a> is called…
330 …href='#SkImage_MakeFromRaster_releaseContext'>releaseContext</a> when <a href='SkImage_Reference#S…
332 Pass nullptr for <a href='#SkImage_MakeFromRaster_rasterReleaseProc'>rasterReleaseProc</a> to share…
333 …href='SkImage_Reference#SkImage'>SkImage</a> is released. Pass nullptr for <a href='#SkImage_MakeF…
336 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='#SkImage_MakeFromRaster_pix…
339 …href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAlph…
341 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
346 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, <a href='undocumented#Pixel'>pixe…
352 …<td>state passed to <a href='#SkImage_MakeFromRaster_rasterReleaseProc'>rasterReleaseProc</a>; or …
358 <a href='SkImage_Reference#SkImage'>SkImage</a> sharing <a href='#SkImage_MakeFromRaster_pixmap'>pi…
375 …href='#SkImage_MakeRasterCopy'>MakeRasterCopy</a> <a href='#SkImage_MakeRasterData'>MakeRasterData…
382 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
385 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromBitmap_bitmap'>bitmap<…
386 is marked immutable, and its <a href='undocumented#Pixel'>pixel</a> memory is shareable, it may be …
389 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='#SkImage_MakeFromBitmap_bit…
392 …href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAlph…
394 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
399 <td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, row bytes, and pixels</td>
405 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
409 …a77c2841bfbc0ef707"><div>The first <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> is shared; writi…
410 <a href='SkImage_Reference#Image'>Image</a>.
411 The second <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> is marked immutable, and is copied; writi…
412 memory does not alter the second <a href='SkImage_Reference#Image'>Image</a>.
417 …href='#SkImage_MakeFromRaster'>MakeFromRaster</a> <a href='#SkImage_MakeRasterCopy'>MakeRasterCopy…
424 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
425 … const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* subset = nullptr)
428 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#Data'>data</a> returned by…
431 <a href='#SkImage_MakeFromGenerator_subset'>subset</a> allows selecting a portion of the full <a hr…
432 <a href='SkImage_Reference#Image'>image</a>; otherwise, <a href='#SkImage_MakeFromGenerator_subset'…
434 …href='SkImage_Reference#SkImage'>SkImage</a> is returned if generator <a href='undocumented#Data'>…
437 …href='#SkImage_MakeFromGenerator_imageGenerator'>imageGenerator</a> may wrap <a href='SkPicture_Re…
442 <td>stock or custom routines to retrieve <a href='SkImage_Reference#SkImage'>SkImage</a></td>
445 <td>bounds of returned <a href='SkImage_Reference#SkImage'>SkImage</a>; may be nullptr</td>
451 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
455 …rator returning <a href='SkPicture_Reference#Picture'>Picture</a> cannot be shared; std::move tran…
460 <a href='#SkImage_MakeFromEncoded'>MakeFromEncoded</a>
467 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
470 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromEncoded_enco…
471 <a href='#SkImage_MakeFromEncoded_subset'>subset</a> allows selecting a portion of the full <a href…
472 <a href='SkImage_Reference#Image'>image</a>; otherwise, <a href='#SkImage_MakeFromEncoded_subset'>s…
474 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of the <a href='#SkImage_Make…
480 …<td><a href='undocumented#Data'>data</a> of <a href='SkImage_Reference#SkImage'>SkImage</a> to dec…
483 <td>bounds of returned <a href='SkImage_Reference#SkImage'>SkImage</a>; may be nullptr</td>
489 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
497 <a href='#SkImage_MakeFromGenerator'>MakeFromGenerator</a>
504 …typedef void (*<a href='#SkImage_TextureReleaseProc'>TextureReleaseProc</a>)(<a href='#SkImage_Rel…
507 User function called when supplied <a href='undocumented#Texture'>texture</a> may be deleted.
511 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a>
518 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
519 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, <a href='SkImageInfo_Reference#…
520 …href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType</a…
523 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#GPU_Texture'>GP…
524 managing the lifetime of <a href='undocumented#GPU_Texture'>GPU texture</a>.
526 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeFrom…
532 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
535 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
538 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
545 …href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo_R…
546 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, <a href='SkImage…
547 <a href='SkImageInfo_Reference#kRGB_888x_SkColorType'>kRGB_888x_SkColorType</a>, <a href='SkImageIn…
548 <a href='SkImageInfo_Reference#kRGBA_1010102_SkColorType'>kRGBA_1010102_SkColorType</a>, <a href='S…
549 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, <a href='SkImageInfo_R…
558 …href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo_R…
559 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
570 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
574 <div><fiddle-embed name="94e9296c53bad074bf2a48ff885dac13" gpu="true"><div>A back-end <a href='undo…
579 <a href='#SkImage_MakeFromAdoptedTexture'>MakeFromAdoptedTexture</a> <a href='SkSurface_Reference#S…
586 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
587 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, <a href='SkImageInfo_Reference#…
588 …href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType</a…
589 … <a href='#SkImage_TextureReleaseProc'>TextureReleaseProc</a> textureReleaseProc,
590 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext)
593 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#GPU_Texture'>GPU texture<…
594 valid and unchanged until <a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleasePro…
595 …href='#SkImage_MakeFromTexture_2_releaseContext'>releaseContext</a> when <a href='SkImage_Referenc…
597 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeFrom…
603 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
606 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
609 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
616 <a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo…
617 <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>, <a href='SkImageInfo…
618 <a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a>, <a href='SkImage…
619 <a href='SkImageInfo_Reference#kBGRA_8888_SkColorType'>kBGRA_8888_SkColorType</a>, <a href='SkImage…
620 <a href='SkImageInfo_Reference#kRGB_101010x_SkColorType'>kRGB_101010x_SkColorType</a>, <a href='SkI…
621 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a>
630 …href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo_R…
631 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
639 <td>function called when <a href='undocumented#Texture'>texture</a> can be released</td>
642 …<td>state passed to <a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleaseProc</a>…
648 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
652 …" gpu="true"><div><a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleaseProc</a> m…
653 <a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleaseProc</a> has no effect on the…
658 <a href='#SkImage_MakeFromAdoptedTexture'>MakeFromAdoptedTexture</a> <a href='SkSurface_Reference#S…
665 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
666 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
670 …href='SkImage_Reference#SkImage'>SkImage</a> from encoded <a href='#SkImage_MakeCrossContextFromEn…
672 Created <a href='SkImage_Reference#SkImage'>SkImage</a> is available to other GPU contexts, and is …
673 boundaries. All contexts must be in the same <a href='undocumented#GPU_Share_Group'>GPU share gro…
676 …href='SkImage_Reference#SkImage'>SkImage</a> is no longer referenced, <a href='#SkImage_MakeCrossC…
679 …href='undocumented#GrBackendTexture'>GrBackendTexture</a> decoded from <a href='#SkImage_MakeCross…
680 …href='#SkImage_MakeCrossContextFromEncoded_dstColorSpace'>dstColorSpace</a>. <a href='undocumented…
682 …href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeCrossC…
685 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned using <a href='#SkImage_MakeFromEncoded…
691 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
694 <td><a href='SkImage_Reference#SkImage'>SkImage</a> to decode</td>
697 …<td>create <a href='SkImage_Reference#SkImage'>SkImage</a> as <a href='undocumented#Mip_Map'>mip …
700 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
703 …<td>downscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Tex…
709 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
717 <a href='#SkImage_MakeCrossContextFromPixmap'>MakeCrossContextFromPixmap</a>
724 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
725 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
729 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeCrossContextFromPixmap_pix…
731 Created <a href='SkImage_Reference#SkImage'>SkImage</a> is available to other GPU contexts, and is …
732 boundaries. All contexts must be in the same <a href='undocumented#GPU_Share_Group'>GPU share gro…
735 …href='SkImage_Reference#SkImage'>SkImage</a> is no longer referenced, <a href='#SkImage_MakeCrossC…
738 …href='undocumented#GrBackendTexture'>GrBackendTexture</a> created from <a href='#SkImage_MakeCross…
739 …href='#SkImage_MakeCrossContextFromPixmap_dstColorSpace'>dstColorSpace</a>. <a href='undocumented#…
741 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned referring to GPU back-end if <a href='#…
742 format of <a href='undocumented#Data'>data</a> is recognized and supported, and if <a href='#SkImag…
743 …href='#SkImage_MakeCrossContextFromPixmap_pixmap'>pixmap</a> <a href='undocumented#Pixel'>pixel</a…
750 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
753 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, <a href='undocumented#Pixel'>pixe…
756 …<td>create <a href='SkImage_Reference#SkImage'>SkImage</a> as <a href='undocumented#Mip_Map'>mip …
759 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
762 …<td>downscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Tex…
768 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
776 <a href='#SkImage_MakeCrossContextFromEncoded'>MakeCrossContextFromEncoded</a>
783 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
784 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
785 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin, <a href='SkImageInfo_Ref…
786 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
787 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
790 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromAdoptedTexture_backend…
791 returned <a href='SkImage_Reference#SkImage'>SkImage</a> are managed internally, and are released w…
793 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeFrom…
799 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
802 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
805 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
812 <a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo…
813 <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>, <a href='SkImageInfo…
814 <a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a>, <a href='SkImage…
815 <a href='SkImageInfo_Reference#kBGRA_8888_SkColorType'>kBGRA_8888_SkColorType</a>, <a href='SkImage…
816 <a href='SkImageInfo_Reference#kRGB_101010x_SkColorType'>kRGB_101010x_SkColorType</a>, <a href='SkI…
817 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a>
826 …href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo_R…
827 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
838 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
846 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a> <a href='#SkImage_MakeFromYUVTexturesCopy'>M…
853 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
854 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvaTextures[],
855 …const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkI…
856 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
857 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
860 Creates an <a href='SkImage_Reference#SkImage'>SkImage</a> by flattening the specified YUVA planes …
861 <a href='SkImage_Reference#Image'>image</a>.
866 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
873 <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
874 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
888 …<td>array indicating which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFro…
892 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
897 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
900 …<td>origin of the resulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocume…
904 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
909 …<td>range of colors of the resulting <a href='SkImage_Reference#Image'>image</a>; may be nullptr</…
915 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
919 <a href='#SkImage_MakeFromYUVATexturesCopyWithExternalBackend'>MakeFromYUVATexturesCopyWithExternal…
926 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
927 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvaTextures[],
928 …const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkI…
929 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
930 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
933 Creates an <a href='SkImage_Reference#SkImage'>SkImage</a> by storing the specified YUVA planes int…
939 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
946 <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
947 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
961 …<td>array indicating which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFro…
965 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
970 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
973 …<td>origin of the resulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocume…
977 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
982 …<td>range of colors of the resulting <a href='SkImage_Reference#Image'>image</a>; may be nullptr</…
988 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
992 <a href='#SkImage_MakeFromYUVATexturesCopy'>MakeFromYUVATexturesCopy</a> <a href='#SkImage_MakeFrom…
999 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>>…
1000 <a href='#SkImage_MakeFromYUVAPixmaps'>MakeFromYUVAPixmaps</a>(
1001 … <a href='undocumented#GrContext'>GrContext</a>* context,
1002 …<a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace, const <a href='…
1003 …const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkI…
1005 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1008 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='SkPixmap_Reference#Pixmap'>pi…
1009 <a href='SkImage_Reference#SkImage'>SkImage</a> is uploaded to GPU back-end using <a href='#SkImage…
1011 …href='undocumented#GrBackendTexture'>GrBackendTexture</a> created from <a href='#SkImage_MakeFromY…
1012 …href='undocumented#SkColorSpace'>SkColorSpace</a> of <a href='SkPixmap_Reference#SkPixmap'>SkPixma…
1014 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned referring to GPU back-end if <a href='#…
1015 format of <a href='undocumented#Data'>data</a> is recognized and supported. Otherwise, nullptr is r…
1021 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1028 <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1029 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1034 …<td>array of (up to four) <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> which contain the,</t…
1043 …<td>array indicating which <a href='SkPixmap_Reference#Pixmap'>pixmap</a> in <a href='#SkImage_Mak…
1047 in that <a href='SkPixmap_Reference#Pixmap'>pixmap</a>, maps to each component of YUVA.
1052 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
1055 <td>origin of the resulting <a href='SkImage_Reference#Image'>image</a>. One of:</td>
1059 <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
1064 <td>create internal YUVA textures as <a href='undocumented#Mip_Map'>mip map</a> if true</td>
1067 …<td>downscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Tex…
1070 …<td>range of colors of the resulting <a href='SkImage_Reference#Image'>image</a>; may be nullptr</…
1076 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1080 <a href='#SkImage_MakeFromYUVATextures'>MakeFromYUVATextures</a>
1087 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>>…
1088 <a href='undocumented#GrContext'>GrContext</a>* context,
1089 …<a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace, const <a href='…
1090 …const <a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkI…
1091 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin, const <a href='undocumente…
1092 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1095 Creates an <a href='SkImage_Reference#SkImage'>SkImage</a> by flattening the specified YUVA planes …
1096 <a href='SkImage_Reference#Image'>image</a>. '<a href='#SkImage_MakeFromYUVATexturesCopyWithExterna…
1101 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1108 <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1109 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1123 …<td>array indicating which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFro…
1127 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
1132 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
1135 …<td>origin of the resulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocume…
1139 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
1147 …<td>range of colors of the resulting <a href='SkImage_Reference#Image'>image</a>; may be nullptr</…
1153 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1157 <a href='#SkImage_MakeFromYUVATexturesCopy'>MakeFromYUVATexturesCopy</a> <a href='#SkImage_MakeFrom…
1164 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
1165 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> yuvTextures[3],
1166 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
1167 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1174 …href='#SkImage_MakeFromYUVTexturesCopyWithExternalBackend'>MakeFromYUVTexturesCopyWithExternalBack…
1181 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>>…
1182 <a href='undocumented#GrContext'>GrContext</a>* context,
1183 …<a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace, const <a href='…
1184 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin, const <a href='undocumente…
1185 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1192 …a href='#SkImage_MakeFromYUVTexturesCopy'>MakeFromYUVTexturesCopy</a> <a href='#SkImage_MakeFromNV…
1199 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
1200 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> nv12Textures[2],
1201 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin,
1202 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1205 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from copy of <a href='#SkImage_MakeFromNV12…
1206 <a href='#SkImage_MakeFromNV12TexturesCopy_nv12Textures'>nv12Textures</a>[0] contains pixels for …
1207 <a href='#SkImage_MakeFromNV12TexturesCopy_nv12Textures'>nv12Textures</a>[1] contains pixels for …
1208 followed by pixels for <a href='undocumented#YUV_Component_V'>YUV component v</a> plane.
1209 Returned <a href='SkImage_Reference#SkImage'>SkImage</a> has the dimensions <a href='#SkImage_MakeF…
1210 <a href='#SkImage_MakeFromNV12TexturesCopy_yuvColorSpace'>yuvColorSpace</a> describes how YUV color…
1215 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1218 …<td>one of: <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a hr…
1222 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1230 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
1239 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1243 …href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend'>MakeFromNV12TexturesCopyWithExternalBa…
1250 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>>…
1251 <a href='undocumented#GrContext'>GrContext</a>* context,
1252 …<a href='SkImageInfo_Reference#SkYUVColorSpace'>SkYUVColorSpace</a> yuvColorSpace, const <a href='…
1253 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> imageOrigin, const <a href='undocumente…
1254 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1257 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from copy of <a href='#SkImage_MakeFromNV12…
1258 <a href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend_nv12Textures'>nv12Textures</a>[0] con…
1259 <a href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend_nv12Textures'>nv12Textures</a>[1] con…
1260 followed by pixels for <a href='undocumented#YUV_Component_V'>YUV component v</a> plane.
1261 …href='SkImage_Reference#SkImage'>SkImage</a> has the dimensions <a href='#SkImage_MakeFromNV12Text…
1262 <a href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend_yuvColorSpace'>yuvColorSpace</a> desc…
1267 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1270 …<td>one of: <a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a hr…
1274 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1282 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
1294 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1298 …a href='#SkImage_MakeFromNV12TexturesCopy'>MakeFromNV12TexturesCopy</a> <a href='#SkImage_MakeFrom…
1305 enum class <a href='#SkImage_BitDepth'>BitDepth</a> {
1306 <a href='#SkImage_BitDepth_kU8'>kU8</a>,
1307 <a href='#SkImage_BitDepth_kF16'>kF16</a>,
1329 Use 16 bits per ARGB component using half-precision floating <a href='SkPoint_Reference#Point'>poin…
1336 <a href='#SkImage_MakeFromPicture'>MakeFromPicture</a>
1343 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
1344 …href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* <a href='SkMatrix_Reference#Matrix'>matrix</a>, c…
1345 …href='#SkImage_BitDepth'>BitDepth</a> bitDepth, <a href='undocumented#sk_sp'>sk_sp</a><<a href=…
1348 …href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromPicture_picture'>pictu…
1349 …href='SkImage_Reference#SkImage'>SkImage</a> draws <a href='#SkImage_MakeFromPicture_picture'>pict…
1351 … <a href='#SkImage_MakeFromPicture_matrix'>matrix</a> is nullptr, draws with identity <a href='SkM…
1352 with default <a href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='#SkImage_MakeFromPicture_col…
1357 <td><a href='SkStream_Reference#Stream'>stream</a> of drawing commands</td>
1363 …<td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate, scale, translate, and so on; may…
1366 …<td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to apply transparency, filtering, and so on; m…
1378 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1386 <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawPicture'>drawPicture</a>
1393 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>>…
1395 …<a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType…
1396 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1397 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin = <a href='undocumented#k…
1401 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> from Android hardware buffer.
1402 Returned <a href='SkImage_Reference#SkImage'>SkImage</a> takes a reference on the buffer.
1416 …href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo_R…
1417 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
1425 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
1431 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1435 <a href='#SkImage_MakeFromRaster'>MakeFromRaster</a>
1444 int <a href='#SkImage_width'>width()</a>const
1447 Returns <a href='undocumented#Pixel'>pixel</a> count in each row.
1451 <a href='undocumented#Pixel'>pixel</a> width in <a href='SkImage_Reference#SkImage'>SkImage</a>
1459 <a href='#SkImage_dimensions'>dimensions()</a> <a href='#SkImage_height'>height()</a>
1466 int <a href='#SkImage_height'>height()</a>const
1469 Returns <a href='undocumented#Pixel'>pixel</a> row count.
1473 <a href='undocumented#Pixel'>pixel</a> height in <a href='SkImage_Reference#SkImage'>SkImage</a>
1481 <a href='#SkImage_dimensions'>dimensions()</a> <a href='#SkImage_width'>width()</a>
1488 <a href='undocumented#SkISize'>SkISize</a> <a href='#SkImage_dimensions'>dimensions()</a>const
1491 Returns <a href='undocumented#SkISize'>SkISize</a> { <a href='#SkImage_width'>width()</a>, <a href=…
1495 integral <a href='undocumented#Size'>size</a> of <a href='#SkImage_width'>width()</a> and <a href='…
1511 <a href='#SkImage_height'>height()</a> <a href='#SkImage_width'>width()</a> <a href='#SkImage_bound…
1518 <a href='SkIRect_Reference#SkIRect'>SkIRect</a> <a href='#SkImage_bounds'>bounds()</a>const
1521 Returns <a href='SkIRect_Reference#SkIRect'>SkIRect</a> { 0, 0, <a href='#SkImage_width'>width()</a…
1525 integral rectangle from origin to <a href='#SkImage_width'>width()</a> and <a href='#SkImage_height…
1533 <a href='#SkImage_dimensions'>dimensions()</a>
1540 uint32_t <a href='#SkImage_uniqueID'>uniqueID</a>()const
1543 …unique to <a href='SkImage_Reference#Image'>image</a>. <a href='SkImage_Reference#SkImage'>SkImage…
1544 created. Any operation to create a new <a href='SkImage_Reference#SkImage'>SkImage</a> will receive…
1557 <a href='#SkImage_isLazyGenerated'>isLazyGenerated</a>
1564 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType<…
1567 …href='#Image_Info_Alpha_Type'>Alpha_Type</a>, one of: <a href='SkImageInfo_Reference#kUnknown_SkAl…
1568 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
1571 <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> returned was a parameter to an <a href='SkImage_Ref…
1572 or was parsed from encoded <a href='undocumented#Data'>data</a>.
1576 <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> in <a href='SkImage_Reference#Image'>Image</a>
1584 <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>::<a href='#SkImageInfo_alphaType'>alpha…
1591 <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType<…
1594 Returns <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> if known; otherwise, returns <a…
1598 <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> of <a href='SkImage_Reference#SkImage'>…
1606 <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>::<a href='#SkImageInfo_colorType'>color…
1613 <a href='undocumented#SkColorSpace'>SkColorSpace</a>* <a href='#SkImage_colorSpace'>colorSpace</a>(…
1616 Returns <a href='undocumented#SkColorSpace'>SkColorSpace</a>, the range of colors, associated with …
1617 reference count of <a href='undocumented#SkColorSpace'>SkColorSpace</a> is unchanged. The returned …
1620 <a href='undocumented#SkColorSpace'>SkColorSpace</a> returned was passed to an <a href='SkImage_Ref…
1621 …om encoded <a href='undocumented#Data'>data</a>. <a href='undocumented#SkColorSpace'>SkColorSpace<…
1622 is drawn, depending on the capabilities of the <a href='SkSurface_Reference#SkSurface'>SkSurface</a…
1626 <a href='undocumented#SkColorSpace'>SkColorSpace</a> in <a href='SkImage_Reference#SkImage'>SkImage…
1634 <a href='#SkImage_refColorSpace'>refColorSpace</a> <a href='#SkImage_makeColorSpace'>makeColorSpace…
1641 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> …
1644 Returns a smart pointer to <a href='undocumented#SkColorSpace'>SkColorSpace</a>, the range of color…
1645 <a href='SkImage_Reference#SkImage'>SkImage</a>. The smart pointer tracks the number of objects sh…
1646 <a href='undocumented#SkColorSpace'>SkColorSpace</a> reference so the memory is released when the o…
1648 The returned <a href='undocumented#SkColorSpace'>SkColorSpace</a> is immutable.
1650 <a href='undocumented#SkColorSpace'>SkColorSpace</a> returned was passed to an <a href='SkImage_Ref…
1651 …om encoded <a href='undocumented#Data'>data</a>. <a href='undocumented#SkColorSpace'>SkColorSpace<…
1652 is drawn, depending on the capabilities of the <a href='SkSurface_Reference#SkSurface'>SkSurface</a…
1656 <a href='undocumented#SkColorSpace'>SkColorSpace</a> in <a href='SkImage_Reference#SkImage'>SkImage…
1664 <a href='#SkImage_colorSpace'>colorSpace</a> <a href='#SkImage_makeColorSpace'>makeColorSpace</a>
1671 bool <a href='#SkImage_isAlphaOnly'>isAlphaOnly</a>()const
1674 Returns true if <a href='SkImage_Reference#SkImage'>SkImage</a> pixels represent transparency only.…
1675 is packed in 8 bits as defined by <a href='SkImageInfo_Reference#kAlpha_8_SkColorType'>kAlpha_8_SkC…
1695 <a href='#SkImage_alphaType'>alphaType</a> <a href='#SkImage_isOpaque'>isOpaque</a>
1702 bool <a href='#SkImage_isOpaque'>isOpaque</a>()const
1705 Returns true if pixels ignore their <a href='SkColor_Reference#Alpha'>alpha</a> value and are treat…
1709 true if <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> is <a href='SkImageInfo_Referen…
1726 <a href='#SkImage_alphaType'>alphaType</a> <a href='#SkImage_isAlphaOnly'>isAlphaOnly</a>
1733 …href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href='#…
1734 … const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* localMatrix = nullptr)const
1737 …href='undocumented#SkShader'>SkShader</a> from <a href='SkImage_Reference#SkImage'>SkImage</a>. <a…
1738 …href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_TileMode'>TileMode</a> rules to fill…
1739 transforming <a href='SkImage_Reference#SkImage'>SkImage</a> before <a href='SkCanvas_Reference#SkC…
1744 …<td>tiling on x-axis, one of: <a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kCl…
1748 …href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kRepeat_TileMode'>kRepeat_TileMode</…
1753 …<td>tiling on y-axis, one of: <a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kCl…
1757 …href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kRepeat_TileMode'>kRepeat_TileMode</…
1762 <td><a href='SkImage_Reference#SkImage'>SkImage</a> transformation, or nullptr</td>
1768 <a href='undocumented#SkShader'>SkShader</a> containing <a href='SkImage_Reference#SkImage'>SkImage…
1776 <a href='#SkImage_scalePixels'>scalePixels</a>
1783 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href=…
1786 …href='undocumented#SkShader'>SkShader</a> from <a href='SkImage_Reference#SkImage'>SkImage</a>. <a…
1787 …href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kClamp_TileMode'>kClamp_TileMode</a>…
1788 transforming <a href='SkImage_Reference#SkImage'>SkImage</a> before <a href='SkCanvas_Reference#SkC…
1793 <td><a href='SkImage_Reference#SkImage'>SkImage</a> transformation, or nullptr</td>
1799 <a href='undocumented#SkShader'>SkShader</a> containing <a href='SkImage_Reference#SkImage'>SkImage…
1807 <a href='#SkImage_scalePixels'>scalePixels</a>
1816 bool <a href='#SkImage_peekPixels'>peekPixels</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a…
1819 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#Pixel'>pixel</a> address, row b…
1820 is available, and returns true. If <a href='undocumented#Pixel'>pixel</a> address is not available,…
1821 false and leave <a href='#SkImage_peekPixels_pixmap'>pixmap</a> unchanged.
1826 …<td>storage for <a href='undocumented#Pixel'>pixel</a> state if pixels are readable; otherwise, ig…
1832 true if <a href='SkImage_Reference#SkImage'>SkImage</a> has direct access to pixels
1858 <a href='#SkImage_readPixels'>readPixels</a>
1865 bool <a href='#SkImage_isTextureBacked'>isTextureBacked</a>()const
1868 Returns true the contents of <a href='SkImage_Reference#SkImage'>SkImage</a> was created on or uplo…
1869 and is available as a GPU <a href='undocumented#Texture'>texture</a>.
1873 true if <a href='SkImage_Reference#SkImage'>SkImage</a> is a GPU <a href='undocumented#Texture'>tex…
1881 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a> <a href='#SkImage_isValid'>isValid</a>
1888 bool <a href='#SkImage_isValid'>isValid</a>(<a href='undocumented#GrContext'>GrContext</a>* context…
1891 …e if <a href='SkImage_Reference#SkImage'>SkImage</a> can be drawn on either <a href='undocumented…
1892 If <a href='#SkImage_isValid_context'>context</a> is nullptr, tests if <a href='SkImage_Reference#S…
1893 …tests if <a href='SkImage_Reference#SkImage'>SkImage</a> draws on <a href='undocumented#GPU_Surfa…
1895 <a href='SkImage_Reference#SkImage'>SkImage</a> backed by <a href='undocumented#GPU_Texture'>GPU t…
1896 invalid. <a href='#Lazy_Image'>lazy image</a> may be invalid and may not draw to <a href='undocum…
1897 <a href='undocumented#GPU_Surface'>GPU surface</a> or both.
1902 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1908 true if <a href='SkImage_Reference#SkImage'>SkImage</a> can be drawn
1916 <a href='#SkImage_isTextureBacked'>isTextureBacked</a> <a href='#SkImage_isLazyGenerated'>isLazyGen…
1923 …href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkImage_getBackendTexture'>get…
1926 …es the back-end <a href='undocumented#Texture'>texture</a>. If <a href='SkImage_Reference#SkImage'…
1927 object is returned. Call <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>::<a href='#Gr…
1930 If <a href='#SkImage_getBackendTexture_flushPendingGrContextIO'>flushPendingGrContextIO</a> is true…
1932 If <a href='#SkImage_getBackendTexture_origin'>origin</a> in not nullptr, copies location of conten…
1940 …<td>storage for one of: <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</…
1944 <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>; or nullptr
1948 back-end API <a href='undocumented#Texture'>texture</a> handle; invalid on failure
1956 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a> <a href='#SkImage_isTextureBacked'>isTexture…
1963 enum <a href='#SkImage_CachingHint'>CachingHint</a> {
1964 <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a>,
1965 <a href='#SkImage_kDisallow_CachingHint'>kDisallow_CachingHint</a>,
1970 <a href='#SkImage_CachingHint'>CachingHint</a> selects whether Skia may internally cache <a href='S…
1971 decoding <a href='SkImage_Reference#Image'>Image</a>, or by copying <a href='SkImage_Reference#Imag…
1972 allows caching <a href='SkBitmap_Reference#Bitmap'>Bitmaps</a>.
1974 Choose <a href='#SkImage_kDisallow_CachingHint'>kDisallow_CachingHint</a> if <a href='SkImage_Refer…
1975 if <a href='SkImage_Reference#Image'>Image</a> pixels reside in a cache outside of Skia, or to redu…
1977 Choosing <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a> does not ensure that pixels w…
1978 <a href='SkImage_Reference#Image'>Image</a> pixels may not be cached if memory requirements are too…
2003 <a href='#SkImage_readPixels'>readPixels</a> <a href='#SkImage_scalePixels'>scalePixels</a>
2010 bool <a href='#SkImage_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInfo'…
2011 …<a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAllow_CachingHint'…
2014 …href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkImage_Reference#Image'>Image</a> t…
2015 and does not exceed <a href='SkImage_Reference#Image'>Image</a> (<a href='#SkImage_width'>width()</…
2017 …href='#SkImage_readPixels_dstInfo'>dstInfo</a> specifies width, height, <a href='#Image_Info_Color…
2018 destination. <a href='#SkImage_readPixels_dstRowBytes'>dstRowBytes</a> specifics the gap from one d…
2022 <td><a href='#SkImage_readPixels_dstInfo'>dstInfo</a> has no address</td>
2024 …<td><a href='#SkImage_readPixels_dstRowBytes'>dstRowBytes</a> is less than <a href='#SkImage_readP…
2026 <td><a href='#Pixel_Ref'>Pixel_Ref</a> is nullptr</td>
2030 … copied only if <a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage…
2031 …href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInfo_…
2032 …href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Color_Type'>Color_Type</a> is <a hre…
2033 …href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> is <a hre…
2034 …a href='SkImage_Reference#Image'>Image</a> <a href='#Color_Space'>Color_Space</a> is nullptr, <a h…
2035 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
2037 <a href='#SkImage_readPixels_srcX'>srcX</a> and <a href='#SkImage_readPixels_srcY'>srcY</a> may be …
2038 false if <a href='#SkImage_width'>width()</a> or <a href='#SkImage_height'>height()</a> is zero or …
2039 …href='undocumented#abs()'>abs</a>(<a href='#SkImage_readPixels_srcX'>srcX</a>) >= <a href='SkImage…
2041 If <a href='#SkImage_readPixels_cachingHint'>cachingHint</a> is <a href='#SkImage_kAllow_CachingHin…
2042 If <a href='#SkImage_readPixels_cachingHint'>cachingHint</a> is <a href='#SkImage_kDisallow_Caching…
2047 …nation width, height, <a href='#Image_Info_Color_Type'>Color_Type</a>, <a href='#Image_Info_Alpha_…
2050 <td>destination <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
2056 <td>column index whose absolute value is less than <a href='#SkImage_width'>width()</a></td>
2059 <td>row index whose absolute value is less than <a href='#SkImage_height'>height()</a></td>
2062 …<td>one of: <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a>, <a href='#SkImage_kDisal…
2068 true if pixels are copied to <a href='#SkImage_readPixels_dstPixels'>dstPixels</a>
2076 …href='#SkImage_scalePixels'>scalePixels</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a…
2083 …href='#SkImage_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a>…
2086 …href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkImage_Reference#Image'>Image</a> t…
2087 does not exceed <a href='SkImage_Reference#Image'>Image</a> (<a href='#SkImage_width'>width()</a>, …
2089 …href='#SkImage_readPixels_2_dst'>dst</a> specifies width, height, <a href='#Image_Info_Color_Type'…
2090 and row bytes of destination. <a href='#SkImage_readPixels_2_dst'>dst</a>.<a href='#SkPixmap_rowByt…
2094 …<td><a href='#SkImage_readPixels_2_dst'>dst</a> <a href='undocumented#Pixel_Storage'>pixel storag…
2096 …href='#SkImage_readPixels_2_dst'>dst</a>.<a href='#SkPixmap_rowBytes'>rowBytes</a>() is less than …
2098 <td><a href='#Pixel_Ref'>Pixel_Ref</a> is nullptr</td>
2102 … copied only if <a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage…
2103 …href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInfo_…
2104 …href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Color_Type'>Color_Type</a> is <a hre…
2105 …href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> is <a hre…
2106 …f <a href='SkImage_Reference#Image'>Image</a> <a href='#Color_Space'>Color_Space</a> is nullptr, <…
2107 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
2109 <a href='#SkImage_readPixels_2_srcX'>srcX</a> and <a href='#SkImage_readPixels_2_srcY'>srcY</a> may…
2110 false if <a href='#SkImage_width'>width()</a> or <a href='#SkImage_height'>height()</a> is zero or …
2111 …href='undocumented#abs()'>abs</a>(<a href='#SkImage_readPixels_2_srcX'>srcX</a>) >= <a href='SkIma…
2113 If <a href='#SkImage_readPixels_2_cachingHint'>cachingHint</a> is <a href='#SkImage_kAllow_CachingH…
2114 If <a href='#SkImage_readPixels_2_cachingHint'>cachingHint</a> is <a href='#SkImage_kDisallow_Cachi…
2119 …<td>destination <a href='SkPixmap_Reference#Pixmap'>Pixmap</a>: <a href='#Image_Info'>Image_Info</…
2122 <td>column index whose absolute value is less than <a href='#SkImage_width'>width()</a></td>
2125 <td>row index whose absolute value is less than <a href='#SkImage_height'>height()</a></td>
2128 …<td>one of: <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a>, <a href='#SkImage_kDisal…
2134 true if pixels are copied to <a href='#SkImage_readPixels_2_dst'>dst</a>
2142 …href='#SkImage_scalePixels'>scalePixels</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::<a…
2149 bool <a href='#SkImage_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkP…
2150 …<a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAllow_CachingHint'…
2153 …href='SkImage_Reference#SkImage'>SkImage</a> to <a href='#SkImage_scalePixels_dst'>dst</a>, scalin…
2154 …ch <a href='#SkImage_scalePixels_dst'>dst</a>.<a href='#SkPixmap_colorType'>colorType</a>() and <a…
2155 …if <a href='#SkImage_scalePixels_dst'>dst</a>.<a href='#SkPixmap_addr'>addr()</a> is nullptr, or <…
2156 less than <a href='#SkImage_scalePixels_dst'>dst</a> <a href='SkImageInfo_Reference#SkImageInfo'>Sk…
2158 …opied only if <a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage_R…
2159 …href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInfo_…
2160 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='SkImageInfo_Reference#SkColorType'>SkColorTy…
2161 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaTy…
2162 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#SkColorSpace'>SkColorSpace</a> …
2163 false if <a href='undocumented#Pixel'>pixel</a> conversion is not possible.
2165 …href='SkImage_Reference#Image'>image</a>, with <a href='#SkImage_scalePixels_filterQuality'>filter…
2166 <a href='#SkImage_scalePixels_filterQuality'>filterQuality</a> <a href='undocumented#kNone_SkFilter…
2167 <a href='undocumented#Nearest_Neighbor'>nearest neighbor filter</a>. <a href='undocumented#kLow_SkF…
2168 <a href='undocumented#Bilerp'>bilerp filter</a>. <a href='undocumented#kMedium_SkFilterQuality'>kMe…
2169 <a href='undocumented#Bilerp'>bilerp filter</a>, and <a href='undocumented#MipMap'>mip-map filter<…
2170 <a href='undocumented#kHigh_SkFilterQuality'>kHigh_SkFilterQuality</a> is slowest, typically implem…
2172 If <a href='#SkImage_scalePixels_cachingHint'>cachingHint</a> is <a href='#SkImage_kAllow_CachingHi…
2173 If <a href='#SkImage_scalePixels_cachingHint'>cachingHint</a> is <a href='#SkImage_kDisallow_Cachin…
2178 …<td>destination <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a>: <a href='SkImageInfo_Reference…
2181 …<td>one of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undoc…
2185 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
2190 …<td>one of: <a href='#SkImage_kAllow_CachingHint'>kAllow_CachingHint</a>, <a href='#SkImage_kDisal…
2196 true if pixels are scaled to fit <a href='#SkImage_scalePixels_dst'>dst</a>
2204 …href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImage'>drawImage</a> <a hr…
2211 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#Sk…
2214 Encodes <a href='SkImage_Reference#SkImage'>SkImage</a> pixels, returning result as <a href='undocu…
2216 Returns nullptr if encoding fails, or if <a href='#SkImage_encodeToData_encodedImageFormat'>encoded…
2218 <a href='SkImage_Reference#SkImage'>SkImage</a> encoding in a format requires both building with on…
2222 If SK_BUILD_FOR_MAC or SK_BUILD_FOR_IOS is defined, <a href='#SkImage_encodeToData_encodedImageForm…
2223 …href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageFormat_…
2224 <a href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageForma…
2226 <a href='#SkImage_encodeToData_quality'>quality</a> is a platform and format specific metric tradin…
2227 error. When used, <a href='#SkImage_encodeToData_quality'>quality</a> equaling 100 encodes with the…
2233 …href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageFormat_…
2237 <a href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageForma…
2248 encoded <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2256 <a href='#SkImage_refEncodedData'>refEncodedData</a> <a href='#SkImage_MakeFromEncoded'>MakeFromEnc…
2263 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#Sk…
2266 …<a href='SkImage_Reference#SkImage'>SkImage</a> pixels, returning result as <a href='undocumented#…
2267 …se, <a href='SkImage_Reference#SkImage'>SkImage</a> is encoded with <a href='undocumented#SkEncode…
2268 must be built with SK_HAS_PNG_LIBRARY to encode <a href='SkImage_Reference#SkImage'>SkImage</a>.
2270 Returns nullptr if existing encoded <a href='undocumented#Data'>data</a> is missing or invalid, and
2275 encoded <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2283 <a href='#SkImage_refEncodedData'>refEncodedData</a> <a href='#SkImage_MakeFromEncoded'>MakeFromEnc…
2290 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#Sk…
2293 Returns encoded <a href='SkImage_Reference#SkImage'>SkImage</a> pixels as <a href='undocumented#SkD…
2294 encoded <a href='SkStream_Reference#Stream'>stream</a> format. Platform support for formats vary an…
2297 Returns nullptr if <a href='SkImage_Reference#SkImage'>SkImage</a> contents are not encoded.
2301 encoded <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2309 <a href='#SkImage_encodeToData'>encodeToData</a> <a href='#SkImage_MakeFromEncoded'>MakeFromEncoded…
2318 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2321 …href='#SkImage_makeSubset_subset'>subset</a> of <a href='SkImage_Reference#SkImage'>SkImage</a>. <…
2324 Returns nullptr if <a href='#SkImage_makeSubset_subset'>subset</a> is empty, or <a href='#SkImage_m…
2325 pixels in <a href='SkImage_Reference#SkImage'>SkImage</a> could not be read or copied.
2330 <td>bounds of returned <a href='SkImage_Reference#SkImage'>SkImage</a></td>
2336 partial or full <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2344 <a href='#SkImage_MakeFromEncoded'>MakeFromEncoded</a>
2351 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
2352 …<a href='undocumented#GrMipMapped'>GrMipMapped</a> mipMapped = <a href='undocumented#GrMipMapped'>…
2355 …href='SkImage_Reference#SkImage'>SkImage</a> backed by <a href='undocumented#GPU_Texture'>GPU tex…
2356 …href='SkSurface_Reference#SkSurface'>SkSurface</a> created with <a href='#SkImage_makeTextureImage…
2357 …href='#SkImage_makeTextureImage_mipMapped'>mipMapped</a> setting; if <a href='#SkImage_makeTexture…
2358 allocates <a href='undocumented#Mip_Map'>mip map</a> levels. Returns original <a href='SkImage_Ref…
2359 …href='#SkImage_makeTextureImage_dstColorSpace'>dstColorSpace</a> match and <a href='#SkImage_makeT…
2361 Returns nullptr if <a href='#SkImage_makeTextureImage_context'>context</a> is nullptr, or if <a hre…
2362 <a href='undocumented#GrContext'>GrContext</a>.
2367 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
2370 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
2373 …d>whether created <a href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#Texture'>t…
2379 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2387 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a>
2394 <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2397 …href='SkImage_Reference#Image'>image</a> or lazy <a href='SkImage_Reference#Image'>image</a>. Copi…
2398 …U memory if needed. Returns original <a href='SkImage_Reference#SkImage'>SkImage</a> if decoded in…
2399 or if encoded in a <a href='SkStream_Reference#Stream'>stream</a>.
2401 Returns nullptr if backed by GPU <a href='undocumented#Texture'>texture</a> and copy fails.
2405 raster <a href='SkImage_Reference#Image'>image</a>, lazy <a href='SkImage_Reference#Image'>image</a…
2413 <a href='#SkImage_makeTextureImage'>makeTextureImage</a> <a href='#SkImage_makeRasterImage'>makeRas…
2420 <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2423 …eturns raster <a href='SkImage_Reference#Image'>image</a>. Copies <a href='SkImage_Reference#SkIma…
2424 or decodes <a href='SkImage_Reference#SkImage'>SkImage</a> from lazy <a href='SkImage_Reference#Ima…
2425 raster <a href='SkBitmap_Reference#Bitmap'>bitmap</a>.
2427 Returns nullptr if copy, decode, or <a href='undocumented#Pixel'>pixel</a> read fails.
2431 raster <a href='SkImage_Reference#Image'>image</a>, or nullptr
2439 <a href='#SkImage_isTextureBacked'>isTextureBacked</a> <a href='#SkImage_isLazyGenerated'>isLazyGen…
2446 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
2447 …const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIR…
2450 …s filtered <a href='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeWithFilter_filte…
2451 …href='SkColor_Reference#Color'>color</a>, position, and <a href='undocumented#Size'>size</a>. <a h…
2452 …href='#SkImage_makeWithFilter_filter'>filter</a>. <a href='#SkImage_makeWithFilter_clipBounds'>cli…
2453 … storage for the actual bounds of the filtered <a href='SkImage_Reference#SkImage'>SkImage</a>. <a…
2454 required storage for translation of returned <a href='SkImage_Reference#SkImage'>SkImage</a>.
2456 Returns nullptr if <a href='SkImage_Reference#SkImage'>SkImage</a> could not be created. If nullptr…
2457 and <a href='#SkImage_makeWithFilter_offset'>offset</a> are undefined.
2459 Useful for animation of <a href='undocumented#SkImageFilter'>SkImageFilter</a> that varies <a href=…
2460 …a href='SkImage_Reference#SkImage'>SkImage</a> is created larger than required by <a href='#SkImag…
2461 can be reused with different sized effects. <a href='#SkImage_makeWithFilter_outSubset'>outSubset</…
2462 …f <a href='undocumented#GPU_Texture'>GPU texture</a> returned. <a href='#SkImage_makeWithFilter_o…
2468 <td>how <a href='SkImage_Reference#SkImage'>SkImage</a> is sampled when transformed</td>
2471 …<td>bounds of <a href='SkImage_Reference#SkImage'>SkImage</a> processed by <a href='#SkImage_makeW…
2474 <td>expected bounds of filtered <a href='SkImage_Reference#SkImage'>SkImage</a></td>
2477 <td>storage for returned <a href='SkImage_Reference#SkImage'>SkImage</a> bounds</td>
2480 <td>storage for returned <a href='SkImage_Reference#SkImage'>SkImage</a> translation</td>
2486 filtered <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2490 …3691d6363938" gpu="true"><div>In each frame of the animation, filtered <a href='SkImage_Reference#…
2491 By translating <a href='SkCanvas_Reference#Canvas'>canvas</a> by returned <a href='#SkImage_makeWit…
2496 <a href='#SkImage_makeShader'>makeShader</a> <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a hr…
2502 <a href='#SkImage_BackendTextureReleaseProc'>BackendTextureReleaseProc</a>
2505 …typedef std::function<void(<a href='undocumented#GrBackendTexture'>GrBackendTexture</a>)> <a href=…
2508 Defines a callback function, taking one parameter of type <a href='undocumented#GrBackendTexture'>G…
2509 no return value. Function is called when back-end <a href='undocumented#Texture'>texture</a> is to …
2516 …href='#SkImage_MakeBackendTextureFromSkImage'>MakeBackendTextureFromSkImage</a>(<a href='undocumen…
2517 … <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>* backendTexture,
2518 …<a href='#SkImage_BackendTextureReleaseProc'>BackendTextureReleaseProc</a>* backendTextureReleaseP…
2521 Creates a <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> from the provided <a href='S…
2522 stores result in <a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a>…
2523 <a href='undocumented#Texture'>texture</a> is created; otherwise, returns false and leaves
2524 <a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a> and <a href='#Sk…
2526 Call <a href='#SkImage_MakeBackendTextureFromSkImage_backendTextureReleaseProc'>backendTextureRelea…
2527 <a href='#SkImage_MakeBackendTextureFromSkImage_backendTextureReleaseProc'>backendTextureReleasePro…
2528 <a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a>. The caller must…
2530 If <a href='SkImage_Reference#SkImage'>SkImage</a> is both <a href='undocumented#Texture'>texture</…
2531 <a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a> without conversi…
2534 …href='SkImage_Reference#SkImage'>SkImage</a> is not <a href='undocumented#Texture'>texture</a> bac…
2539 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
2542 …<td><a href='SkImage_Reference#SkImage'>SkImage</a> used for <a href='undocumented#Texture'>textur…
2545 <td>storage for back-end <a href='undocumented#Texture'>texture</a></td>
2554 true if back-end <a href='undocumented#Texture'>texture</a> was created
2562 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a> <a href='#SkImage_makeTextureImage'>makeText…
2569 bool <a href='#SkImage_isLazyGenerated'>isLazyGenerated</a>()const
2572 Returns true if <a href='SkImage_Reference#SkImage'>SkImage</a> is backed by an image-generator or …
2573 and caches its pixels or <a href='undocumented#Texture'>texture</a> on-demand.
2577 true if <a href='SkImage_Reference#SkImage'>SkImage</a> is created as needed
2589 <a href='#SkImage_isTextureBacked'>isTextureBacked</a> <a href='#SkImage_makeNonTextureImage'>makeN…
2596 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
2599 Creates <a href='SkImage_Reference#SkImage'>SkImage</a> in <a href='#SkImage_makeColorSpace_target'…
2600 Returns nullptr if <a href='SkImage_Reference#SkImage'>SkImage</a> could not be created.
2602 …turns original <a href='SkImage_Reference#SkImage'>SkImage</a> if it is in <a href='#SkImage_makeC…
2603 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#SkColorSpace'>SkColorSpace</a> …
2604 …href='SkImage_Reference#SkImage'>SkImage</a> <a href='#SkImage_colorSpace'>colorSpace</a>() return…
2609 …<td><a href='undocumented#SkColorSpace'>SkColorSpace</a> describing <a href='SkColor_Reference#Col…
2615 created <a href='SkImage_Reference#SkImage'>SkImage</a> in <a href='#SkImage_makeColorSpace_target'…
2623 <a href='#SkImage_MakeFromPicture'>MakeFromPicture</a> <a href='#SkImage_MakeFromTexture'>MakeFromT…