зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1176945 - Remove unnecessary hwc reference from gl r=jgilbert
This commit is contained in:
Родитель
b7d968f6d7
Коммит
1461279916
|
@ -10,10 +10,6 @@
|
|||
#include "GLContext.h"
|
||||
#include "GLLibraryEGL.h"
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
#include "HwcComposer2D.h"
|
||||
#endif
|
||||
|
||||
class nsIWidget;
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -128,9 +124,6 @@ protected:
|
|||
bool mIsDoubleBuffered;
|
||||
bool mCanBindToTexture;
|
||||
bool mShareWithEGLImage;
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
nsRefPtr<HwcComposer2D> mHwc;
|
||||
#endif
|
||||
bool mOwnsContext;
|
||||
|
||||
static EGLSurface CreatePBufferSurfaceTryingPowerOfTwo(EGLConfig config,
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#define GET_NATIVE_WINDOW(aWidget) (EGLNativeWindowType)(aWidget->GetNativeData(NS_NATIVE_SHAREABLE_WINDOW))
|
||||
#elif defined(MOZ_WIDGET_GONK)
|
||||
#define GET_NATIVE_WINDOW(aWidget) ((EGLNativeWindowType)aWidget->GetNativeData(NS_NATIVE_WINDOW))
|
||||
#include "HwcComposer2D.h"
|
||||
#include "libdisplay/GonkDisplay.h"
|
||||
#include "nsWindow.h"
|
||||
#include "nsScreenManagerGonk.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче