Lines Matching full:a
5 <a name='SkImage'></a>
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
15 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
18 …ef void (*<a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a>)(const void* pixels, <a href=…
20 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
21 … <a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a> rasterReleaseProc,
22 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext);
23 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
24 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
25 … const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* subset = nullptr);
26 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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='#S…
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='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
45 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
47 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
48 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
50 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 … <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='…
80 …a href='undocumented#GrContext'>GrContext</a>* context, <a href='SkImageInfo_Reference#SkYUVColorS…
81 …a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkISize'>S…
83 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> image…
84 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture, <a href='undocumented…
92 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
111 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* <a href='SkMatrix_Reference#Matrix'>matrix</a>,…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href='#SkIm…
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='#SkIm…
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 …srcX, int srcY, <a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAl…
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 …a href='#SkImage_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap…
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='#S…
154 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
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 …on<void(<a href='undocumented#GrBackendTexture'>GrBackendTexture</a>)> <a href='#SkImage_BackendTe…
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 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#S…
174 <a href='SkImage_Reference#Image'>Image</a> describes a two dimensional array of pixels to draw. Th…
175 …a <a href='#Raster_Bitmap'>Raster_Bitmap</a>, encoded in a <a href='SkPicture_Reference#Picture'>P…
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 …a href='SkImage_Reference#Image'>Image</a> may be created from <a href='SkBitmap_Reference#Bitmap'…
185 <a href='#GPU_Texture'>GPU_Texture</a>, <a href='#Image_Info_YUV_ColorSpace'>YUV_ColorSpace</a> <a …
189 <a name='Raster_Image'></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.
195 <a name='Texture_Image'></a>
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…
202 <a name='Lazy_Image'></a>
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…
208 <a name='SkImage_MakeRasterCopy'></a>
213 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
216 …a 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 …a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAl…
224 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
228 <table> <tr> <td><a name='SkImage_MakeRasterCopy_pixmap'><code><strong>pixmap</strong></code></…
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 …a five by five <a href='SkBitmap_Reference#Bitmap'>bitmap</a>, and draw a copy in an <a href='SkIm…
240 …a href='SkBitmap_Reference#Bitmap_Draw'>bitmap draw</a>, but does not alter the <a href='SkImage_R…
241 contains a copy of the pixels.
246 <a href='#SkImage_MakeRasterData'>MakeRasterData</a> <a href='#SkImage_MakeFromGenerator'>MakeFromG…
248 <a name='SkImage_MakeRasterData'></a>
253 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
256 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='SkImageInfo_Reference#SkImageInfo'>Sk…
258 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='SkImageInfo_Reference#SkIma…
261 …a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAl…
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…
267 <table> <tr> <td><a name='SkImage_MakeRasterData_info'><code><strong>info</strong></code></a></…
268 …a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, <a href='SkImageInfo_Reference#SkColor…
270 <tr> <td><a name='SkImage_MakeRasterData_pixels'><code><strong>pixels</strong></code></a></td>
271 <td>address or <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
273 …<tr> <td><a name='SkImage_MakeRasterData_rowBytes'><code><strong>rowBytes</strong></code></a></…
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…
290 <a name='SkImage_ReleaseContext'></a>
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…
304 <a name='SkImage_RasterReleaseProc'></a>
309 …ef void (*<a href='#SkImage_RasterReleaseProc'>RasterReleaseProc</a>)(const void* pixels, <a href=…
312 …ion called when <a href='SkImage_Reference#Image'>Image</a> no longer shares pixels. <a href='#SkI…
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…
319 <a name='SkImage_MakeFromRaster'></a>
324 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
325 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext)
328 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromRaster_pixmap'>pixma…
329 …a href='#SkImage_MakeFromRaster_rasterReleaseProc'>rasterReleaseProc</a> is called. <a href='#SkIm…
330 …a href='#SkImage_MakeFromRaster_releaseContext'>releaseContext</a> when <a href='SkImage_Reference…
332 …a href='#SkImage_MakeFromRaster_rasterReleaseProc'>rasterReleaseProc</a> to share <a href='SkPixma…
333 …a href='SkImage_Reference#SkImage'>SkImage</a> is released. Pass nullptr for <a href='#SkImage_Mak…
336 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned if <a href='#SkImage_MakeFromRaster_pix…
339 …a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAl…
341 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
345 <table> <tr> <td><a name='SkImage_MakeFromRaster_pixmap'><code><strong>pixmap</strong></code></…
346 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, <a href='undocumented#Pixel'>pixe…
348 …<tr> <td><a name='SkImage_MakeFromRaster_rasterReleaseProc'><code><strong>rasterReleaseProc</st…
351 …<tr> <td><a name='SkImage_MakeFromRaster_releaseContext'><code><strong>releaseContext</strong><…
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 …a href='#SkImage_MakeRasterCopy'>MakeRasterCopy</a> <a href='#SkImage_MakeRasterData'>MakeRasterDa…
377 <a name='SkImage_MakeFromBitmap'></a>
382 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
385 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromBitmap_bitmap'>bitma…
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 …a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#SkAl…
394 <a href='undocumented#Pixel'>pixel</a> address is not nullptr.
398 <table> <tr> <td><a name='SkImage_MakeFromBitmap_bitmap'><code><strong>bitmap</strong></code></…
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 …f707"><div>The first <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> is shared; writing to the <a h…
410 <a href='SkImage_Reference#Image'>Image</a>.
411 … second <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> is marked immutable, and is copied; writing…
412 memory does not alter the second <a href='SkImage_Reference#Image'>Image</a>.
417 …a href='#SkImage_MakeFromRaster'>MakeFromRaster</a> <a href='#SkImage_MakeRasterCopy'>MakeRasterCo…
419 <a name='SkImage_MakeFromGenerator'></a>
424 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
425 … const <a href='SkIRect_Reference#SkIRect'>SkIRect</a>* subset = nullptr)
428 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#Data'>data</a> returned …
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 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned if generator <a href='undocumented#Data…
437 …a href='#SkImage_MakeFromGenerator_imageGenerator'>imageGenerator</a> may wrap <a href='SkPicture_…
441 <table> <tr> <td><a name='SkImage_MakeFromGenerator_imageGenerator'><code><strong>imageGenerato…
442 <td>stock or custom routines to retrieve <a href='SkImage_Reference#SkImage'>SkImage</a></td>
444 …<tr> <td><a name='SkImage_MakeFromGenerator_subset'><code><strong>subset</strong></code></a></t…
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 …a href='SkPicture_Reference#Picture'>Picture</a> cannot be shared; std::move transfers ownership t…
460 <a href='#SkImage_MakeFromEncoded'>MakeFromEncoded</a>
462 <a name='SkImage_MakeFromEncoded'></a>
467 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
470 …tes <a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromEncoded_encoded…
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…
479 <table> <tr> <td><a name='SkImage_MakeFromEncoded_encoded'><code><strong>encoded</strong></code…
480 …<td><a href='undocumented#Data'>data</a> of <a href='SkImage_Reference#SkImage'>SkImage</a> to dec…
482 <tr> <td><a name='SkImage_MakeFromEncoded_subset'><code><strong>subset</strong></code></a></td>
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>
499 <a name='SkImage_TextureReleaseProc'></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>
513 <a name='SkImage_MakeFromTexture'></a>
518 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
519 …a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, <a href='SkImageInfo_Reference#S…
520 …a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType<…
523 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#GPU_Texture'>GPU textur…
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…
531 <table> <tr> <td><a name='SkImage_MakeFromTexture_context'><code><strong>context</strong></code…
532 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
534 …<tr> <td><a name='SkImage_MakeFromTexture_backendTexture'><code><strong>backendTexture</strong>…
535 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
537 <tr> <td><a name='SkImage_MakeFromTexture_origin'><code><strong>origin</strong></code></a></td>
538 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
540 …<tr> <td><a name='SkImage_MakeFromTexture_colorType'><code><strong>colorType</strong></code></a…
545 …a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo…
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…
553 <table> <tr> <td><a name='SkImage_MakeFromTexture_alphaType'><code><strong>alphaType</strong></…
558 …a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
559 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
563 <table> <tr> <td><a name='SkImage_MakeFromTexture_colorSpace'><code><strong>colorSpace</strong>…
570 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
574 …94e9296c53bad074bf2a48ff885dac13" gpu="true"><div>A back-end <a href='undocumented#Texture'>textur…
579 …a href='#SkImage_MakeFromAdoptedTexture'>MakeFromAdoptedTexture</a> <a href='SkSurface_Reference#S…
581 <a name='SkImage_MakeFromTexture_2'></a>
586 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
587 …a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, <a href='SkImageInfo_Reference#S…
588 …a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType<…
589 … <a href='#SkImage_TextureReleaseProc'>TextureReleaseProc</a> textureReleaseProc,
590 … <a href='#SkImage_ReleaseContext'>ReleaseContext</a> releaseContext)
593 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='undocumented#GPU_Texture'>GPU textur…
594 …a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleaseProc</a> is called. <a href='…
595 …a href='#SkImage_MakeFromTexture_2_releaseContext'>releaseContext</a> when <a href='SkImage_Refere…
597 <a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeFrom…
602 <table> <tr> <td><a name='SkImage_MakeFromTexture_2_context'><code><strong>context</strong></co…
603 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
605 …<tr> <td><a name='SkImage_MakeFromTexture_2_backendTexture'><code><strong>backendTexture</stron…
606 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
608 …<tr> <td><a name='SkImage_MakeFromTexture_2_origin'><code><strong>origin</strong></code></a></t…
609 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
611 …<tr> <td><a name='SkImage_MakeFromTexture_2_colorType'><code><strong>colorType</strong></code><…
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>
625 <table> <tr> <td><a name='SkImage_MakeFromTexture_2_alphaType'><code><strong>alphaType</strong>…
630 …a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
631 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
635 <table> <tr> <td><a name='SkImage_MakeFromTexture_2_colorSpace'><code><strong>colorSpace</stron…
638 …<tr> <td><a name='SkImage_MakeFromTexture_2_textureReleaseProc'><code><strong>textureReleasePro…
639 <td>function called when <a href='undocumented#Texture'>texture</a> can be released</td>
641 …<tr> <td><a name='SkImage_MakeFromTexture_2_releaseContext'><code><strong>releaseContext</stron…
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 …><a href='#SkImage_MakeFromTexture_2_textureReleaseProc'>textureReleaseProc</a> may be called at s…
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…
660 <a name='SkImage_MakeCrossContextFromEncoded'></a>
665 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
666 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
670 …a href='SkImage_Reference#SkImage'>SkImage</a> from encoded <a href='#SkImage_MakeCrossContextFrom…
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 …a href='SkImage_Reference#SkImage'>SkImage</a> is no longer referenced, <a href='#SkImage_MakeCros…
679 …a href='undocumented#GrBackendTexture'>GrBackendTexture</a> decoded from <a href='#SkImage_MakeCro…
680 …a href='#SkImage_MakeCrossContextFromEncoded_dstColorSpace'>dstColorSpace</a>. <a href='undocument…
682 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned if format of <a href='#SkImage_MakeCros…
685 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned using <a href='#SkImage_MakeFromEncoded…
690 <table> <tr> <td><a name='SkImage_MakeCrossContextFromEncoded_context'><code><strong>context</s…
691 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
693 …<tr> <td><a name='SkImage_MakeCrossContextFromEncoded_data'><code><strong>data</strong></code><…
694 <td><a href='SkImage_Reference#SkImage'>SkImage</a> to decode</td>
696 …<tr> <td><a name='SkImage_MakeCrossContextFromEncoded_buildMips'><code><strong>buildMips</stron…
697 …<td>create <a href='SkImage_Reference#SkImage'>SkImage</a> as <a href='undocumented#Mip_Map'>mip …
699 …<tr> <td><a name='SkImage_MakeCrossContextFromEncoded_dstColorSpace'><code><strong>dstColorSpac…
700 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
702 …<tr> <td><a name='SkImage_MakeCrossContextFromEncoded_limitToMaxTextureSize'><code><strong>limi…
703 …nscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Texture'>t…
709 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
717 <a href='#SkImage_MakeCrossContextFromPixmap'>MakeCrossContextFromPixmap</a>
719 <a name='SkImage_MakeCrossContextFromPixmap'></a>
724 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
725 … bool buildMips, <a href='undocumented#SkColorSpace'>SkColorSpace</a>* dstColorSpace,
729 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeCrossContextFromPixmap_p…
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 …a href='SkImage_Reference#SkImage'>SkImage</a> is no longer referenced, <a href='#SkImage_MakeCros…
738 …a href='undocumented#GrBackendTexture'>GrBackendTexture</a> created from <a href='#SkImage_MakeCro…
739 …a href='#SkImage_MakeCrossContextFromPixmap_dstColorSpace'>dstColorSpace</a>. <a href='undocumente…
741 …a href='SkImage_Reference#SkImage'>SkImage</a> is returned referring to GPU back-end if <a href='#…
742 …mat of <a href='undocumented#Data'>data</a> is recognized and supported, and if <a href='#SkImage_…
743 …a href='#SkImage_MakeCrossContextFromPixmap_pixmap'>pixmap</a> <a href='undocumented#Pixel'>pixel<…
749 <table> <tr> <td><a name='SkImage_MakeCrossContextFromPixmap_context'><code><strong>context</st…
750 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
752 …<tr> <td><a name='SkImage_MakeCrossContextFromPixmap_pixmap'><code><strong>pixmap</strong></cod…
753 …<td><a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>, <a href='undocumented#Pixel'>pixe…
755 …<tr> <td><a name='SkImage_MakeCrossContextFromPixmap_buildMips'><code><strong>buildMips</strong…
756 …<td>create <a href='SkImage_Reference#SkImage'>SkImage</a> as <a href='undocumented#Mip_Map'>mip …
758 …<tr> <td><a name='SkImage_MakeCrossContextFromPixmap_dstColorSpace'><code><strong>dstColorSpace…
759 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
761 …<tr> <td><a name='SkImage_MakeCrossContextFromPixmap_limitToMaxTextureSize'><code><strong>limit…
762 …nscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Texture'>t…
768 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
776 <a href='#SkImage_MakeCrossContextFromEncoded'>MakeCrossContextFromEncoded</a>
778 <a name='SkImage_MakeFromAdoptedTexture'></a>
783 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
784 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
785 …a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin, <a href='SkImageInfo_Refe…
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 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromAdoptedTexture_backe…
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…
798 <table> <tr> <td><a name='SkImage_MakeFromAdoptedTexture_context'><code><strong>context</strong…
799 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
801 …<tr> <td><a name='SkImage_MakeFromAdoptedTexture_backendTexture'><code><strong>backendTexture</…
802 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
804 …<tr> <td><a name='SkImage_MakeFromAdoptedTexture_surfaceOrigin'><code><strong>surfaceOrigin</st…
805 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
807 …<tr> <td><a name='SkImage_MakeFromAdoptedTexture_colorType'><code><strong>colorType</strong></c…
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>
821 <table> <tr> <td><a name='SkImage_MakeFromAdoptedTexture_alphaType'><code><strong>alphaType</st…
826 …a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
827 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
831 <table> <tr> <td><a name='SkImage_MakeFromAdoptedTexture_colorSpace'><code><strong>colorSpace</…
838 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
846 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a> <a href='#SkImage_MakeFromYUVTexturesCopy'>M…
848 <a name='SkImage_MakeFromYUVATexturesCopy'></a>
853 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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>.
865 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_context'><code><strong>context</stro…
866 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
868 …<tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_yuvColorSpace'><code><strong>yuvColorSpace</…
873 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
874 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
878 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_yuvaTextures'><code><strong>yuvaText…
887 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_yuvaIndices'><code><strong>yuvaIndic…
888 …indicating which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFromYUVATextu…
892 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
896 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_imageSize'><code><strong>imageSize</…
897 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
899 …<tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_imageOrigin'><code><strong>imageOrigin</stro…
900 …esulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocumented#kBottomLeft_Gr…
904 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
908 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopy_imageColorSpace'><code><strong>image…
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…
921 <a name='SkImage_MakeFromYUVATextures'></a>
926 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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 …ates an <a href='SkImage_Reference#SkImage'>SkImage</a> by storing the specified YUVA planes into …
938 <table> <tr> <td><a name='SkImage_MakeFromYUVATextures_context'><code><strong>context</strong><…
939 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
941 …<tr> <td><a name='SkImage_MakeFromYUVATextures_yuvColorSpace'><code><strong>yuvColorSpace</stro…
946 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
947 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
951 <table> <tr> <td><a name='SkImage_MakeFromYUVATextures_yuvaTextures'><code><strong>yuvaTextures…
960 <table> <tr> <td><a name='SkImage_MakeFromYUVATextures_yuvaIndices'><code><strong>yuvaIndices</…
961 …y indicating which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFromYUVATex…
965 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
969 <table> <tr> <td><a name='SkImage_MakeFromYUVATextures_imageSize'><code><strong>imageSize</stro…
970 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
972 …<tr> <td><a name='SkImage_MakeFromYUVATextures_imageOrigin'><code><strong>imageOrigin</strong><…
973 …esulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocumented#kBottomLeft_Gr…
977 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
981 <table> <tr> <td><a name='SkImage_MakeFromYUVATextures_imageColorSpace'><code><strong>imageColo…
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…
994 <a name='SkImage_MakeFromYUVAPixmaps'></a>
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 …a href='undocumented#SkYUVAIndex'>SkYUVAIndex</a> yuvaIndices[4], <a href='undocumented#SkISize'>S…
1005 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
1008 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='SkPixmap_Reference#Pixmap'>pixmap</a>…
1009 <a href='SkImage_Reference#SkImage'>SkImage</a> is uploaded to GPU back-end using <a href='#SkImage…
1011 …a href='undocumented#GrBackendTexture'>GrBackendTexture</a> created from <a href='#SkImage_MakeFro…
1012 …a href='undocumented#SkColorSpace'>SkColorSpace</a> of <a href='SkPixmap_Reference#SkPixmap'>SkPix…
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…
1020 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_context'><code><strong>context</strong></…
1021 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1023 …<tr> <td><a name='SkImage_MakeFromYUVAPixmaps_yuvColorSpace'><code><strong>yuvColorSpace</stron…
1028 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1029 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1033 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_yuvaPixmaps'><code><strong>yuvaPixmaps</s…
1034 …<td>array of (up to four) <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> which contain the,</t…
1042 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_yuvaIndices'><code><strong>yuvaIndices</s…
1043 … indicating which <a href='SkPixmap_Reference#Pixmap'>pixmap</a> in <a href='#SkImage_MakeFromYUVA…
1047 in that <a href='SkPixmap_Reference#Pixmap'>pixmap</a>, maps to each component of YUVA.
1051 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_imageSize'><code><strong>imageSize</stron…
1052 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
1054 …<tr> <td><a name='SkImage_MakeFromYUVAPixmaps_imageOrigin'><code><strong>imageOrigin</strong></…
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…
1063 <table> <tr> <td><a name='SkImage_MakeFromYUVAPixmaps_buildMips'><code><strong>buildMips</stron…
1064 <td>create internal YUVA textures as <a href='undocumented#Mip_Map'>mip map</a> if true</td>
1066 …<tr> <td><a name='SkImage_MakeFromYUVAPixmaps_limitToMaxTextureSize'><code><strong>limitToMaxTe…
1067 …nscale <a href='SkImage_Reference#Image'>image</a> to GPU maximum <a href='undocumented#Texture'>t…
1069 …<tr> <td><a name='SkImage_MakeFromYUVAPixmaps_imageColorSpace'><code><strong>imageColorSpace</s…
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>
1082 <a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend'></a>
1087 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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…
1100 <table> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_context'><code><s…
1101 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1103 …<tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_yuvColorSpace'><code><str…
1108 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1109 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1113 …e> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_yuvaTextures'><code><…
1122 …le> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_yuvaIndices'><code><…
1123 … which <a href='undocumented#Texture'>texture</a> in <a href='#SkImage_MakeFromYUVATexturesCopyWit…
1127 in that <a href='undocumented#Texture'>texture</a>, maps to each component of YUVA.
1131 …able> <tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_imageSize'><code><…
1132 …<td><a href='undocumented#Size'>size</a> of the resulting <a href='SkImage_Reference#Image'>image<…
1134 …<tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_imageOrigin'><code><stron…
1135 …esulting <a href='SkImage_Reference#Image'>image</a>. One of: <a href='undocumented#kBottomLeft_Gr…
1139 <a href='undocumented#kTopLeft_GrSurfaceOrigin'>kTopLeft_GrSurfaceOrigin</a>
1143 … <tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_backendTexture'><code><…
1146 …<tr> <td><a name='SkImage_MakeFromYUVATexturesCopyWithExternalBackend_imageColorSpace'><code><s…
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…
1159 <a name='SkImage_MakeFromYUVTexturesCopy'></a>
1164 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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 …a href='#SkImage_MakeFromYUVTexturesCopyWithExternalBackend'>MakeFromYUVTexturesCopyWithExternalBa…
1176 <a name='SkImage_MakeFromYUVTexturesCopyWithExternalBackend'></a>
1181 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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…
1194 <a name='SkImage_MakeFromNV12TexturesCopy'></a>
1199 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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 …urned <a href='SkImage_Reference#SkImage'>SkImage</a> has the dimensions <a href='#SkImage_MakeFro…
1210 <a href='#SkImage_MakeFromNV12TexturesCopy_yuvColorSpace'>yuvColorSpace</a> describes how YUV color…
1214 <table> <tr> <td><a name='SkImage_MakeFromNV12TexturesCopy_context'><code><strong>context</stro…
1215 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1217 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopy_yuvColorSpace'><code><strong>yuvColorSpace</…
1218 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1222 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1226 <table> <tr> <td><a name='SkImage_MakeFromNV12TexturesCopy_nv12Textures'><code><strong>nv12Text…
1229 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopy_imageOrigin'><code><strong>imageOrigin</stro…
1230 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
1232 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopy_imageColorSpace'><code><strong>imageColorSpa…
1239 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1243 …a href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend'>MakeFromNV12TexturesCopyWithExternal…
1245 <a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend'></a>
1250 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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 …<a href='SkImage_Reference#SkImage'>SkImage</a> from copy of <a href='#SkImage_MakeFromNV12Texture…
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 …a href='SkImage_Reference#SkImage'>SkImage</a> has the dimensions <a href='#SkImage_MakeFromNV12Te…
1262 <a href='#SkImage_MakeFromNV12TexturesCopyWithExternalBackend_yuvColorSpace'>yuvColorSpace</a> desc…
1266 <table> <tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_context'><code><s…
1267 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
1269 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_yuvColorSpace'><code><str…
1270 …a href='SkImageInfo_Reference#kJPEG_SkYUVColorSpace'>kJPEG_SkYUVColorSpace</a>, <a href='SkImageIn…
1274 <a href='SkImageInfo_Reference#kRec709_SkYUVColorSpace'>kRec709_SkYUVColorSpace</a>
1278 …e> <tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_nv12Textures'><code><…
1281 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_imageOrigin'><code><stron…
1282 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
1284 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_backendTexture'><code><st…
1287 …<tr> <td><a name='SkImage_MakeFromNV12TexturesCopyWithExternalBackend_imageColorSpace'><code><s…
1294 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1298 …a href='#SkImage_MakeFromNV12TexturesCopy'>MakeFromNV12TexturesCopy</a> <a href='#SkImage_MakeFrom…
1300 <a name='SkImage_BitDepth'></a>
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>,
1319 …rder: 2px solid #dddddd; padding: 8px; '><a name='SkImage_BitDepth_kU8'><code>SkImage::BitDepth::k…
1326 …der: 2px solid #dddddd; padding: 8px; '><a name='SkImage_BitDepth_kF16'><code>SkImage::BitDepth::k…
1329 … bits per ARGB component using half-precision floating <a href='SkPoint_Reference#Point'>point</a>…
1336 <a href='#SkImage_MakeFromPicture'>MakeFromPicture</a>
1338 <a name='SkImage_MakeFromPicture'></a>
1343 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
1344 …a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>* <a href='SkMatrix_Reference#Matrix'>matrix</a>,…
1345 …a href='#SkImage_BitDepth'>BitDepth</a> bitDepth, <a href='undocumented#sk_sp'>sk_sp</a><<a hre…
1348 …a href='SkImage_Reference#SkImage'>SkImage</a> from <a href='#SkImage_MakeFromPicture_picture'>pic…
1349 …a href='SkImage_Reference#SkImage'>SkImage</a> draws <a href='#SkImage_MakeFromPicture_picture'>pi…
1351 …a href='#SkImage_MakeFromPicture_matrix'>matrix</a> is nullptr, draws with identity <a href='SkMat…
1352 with default <a href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='#SkImage_MakeFromPicture_col…
1356 <table> <tr> <td><a name='SkImage_MakeFromPicture_picture'><code><strong>picture</strong></code…
1357 <td><a href='SkStream_Reference#Stream'>stream</a> of drawing commands</td>
1359 …<tr> <td><a name='SkImage_MakeFromPicture_dimensions'><code><strong>dimensions</strong></code><…
1362 <tr> <td><a name='SkImage_MakeFromPicture_matrix'><code><strong>matrix</strong></code></a></td>
1363 …<td><a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a> to rotate, scale, translate, and so on; may…
1365 <tr> <td><a name='SkImage_MakeFromPicture_paint'><code><strong>paint</strong></code></a></td>
1366 …<td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to apply transparency, filtering, and so on; m…
1368 …<tr> <td><a name='SkImage_MakeFromPicture_bitDepth'><code><strong>bitDepth</strong></code></a><…
1371 …<tr> <td><a name='SkImage_MakeFromPicture_colorSpace'><code><strong>colorSpace</strong></code><…
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>
1388 <a name='SkImage_MakeFromAHardwareBuffer'></a>
1393 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
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.
1408 <table> <tr> <td><a name='SkImage_MakeFromAHardwareBuffer_hardwareBuffer'><code><strong>hardwar…
1411 …<tr> <td><a name='SkImage_MakeFromAHardwareBuffer_alphaType'><code><strong>alphaType</strong></…
1416 …a href='SkImageInfo_Reference#kUnknown_SkAlphaType'>kUnknown_SkAlphaType</a>, <a href='SkImageInfo…
1417 <a href='SkImageInfo_Reference#kUnpremul_SkAlphaType'>kUnpremul_SkAlphaType</a>
1421 <table> <tr> <td><a name='SkImage_MakeFromAHardwareBuffer_colorSpace'><code><strong>colorSpace<…
1424 …<tr> <td><a name='SkImage_MakeFromAHardwareBuffer_surfaceOrigin'><code><strong>surfaceOrigin</s…
1425 …a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a href='undocu…
1431 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
1435 <a href='#SkImage_MakeFromRaster'>MakeFromRaster</a>
1437 <a name='Property'></a>
1439 <a name='SkImage_width'></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>
1461 <a name='SkImage_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>
1483 <a name='SkImage_dimensions'></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…
1513 <a name='SkImage_bounds'></a>
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>
1535 <a name='SkImage_uniqueID'></a>
1540 uint32_t <a href='#SkImage_uniqueID'>uniqueID</a>()const
1543 …a href='SkImage_Reference#Image'>image</a>. <a href='SkImage_Reference#SkImage'>SkImage</a> conten…
1544 created. Any operation to create a new <a href='SkImage_Reference#SkImage'>SkImage</a> will receive…
1557 <a href='#SkImage_isLazyGenerated'>isLazyGenerated</a>
1559 <a name='SkImage_alphaType'></a>
1564 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a> <a href='#SkImage_alphaType'>alphaType<…
1567 …a href='#Image_Info_Alpha_Type'>Alpha_Type</a>, one of: <a href='SkImageInfo_Reference#kUnknown_Sk…
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…
1586 <a name='SkImage_colorType'></a>
1591 <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> <a href='#SkImage_colorType'>colorType<…
1594 …a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> if known; otherwise, returns <a href='S…
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…
1608 <a name='SkImage_colorSpace'></a>
1613 <a href='undocumented#SkColorSpace'>SkColorSpace</a>* <a href='#SkImage_colorSpace'>colorSpace</a>(…
1616 …eturns <a href='undocumented#SkColorSpace'>SkColorSpace</a>, the range of colors, associated with …
1617 … count of <a href='undocumented#SkColorSpace'>SkColorSpace</a> is unchanged. The returned <a href=…
1620 <a href='undocumented#SkColorSpace'>SkColorSpace</a> returned was passed to an <a href='SkImage_Ref…
1621 …a href='undocumented#Data'>data</a>. <a href='undocumented#SkColorSpace'>SkColorSpace</a> returned…
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…
1636 <a name='SkImage_refColorSpace'></a>
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 …a href='undocumented#Data'>data</a>. <a href='undocumented#SkColorSpace'>SkColorSpace</a> returned…
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>
1666 <a name='SkImage_isAlphaOnly'></a>
1671 bool <a href='#SkImage_isAlphaOnly'>isAlphaOnly</a>()const
1674 …true if <a href='SkImage_Reference#SkImage'>SkImage</a> pixels represent transparency only. If tru…
1675 is packed in 8 bits as defined by <a href='SkImageInfo_Reference#kAlpha_8_SkColorType'>kAlpha_8_SkC…
1679 true if pixels represent a transparency mask
1695 <a href='#SkImage_alphaType'>alphaType</a> <a href='#SkImage_isOpaque'>isOpaque</a>
1697 <a name='SkImage_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 …rue 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>
1728 <a name='SkImage_makeShader'></a>
1733 …a 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 …a href='undocumented#SkShader'>SkShader</a> from <a href='SkImage_Reference#SkImage'>SkImage</a>. …
1738 …a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_TileMode'>TileMode</a> rules to fi…
1739 …<a href='SkImage_Reference#SkImage'>SkImage</a> before <a href='SkCanvas_Reference#SkCanvas'>SkCan…
1743 <table> <tr> <td><a name='SkImage_makeShader_tileMode1'><code><strong>tileMode1</strong></code>…
1744 …tiling on x-axis, one of: <a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kClamp_…
1748 …a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kRepeat_TileMode'>kRepeat_TileMode…
1752 <table> <tr> <td><a name='SkImage_makeShader_tileMode2'><code><strong>tileMode2</strong></code>…
1753 …tiling on y-axis, one of: <a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kClamp_…
1757 …a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kRepeat_TileMode'>kRepeat_TileMode…
1761 <table> <tr> <td><a name='SkImage_makeShader_localMatrix'><code><strong>localMatrix</strong></c…
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>
1778 <a name='SkImage_makeShader_2'></a>
1783 …a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href=…
1786 …a href='undocumented#SkShader'>SkShader</a> from <a href='SkImage_Reference#SkImage'>SkImage</a>. …
1787 …a href='undocumented#SkShader'>SkShader</a>::<a href='#SkShader_kClamp_TileMode'>kClamp_TileMode</…
1788 …<a href='SkImage_Reference#SkImage'>SkImage</a> before <a href='SkCanvas_Reference#SkCanvas'>SkCan…
1792 <table> <tr> <td><a name='SkImage_makeShader_2_localMatrix'><code><strong>localMatrix</strong><…
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>
1809 <a name='Pixels'></a>
1811 <a name='SkImage_peekPixels'></a>
1816 bool <a href='#SkImage_peekPixels'>peekPixels</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a…
1819 …a href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#Pixel'>pixel</a> address, row…
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.
1825 <table> <tr> <td><a name='SkImage_peekPixels_pixmap'><code><strong>pixmap</strong></code></a></…
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>
1860 <a name='SkImage_isTextureBacked'></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>
1883 <a name='SkImage_isValid'></a>
1888 bool <a href='#SkImage_isValid'>isValid</a>(<a href='undocumented#GrContext'>GrContext</a>* context…
1891 …a href='SkImage_Reference#SkImage'>SkImage</a> can be drawn on either <a href='undocumented#Raste…
1892 …a href='#SkImage_isValid_context'>context</a> is nullptr, tests if <a href='SkImage_Reference#SkIm…
1893 …a href='SkImage_Reference#SkImage'>SkImage</a> draws on <a href='undocumented#GPU_Surface'>GPU su…
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.
1901 <table> <tr> <td><a name='SkImage_isValid_context'><code><strong>context</strong></code></a></t…
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…
1918 <a name='SkImage_getBackendTexture'></a>
1923 …a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkImage_getBackendTexture'>g…
1926 …<a href='undocumented#Texture'>texture</a>. If <a href='SkImage_Reference#SkImage'>SkImage</a> has…
1927 …ect is returned. Call <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>::<a href='#GrBa…
1930 If <a href='#SkImage_getBackendTexture_flushPendingGrContextIO'>flushPendingGrContextIO</a> is true…
1932 …a href='#SkImage_getBackendTexture_origin'>origin</a> in not nullptr, copies location of content d…
1936 …ble> <tr> <td><a name='SkImage_getBackendTexture_flushPendingGrContextIO'><code><strong>flushP…
1939 …<tr> <td><a name='SkImage_getBackendTexture_origin'><code><strong>origin</strong></code></a></t…
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…
1958 <a name='SkImage_CachingHint'></a>
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…
1988 … 2px solid #dddddd; padding: 8px; '><a name='SkImage_kAllow_CachingHint'><code>SkImage::kAllow_Cac…
1994 …x solid #dddddd; padding: 8px; '><a name='SkImage_kDisallow_CachingHint'><code>SkImage::kDisallow_…
2003 <a href='#SkImage_readPixels'>readPixels</a> <a href='#SkImage_scalePixels'>scalePixels</a>
2005 <a name='SkImage_readPixels'></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 …a href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkImage_Reference#Image'>Image</a>…
2015 …does not exceed <a href='SkImage_Reference#Image'>Image</a> (<a href='#SkImage_width'>width()</a>,…
2017 …a href='#SkImage_readPixels_dstInfo'>dstInfo</a> specifies width, height, <a href='#Image_Info_Col…
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 …a href='#SkImage_readPixels_dstRowBytes'>dstRowBytes</a> is less than <a href='#SkImage_readPixels…
2026 <td><a href='#Pixel_Ref'>Pixel_Ref</a> is nullptr</td>
2030 …a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage_Reference#Image'…
2031 …a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
2032 …a href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Color_Type'>Color_Type</a> is <a h…
2033 …a href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> is <a h…
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 …a href='undocumented#abs()'>abs</a>(<a href='#SkImage_readPixels_srcX'>srcX</a>) >= <a href='SkIma…
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…
2046 <table> <tr> <td><a name='SkImage_readPixels_dstInfo'><code><strong>dstInfo</strong></code></a>…
2047 …height, <a href='#Image_Info_Color_Type'>Color_Type</a>, <a href='#Image_Info_Alpha_Type'>Alpha_Ty…
2049 …<tr> <td><a name='SkImage_readPixels_dstPixels'><code><strong>dstPixels</strong></code></a></td>
2050 <td>destination <a href='undocumented#Pixel_Storage'>pixel storage</a></td>
2052 …<tr> <td><a name='SkImage_readPixels_dstRowBytes'><code><strong>dstRowBytes</strong></code></a>…
2055 <tr> <td><a name='SkImage_readPixels_srcX'><code><strong>srcX</strong></code></a></td>
2056 <td>column index whose absolute value is less than <a href='#SkImage_width'>width()</a></td>
2058 <tr> <td><a name='SkImage_readPixels_srcY'><code><strong>srcY</strong></code></a></td>
2059 <td>row index whose absolute value is less than <a href='#SkImage_height'>height()</a></td>
2061 …<tr> <td><a name='SkImage_readPixels_cachingHint'><code><strong>cachingHint</strong></code></a>…
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 …a href='#SkImage_scalePixels'>scalePixels</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::…
2078 <a name='SkImage_readPixels_2'></a>
2083 …a href='#SkImage_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</…
2086 …a <a href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkImage_Reference#Image'>Image<…
2087 does not exceed <a href='SkImage_Reference#Image'>Image</a> (<a href='#SkImage_width'>width()</a>, …
2089 …a href='#SkImage_readPixels_2_dst'>dst</a> specifies width, height, <a href='#Image_Info_Color_Typ…
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 …a href='#SkImage_readPixels_2_dst'>dst</a>.<a href='#SkPixmap_rowBytes'>rowBytes</a>() is less tha…
2098 <td><a href='#Pixel_Ref'>Pixel_Ref</a> is nullptr</td>
2102 …a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage_Reference#Image'…
2103 …a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
2104 …a href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Color_Type'>Color_Type</a> is <a h…
2105 …a href='SkImage_Reference#Image'>Image</a> <a href='#Image_Info_Alpha_Type'>Alpha_Type</a> is <a h…
2106 …a href='SkImage_Reference#Image'>Image</a> <a href='#Color_Space'>Color_Space</a> is nullptr, <a h…
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 …a href='undocumented#abs()'>abs</a>(<a href='#SkImage_readPixels_2_srcX'>srcX</a>) >= <a href='SkI…
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…
2118 <table> <tr> <td><a name='SkImage_readPixels_2_dst'><code><strong>dst</strong></code></a></td>
2119 …<td>destination <a href='SkPixmap_Reference#Pixmap'>Pixmap</a>: <a href='#Image_Info'>Image_Info</…
2121 <tr> <td><a name='SkImage_readPixels_2_srcX'><code><strong>srcX</strong></code></a></td>
2122 <td>column index whose absolute value is less than <a href='#SkImage_width'>width()</a></td>
2124 <tr> <td><a name='SkImage_readPixels_2_srcY'><code><strong>srcY</strong></code></a></td>
2125 <td>row index whose absolute value is less than <a href='#SkImage_height'>height()</a></td>
2127 …<tr> <td><a name='SkImage_readPixels_2_cachingHint'><code><strong>cachingHint</strong></code></…
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 …a href='#SkImage_scalePixels'>scalePixels</a> <a href='SkBitmap_Reference#SkBitmap'>SkBitmap</a>::…
2144 <a name='SkImage_scalePixels'></a>
2149 …a href='#SkImage_scalePixels'>scalePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkPixmap…
2150 …<a href='#SkImage_CachingHint'>CachingHint</a> cachingHint = <a href='#SkImage_kAllow_CachingHint'…
2153 …a href='SkImage_Reference#SkImage'>SkImage</a> to <a href='#SkImage_scalePixels_dst'>dst</a>, scal…
2154 …a href='#SkImage_scalePixels_dst'>dst</a>.<a href='#SkPixmap_colorType'>colorType</a>() and <a hre…
2155 …a href='#SkImage_scalePixels_dst'>dst</a>.<a href='#SkPixmap_addr'>addr()</a> is nullptr, or <a hr…
2156 …a href='#SkImage_scalePixels_dst'>dst</a> <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo<…
2158 …a href='undocumented#Pixel'>pixel</a> conversion is possible. If <a href='SkImage_Reference#SkImag…
2159 …a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, or <a href='SkImageInf…
2160 …a href='SkImage_Reference#SkImage'>SkImage</a> <a href='SkImageInfo_Reference#SkColorType'>SkColor…
2161 …a href='SkImage_Reference#SkImage'>SkImage</a> <a href='SkImageInfo_Reference#SkAlphaType'>SkAlpha…
2162 …a 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 …a href='SkImage_Reference#Image'>image</a>, with <a href='#SkImage_scalePixels_filterQuality'>filt…
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…
2177 <table> <tr> <td><a name='SkImage_scalePixels_dst'><code><strong>dst</strong></code></a></td>
2178 …<td>destination <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a>: <a href='SkImageInfo_Reference…
2180 …<tr> <td><a name='SkImage_scalePixels_filterQuality'><code><strong>filterQuality</strong></code…
2181 …e of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undocumente…
2185 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
2189 <table> <tr> <td><a name='SkImage_scalePixels_cachingHint'><code><strong>cachingHint</strong></…
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 …a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImage'>drawImage</a> <a …
2206 <a name='SkImage_encodeToData'></a>
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 …eturns 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 …FOR_MAC or SK_BUILD_FOR_IOS is defined, <a href='#SkImage_encodeToData_encodedImageFormat'>encoded…
2223 …a href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageForma…
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 …d, <a href='#SkImage_encodeToData_quality'>quality</a> equaling 100 encodes with the least error. …
2232 <table> <tr> <td><a name='SkImage_encodeToData_encodedImageFormat'><code><strong>encodedImageFo…
2233 …a href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageForma…
2237 <a href='undocumented#SkEncodedImageFormat'>SkEncodedImageFormat</a>::<a href='#SkEncodedImageForma…
2241 <table> <tr> <td><a name='SkImage_encodeToData_quality'><code><strong>quality</strong></code></…
2248 encoded <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2256 <a href='#SkImage_refEncodedData'>refEncodedData</a> <a href='#SkImage_MakeFromEncoded'>MakeFromEnc…
2258 <a name='SkImage_encodeToData_2'></a>
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#S…
2267 …a href='SkImage_Reference#SkImage'>SkImage</a> is encoded with <a href='undocumented#SkEncodedImag…
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…
2285 <a name='SkImage_refEncodedData'></a>
2290 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkData'>SkData</a>> <a href='#Sk…
2293 … <a href='SkImage_Reference#SkImage'>SkImage</a> pixels as <a href='undocumented#SkData'>SkData</a…
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…
2311 <a name='Utility'></a>
2313 <a name='SkImage_makeSubset'></a>
2318 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2321 …a 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.
2329 <table> <tr> <td><a name='SkImage_makeSubset_subset'><code><strong>subset</strong></code></a></…
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>
2346 <a name='SkImage_makeTextureImage'></a>
2351 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2352 …<a href='undocumented#GrMipMapped'>GrMipMapped</a> mipMapped = <a href='undocumented#GrMipMapped'>…
2355 …a href='SkImage_Reference#SkImage'>SkImage</a> backed by <a href='undocumented#GPU_Texture'>GPU t…
2356 …a href='SkSurface_Reference#SkSurface'>SkSurface</a> created with <a href='#SkImage_makeTextureIma…
2357 …a href='#SkImage_makeTextureImage_mipMapped'>mipMapped</a> setting; if <a href='#SkImage_makeTextu…
2358 …a href='undocumented#Mip_Map'>mip map</a> levels. Returns original <a href='SkImage_Reference#SkIm…
2359 …a href='#SkImage_makeTextureImage_dstColorSpace'>dstColorSpace</a> match and <a href='#SkImage_mak…
2361 …urns nullptr if <a href='#SkImage_makeTextureImage_context'>context</a> is nullptr, or if <a href=…
2362 <a href='undocumented#GrContext'>GrContext</a>.
2366 <table> <tr> <td><a name='SkImage_makeTextureImage_context'><code><strong>context</strong></cod…
2367 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
2369 …<tr> <td><a name='SkImage_makeTextureImage_dstColorSpace'><code><strong>dstColorSpace</strong><…
2370 … <td>range of colors of matching <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU</td>
2372 …<tr> <td><a name='SkImage_makeTextureImage_mipMapped'><code><strong>mipMapped</strong></code></…
2373 …d <a href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#Texture'>texture</a> must …
2379 created <a href='SkImage_Reference#SkImage'>SkImage</a>, or nullptr
2387 <a href='#SkImage_MakeFromTexture'>MakeFromTexture</a>
2389 <a name='SkImage_makeNonTextureImage'></a>
2394 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2397 …a href='SkImage_Reference#Image'>image</a> or lazy <a href='SkImage_Reference#Image'>image</a>. Co…
2398 …. Returns original <a href='SkImage_Reference#SkImage'>SkImage</a> if decoded in raster <a href='S…
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…
2415 <a name='SkImage_makeRasterImage'></a>
2420 <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2423 …a href='SkImage_Reference#Image'>image</a>. Copies <a href='SkImage_Reference#SkImage'>SkImage</a>…
2424 …a href='SkImage_Reference#SkImage'>SkImage</a> from lazy <a href='SkImage_Reference#Image'>image</…
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…
2441 <a name='SkImage_makeWithFilter'></a>
2446 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2447 …a href='SkIRect_Reference#SkIRect'>SkIRect</a>& clipBounds, <a href='SkIRect_Reference#SkIRect'>Sk…
2450 …a href='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeWithFilter_filter'>filter</a…
2451 …a href='SkColor_Reference#Color'>color</a>, position, and <a href='undocumented#Size'>size</a>. <a…
2452 …a href='#SkImage_makeWithFilter_filter'>filter</a>. <a href='#SkImage_makeWithFilter_clipBounds'>c…
2453 …al bounds of the filtered <a href='SkImage_Reference#SkImage'>SkImage</a>. <a href='#SkImage_makeW…
2454 required storage for translation of returned <a href='SkImage_Reference#SkImage'>SkImage</a>.
2456 … <a href='SkImage_Reference#SkImage'>SkImage</a> could not be created. If nullptr is returned, <a …
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 …a href='undocumented#GPU_Texture'>GPU texture</a> returned. <a href='#SkImage_makeWithFilter_offse…
2467 <table> <tr> <td><a name='SkImage_makeWithFilter_filter'><code><strong>filter</strong></code></…
2468 <td>how <a href='SkImage_Reference#SkImage'>SkImage</a> is sampled when transformed</td>
2470 <tr> <td><a name='SkImage_makeWithFilter_subset'><code><strong>subset</strong></code></a></td>
2471 …<td>bounds of <a href='SkImage_Reference#SkImage'>SkImage</a> processed by <a href='#SkImage_makeW…
2473 …<tr> <td><a name='SkImage_makeWithFilter_clipBounds'><code><strong>clipBounds</strong></code></…
2474 <td>expected bounds of filtered <a href='SkImage_Reference#SkImage'>SkImage</a></td>
2476 …<tr> <td><a name='SkImage_makeWithFilter_outSubset'><code><strong>outSubset</strong></code></a>…
2477 <td>storage for returned <a href='SkImage_Reference#SkImage'>SkImage</a> bounds</td>
2479 <tr> <td><a name='SkImage_makeWithFilter_offset'><code><strong>offset</strong></code></a></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 …><div>In each frame of the animation, filtered <a href='SkImage_Reference#Image'>Image</a> is draw…
2491 …a href='SkCanvas_Reference#Canvas'>canvas</a> by returned <a href='#SkImage_makeWithFilter_offset'…
2496 <a href='#SkImage_makeShader'>makeShader</a> <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a hr…
2498 <a name='SkImage_BackendTextureReleaseProc'></a>
2502 <a href='#SkImage_BackendTextureReleaseProc'>BackendTextureReleaseProc</a>
2505 …on<void(<a href='undocumented#GrBackendTexture'>GrBackendTexture</a>)> <a href='#SkImage_BackendTe…
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 …
2511 <a name='SkImage_MakeBackendTextureFromSkImage'></a>
2516 …a href='#SkImage_MakeBackendTextureFromSkImage'>MakeBackendTextureFromSkImage</a>(<a href='undocum…
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 …a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a> and <a href='#Sk…
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 …a href='#SkImage_MakeBackendTextureFromSkImage_backendTextureReleaseProc'>backendTextureReleasePro…
2527 …a href='#SkImage_MakeBackendTextureFromSkImage_backendTextureReleaseProc'>backendTextureReleasePro…
2528 …a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a>. The caller must…
2530 …a href='SkImage_Reference#SkImage'>SkImage</a> is both <a href='undocumented#Texture'>texture</a> …
2531 …a href='#SkImage_MakeBackendTextureFromSkImage_backendTexture'>backendTexture</a> without conversi…
2534 …a href='SkImage_Reference#SkImage'>SkImage</a> is not <a href='undocumented#Texture'>texture</a> b…
2538 <table> <tr> <td><a name='SkImage_MakeBackendTextureFromSkImage_context'><code><strong>context<…
2539 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
2541 …<tr> <td><a name='SkImage_MakeBackendTextureFromSkImage_image'><code><strong>image</strong></co…
2542 …<td><a href='SkImage_Reference#SkImage'>SkImage</a> used for <a href='undocumented#Texture'>textur…
2544 …<tr> <td><a name='SkImage_MakeBackendTextureFromSkImage_backendTexture'><code><strong>backendTe…
2545 <td>storage for back-end <a href='undocumented#Texture'>texture</a></td>
2547 …r> <td><a name='SkImage_MakeBackendTextureFromSkImage_backendTextureReleaseProc'><code><strong>…
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…
2564 <a name='SkImage_isLazyGenerated'></a>
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…
2591 <a name='SkImage_makeColorSpace'></a>
2596 …a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
2599 …a href='SkImage_Reference#SkImage'>SkImage</a> in <a href='#SkImage_makeColorSpace_target'>target<…
2600 Returns nullptr if <a href='SkImage_Reference#SkImage'>SkImage</a> could not be created.
2602 …a href='SkImage_Reference#SkImage'>SkImage</a> if it is in <a href='#SkImage_makeColorSpace_target…
2603 …a href='SkImage_Reference#SkImage'>SkImage</a> <a href='undocumented#SkColorSpace'>SkColorSpace</a…
2604 …a href='SkImage_Reference#SkImage'>SkImage</a> <a href='#SkImage_colorSpace'>colorSpace</a>() retu…
2608 <table> <tr> <td><a name='SkImage_makeColorSpace_target'><code><strong>target</strong></code></…
2609 …a href='undocumented#SkColorSpace'>SkColorSpace</a> describing <a href='SkColor_Reference#Color'>c…
2615 …a href='SkImage_Reference#SkImage'>SkImage</a> in <a href='#SkImage_makeColorSpace_target'>target<…
2623 <a href='#SkImage_MakeFromPicture'>MakeFromPicture</a> <a href='#SkImage_MakeFromTexture'>MakeFromT…