Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface. Deprecated GetAsSurface.
This commit is contained in:
@@ -197,7 +197,7 @@ ConvertYVU420SPToRGB565(void *aYData, uint32_t aYStride,
|
||||
}
|
||||
|
||||
already_AddRefed<gfxASurface>
|
||||
GrallocImage::GetAsSurface()
|
||||
GrallocImage::DeprecatedGetAsSurface()
|
||||
{
|
||||
android::sp<GraphicBuffer> graphicBuffer =
|
||||
GrallocBufferActor::GetFrom(GetSurfaceDescriptor());
|
||||
|
||||
Reference in New Issue
Block a user