<font size=2 face="sans-serif">Hello Jose,</font>
<br>
<br><font size=2 face="sans-serif">glBindFramebuffer​ is not there in
the call list, if this is what you are asking.</font>
<br>
<br><font size=2 face="sans-serif">Thanks & Regards</font>
<br><font size=2 face="sans-serif">Arun S L</font>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">José
Fonseca <jose.r.fonseca@gmail.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Arun
Sl <arun.sl@tcs.com></font>
<tr height=8>
<td width=96 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">apitrace
<apitrace-bounces@lists.freedesktop.org>, Apitrace list <apitrace@lists.freedesktop.org></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">04/11/2014
06:16 PM</font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Re:
Regarding replay going out of bounds of the screen even when replayed on
same device - eglretrace (using waffle)</font></table>
<br>
<hr noshade>
<br>
<br>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Fri, Apr 11, 2014 at 1:45 PM, José Fonseca <</font><a href=mailto:jose.r.fonseca@gmail.com target=_blank><font size=3 color=blue><u>jose.r.fonseca@gmail.com</u></font></a><font size=3>>
wrote:</font>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On Fri, Apr 11, 2014 at 12:02 PM, Arun Sl <</font><a href=mailto:arun.sl@tcs.com target=_blank><font size=3 color=blue><u>arun.sl@tcs.com</u></font></a><font size=3>>
wrote:</font>
<br><font size=3 face="sans-serif">Hello Jose,</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
You are correct.</font><font size=3> </font><font size=3 face="sans-serif"><br>
inital frames have the call as follows:</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
glViewport(x = 0, y = 0, width = 960, height = 540) {this fits phone screen
correctly}</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
while at a later stage I am getting the following calls in the same trace
file.</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
glViewport(x = 0, y = 0, width = 1366, height = 768) {this gives partial
visual of an enlarged image on screen}</font><font size=3> </font>
<br>
<br><font size=3>Isn't there a FBO bound when this call happens?</font>
<br>
<br><font size=3>If the drawable truly has a size larger than the screen,
then that's it really. If the viewport is larger than the drawable then
you really should leave the viewport alone, and use vertex transformation
to achieve the zooming effect.</font>
<br>
<br><font size=3>The issue here is that ApiTrace traces GL/EGL API calls.
It does not trace everything, such as windowing calls.  I'd like one
day to encode the actual drawable calls in the trace (e.g., with fake calls),
but it's not high on my todo list.</font>
<br>
<br><font size=3>I meant encode the actual drawable <b>sizes</b>... </font>
<br>
<br><font size=3>Jose</font>
<br><font size=3> </font>
<br><font size=3 face="sans-serif"><br>
Can I handle this situation in someway in apitrace?</font><font size=3>
</font>
<br><font size=3 face="sans-serif"><br>
Thanks & Regards<br>
Arun S L</font><font size=3> <br>
<br>
</font>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=14% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">From:</font><font size=3>
</font>
<td width=85% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">José
Fonseca <</font><a href=mailto:jose.r.fonseca@gmail.com target=_blank><font size=1 color=blue face="sans-serif"><u>jose.r.fonseca@gmail.com</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font>
<tr valign=top height=8>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">To:</font><font size=3>
</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">Arun
Sl <</font><a href=mailto:arun.sl@tcs.com target=_blank><font size=1 color=blue face="sans-serif"><u>arun.sl@tcs.com</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font>
<tr height=8>
<td valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">Cc:</font><font size=3>
</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">Apitrace
list <</font><a href=mailto:apitrace@lists.freedesktop.org target=_blank><font size=1 color=blue face="sans-serif"><u>apitrace@lists.freedesktop.org</u></font></a><font size=1 face="sans-serif">></font><font size=3>
</font>
<tr valign=top height=8>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">Date:</font><font size=3>
</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">04/11/2014
12:01 PM</font><font size=3> </font>
<tr valign=top height=8>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><font size=3>
</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">Re:
Regarding replay going out of bounds of the screen even when replayed on
same device - eglretrace (using waffle)</font><font size=3> </font>
<tr valign=top height=8>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 color=#5f5f5f face="sans-serif">Sent
by:</font><font size=3> </font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="sans-serif">"apitrace"
<</font><a href="mailto:apitrace-bounces@lists.freedesktop.org" target=_blank><font size=1 color=blue face="sans-serif"><u>apitrace-bounces@lists.freedesktop.org</u></font></a><font size=1 face="sans-serif">></font></table>
<br><font size=3><br>
</font>
<hr noshade>
<br><font size=3><br>
<br>
<br>
eglretrace/glretrace infer the rendering size from glViewport calls (when
no FBO is bound). See </font><a href=https://github.com/apitrace/apitrace/blob/master/BUGS.markdown#retracing target=_blank><font size=3 color=blue><u>https://github.com/apitrace/apitrace/blob/master/BUGS.markdown#retracing</u></font></a><font size=3>
<br>
<br>
Maybe the game is using glViewport with sizes larges than the actual screen,
misleading the egl/glretrace. <br>
<br>
Jose <br>
<br>
<br>
On Fri, Apr 11, 2014 at 3:34 AM, Arun Sl <</font><a href=mailto:arun.sl@tcs.com target=_blank><font size=3 color=blue><u>arun.sl@tcs.com</u></font></a><font size=3>>
wrote: </font><font size=3 face="sans-serif"><br>
Hello All,</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
I have tried to replay "Reign of Amira" on the same device as
I took trace using eglretrace binary and waffle library (Android 4.2.2)</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
The issue that I am facing is that after the initial logo of the game the
replay goes beyond the screen size. I feel the game uses some call to change
the resolution of the screen run time (this is my guess). Is this something
we have to handle in code?</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
If someone can give me hints appropriately in code, we can maybe improve
the replay rendering.</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
I was also thinking if we can use this mechanism to maybe replay games
to the screen size(irrespective of which screen size the game is traced)
/ orientation of any device.</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
Thanks & Regards<br>
Arun S L</font><font size=3> <br>
=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you <br>
<br>
_______________________________________________<br>
apitrace mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:apitrace@lists.freedesktop.org target=_blank><font size=3 color=blue><u>apitrace@lists.freedesktop.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://lists.freedesktop.org/mailman/listinfo/apitrace target=_blank><font size=3 color=blue><u>http://lists.freedesktop.org/mailman/listinfo/apitrace</u></font></a><font size=3><br>
</font><tt><font size=3><br>
_______________________________________________<br>
apitrace mailing list</font></tt><tt><font size=3 color=blue><u><br>
</u></font></tt><a href=mailto:apitrace@lists.freedesktop.org target=_blank><tt><font size=3 color=blue><u>apitrace@lists.freedesktop.org</u></font></tt></a><font size=3 color=blue><u><br>
</u></font><a href=http://lists.freedesktop.org/mailman/listinfo/apitrace target=_blank><tt><font size=3 color=blue><u>http://lists.freedesktop.org/mailman/listinfo/apitrace</u></font></tt></a><font size=3><br>
<br>
</font>
<br><font size=3><br>
_______________________________________________<br>
apitrace mailing list</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:apitrace@lists.freedesktop.org target=_blank><font size=3 color=blue><u>apitrace@lists.freedesktop.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://lists.freedesktop.org/mailman/listinfo/apitrace target=_blank><font size=3 color=blue><u>http://lists.freedesktop.org/mailman/listinfo/apitrace</u></font></a><font size=3><br>
</font>
<br>
<br>
<br>
<br>