The default bug view has changed. See this FAQ.

Cannot find texture from pixmap symbols

RESOLVED FIXED in mozilla8

Status

()

Core
Graphics
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Rob Bradford, Unassigned)

Tracking

Trunk
mozilla8
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30

Steps to reproduce:

On startup the following warnings appear:

Can't find symbol 'glXBindTexImageEXT'
Can't find symbol 'glXReleaseTexImageEXT

Hardware graphics platform: Mesa 7.10 and mesa git on Intel Ironlake



Actual results:

The TFP symbols are not looked up through glXGetProcAddress and are thus not found - texture from pixmap is then not enabled.


Expected results:

The texture from pixmap functions should be found and texture from pixmap enabled.
(Reporter)

Comment 1

6 years ago
Created attachment 545157 [details] [diff] [review]
Patch to try and address this issue

This patch gets rid of the symbol lookup warnings and allows the texture from pixmap to be enabled on this platform.

Feedback welcome!
(Reporter)

Comment 2

6 years ago
Comment on attachment 545157 [details] [diff] [review]
Patch to try and address this issue

Review of attachment 545157 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #545157 - Flags: review?(matt.woodrow+bugzilla)
Comment on attachment 545157 [details] [diff] [review]
Patch to try and address this issue

Review of attachment 545157 [details] [diff] [review]:
-----------------------------------------------------------------

Interesting that this has never shown up for other extensions.

Looks good to me though!

::: gfx/thebes/GLContextProviderGLX.cpp
@@ +239,4 @@
>      {
>          mHasTextureFromPixmap = PR_TRUE;
> +    } else {
> +        NS_WARNING("Texture from pixmap disabled");

I think we should just return PR_FALSE here, performance without this enabled is significantly reduced over just using X to composite.
Attachment #545157 - Flags: review?(matt.woodrow+bugzilla) → review+
(Reporter)

Comment 4

6 years ago
Thanks Matt. I've opened a bug about failing the initialisation in that case: https://bugzilla.mozilla.org/show_bug.cgi?id=671259
http://hg.mozilla.org/integration/mozilla-inbound/rev/7ce783faf48f
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/7ce783faf48f
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
Duplicate of this bug: 658921
Duplicate of this bug: 673608
You need to log in before you can comment on or make changes to this bug.