Qt widget/EGL does not work on Maemo anymore.

RESOLVED FIXED

Status

defect
RESOLVED FIXED
9 years ago
3 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

Trunk
x86
Linux

Firefox Tracking Flags

(fennec2.0b1+)

Details

Attachments

(1 attachment)

it seems like after some latest changes we don't have EGL/GLLayerManager initialized properly anymore...

MOZ_ACCELERATED=1 does not enable EGL context
shouldn't GetLayerManager in the qt nsWindow return something other than the base widget's default layout manager?

e.g.:

new mozilla::layers::LayerManagerOGL(this);
Problem was in child/parent relationship of widgets. Child widget was generated with aParent == null, aNativeParent != null. Because of this GetTopLevelWidget function didn't find correct widget. 

This patch forces nsBaseWidget to set parent. This is done in Qt ports CreateChildWidget.
Attachment #469941 - Flags: review?(romaxa)
Comment on attachment 469941 [details] [diff] [review]
Force parent widget in child widget creation

I think we can handle it correctly, but probably it make sense make the same fix for GTK.
Attachment #469941 - Flags: review?(romaxa) → review+
this prevents us from rendering using ogl
tracking-fennec: --- → 2.0b1+
http://hg.mozilla.org/mozilla-central/rev/ccf0c898b4c8
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.