Last Comment Bug 698137 - Playing webm video corrupts FPS Counter
: Playing webm video corrupts FPS Counter
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: mozilla10
Assigned To: Benoit Girard (:BenWa)
:
Mentors:
Depends on:
Blocks: opengl-mobile
  Show dependency treegraph
 
Reported: 2011-10-28 15:40 PDT by Benoit Girard (:BenWa)
Modified: 2011-11-01 07:36 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Bind to texture unit before binding texture (796 bytes, patch)
2011-10-31 11:48 PDT, Benoit Girard (:BenWa)
ajuma.bugzilla: review+
Details | Diff | Review

Description Benoit Girard (:BenWa) 2011-10-28 15:40:53 PDT
Link:
http://www.wellesley.edu/~kenny/html5/vp8.html

Make sure to enable OGL + FPS counter. Notice the FPS is corrupted. Tested on Transformer.
Comment 1 Benoit Girard (:BenWa) 2011-10-31 11:48:33 PDT
Created attachment 570776 [details] [diff] [review]
Bind to texture unit before binding texture

When drawing an YUV Image layer (video), we leave the texture unit state bound to texture unit id #2, thus the FPS code binds the texture to the wrong texture unit.
Comment 3 Kyle Huey [:khuey] (khuey@mozilla.com) 2011-11-01 07:36:17 PDT
https://hg.mozilla.org/mozilla-central/rev/2dcf884ff0f8

Note You need to log in before you can comment on or make changes to this bug.