Lines Matching full:href
10 class <a href='SkSurface_Reference#SkSurface'>SkSurface</a> : public <a href='undocumented#SkRefCnt…
12 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
14 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = nullptr);
15 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
18 …void* context, const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = null…
19 … href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a hre…
20 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps);
21 … href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a hre…
22 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* props = nullptr);
23 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a…
24 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = nullptr);
25 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
26 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
27 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, int sampleCnt,
28 … <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> colorType,
29 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> color…
30 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps);
31 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
32 … const <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a>& backendRenderTarget,
33 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin,
34 … <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> colorType,
35 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> color…
36 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps);
37 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
38 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
39 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin,
41 … <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> colorType,
42 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>> color…
43 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps);
44 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
45 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo,
46 … int sampleCount, <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin,
47 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps,
49 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
50 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo, int sampleCount,
51 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* props);
52 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
53 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo);
54 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
55 …const <a href='undocumented#SkSurfaceCharacterization'>SkSurfaceCharacterization</a>& characteriza…
56 … <a href='undocumented#SkBudgeted'>SkBudgeted</a> budgeted);
57 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a…
58 int <a href='#SkSurface_width'>width()</a> const;
59 int <a href='#SkSurface_height'>height()</a> const;
60 uint32_t <a href='#SkSurface_generationID'>generationID</a>();
62 enum <a href='#SkSurface_ContentChangeMode'>ContentChangeMode</a> {
63 <a href='#SkSurface_kDiscard_ContentChangeMode'>kDiscard_ContentChangeMode</a>,
64 <a href='#SkSurface_kRetain_ContentChangeMode'>kRetain_ContentChangeMode</a>,
67 …void <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a>(<a href='#SkSurface_…
69 enum <a href='#SkSurface_BackendHandleAccess'>BackendHandleAccess</a> {
70 <a href='#SkSurface_kFlushRead_BackendHandleAccess'>kFlushRead_BackendHandleAccess</a>,
71 <a href='#SkSurface_kFlushWrite_BackendHandleAccess'>kFlushWrite_BackendHandleAccess</a>,
72 … <a href='#SkSurface_kDiscardWrite_BackendHandleAccess'>kDiscardWrite_BackendHandleAccess</a>,
75 …<a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkSurface_getBackendTexture…
76 …<a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a> <a href='#SkSurface_getBack…
77 …<a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href='#SkSurface_getCanvas'>getCanvas</a>();
78 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <a href…
79 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#…
80 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href='#SkS…
81 …href='#SkSurface_draw'>draw</a>(<a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href='SkCan…
82 …bool <a href='#SkSurface_peekPixels'>peekPixels</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap…
83 …bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>Sk…
84 …bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageIn…
86 …bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkBitmap_Reference#SkBitmap'>Sk…
87 …void <a href='#SkSurface_writePixels'>writePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>…
88 …void <a href='#SkSurface_writePixels'>writePixels</a>(const <a href='SkBitmap_Reference#SkBitmap'>…
89 …const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>& <a href='#SkSurface_props'>props()…
90 void <a href='#SkSurface_flush'>flush()</a>;
91 …<a href='undocumented#GrSemaphoresSubmitted'>GrSemaphoresSubmitted</a> <a href='#SkSurface_flushAn…
92 … <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a> signalSemaphores[]);
93 …bool <a href='#SkSurface_wait'>wait</a>(int numSemaphores, const <a href='undocumented#GrBackendSe…
94 …bool <a href='#SkSurface_characterize'>characterize</a>(<a href='undocumented#SkSurfaceCharacteriz…
95 …bool <a href='#SkSurface_draw'>draw</a>(<a href='undocumented#SkDeferredDisplayList'>SkDeferredDis…
100 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is responsible for managing the pixels that a…
101 …a <a href='undocumented#Raster_Surface'>raster surface</a>; or on the GPU, for a <a href='undocum…
102 …href='SkSurface_Reference#SkSurface'>SkSurface</a> takes care of allocating a <a href='SkCanvas_Re…
103 …href='SkSurface_Reference#Surface'>surface</a>-><a href='#SkSurface_getCanvas'>getCanvas</a>() to …
104 it is owned by <a href='SkSurface_Reference#Surface'>surface</a>.
106 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> always has non-zero dimensions. If there is a…
114 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
115 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = nullptr)
118 …href='SkSurface_Reference#SkSurface'>SkSurface</a>. <a href='SkCanvas_Reference#SkCanvas'>SkCanvas…
120 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid.
123 …s <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#S…
124 <a href='#SkSurface_MakeRasterDirect_pixels'>pixels</a> is not nullptr;
125 …href='#SkSurface_MakeRasterDirect_rowBytes'>rowBytes</a> is large enough to contain info width <a …
127 <a href='undocumented#Pixel'>Pixel</a> buffer <a href='undocumented#Size'>size</a> should be info h…
129 To access <a href='#SkSurface_MakeRasterDirect_pixels'>pixels</a> after drawing, call <a href='#SkS…
134 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
138 of <a href='undocumented#Raster_Surface'>raster surface</a>; width and height must be greater than…
143 <td>pointer to destination <a href='#SkSurface_MakeRasterDirect_pixels'>pixels</a> buffer</td>
146 <td>interval from one <a href='SkSurface_Reference#SkSurface'>SkSurface</a> row to the next</td>
149 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent …
157 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
175 …href='#SkSurface_MakeRasterDirectReleaseProc'>MakeRasterDirectReleaseProc</a> <a href='#SkSurface_…
182 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
185 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = nullptr)
188 …href='SkSurface_Reference#SkSurface'>SkSurface</a>. <a href='SkCanvas_Reference#SkCanvas'>SkCanvas…
189 …href='#SkSurface_MakeRasterDirectReleaseProc_releaseProc'>releaseProc</a> is called with <a href='…
191 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid.
194 …s <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#S…
195 <a href='#SkSurface_MakeRasterDirectReleaseProc_pixels'>pixels</a> is not nullptr;
196 …href='#SkSurface_MakeRasterDirectReleaseProc_rowBytes'>rowBytes</a> is large enough to contain inf…
198 <a href='undocumented#Pixel'>Pixel</a> buffer <a href='undocumented#Size'>size</a> should be info h…
200 …access <a href='#SkSurface_MakeRasterDirectReleaseProc_pixels'>pixels</a> after drawing, call <a h…
205 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
209 of <a href='undocumented#Raster_Surface'>raster surface</a>; width and height must be greater than…
214 …<td>pointer to destination <a href='#SkSurface_MakeRasterDirectReleaseProc_pixels'>pixels</a> buff…
217 <td>interval from one <a href='SkSurface_Reference#SkSurface'>SkSurface</a> row to the next</td>
220 …<td>called when <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is deleted; may be nullptr</…
223 …<td>passed to <a href='#SkSurface_MakeRasterDirectReleaseProc_releaseProc'>releaseProc</a>; may be…
226 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent …
234 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
253 <a href='#SkSurface_MakeRasterDirect'>MakeRasterDirect</a> <a href='#SkSurface_MakeRasterN32Premul'…
260 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
261 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps)
264 …ates raster <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. <a href='SkCanvas_Reference#SkC…
265 …href='undocumented#Pixel'>pixel</a> memory. <a href='undocumented#Pixel'>Pixel</a> memory <a href=…
266 …href='#SkSurface_MakeRaster_rowBytes'>rowBytes</a>, or times <a href='#SkSurface_MakeRaster_imageI…
267 <a href='undocumented#Pixel'>Pixel</a> memory is deleted when <a href='SkSurface_Reference#SkSurfac…
269 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid.
272 …s <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#S…
273 <a href='#SkSurface_MakeRaster_rowBytes'>rowBytes</a> is large enough to contain info width pixels …
275 If <a href='#SkSurface_MakeRaster_rowBytes'>rowBytes</a> is not zero, subsequent images returned by…
276 have the same <a href='#SkSurface_MakeRaster_rowBytes'>rowBytes</a>.
281 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
285 of <a href='undocumented#Raster_Surface'>raster surface</a>; width and height must be greater than…
290 …<td>interval from one <a href='SkSurface_Reference#SkSurface'>SkSurface</a> row to the next; may b…
293 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent …
301 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
319 <a href='#SkSurface_MakeRasterDirect'>MakeRasterDirect</a> <a href='#SkSurface_MakeRasterN32Premul'…
326 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
327 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* props = nullptr)
330 …ates raster <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. <a href='SkCanvas_Reference#SkC…
331 …href='undocumented#Pixel'>pixel</a> memory. <a href='undocumented#Pixel'>Pixel</a> memory <a href=…
332 <a href='#SkSurface_MakeRaster_2_imageInfo'>imageInfo</a>.<a href='#SkImageInfo_minRowBytes'>minRow…
333 <a href='undocumented#Pixel'>Pixel</a> memory is deleted when <a href='SkSurface_Reference#SkSurfac…
335 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid.
338 …s <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> and <a href='SkImageInfo_Reference#S…
343 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
347 of <a href='undocumented#Raster_Surface'>raster surface</a>; width and height must be greater than…
352 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent …
360 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
368 <a href='#SkSurface_MakeRasterDirect'>MakeRasterDirect</a> <a href='#SkSurface_MakeRasterN32Premul'…
375 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface<…
376 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps = nullptr)
379 …ates raster <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. <a href='SkCanvas_Reference#SkC…
380 …href='undocumented#Pixel'>pixel</a> memory. <a href='undocumented#Pixel'>Pixel</a> memory <a href=…
381 four. <a href='undocumented#Pixel'>Pixel</a> memory is deleted when <a href='SkSurface_Reference#Sk…
383 …href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a> to <a href='#SkSurface_MakeRasterN32Premu…
384 <a href='SkImageInfo_Reference#kPremul_SkAlphaType'>kPremul_SkAlphaType</a>.
386 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if <a href='#SkSurface_MakeRaster…
388 …reate <a href='SkSurface_Reference#SkSurface'>SkSurface</a> that matches <a href='SkColor_Referenc…
389 …orm. <a href='SkSurface_Reference#SkSurface'>SkSurface</a> drawn to output <a href='undocumented#D…
394 <td><a href='undocumented#Pixel'>pixel</a> column count; must be greater than zero</td>
397 <td><a href='undocumented#Pixel'>pixel</a> row count; must be greater than zero</td>
400 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
408 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
426 <a href='#SkSurface_MakeRasterDirect'>MakeRasterDirect</a> <a href='#SkSurface_MakeRasterN32Premul'…
433 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
434 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
435 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, int sampleCnt,
436 … <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> colorType,
437 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
438 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps)
441 …-backed <a href='undocumented#Texture'>texture</a> into <a href='SkSurface_Reference#SkSurface'>Sk…
442 valid for the lifetime of returned <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. If <a hre…
443 creates an intermediate MSAA <a href='SkSurface_Reference#SkSurface'>SkSurface</a> which is used fo…
445 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid. <a h…
446 …s <a href='undocumented#Pixel'>pixel</a> configuration agrees with <a href='#SkSurface_MakeFromBac…
447 <a href='#SkSurface_MakeFromBackendTexture_backendTexture'>backendTexture</a> has an sRGB configura…
448 and <a href='#SkSurface_MakeFromBackendTexture_colorSpace'>colorSpace</a> must be present. Further,…
449 not exceed <a href='#SkSurface_MakeFromBackendTexture_context'>context</a> capabilities, and the <a…
457 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
460 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
463 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
466 …<td>samples per <a href='undocumented#Pixel'>pixel</a>, or 0 to disable full scene <a href='SkPain…
473 …href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo_R…
474 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, <a href='SkImage…
475 <a href='SkImageInfo_Reference#kRGB_888x_SkColorType'>kRGB_888x_SkColorType</a>, <a href='SkImageIn…
476 <a href='SkImageInfo_Reference#kRGBA_1010102_SkColorType'>kRGBA_1010102_SkColorType</a>, <a href='S…
477 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, <a href='SkImageInfo_R…
485 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
493 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
501 <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkSurface_MakeFromBackendRen…
508 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
509 … const <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a>& backendRenderTarget,
510 …<a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, <a href='SkImageInfo_Reference#…
511 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorSpace'>SkColorSpace</a>>…
512 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps)
515 Wraps a GPU-backed buffer into <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. Caller must e…
516 is valid for the lifetime of returned <a href='SkSurface_Reference#SkSurface'>SkSurface</a>.
518 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid. <a h…
519 …a href='undocumented#Pixel'>pixel</a> configuration agrees with <a href='#SkSurface_MakeFromBacken…
520 <a href='#SkSurface_MakeFromBackendRenderTarget_backendRenderTarget'>backendRenderTarget</a> has an…
521 and <a href='#SkSurface_MakeFromBackendRenderTarget_colorSpace'>colorSpace</a> must be present. Fur…
522 not exceed <a href='#SkSurface_MakeFromBackendRenderTarget_context'>context</a> capabilities, and t…
530 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
536 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
543 <a href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo…
544 <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>,
545 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, <a href='SkImage…
546 <a href='SkImageInfo_Reference#kRGB_888x_SkColorType'>kRGB_888x_SkColorType</a>, <a href='SkImageIn…
547 <a href='SkImageInfo_Reference#kRGBA_1010102_SkColorType'>kRGBA_1010102_SkColorType</a>, <a href='S…
548 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, <a href='SkImageInfo_R…
556 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
564 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
589 <a href='#SkSurface_MakeFromBackendTexture'>MakeFromBackendTexture</a> <a href='#SkSurface_MakeRend…
596 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
597 … const <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>& backendTexture,
598 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> origin, int sampleCnt,
599 …<a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> colorType, <a href='undocumented#sk_sp…
600 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps)
603 …PU-backed <a href='undocumented#Texture'>texture</a> into <a href='SkSurface_Reference#SkSurface'>…
604 valid for the lifetime of returned <a href='SkSurface_Reference#SkSurface'>SkSurface</a>. If <a hre…
605 creates an intermediate MSAA <a href='SkSurface_Reference#SkSurface'>SkSurface</a> which is used fo…
607 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is returned if all parameters are valid. <a h…
608 …href='undocumented#Pixel'>pixel</a> configuration agrees with <a href='#SkSurface_MakeFromBackendT…
609 <a href='#SkSurface_MakeFromBackendTextureAsRenderTarget_backendTexture'>backendTexture</a> has an …
610 and <a href='#SkSurface_MakeFromBackendTextureAsRenderTarget_colorSpace'>colorSpace</a> must be pre…
611 not exceed <a href='#SkSurface_MakeFromBackendTextureAsRenderTarget_context'>context</a> capabiliti…
613 Returned <a href='SkSurface_Reference#SkSurface'>SkSurface</a> is available only for drawing into, …
614 <a href='SkImage_Reference#SkImage'>SkImage</a>.
621 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
624 <td><a href='undocumented#Texture'>texture</a> residing on GPU</td>
627 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
630 …<td>samples per <a href='undocumented#Pixel'>pixel</a>, or 0 to disable full scene <a href='SkPain…
637 …href='SkImageInfo_Reference#kUnknown_SkColorType'>kUnknown_SkColorType</a>, <a href='SkImageInfo_R…
638 <a href='SkImageInfo_Reference#kARGB_4444_SkColorType'>kARGB_4444_SkColorType</a>, <a href='SkImage…
639 <a href='SkImageInfo_Reference#kRGB_888x_SkColorType'>kRGB_888x_SkColorType</a>, <a href='SkImageIn…
640 <a href='SkImageInfo_Reference#kRGBA_1010102_SkColorType'>kRGBA_1010102_SkColorType</a>, <a href='S…
641 <a href='SkImageInfo_Reference#kGray_8_SkColorType'>kGray_8_SkColorType</a>, <a href='SkImageInfo_R…
649 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
657 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
665 <a href='#SkSurface_MakeFromBackendRenderTarget'>MakeFromBackendRenderTarget</a> <a href='#SkSurfac…
672 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
673 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo, int sampleCount,
674 … <a href='undocumented#GrSurfaceOrigin'>GrSurfaceOrigin</a> surfaceOrigin,
675 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* surfaceProps,
679 Returns <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU indicated by <a href='#SkSurfa…
680 …ght, and <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> in <a href='SkImageInfo_Refer…
681 …ether allocation for pixels is tracked by <a href='#SkSurface_MakeRenderTarget_context'>context</a…
682 describes the <a href='undocumented#Pixel'>pixel</a> format in <a href='SkImageInfo_Reference#SkCol…
683 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, and <a href='SkColor_Reference#Color'>…
685 <a href='#SkSurface_MakeRenderTarget_sampleCount'>sampleCount</a> requests the number of samples pe…
686 Pass zero to disable <a href='undocumented#Multi_Sample_Anti_Aliasing'>multi-sample anti-aliasing<…
690 <a href='#SkSurface_MakeRenderTarget_surfaceOrigin'>surfaceOrigin</a> pins either the top-left or t…
692 …href='#SkSurface_MakeRenderTarget_shouldCreateWithMips'>shouldCreateWithMips</a> hints that <a hre…
699 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
702 …of: <a href='undocumented#SkBudgeted'>SkBudgeted</a>::<a href='#SkBudgeted_kNo'>kNo</a>, <a href='…
705 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
714 …<td>samples per <a href='undocumented#Pixel'>pixel</a>, or 0 to disable full scene <a href='SkPain…
717 …<td>one of: <a href='undocumented#kBottomLeft_GrSurfaceOrigin'>kBottomLeft_GrSurfaceOrigin</a>, <a…
720 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
729 …<td>hint that <a href='SkSurface_Reference#SkSurface'>SkSurface</a> will host <a href='undocument…
735 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
743 <a href='#SkSurface_MakeFromBackendRenderTarget'>MakeFromBackendRenderTarget</a> <a href='#SkSurfac…
750 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
751 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo, int sampleCount,
752 … const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>* props)
755 Returns <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU indicated by <a href='#SkSurfa…
756 …ght, and <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> in <a href='SkImageInfo_Refer…
757 …ther allocation for pixels is tracked by <a href='#SkSurface_MakeRenderTarget_2_context'>context</…
758 describes the <a href='undocumented#Pixel'>pixel</a> format in <a href='SkImageInfo_Reference#SkCol…
759 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, and <a href='SkColor_Reference#Color'>…
761 <a href='#SkSurface_MakeRenderTarget_2_sampleCount'>sampleCount</a> requests the number of samples …
762 Pass zero to disable <a href='undocumented#Multi_Sample_Anti_Aliasing'>multi-sample anti-aliasing<…
766 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> bottom-left corner is pinned to the origin.
771 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
774 …of: <a href='undocumented#SkBudgeted'>SkBudgeted</a>::<a href='#SkBudgeted_kNo'>kNo</a>, <a href='…
777 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
781 of <a href='undocumented#Raster_Surface'>raster surface</a>; width, or height, or both, may be zero
786 …<td>samples per <a href='undocumented#Pixel'>pixel</a>, or 0 to disable <a href='undocumented#Mul…
789 …<td>LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent<…
797 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
801 <div><fiddle-embed name="640321e8ecfb3f9329f3bc6e1f02485f" gpu="true" cpu="true"><div>LCD <a href='…
809 <a href='#SkSurface_MakeFromBackendRenderTarget'>MakeFromBackendRenderTarget</a> <a href='#SkSurfac…
816 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
817 … const <a href='SkImageInfo_Reference#SkImageInfo'>SkImageInfo</a>& imageInfo)
820 Returns <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU indicated by <a href='#SkSurfa…
821 …ght, and <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a> in <a href='SkImageInfo_Refer…
822 …ther allocation for pixels is tracked by <a href='#SkSurface_MakeRenderTarget_3_context'>context</…
823 describes the <a href='undocumented#Pixel'>pixel</a> format in <a href='SkImageInfo_Reference#SkCol…
824 <a href='SkImageInfo_Reference#SkAlphaType'>SkAlphaType</a>, and <a href='SkColor_Reference#Color'>…
826 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> bottom-left corner is pinned to the origin.
831 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
834 …of: <a href='undocumented#SkBudgeted'>SkBudgeted</a>::<a href='#SkBudgeted_kNo'>kNo</a>, <a href='…
837 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
841 of <a href='undocumented#Raster_Surface'>raster surface</a>; width, or height, or both, may be zero
845 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
853 <a href='#SkSurface_MakeFromBackendRenderTarget'>MakeFromBackendRenderTarget</a> <a href='#SkSurfac…
860 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
861 …const <a href='undocumented#SkSurfaceCharacterization'>SkSurfaceCharacterization</a>& characteriza…
862 <a href='undocumented#SkBudgeted'>SkBudgeted</a> budgeted)
865 Returns <a href='SkSurface_Reference#SkSurface'>SkSurface</a> on GPU indicated by <a href='#SkSurfa…
866 …href='#SkSurface_MakeRenderTarget_4_characterization'>characterization</a>. <a href='#SkSurface_Ma…
871 <td><a href='undocumented#GPU_Context'>GPU context</a></td>
874 <td>description of the desired <a href='SkSurface_Reference#SkSurface'>SkSurface</a></td>
877 …of: <a href='undocumented#SkBudgeted'>SkBudgeted</a>::<a href='#SkBudgeted_kNo'>kNo</a>, <a href='…
883 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if all parameters are valid; otherwise, nullp…
887 <a href='#SkSurface_MakeFromBackendRenderTarget'>MakeFromBackendRenderTarget</a> <a href='#SkSurfac…
894 static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface<…
897 …href='SkSurface_Reference#SkSurface'>SkSurface</a> without backing pixels. Drawing to <a href='SkC…
898 has no effect. Calling <a href='#SkSurface_makeImageSnapshot'>makeImageSnapshot</a>() on returned <…
912 <a href='SkSurface_Reference#SkSurface'>SkSurface</a> if <a href='#SkSurface_MakeNull_width'>width<…
929 <a href='#SkSurface_MakeRaster'>MakeRaster</a> <a href='#SkSurface_MakeRenderTarget'>MakeRenderTarg…
938 int <a href='#SkSurface_width'>width()</a>const
941 Returns <a href='undocumented#Pixel'>pixel</a> count in each row; may be zero or greater.
945 number of <a href='undocumented#Pixel'>pixel</a> columns
961 <a href='#SkSurface_height'>height()</a>
968 int <a href='#SkSurface_height'>height()</a>const
971 Returns <a href='undocumented#Pixel'>pixel</a> row count; may be zero or greater.
975 number of <a href='undocumented#Pixel'>pixel</a> rows
991 <a href='#SkSurface_width'>width()</a>
998 uint32_t <a href='#SkSurface_generationID'>generationID</a>()
1001 Returns unique value identifying the content of <a href='SkSurface_Reference#SkSurface'>SkSurface</…
1003 <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a>().
1025 <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a> <a href='#SkSurface_Conten…
1032 enum <a href='#SkSurface_ContentChangeMode'>ContentChangeMode</a> {
1033 <a href='#SkSurface_kDiscard_ContentChangeMode'>kDiscard_ContentChangeMode</a>,
1034 <a href='#SkSurface_kRetain_ContentChangeMode'>kRetain_ContentChangeMode</a>,
1038 <a href='#SkSurface_ContentChangeMode'>ContentChangeMode</a> members are parameters to <a href='#Sk…
1050 Pass to <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a> to discard <a href…
1051 the <a href='SkSurface_Reference#Surface'>surface</a> is cleared or overwritten.
1058 Pass to <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a> when to preserve <…
1059 If a snapshot has been generated, this copies the <a href='SkSurface_Reference#Surface'>Surface</a>…
1066 <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a> <a href='#SkSurface_genera…
1075 void <a href='#SkSurface_notifyContentWillChange'>notifyContentWillChange</a>(<a href='#SkSurface_C…
1078 Notifies that <a href='SkSurface_Reference#SkSurface'>SkSurface</a> contents will be changed by cod…
1079 Subsequent calls to <a href='#SkSurface_generationID'>generationID</a>() return a different value.
1084 …<td>one of: <a href='#SkSurface_kDiscard_ContentChangeMode'>kDiscard_ContentChangeMode</a>, <a hre…
1094 <a href='#SkSurface_ContentChangeMode'>ContentChangeMode</a> <a href='#SkSurface_generationID'>gene…
1101 enum <a href='#SkSurface_BackendHandleAccess'>BackendHandleAccess</a> {
1102 <a href='#SkSurface_kFlushRead_BackendHandleAccess'>kFlushRead_BackendHandleAccess</a>,
1103 <a href='#SkSurface_kFlushWrite_BackendHandleAccess'>kFlushWrite_BackendHandleAccess</a>,
1104 … <a href='#SkSurface_kDiscardWrite_BackendHandleAccess'>kDiscardWrite_BackendHandleAccess</a>,
1107 …static const <a href='#SkSurface_BackendHandleAccess'>BackendHandleAccess</a> kFlushRead_TextureHa…
1108 <a href='#SkSurface_kFlushRead_BackendHandleAccess'>kFlushRead_BackendHandleAccess</a>;
1109 …static const <a href='#SkSurface_BackendHandleAccess'>BackendHandleAccess</a> kFlushWrite_TextureH…
1110 … <a href='#SkSurface_kFlushWrite_BackendHandleAccess'>kFlushWrite_BackendHandleAccess</a>;
1111 …static const <a href='#SkSurface_BackendHandleAccess'>BackendHandleAccess</a> kDiscardWrite_Textur…
1112 … <a href='#SkSurface_kDiscardWrite_BackendHandleAccess'>kDiscardWrite_BackendHandleAccess</a>;
1146 <a href='#SkSurface_getBackendTexture'>getBackendTexture</a> <a href='#SkSurface_getBackendRenderTa…
1153 <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkSurface_getBackendTexture'…
1156 …the back-end <a href='undocumented#Texture'>texture</a>. If <a href='SkSurface_Reference#SkSurface…
1157 object is returned. Call <a href='undocumented#GrBackendTexture'>GrBackendTexture</a>::<a href='#Gr…
1160 The returned <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> should be discarded if th…
1165 …<td>one of: <a href='#SkSurface_kFlushRead_BackendHandleAccess'>kFlushRead_BackendHandleAccess</a…
1169 <a href='#SkSurface_kFlushWrite_BackendHandleAccess'>kFlushWrite_BackendHandleAccess</a>,
1170 <a href='#SkSurface_kDiscardWrite_BackendHandleAccess'>kDiscardWrite_BackendHandleAccess</a>
1174 <a href='undocumented#GPU_Texture'>GPU texture</a> reference; invalid on failure
1178 <a href='undocumented#GrBackendTexture'>GrBackendTexture</a> <a href='#SkSurface_BackendHandleAcces…
1185 <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a> <a href='#SkSurface_getBacke…
1188 …-end <a href='undocumented#Render_Target'>render target</a>. If <a href='SkSurface_Reference#SkSu…
1189 object is returned. Call <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a>::<a…
1192 The returned <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a> should be disca…
1198 …<td>one of: <a href='#SkSurface_kFlushRead_BackendHandleAccess'>kFlushRead_BackendHandleAccess</a…
1202 <a href='#SkSurface_kFlushWrite_BackendHandleAccess'>kFlushWrite_BackendHandleAccess</a>,
1203 <a href='#SkSurface_kDiscardWrite_BackendHandleAccess'>kDiscardWrite_BackendHandleAccess</a>
1207 GPU <a href='undocumented#Render_Target'>render target</a> reference; invalid on failure
1211 <a href='undocumented#GrBackendRenderTarget'>GrBackendRenderTarget</a> <a href='#SkSurface_BackendH…
1218 <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href='#SkSurface_getCanvas'>getCanvas</a>()
1221 …href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> that draws into <a href='SkSurface_Reference#SkSur…
1222 …href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> returned is managed and owned by <a href='SkSurfac…
1227 drawing <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> for <a href='SkSurface_Reference#SkSurfa…
1235 <a href='#SkSurface_makeSurface'>makeSurface</a> <a href='#SkSurface_makeImageSnapshot'>makeImageSn…
1242 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a>> <…
1245 Returns a compatible <a href='SkSurface_Reference#SkSurface'>SkSurface</a>, or nullptr. Returned <a…
1246 the same raster, GPU, or null properties as the original. Returned <a href='SkSurface_Reference#SkS…
1249 Returns nullptr if <a href='#SkSurface_makeSurface_imageInfo'>imageInfo</a> width or height are zer…
1250 is incompatible with <a href='SkSurface_Reference#SkSurface'>SkSurface</a>.
1255 …, height, <a href='SkImageInfo_Reference#SkColorType'>SkColorType</a>, <a href='SkImageInfo_Refere…
1259 of <a href='SkSurface_Reference#SkSurface'>SkSurface</a>; width and height must be greater than zero
1263 compatible <a href='SkSurface_Reference#SkSurface'>SkSurface</a> or nullptr
1271 <a href='#SkSurface_makeImageSnapshot'>makeImageSnapshot</a> <a href='#SkSurface_getCanvas'>getCanv…
1278 <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a hr…
1281 …a href='SkImage_Reference#SkImage'>SkImage</a> capturing <a href='SkSurface_Reference#SkSurface'>S…
1282 are not captured. <a href='SkImage_Reference#SkImage'>SkImage</a> allocation is accounted for if <a…
1283 <a href='undocumented#SkBudgeted'>SkBudgeted</a>::<a href='#SkBudgeted_kYes'>kYes</a>.
1287 <a href='SkImage_Reference#SkImage'>SkImage</a> initialized with <a href='SkSurface_Reference#SkSur…
1295 <a href='#SkSurface_draw'>draw</a> <a href='#SkSurface_getCanvas'>getCanvas</a>
1302 …href='undocumented#sk_sp'>sk_sp</a><<a href='SkImage_Reference#SkImage'>SkImage</a>> <a href…
1305 …the no-parameter version, this returns an <a href='SkImage_Reference#Image'>image</a> of the curre…
1306 This variant takes a rectangle specifying the subset of the <a href='SkSurface_Reference#Surface'>s…
1308 - If bounds extends beyond the <a href='SkSurface_Reference#Surface'>surface</a>, it will be trimme…
1309 it and the <a href='SkSurface_Reference#Surface'>surface</a>.
1310 - If bounds does not intersect the <a href='SkSurface_Reference#Surface'>surface</a>, then this ret…
1311 - If bounds == the <a href='SkSurface_Reference#Surface'>surface</a>, then this is the same as call…
1319 <a href='#SkSurface_draw'>draw</a> <a href='#SkSurface_getCanvas'>getCanvas</a>
1328 …href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>* <a href='SkCanvas_Reference#Canvas'>canvas</a>, <…
1331 …href='SkSurface_Reference#SkSurface'>SkSurface</a> contents to <a href='#SkSurface_draw_canvas'>ca…
1333 …href='SkPaint_Reference#SkPaint'>SkPaint</a> <a href='#SkSurface_draw_paint'>paint</a> is not null…
1334 <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>, and <a href='undocumented#SkDrawLooper…
1339 <td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a> drawn into</td>
1342 <td>horizontal offset in <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a></td>
1345 <td>vertical offset in <a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a></td>
1348 …href='SkPaint_Reference#SkPaint'>SkPaint</a> containing <a href='SkBlendMode_Reference#SkBlendMode…
1360 <a href='#SkSurface_makeImageSnapshot'>makeImageSnapshot</a> <a href='#SkSurface_getCanvas'>getCanv…
1367 bool <a href='#SkSurface_peekPixels'>peekPixels</a>(<a href='SkPixmap_Reference#SkPixmap'>SkPixmap<…
1370 …href='SkSurface_Reference#SkSurface'>SkSurface</a> <a href='undocumented#Pixel'>pixel</a> address,…
1371 is available, and returns true. If <a href='undocumented#Pixel'>pixel</a> address is not available,…
1372 false and leave <a href='SkPixmap_Reference#SkPixmap'>SkPixmap</a> unchanged.
1374 <a href='#SkSurface_peekPixels_pixmap'>pixmap</a> contents become invalid on any future change to <…
1379 …<td>storage for <a href='undocumented#Pixel'>pixel</a> state if pixels are readable; otherwise, ig…
1385 true if <a href='SkSurface_Reference#SkSurface'>SkSurface</a> has direct access to pixels
1393 <a href='#SkSurface_readPixels'>readPixels</a> <a href='#SkSurface_writePixels'>writePixels</a>
1400 bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>SkP…
1403 Copies <a href='SkRect_Reference#Rect'>Rect</a> of pixels to <a href='#SkSurface_readPixels_dst'>ds…
1405 …href='SkRect_Reference#Rect'>Rect</a> corners are (<a href='#SkSurface_readPixels_srcX'>srcX</a>, …
1406 …href='SkRect_Reference#Rect'>Rect</a> corners are (0, 0) and (<a href='#SkSurface_readPixels_dst'>…
1407 Copies each readable <a href='undocumented#Pixel'>pixel</a> intersecting both rectangles, without s…
1408 …o <a href='#SkSurface_readPixels_dst'>dst</a>.<a href='#SkPixmap_colorType'>colorType</a>() and <a…
1410 Pixels are readable when <a href='SkSurface_Reference#Surface'>Surface</a> is raster, or backed by …
1412 The destination <a href='undocumented#Pixel_Storage'>pixel storage</a> must be allocated by the ca…
1414 <a href='undocumented#Pixel'>Pixel</a> values are converted only if <a href='#Image_Info_Color_Type…
1416 are copied. <a href='#SkSurface_readPixels_dst'>dst</a> contents outside <a href='SkRect_Reference#…
1418 Pass negative values for <a href='#SkSurface_readPixels_srcX'>srcX</a> or <a href='#SkSurface_readP…
1425 <td><a href='SkPixmap_Reference#Pixmap'>Pixmap</a> pixels could not be allocated.</td>
1427 …<td><a href='#SkSurface_readPixels_dst'>dst</a>.<a href='#SkPixmap_rowBytes'>rowBytes</a>() is too…
1434 <td>storage for pixels copied from <a href='SkSurface_Reference#Surface'>Surface</a></td>
1454 <a href='#SkSurface_peekPixels'>peekPixels</a> <a href='#SkSurface_writePixels'>writePixels</a>
1461 bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkImageInfo_Reference#SkImageInf…
1464 Copies <a href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkCanvas_Reference#Canvas'>…
1466 …href='SkRect_Reference#Rect'>Rect</a> corners are (<a href='#SkSurface_readPixels_2_srcX'>srcX</a>…
1467 …href='SkRect_Reference#Rect'>Rect</a> corners are (0, 0) and (<a href='#SkSurface_readPixels_2_dst…
1468 Copies each readable <a href='undocumented#Pixel'>pixel</a> intersecting both rectangles, without s…
1469 …href='#SkSurface_readPixels_2_dstInfo'>dstInfo</a>.<a href='#SkImageInfo_colorType'>colorType</a>(…
1471 Pixels are readable when <a href='SkSurface_Reference#Surface'>Surface</a> is raster, or backed by …
1473 The destination <a href='undocumented#Pixel_Storage'>pixel storage</a> must be allocated by the ca…
1475 <a href='undocumented#Pixel'>Pixel</a> values are converted only if <a href='#Image_Info_Color_Type…
1477 are copied. <a href='#SkSurface_readPixels_2_dstPixels'>dstPixels</a> contents outside <a href='SkR…
1479 Pass negative values for <a href='#SkSurface_readPixels_2_srcX'>srcX</a> or <a href='#SkSurface_rea…
1486 …href='SkSurface_Reference#Surface'>Surface</a> pixels could not be converted to <a href='#SkSurfac…
1488 …<td><a href='#SkSurface_readPixels_2_dstRowBytes'>dstRowBytes</a> is too small to contain one row …
1495 …<td>width, height, <a href='#Image_Info_Color_Type'>Color_Type</a>, and <a href='#Image_Info_Alpha…
1498 …storage for pixels; <a href='#SkSurface_readPixels_2_dstInfo'>dstInfo</a>.<a href='#SkImageInfo_he…
1501 …href='undocumented#Size'>size</a> of one destination row; <a href='#SkSurface_readPixels_2_dstInfo…
1517 …6bf28c7a4d48892324a"><div>A black <a href='undocumented#Oval'>oval</a> drawn on a red background p…
1518 <a href='#SkSurface_readPixels'>readPixels</a> copies one quarter of the <a href='SkSurface_Referen…
1519 The copied quarter <a href='undocumented#Oval'>ovals</a> overdraw the original <a href='undocumente…
1524 <a href='#SkSurface_peekPixels'>peekPixels</a> <a href='#SkSurface_writePixels'>writePixels</a>
1531 bool <a href='#SkSurface_readPixels'>readPixels</a>(const <a href='SkBitmap_Reference#SkBitmap'>SkB…
1534 Copies <a href='SkRect_Reference#Rect'>Rect</a> of pixels from <a href='SkSurface_Reference#Surface…
1536 …href='SkRect_Reference#Rect'>Rect</a> corners are (<a href='#SkSurface_readPixels_3_srcX'>srcX</a>…
1537 …href='SkRect_Reference#Rect'>Rect</a> corners are (0, 0) and (<a href='SkBitmap_Reference#Bitmap'>…
1538 Copies each readable <a href='undocumented#Pixel'>pixel</a> intersecting both rectangles, without s…
1539 …<a href='#SkSurface_readPixels_3_dst'>dst</a>.<a href='#SkBitmap_colorType'>colorType</a>() and <a…
1541 Pixels are readable when <a href='SkSurface_Reference#Surface'>Surface</a> is raster, or backed by …
1543 The destination <a href='undocumented#Pixel_Storage'>pixel storage</a> must be allocated by the ca…
1545 <a href='undocumented#Pixel'>Pixel</a> values are converted only if <a href='#Image_Info_Color_Type…
1547 are copied. <a href='#SkSurface_readPixels_3_dst'>dst</a> contents outside <a href='SkRect_Referenc…
1549 Pass negative values for <a href='#SkSurface_readPixels_3_srcX'>srcX</a> or <a href='#SkSurface_rea…
1556 …href='SkSurface_Reference#Surface'>Surface</a> pixels could not be converted to <a href='#SkSurfac…
1558 <td><a href='#SkSurface_readPixels_3_dst'>dst</a> pixels could not be allocated.</td>
1560 …<td><a href='#SkSurface_readPixels_3_dst'>dst</a>.<a href='#SkBitmap_rowBytes'>rowBytes</a>() is t…
1567 <td>storage for pixels copied from <a href='SkSurface_Reference#Surface'>Surface</a></td>
1587 <a href='#SkSurface_peekPixels'>peekPixels</a> <a href='#SkSurface_writePixels'>writePixels</a>
1594 void <a href='#SkSurface_writePixels'>writePixels</a>(const <a href='SkPixmap_Reference#SkPixmap'>S…
1597 …href='SkRect_Reference#Rect'>Rect</a> of pixels from the <a href='#SkSurface_writePixels_src'>src<…
1599 …href='SkRect_Reference#Rect'>Rect</a> corners are (0, 0) and (<a href='#SkSurface_writePixels_src'…
1600 Destination <a href='SkRect_Reference#Rect'>Rect</a> corners are (<a href='#SkSurface_writePixels_d…
1601 …href='#SkSurface_writePixels_dstX'>dstX</a> + <a href='SkSurface_Reference#Surface'>Surface</a> <a…
1603 Copies each readable <a href='undocumented#Pixel'>pixel</a> intersecting both rectangles, without s…
1604 converting to <a href='SkSurface_Reference#Surface'>Surface</a> <a href='SkImageInfo_Reference#SkCo…
1609 <td>storage for pixels to copy to <a href='SkSurface_Reference#Surface'>Surface</a></td>
1612 …<td>x-axis position relative to <a href='SkSurface_Reference#Surface'>Surface</a> to begin copy; m…
1615 …<td>y-axis position relative to <a href='SkSurface_Reference#Surface'>Surface</a> to begin copy; m…
1625 <a href='#SkSurface_readPixels'>readPixels</a> <a href='#SkSurface_peekPixels'>peekPixels</a>
1632 void <a href='#SkSurface_writePixels'>writePixels</a>(const <a href='SkBitmap_Reference#SkBitmap'>S…
1635 …href='SkRect_Reference#Rect'>Rect</a> of pixels from the <a href='#SkSurface_writePixels_2_src'>sr…
1637 …href='SkRect_Reference#Rect'>Rect</a> corners are (0, 0) and (<a href='#SkSurface_writePixels_2_sr…
1638 Destination <a href='SkRect_Reference#Rect'>Rect</a> corners are (<a href='#SkSurface_writePixels_2…
1639 …href='#SkSurface_writePixels_2_dstX'>dstX</a> + <a href='SkSurface_Reference#Surface'>Surface</a> …
1641 Copies each readable <a href='undocumented#Pixel'>pixel</a> intersecting both rectangles, without s…
1642 converting to <a href='SkSurface_Reference#Surface'>Surface</a> <a href='SkImageInfo_Reference#SkCo…
1647 <td>storage for pixels to copy to <a href='SkSurface_Reference#Surface'>Surface</a></td>
1650 …<td>x-axis position relative to <a href='SkSurface_Reference#Surface'>Surface</a> to begin copy; m…
1653 …<td>y-axis position relative to <a href='SkSurface_Reference#Surface'>Surface</a> to begin copy; m…
1663 <a href='#SkSurface_readPixels'>readPixels</a> <a href='#SkSurface_peekPixels'>peekPixels</a>
1670 const <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>& <a href='#SkSurface_props'>props()<…
1673 Returns <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a> for <a href='SkSurface_Reference#S…
1677 LCD striping orientation and setting for <a href='undocumented#Device'>device</a> independent fonts
1693 <a href='undocumented#SkSurfaceProps'>SkSurfaceProps</a>
1702 void <a href='#SkSurface_flush'>flush()</a>
1705 Issues pending <a href='SkSurface_Reference#SkSurface'>SkSurface</a> commands to the GPU-backed API…
1713 <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a>
1720 <a href='undocumented#GrSemaphoresSubmitted'>GrSemaphoresSubmitted</a> <a href='#SkSurface_flushAnd…
1721 … <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a> signalSemaphores[])
1724 Issues pending <a href='SkSurface_Reference#SkSurface'>SkSurface</a> commands to the GPU-backed API…
1725 …er issuing all commands, <a href='#SkSurface_flushAndSignalSemaphores_signalSemaphores'>signalSema…
1728 For each <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a> in <a href='#SkSurface_fl…
1729 if <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a> is initialized, the GPU back-en…
1730 otherwise, a new semaphore is created and initializes <a href='undocumented#GrBackendSemaphore'>GrB…
1732 The caller must delete the semaphores created and returned in <a href='#SkSurface_flushAndSignalSem…
1733 <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a> can be deleted as soon as this fun…
1735 If the back-end API is OpenGL only uninitialized <a href='undocumented#Backend_Semaphore'>backend …
1741 If <a href='undocumented#GrSemaphoresSubmitted'>GrSemaphoresSubmitted</a>::<a href='#GrSemaphoresSu…
1745 Pending <a href='SkSurface_Reference#Surface'>surface</a> commands are flushed regardless of the re…
1750 …<td><a href='undocumented#Size'>size</a> of <a href='#SkSurface_flushAndSignalSemaphores_signalSem…
1759 …href='undocumented#GrSemaphoresSubmitted'>GrSemaphoresSubmitted</a>::<a href='#GrSemaphoresSubmitt…
1763 <a href='#SkSurface_wait'>wait</a> <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a>
1770 bool wait(int numSemaphores, const <a href='undocumented#GrBackendSemaphore'>GrBackendSemaphore</a>…
1774 executing any more commands on the GPU for this <a href='SkSurface_Reference#Surface'>surface</a>. …
1782 …<td><a href='undocumented#Size'>size</a> of <a href='#SkSurface_wait_waitSemaphores'>waitSemaphore…
1795 <a href='#SkSurface_flushAndSignalSemaphores'>flushAndSignalSemaphores</a> <a href='undocumented#Gr…
1802 bool <a href='#SkSurface_characterize'>characterize</a>(<a href='undocumented#SkSurfaceCharacteriza…
1805 Initializes <a href='undocumented#SkSurfaceCharacterization'>SkSurfaceCharacterization</a> that can…
1807 into multiple tiles. <a href='undocumented#SkDeferredDisplayListRecorder'>SkDeferredDisplayListReco…
1810 …if <a href='SkSurface_Reference#SkSurface'>SkSurface</a> supports <a href='#SkSurface_characterize…
1829 <a href='#SkSurface_draw'>draw()</a> <a href='undocumented#SkSurfaceCharacterization'>SkSurfaceChar…
1836 bool draw(<a href='undocumented#SkDeferredDisplayList'>SkDeferredDisplayList</a>* deferredDisplayLi…
1839 Draws deferred display list created using <a href='undocumented#SkDeferredDisplayListRecorder'>Sk…
1840 Has no effect and returns false if <a href='undocumented#SkSurfaceCharacterization'>SkSurfaceCharac…
1841 <a href='#SkSurface_draw_2_deferredDisplayList'>deferredDisplayList</a> is not compatible with <a h…
1843 <a href='undocumented#Raster_Surface'>raster surface</a> returns false.
1854 false if <a href='#SkSurface_draw_2_deferredDisplayList'>deferredDisplayList</a> is not compatible
1862 <a href='#SkSurface_characterize'>characterize()</a> <a href='undocumented#SkSurfaceCharacterizatio…