Lines Matching defs:surface

247      * @param surface           the surface to read from
249 * @param surfaceColorType the color type for this use of the surface.
257 * because of the surface doesn't support reading, the color type
258 * is not allowed for the format of the surface or if the rectangle
259 * read is not contained in the surface.
261 bool readPixels(GrSurface* surface,
269 * Updates the pixels in a rectangle of a surface. No sRGB/linear conversions are performed.
271 * @param surface the surface to write to.
273 * @param surfaceColorType the color type for this use of the surface.
279 * @param prepForTexSampling After doing write pixels should the surface be prepared for texture
288 * because of the surface doesn't support writing (e.g. read only),
289 * the color type is not allowed for the format of the surface or
290 * if the rectangle written is not contained in the surface.
292 bool writePixels(GrSurface* surface,
303 bool writePixels(GrSurface* surface,
311 return this->writePixels(surface,
326 * @param textureColorType the color type for this use of the surface.
343 * Reads the pixels from a rectangle of a surface into a buffer. Use
345 * the buffer offset alignment. If the surface is a MIP mapped texture, the base level is read.
353 * @param surface the surface to read from.
355 * @param surfaceColorType the color type for this use of the surface.
360 bool transferPixelsFrom(GrSurface* surface,
367 // Called to perform a surface to surface copy. Fallbacks to issuing a draw from the src to dst
372 // then we don't need to preserve any data on the dst surface outside of the copy.
655 // Creates an MSAA surface to be used as an MSAA attachment on a framebuffer.
693 // Handles cases where a surface will be updated without a call to flushRenderTarget.
694 void didWriteToSurface(GrSurface* surface, GrSurfaceOrigin origin, const SkIRect* bounds,
775 // overridden by backend-specific derived class to perform the surface read
783 // overridden by backend-specific derived class to perform the surface write
801 // overridden by backend-specific derived class to perform the surface transfer
815 // overridden by backend specific derived class to perform the copy surface