Lines Matching refs:texture
18 * This ImageGenerator is used to wrap a texture in one GrContext and can then be used as a source
20 * consuming GrContext will wait on before using the texture. Only one GrContext can ever be used
24 * In practice, this capability is used by clients to create backend-specific texture resources in
26 * GrContext-B) which will then use the texture as a source for draws. GrContext-A uses the
27 * semaphore to notify GrContext-B when the shared texture is ready to use.
55 RefHelper(GrTexture* texture, uint32_t owningContextID)
56 : fOriginalTexture(texture)
73 // texture are finished on the borrowing context before we open this back up to other
75 // the backend texture.
81 // This Mutex is used to guard the borrowing of the texture to one GrContext at a time as well
83 // the same consuming GrContext try to generate a texture at the same time.