Closed
Bug 1123297
Opened 10 years ago
Closed 10 years ago
webGl draw in texture
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1125445
Tracking | Status | |
---|---|---|
firefox35 | --- | affected |
firefox36 | --- | affected |
firefox37 | --- | affected |
firefox38 | --- | affected |
firefox-esr31 | --- | unaffected |
People
(Reporter: salos, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36
Steps to reproduce:
open https://dev.alisgames.com:8081/hero/data-single_test/hero_test.html
click on video to skip, wait until game is loading
Actual results:
text are not draw correct (some text are not draw at all). Firefox 34 works fine. Chrome and Safari works fine
Expected results:
text must be drawn as on attached image (from chrome, in safari works too)
forget to write, all texts are rendered into texture and then texture with whole text is drawn to screen. It seems that first batch is not drawn correct the second one seems to draw correct
porbably the cause is that I'm using alpha texture (i.e. texture that has only alpha channel
glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, (GLsizei)image.getWidth(), (GLsizei)image.getHeight(), 0, GL_ALPHA, GL_UNSIGNED_BYTE, image.getData());
Comment 4•10 years ago
|
||
Could you provide minimal testcase?
And could you try using mozregression tool to find regression?
( http://mozilla.github.io/mozregression/ )
status-firefox35:
--- → affected
status-firefox36:
--- → affected
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox-esr31:
--- → unaffected
Keywords: regression,
regressionwindow-wanted
Updated•10 years ago
|
Flags: needinfo?(salos)
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
from mozregression
11:21.94 LOG: MainThread Bisector INFO Last good revision: 14665b1de5ee
11:21.94 LOG: MainThread Bisector INFO First bad revision: 5d6ec4dddf14
11:21.94 LOG: MainThread Bisector INFO Narrowed nightly regression window from [2014-09-30, 2014-10-02] (2 days) to [2014-10-01, 2014-10-02] (1 days) (~0 steps left)
creating more minimal test require for me quite a lot of time. If mozreggression info is not enough tell me.
Flags: needinfo?(salos)
Comment 6•10 years ago
|
||
Pushlog in accordance with comment #5
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=14665b1de5ee&tochange=5d6ec4dddf14
Suspect: Bug 1048108
Comment 7•10 years ago
|
||
Disable ANGLE helps. (however, another Bug 1123573 will raise)
user_pref("webgl.disable-angle", true);
user_pref("webgl.force-enabled", true);
these changes
user_pref("webgl.disable-angle", true);
user_pref("webgl.force-enabled", true);
helps.
I found workaroud without changing prefs. I need to explicitly define when initialize webgl context.
alpha:true
e.g.
var webGLContextAttributes = {alpha:true};
ctx = canvas.getContext("webgl", webGLContextAttributes) || canvas.getContext("experimental-webgl", webGLContextAttributes);
However this is default value
Comment 9•10 years ago
|
||
This might be a windows-specific regression, I can't reproduce it on linux on firefox 35.
Blocks: gecko-games
Comment 10•10 years ago
|
||
Related bug from AlteredQualia: https://bugzilla.mozilla.org/show_bug.cgi?id=1124187
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Flags: needinfo?(jgilbert)
You need to log in
before you can comment on or make changes to this bug.
Description
•