author | Jacek Caban <jacek@codeweavers.com> |
Tue, 21 Dec 2010 05:52:00 -0500 (2010-12-21) | |
changeset 59598 | b0c6a324e72f89f02248fc30da2a526fcac06b49 |
parent 59597 | e0c3acc44e9e9ef5451e6a355d34f1a5bcacbbd0 |
child 59599 | d37e24f10e8da251121c374cf7b88ac7ac9f098a |
push id | 17686 |
push user | Callek@gmail.com |
push date | Wed, 22 Dec 2010 06:48:35 +0000 (2010-12-22) |
treeherder | mozilla-central@b0c6a324e72f [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Bas, Mossop |
bugs | 620669 |
milestone | 2.0b9pre |
first release with | nightly linux32
b0c6a324e72f
/
4.0b9pre
/
20101222030351
/
files
nightly linux64
b0c6a324e72f
/
4.0b9pre
/
20101222030351
/
files
nightly mac
b0c6a324e72f
/
4.0b9pre
/
20101222030351
/
files
nightly win32
b0c6a324e72f
/
4.0b9pre
/
20101222030351
/
files
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
releases | nightly linux32
4.0b9pre
/
20101222030351
/
pushlog to previous
nightly linux64
4.0b9pre
/
20101222030351
/
pushlog to previous
nightly mac
4.0b9pre
/
20101222030351
/
pushlog to previous
nightly win32
4.0b9pre
/
20101222030351
/
pushlog to previous
|
gfx/layers/d3d9/ImageLayerD3D9.cpp | file | annotate | diff | comparison | revisions | |
gfx/layers/d3d9/LayerManagerD3D9.cpp | file | annotate | diff | comparison | revisions |
--- a/gfx/layers/d3d9/ImageLayerD3D9.cpp +++ b/gfx/layers/d3d9/ImageLayerD3D9.cpp @@ -58,17 +58,17 @@ SurfaceToTexture(IDirect3DDevice9 *aDevi nsRefPtr<gfxContext> context = new gfxContext(imageSurface); context->SetSource(aSurface); context->Paint(); nsRefPtr<IDirect3DTexture9> texture; nsRefPtr<IDirect3DDevice9Ex> deviceEx; - aDevice->QueryInterface(__uuidof(IDirect3DDevice9Ex), + aDevice->QueryInterface(IID_IDirect3DDevice9Ex, (void**)getter_AddRefs(deviceEx)); if (deviceEx) { // D3D9Ex doesn't support managed textures. We could use dynamic textures // here but since Images are immutable that probably isn't such a great // idea. if (FAILED(aDevice-> CreateTexture(aSize.width, aSize.height, @@ -445,17 +445,17 @@ PlanarYCbCrImageD3D9::AllocateTextures(I PRUint8* src; PRUint8* dest; nsRefPtr<IDirect3DSurface9> tmpSurfaceY; nsRefPtr<IDirect3DSurface9> tmpSurfaceCb; nsRefPtr<IDirect3DSurface9> tmpSurfaceCr; nsRefPtr<IDirect3DDevice9Ex> deviceEx; - aDevice->QueryInterface(__uuidof(IDirect3DDevice9Ex), + aDevice->QueryInterface(IID_IDirect3DDevice9Ex, getter_AddRefs(deviceEx)); bool isD3D9Ex = deviceEx; if (isD3D9Ex) { nsRefPtr<IDirect3DTexture9> tmpYTexture; nsRefPtr<IDirect3DTexture9> tmpCbTexture; nsRefPtr<IDirect3DTexture9> tmpCrTexture;
--- a/gfx/layers/d3d9/LayerManagerD3D9.cpp +++ b/gfx/layers/d3d9/LayerManagerD3D9.cpp @@ -39,16 +39,17 @@ #include "ThebesLayerD3D9.h" #include "ContainerLayerD3D9.h" #include "ImageLayerD3D9.h" #include "ColorLayerD3D9.h" #include "CanvasLayerD3D9.h" #include "gfxWindowsPlatform.h" #include "nsIGfxInfo.h" +#include "nsServiceManagerUtils.h" #ifdef CAIRO_HAS_D2D_SURFACE #include "gfxD2DSurface.h" #endif namespace mozilla { namespace layers {