Lines Matching defs:context

83         releaseProc is called with pixels and context when SkSurface is deleted.
101 @param context passed to releaseProc; may be nullptr
108 void (*releaseProc)(void* pixels, void* context),
109 void* context, const SkSurfaceProps* surfaceProps = nullptr);
190 its pixel configuration agrees with colorSpace and context; for instance, if
191 backendTexture has an sRGB configuration, then context must support sRGB,
193 not exceed context capabilities, and the context must be able to support
202 @param context GPU context
212 static sk_sp<SkSurface> MakeFromBackendTexture(GrRecordingContext* context,
225 its pixel configuration agrees with colorSpace and context; for instance, if
226 backendRenderTarget has an sRGB configuration, then context must support sRGB,
228 not exceed context capabilities, and the context must be able to support
237 @param context GPU context
246 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrRecordingContext* context,
255 /** Returns SkSurface on GPU indicated by context. Allocates memory for
257 selects whether allocation for pixels is tracked by context. imageInfo
272 @param context GPU context
281 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted,
287 /** Returns SkSurface on GPU indicated by context. Allocates memory for
289 selects whether allocation for pixels is tracked by context. imageInfo
300 @param context GPU context
308 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted,
312 return MakeRenderTarget(context, budgeted, imageInfo, sampleCount,
320 /** Returns SkSurface on GPU indicated by context. Allocates memory for
322 selects whether allocation for pixels is tracked by context. imageInfo
328 @param context GPU context
333 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted,
339 return MakeRenderTarget(context, budgeted, imageInfo, 0, kBottomLeft_GrSurfaceOrigin,
347 /** Returns SkSurface on GPU indicated by context that is compatible with the provided
348 characterization. budgeted selects whether allocation for pixels is tracked by context.
350 @param context GPU context
354 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context,
372 @param context GPU context
379 static sk_sp<SkSurface> MakeFromAHardwareBuffer(GrDirectContext* context,
396 @param context GPU context
406 static sk_sp<SkSurface> MakeFromCAMetalLayer(GrRecordingContext* context,
425 @param context GPU context
433 static sk_sp<SkSurface> MakeFromMTKView(GrRecordingContext* context,
508 /** Returns the recording context being used by the SkSurface.
510 @return the recording context, if available; nullptr otherwise
762 /** Client-provided context that is passed to client-provided ReadPixelsContext. */
795 SkSurface is GPU-backed the data is immediately invalidated if the context is abandoned
804 @param context passed to callback
811 ReadPixelsContext context);
828 SkSurface is GPU-backed the data is immediately invalidated if the context is abandoned
840 @param context passed to callback
849 ReadPixelsContext context);
941 Regardless of semaphore submission the context will still be flushed. It should be
987 Regardleess of semaphore submission the context will still be flushed. It should be