mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 23:15:38 +00:00
Bug 902462 - Enable SkiaGL on all GPUs, not just NVIDIA r=mattwoodrow
This commit is contained in:
parent
dc4d4e8360
commit
292025f2d7
@ -844,10 +844,7 @@ CanvasRenderingContext2D::EnsureTarget()
|
||||
nsCOMPtr<nsIGfxInfo> gfxInfo = do_GetService("@mozilla.org/gfx/info;1");
|
||||
nsString vendor;
|
||||
|
||||
if (!mForceSoftware &&
|
||||
gfxInfo &&
|
||||
NS_SUCCEEDED(gfxInfo->GetAdapterVendorID(vendor)) &&
|
||||
StringBeginsWith(vendor, NS_LITERAL_STRING("NVIDIA")))
|
||||
if (!mForceSoftware)
|
||||
{
|
||||
glContext = GLContextProvider::CreateOffscreen(gfxIntSize(size.width, size.height),
|
||||
caps, GLContext::ContextFlagsNone);
|
||||
|
Loading…
x
Reference in New Issue
Block a user