mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 18:18:27 +00:00
2234923354
- Bug 1222226 - Don't return eRestyleResult_StopWithStyleChange if the old style context is shared. r=dbaron (ad682c717e)
- Bug 1222745 - Restore eRestyleResult_StopWithStyleChange optimization for shared style contexts by comparing rule nodes for inherited style data changes. r=dbaron (766bb79aac)
- Bug 1032613 part 1: Promote FrameMaintainsOverflow to be a public nsIFrame method, & implement it using HasAllStateBits. r=dbaron (b3c44e7ba6)
- Bug 1032613 part 2: Make RestyleManager::AddSubtreeToOverflowTracker skip frames that don't maintain overflow areas. r=dbaron (7519ac2937)
- Bug 1165918 - Qt widget port does not compile anymore. r=rojkov (583700d86a)
- Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats. (742aa54a28)
- Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats. (65e7bf71fa)
- Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats. (21159528de)
- Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats. (fa06021002)
- Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats. (f10d7bce64)
- Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats. (1d05c2e783)
- Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro (5acab07299)
- Bug 1194034 - Remove unused GonkDisplayJB::StopBootAnim() in GonkDisplayJB. r=mwu (50d2cb93d6)
- Bug 1221446 - Add virtual display support to GonkDisplayJB r=mwu (d1c64f5c62)
- Bug 1224482 (part 6) - Change nsScreenGonk::m{Virtual,Natural}Bounds to LayoutDevcieIntRect. r=kats. (8e44f87785)
- Bug 1224482 (part 7) - Make GetScaledScreenBounds() return a CSSIntRect. r=kats. (76de754cae)
- Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange (051fe46311)
73 lines
1.8 KiB
C++
73 lines
1.8 KiB
C++
/* Copyright 2013 Mozilla Foundation and Mozilla contributors
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef GONKDISPLAYICS_H
|
|
#define GONKDISPLAYICS_H
|
|
|
|
#include <string.h>
|
|
|
|
#include "GonkDisplay.h"
|
|
#include "ui/FramebufferNativeWindow.h"
|
|
#include "hardware/hwcomposer.h"
|
|
#include "utils/RefBase.h"
|
|
|
|
namespace android {
|
|
class IGraphicBufferProducer;
|
|
}
|
|
|
|
namespace mozilla {
|
|
|
|
class MOZ_EXPORT GonkDisplayICS : public GonkDisplay {
|
|
public:
|
|
GonkDisplayICS();
|
|
~GonkDisplayICS();
|
|
|
|
virtual void SetEnabled(bool enabled);
|
|
|
|
virtual void OnEnabled(OnEnabledCallbackType callback);
|
|
|
|
virtual void* GetHWCDevice();
|
|
|
|
virtual bool SwapBuffers(EGLDisplay dpy, EGLSurface sur);
|
|
|
|
virtual ANativeWindowBuffer* DequeueBuffer();
|
|
|
|
virtual bool QueueBuffer(ANativeWindowBuffer* handle);
|
|
|
|
virtual void UpdateDispSurface(EGLDisplay dpy, EGLSurface sur);
|
|
|
|
virtual void SetDispReleaseFd(int fd);
|
|
|
|
virtual int GetPrevDispAcquireFd()
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
virtual NativeData GetNativeData(
|
|
GonkDisplay::DisplayType aDisplayType,
|
|
android::IGraphicBufferProducer* aSink = nullptr);
|
|
|
|
virtual void NotifyBootAnimationStopped() {}
|
|
|
|
private:
|
|
hw_module_t const* mModule;
|
|
hwc_composer_device_t* mHwc;
|
|
android::sp<android::FramebufferNativeWindow> mFBSurface;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* GONKDISPLAYICS_H */
|