mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 903816. Fixups in non-layers files. r=roc
This commit is contained in:
parent
dec5eff0fb
commit
b85b496768
@ -56,6 +56,7 @@
|
||||
#endif
|
||||
|
||||
#include "Layers.h"
|
||||
#include "mozilla/layers/ShadowLayers.h"
|
||||
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/indexedDB/IndexedDatabaseManager.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "mozilla/layers/CompositorChild.h"
|
||||
#include "mozilla/layers/ImageBridgeChild.h"
|
||||
#include "mozilla/layers/PLayerTransactionChild.h"
|
||||
#include "mozilla/layers/ShadowLayers.h"
|
||||
#include "mozilla/layout/RenderFrameChild.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
#include "mozilla/unused.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
#ifndef MOZILLA_BASEPOINT3D_H_
|
||||
#define MOZILLA_BASEPOINT3D_H_
|
||||
|
||||
#include "nsDebug.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "BaseMargin.h"
|
||||
#include "Point.h"
|
||||
#include "Tools.h"
|
||||
#include "nsMathUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
|
@ -246,6 +246,21 @@ TextureImage::TextureImage(const gfx::IntSize& aSize,
|
||||
, mFlags(aFlags)
|
||||
{}
|
||||
|
||||
BasicTextureImage::BasicTextureImage(GLuint aTexture,
|
||||
const nsIntSize& aSize,
|
||||
GLenum aWrapMode,
|
||||
ContentType aContentType,
|
||||
GLContext* aContext,
|
||||
TextureImage::Flags aFlags /* = TextureImage::NoFlags */,
|
||||
TextureImage::ImageFormat aImageFormat /* = gfxASurface::ImageFormatUnknown */)
|
||||
: TextureImage(aSize, aWrapMode, aContentType, aFlags, aImageFormat)
|
||||
, mTexture(aTexture)
|
||||
, mTextureState(Created)
|
||||
, mGLContext(aContext)
|
||||
, mUpdateOffset(0, 0)
|
||||
{
|
||||
}
|
||||
|
||||
BasicTextureImage::BasicTextureImage(GLuint aTexture,
|
||||
const gfx::IntSize& aSize,
|
||||
GLenum aWrapMode,
|
||||
|
@ -309,14 +309,7 @@ public:
|
||||
ContentType aContentType,
|
||||
GLContext* aContext,
|
||||
TextureImage::Flags aFlags = TextureImage::NoFlags,
|
||||
TextureImage::ImageFormat aImageFormat = gfxASurface::ImageFormatUnknown)
|
||||
: TextureImage(aSize, aWrapMode, aContentType, aFlags, aImageFormat)
|
||||
, mTexture(aTexture)
|
||||
, mTextureState(Created)
|
||||
, mGLContext(aContext)
|
||||
, mUpdateOffset(0, 0)
|
||||
{}
|
||||
|
||||
TextureImage::ImageFormat aImageFormat = gfxASurface::ImageFormatUnknown);
|
||||
BasicTextureImage(GLuint aTexture,
|
||||
const gfx::IntSize& aSize,
|
||||
GLenum aWrapMode,
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "base/process_util.h"
|
||||
#include "chrome/common/ipc_message_utils.h"
|
||||
//#include "ipc/IPCMessageUtils.h"
|
||||
#include "ipc/IPCMessageUtils.h"
|
||||
|
||||
#include "mozilla/Util.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "nsIThread.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "gfxContext.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -9,10 +9,10 @@
|
||||
|
||||
#include "mozilla/ipc/Shmem.h"
|
||||
#include "mozilla/ipc/SharedMemory.h"
|
||||
#include "cairo.h"
|
||||
|
||||
#include "gfxASurface.h"
|
||||
#include "gfxImageSurface.h"
|
||||
#include "cairo.h"
|
||||
#include "pratom.h"
|
||||
|
||||
struct SharedImageInfo {
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#include "qcms.h"
|
||||
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "gfx2DGlue.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "GfxInfoCollector.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "nsContentUtils.h" // for nsAutoScriptBlocker
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "Layers.h"
|
||||
#include "mozilla/layers/Compositor.h"
|
||||
|
||||
/**
|
||||
XXX TODO XXX
|
||||
|
@ -109,6 +109,7 @@ extern "C" {
|
||||
#include "Layers.h"
|
||||
#include "LayerManagerOGL.h"
|
||||
#include "GLContextProvider.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
||||
#ifdef MOZ_X11
|
||||
#include "gfxXlibSurface.h"
|
||||
@ -122,6 +123,7 @@ extern "C" {
|
||||
#include "nsWindow.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::widget;
|
||||
using namespace mozilla::layers;
|
||||
using mozilla::gl::GLContext;
|
||||
@ -5962,7 +5964,7 @@ nsWindow::GetSurfaceForGdkDrawable(GdkDrawable* aDrawable,
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK2)
|
||||
TemporaryRef<gfx::DrawTarget>
|
||||
TemporaryRef<DrawTarget>
|
||||
nsWindow::StartRemoteDrawing()
|
||||
{
|
||||
gfxASurface *surf = GetThebesSurface();
|
||||
@ -5970,7 +5972,7 @@ nsWindow::StartRemoteDrawing()
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
gfx::IntSize size(surf->GetSize().width, surf->GetSize().height);
|
||||
IntSize size(surf->GetSize().width, surf->GetSize().height);
|
||||
if (size.width <= 0 || size.height <= 0) {
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -36,6 +36,7 @@
|
||||
|
||||
#include "nsGtkIMModule.h"
|
||||
|
||||
#undef LOG
|
||||
#ifdef MOZ_LOGGING
|
||||
|
||||
// make sure that logging is enabled before including prlog.h
|
||||
|
@ -73,6 +73,7 @@
|
||||
#include "prtime.h"
|
||||
#include "prprf.h"
|
||||
#include "prmem.h"
|
||||
#include "prenv.h"
|
||||
|
||||
#include "mozilla/WidgetTraceEvent.h"
|
||||
#include "nsIAppShell.h"
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#include "prthread.h"
|
||||
#include "prinrval.h"
|
||||
#include "nscore.h"
|
||||
#include "nsIThreadManager.h"
|
||||
#include "nsIThread.h"
|
||||
#include "nsIRunnable.h"
|
||||
|
Loading…
Reference in New Issue
Block a user