2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00

More comments on the H2O weirdness...

This commit is contained in:
NiLuJe 2014-11-11 01:25:44 +01:00
parent a44c5e99d1
commit 8cfbcca7c5

View File

@ -120,6 +120,10 @@ function UIManager:init()
self.wait_for_every_marker = true self.wait_for_every_marker = true
-- The H2O appears to be the odd duck... Nickel uses AUTO for PARTIAL updates instead of asking for REAGLD specifically... -- The H2O appears to be the odd duck... Nickel uses AUTO for PARTIAL updates instead of asking for REAGLD specifically...
-- For now, try asking for REAGLD, but don't switch them to FULL, since that triggers a black flash on the H2O... -- For now, try asking for REAGLD, but don't switch them to FULL, since that triggers a black flash on the H2O...
-- Strangely enough, if I follow the kernel sources correctly, and they aren't using dirty tricks (like enabling some switches at compile time...),
-- PARTIAL, AUTO updates should default to NTX_WFM_MODE_GL16 on the H2O, which isn't REAGL at all, so, err, WTF?
-- FIXME: Either live like this, or try switchng to NTX_WFM_MODE_GLR16, which appears to be the right thing for PARTIAL REAGL,
-- or simply stop trying to figure it out and go AUTO...
if Device.model == "Kobo_dahlia" then if Device.model == "Kobo_dahlia" then
self.regal_always_full = false self.regal_always_full = false
--self.partial_refresh_waveform_mode = WAVEFORM_MODE_AUTO --self.partial_refresh_waveform_mode = WAVEFORM_MODE_AUTO