--- Log for 06.04.118 Server: barjavel.freenode.net Channel: #rockbox --- Nick: logbot- Version: Dancer V4.16 Started: 1 month and 12 days ago 00.04.33 Quit Rower (Ping timeout: 276 seconds) 00.04.59 Join Rower [0] (husvagn@m176-68-92-49.cust.tele2.se) 00.05.14 # Specifically I'm trying to make g#1201 change orientation based on screen dimensions. 00.05.16 # 3Gerrit review #1201 at http://gerrit.rockbox.org/r/1201 : 3[WIP] ASCII Star Wars by Franklin Wei 00.43.25 Quit pamaury (Ping timeout: 240 seconds) 00.43.28 # <__builtin> mendelmunkis: nice find :) 00.44.02 # <__builtin> You'll have to figure out how to draw text sideways 00.45.03 Join noobineer [0] (~noobineer@2601:401:8000:bc5f:3437:3f18:6650:3850) 00.45.16 # I know. Thats why i asked if orientation reversal was already implemented. 00.45.49 # I'm thinking of seeing if I can modify the flip screen code. 00.46.06 # <__builtin> There's two ways I can think of doing it 00.46.58 # or is that hardware? 00.47.03 # <__builtin> First would be using rockbox's native text drawing to blit the text to the framebuffer, and then looping over the fb and swapping x/y 00.47.08 Join dandels [0] (~dandels@unaffiliated/dandels) 00.47.15 # <__builtin> I think the flip lcd is in hardware, yes 00.47.57 Quit TheSeven (Disconnected by services) 00.48.05 Join [7] [0] (~quassel@rockbox/developer/TheSeven) 00.48.25 # <__builtin> Or you could access the font bitmaps directly and write your own code to blit the pixel data (I did something similar with sgt-puzzles to implement zoom) 00.48.40 # <__builtin> I'd recommend the second option 00.48.51 # why? 00.49.16 # less resource intensive? 00.49.24 # <__builtin> It's more efficient and elegant than the first 00.53.18 # <__builtin> Take a look at this: https://git.rockbox.org/?p=rockbox.git;a=blob;f=apps/plugins/puzzles/rockbox.c;h=cf0358c3e43b5fac46158c19599bf34ecdcaa92a;hb=HEAD#l265 00.54.13 # <__builtin> (zoom_*_bitmap and rb_draw_text are what you're interested in) 00.54.35 # thanks 00.55.04 # <__builtin> They'll let you draw text to an arbitrary bitmap, which you can then use as you wish 00.56.23 # The first method has the advantage that it can be extended to create a landscape/portrait option in the general settings 00.56.39 # <__builtin> Well, it's extremely inefficient 00.57.34 # Which is why I'm not planning on going with it, I just thought it would be a cool feature 01.03.25 # <__builtin> It'd be non-trivial on all but square screens, too 01.03.51 # <__builtin> Unless you're ok with cutting off a portion of the display 01.03.59 # pamaury: I'm still new to gerrit and I assumed there needed to be a "Depends on" on the right next to submitted to 01.04.20 Quit [7] (Remote host closed the connection) 01.04.39 # builtin: which is really the only case its usefull 01.06.51 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 01.08.02 Quit TheSeven (Remote host closed the connection) 01.08.06 # <__builtin> yeah, in that case you'd be better off just modifying the LCD driver to swap x/y coordinates when rotated instead of doing it in a separate pass 01.13.30 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 01.18.28 Join MrZeus [0] (~MrZeus@0543662d.skybroadband.com) 01.19.32 Quit dys (Ping timeout: 264 seconds) 01.19.49 # The question becomes can i swap the values of x and y, and LCD_HEIGHT and LCD_WIDTH 01.20.35 Quit dandels (Ping timeout: 260 seconds) 01.21.10 Quit MrZeus__ (Ping timeout: 260 seconds) 01.21.14 # but that wouldnt be doable at the plugin layer 01.22.38 Quit TheSeven (Ping timeout: 265 seconds) 01.23.12 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 01.30.55 Quit MrZeus (Ping timeout: 240 seconds) 01.35.55 # <__builtin> LCD_WIDTH and LCD_HEIGHT are going to be tricky 01.41.10 Quit TheSeven (Remote host closed the connection) 01.43.24 *** Saving seen data "./dancer.seen" 01.44.02 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 01.50.53 Join hoshi [0] (~Hoshi@acew187.neoplus.adsl.tpnet.pl) 01.52.41 Quit TheSeven (Remote host closed the connection) 01.55.10 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 01.57.24 Join hoshi_ [0] (~Hoshi@acew187.neoplus.adsl.tpnet.pl) 02.00.56 Quit hoshi (Ping timeout: 264 seconds) 02.13.14 # how likely am I to brick my Fuze+ by writing random values to the lcd flip register? 03.01.09 # <__builtin> I'd say it's unlikely, but don't blame me when it breaks ;) 03.13.05 Join hoshi__ [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 03.17.08 Quit hoshi_ (Ping timeout: 264 seconds) 03.43.26 *** Saving seen data "./dancer.seen" 03.43.27 Quit noobineer (Remote host closed the connection) 04.12.50 Join bp0 [0] (~bp@216.16.66.181) 04.12.50 Quit bp0 (Changing host) 04.12.50 Join bp0 [0] (~bp@unaffiliated/bp0) 05.07.30 Quit hoshi__ (Read error: Connection reset by peer) 05.13.26 Quit bp0 (Quit: Leaving) 05.19.24 Quit Moarc_ (Quit: i znowu NADMUCHAƁ BALONA) 05.23.13 Join Moarc [0] (~chujko@a105.net128.okay.pl) 05.24.22 Quit jhMikeS (Ping timeout: 276 seconds) 05.30.47 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 05.34.56 Quit jhMikeS (Ping timeout: 240 seconds) 05.43.27 *** Saving seen data "./dancer.seen" 05.58.46 Join hoshi [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 06.08.13 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 06.14.35 Quit TheSeven (Ping timeout: 265 seconds) 06.15.16 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 06.20.23 Quit TheSeven (Ping timeout: 265 seconds) 06.24.24 Quit hoshi (Read error: Connection reset by peer) 06.24.26 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 06.33.55 Quit TheSeven (Ping timeout: 265 seconds) 06.37.51 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 06.42.37 Quit TheSeven (Ping timeout: 265 seconds) 06.44.00 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 07.19.56 Quit Strife89 (Ping timeout: 240 seconds) 07.26.22 Quit michaelni (Ping timeout: 255 seconds) 07.30.09 Join Strife89 [0] (~quassel@adsl-98-80-185-5.mcn.bellsouth.net) 07.39.02 Join michaelni [0] (~michael@213-47-41-20.cable.dynamic.surfer.at) 07.43.31 *** Saving seen data "./dancer.seen" 07.50.50 Join ender` [0] (krneki@foo.eternallybored.org) 08.15.03 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 08.32.09 Join JanC_ [0] (~janc@lugwv/member/JanC) 08.33.29 Quit JanC (Killed (kornbluth.freenode.net (Nickname regained by services))) 08.33.29 Nick JanC_ is now known as JanC (~janc@lugwv/member/JanC) 08.43.16 Quit jhMikeS (Ping timeout: 276 seconds) 09.27.47 Quit sanchaez (Ping timeout: 260 seconds) 09.34.03 Quit jonathant_ (Ping timeout: 276 seconds) 09.35.09 Join jonathant [0] (~quassel@2601:400:8180:f6d:f5ec:e649:2eb:81db) 09.43.34 *** Saving seen data "./dancer.seen" 09.49.39 Quit TheSeven (Remote host closed the connection) 09.49.48 Join sanchaez [0] (~sanchaez@95.67.87.200) 09.52.42 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 09.56.26 Quit sanchaez (Ping timeout: 265 seconds) 10.00.23 Join hoshi [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 10.06.10 Join sanchaez [0] (~sanchaez@95.67.87.200) 10.10.30 Quit sanchaez (Ping timeout: 256 seconds) 10.21.54 Quit hoshi (Read error: Connection reset by peer) 10.46.37 Quit mikroflops (Ping timeout: 255 seconds) 10.48.35 Join mikroflops [0] (~yogurt@c83-255-27-121.bredband.comhem.se) 11.01.04 Join hoshi [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 11.33.06 Join dandels [0] (~dandels@unaffiliated/dandels) 11.43.35 *** Saving seen data "./dancer.seen" 11.50.28 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 11.52.25 Join sanchaez [0] (~sanchaez@95.67.87.200) 11.56.18 # mendelmunkis: no worries, the way gerrit tracks dependencies is a bit unusual, if you click on "parent" of a gerrit patch, you can see that it's either a commit for the trunk or another gerrit task, thus a dependency 12.05.32 Quit dandels (Ping timeout: 256 seconds) 13.23.02 # mendelmunkis: __builtin: landscape/portait cannot be implemented the same way as flip, at least no trivially 13.23.12 # for the obvious reason that the screen is not square... 13.24.39 Join massiveH [0] (~massiveH@ool-18e4e27c.dyn.optonline.net) 13.24.46 # on most LCDs (including the fuzep+), one can change the draw order by writing the proper values into some lcd register (I can find the value in the datasheet), but it does not change the fact that the app/plugin code (and potentially the generic lcd code) needs to be aware that now width and height are swapped 13.24.53 Join massive_H [0] (~massiveH@ool-18e4e27c.dyn.optonline.net) 13.33.30 Quit TheSeven (Remote host closed the connection) 13.36.26 Join TheSeven [0] (~quassel@rockbox/developer/TheSeven) 13.43.36 *** Saving seen data "./dancer.seen" 13.53.59 Quit massive_H (Quit: Leaving) 14.14.53 Join amayer [0] (~amayer@70.44.34.249) 14.36.49 Quit massiveH (Quit: Leaving) 15.20.07 Quit __builtin (Ping timeout: 264 seconds) 15.20.58 Join __builtin [0] (~xray@rockbox/developer/builtin) 15.24.12 Quit wodz (Ping timeout: 260 seconds) 15.25.28 Quit amayer (Quit: Leaving) 15.43.40 *** Saving seen data "./dancer.seen" 16.06.58 Quit hoshi (Read error: Connection reset by peer) 16.53.16 Join paulk-leonov [0] (~paulk-leo@vpn-0-22.aquilenet.fr) 16.56.34 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 16.56.44 Quit paulk-gagarine (Quit: Leaving) 16.58.06 Join paulk-gagarine [0] (~paulk-gag@220.107.128.77.rev.sfr.net) 17.00.54 Quit paulk-leonov (Quit: Leaving) 17.21.05 Quit jhMikeS (Ping timeout: 265 seconds) 17.43.43 *** Saving seen data "./dancer.seen" 17.54.34 Quit akaWolf (Ping timeout: 255 seconds) 18.14.39 Quit quaz0r (Quit: WeeChat 2.2-dev) 18.16.55 Join wodz [0] (~wodz@iwl138.internetdsl.tpnet.pl) 18.37.42 Quit pamaury (Ping timeout: 268 seconds) 18.39.08 Join pamaury [0] (~pamaury@rockbox/developer/pamaury) 18.50.00 Quit wodz (Ping timeout: 260 seconds) 19.02.52 Join MrZeus [0] (~MrZeus@2a02:c7f:7066:fb00:a4ca:c264:44e8:3c82) 19.06.27 Quit pamaury (Ping timeout: 260 seconds) 19.09.32 Quit Acou_Bass (Quit: byeeeeeeeeeeeeeee) 19.10.16 Join Acou_Bass [0] (~Acou_Bass@host-89-242-222-199.as13285.net) 19.14.52 Join lebellium [0] (~hexchat@89-93-177-206.hfc.dyn.abo.bbox.fr) 19.19.55 Join ZincAlloy [0] (~Adium@2a02:8108:8b80:1700:9d43:299:2776:810f) 19.28.07 Join petur [0] (~petur@rockbox/developer/petur) 19.43.45 *** Saving seen data "./dancer.seen" 20.11.41 Join hoshi [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 20.15.50 Quit hoshi (Read error: Connection reset by peer) 20.16.50 Join hoshi [0] (~Hoshi@aceu3.neoplus.adsl.tpnet.pl) 20.18.15 Join dys [0] (~dys@tmo-106-33.customers.d1-online.com) 20.38.59 Join jhMikeS [0] (~jethead71@d192-24-173-177.try.wideopenwest.com) 20.58.55 Quit sanchaez (Ping timeout: 240 seconds) 21.07.24 Join sanchaez [0] (~sanchaez@95.67.87.200) 21.11.47 Quit sanchaez (Ping timeout: 256 seconds) 21.25.56 Join sanchaez [0] (~sanchaez@95.67.87.200) 21.43.46 *** Saving seen data "./dancer.seen" 21.51.42 Quit sanchaez (Ping timeout: 276 seconds) 22.06.49 Join sanchaez [0] (~sanchaez@95.67.87.200) 22.20.07 Quit hoshi (Ping timeout: 264 seconds) 22.39.39 Join akaWolf [0] (~akaWolf@unaffiliated/akawolf) 23.43.48 *** Saving seen data "./dancer.seen" 23.54.54 Quit lebellium (Quit: Leaving)