Closed Bug 589868 Opened 15 years ago Closed 15 years ago

Qt widget/EGL does not work on Maemo anymore.

Categories

(Core Graveyard :: Widget: Qt, defect)

x86
Linux
defect
Not set
normal

Tracking

(fennec2.0b1+)

RESOLVED FIXED
Tracking Status
fennec 2.0b1+ ---

People

(Reporter: romaxa, Unassigned)

Details

Attachments

(1 file)

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+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: