Click here to Skip to main content
15,886,963 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dirty rectangle woes Pin
Daniel Pfeffer20-Feb-23 3:05
professionalDaniel Pfeffer20-Feb-23 3:05 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch20-Feb-23 3:58
mvahoney the codewitch20-Feb-23 3:58 
QuestionRe: Dirty rectangle woes Pin
megaadam19-Feb-23 22:22
professionalmegaadam19-Feb-23 22:22 
AnswerRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 22:34
mvahoney the codewitch19-Feb-23 22:34 
GeneralRe: Dirty rectangle woes Pin
megaadam19-Feb-23 22:59
professionalmegaadam19-Feb-23 22:59 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch19-Feb-23 23:19
mvahoney the codewitch19-Feb-23 23:19 
GeneralRe: Dirty rectangle woes Pin
BillWoodruff20-Feb-23 2:23
professionalBillWoodruff20-Feb-23 2:23 
GeneralRe: Dirty rectangle woes Pin
honey the codewitch20-Feb-23 4:03
mvahoney the codewitch20-Feb-23 4:03 
The controls are moveable but they usually will not be moved, so it may be possible to cache the results of at least part of what I'm computing. It also might be beneficial.

However, the biggest bottleneck is display I/O and the biggest constraint I have is memory, so really the part I have to get right first is how to draw to the display the least amount of times using a relatively small bitmap as my draw surface, and rendering over and over as I move through different parts of the display.

To complicate matters the size of the bitmap isn't necessary to be fixed. Basically if I allocate 100 pixels, I can create a bitmap of any size that's a total area of 100 pixels or less, so through optimization, I can potentially avoid redrawing controls more than once.

However, these things need to be tied together so it works properly. I can't just add the second optimization after the fact. I'd have to rewrite all of it.

That's the primary challenge I'm facing.
To err is human. Fortune favors the monsters.

GeneralWordle 610 Pin
StarNamer@work18-Feb-23 13:50
professionalStarNamer@work18-Feb-23 13:50 
GeneralRe: Wordle 610 Pin
Sandeep Mewara18-Feb-23 18:10
mveSandeep Mewara18-Feb-23 18:10 
GeneralRe: Wordle 610 Pin
OriginalGriff18-Feb-23 20:10
mveOriginalGriff18-Feb-23 20:10 
GeneralRe: Wordle 610 - three for me Pin
pkfox18-Feb-23 21:44
professionalpkfox18-Feb-23 21:44 
GeneralRe: Wordle 610 Pin
Amarnath S18-Feb-23 23:45
professionalAmarnath S18-Feb-23 23:45 
GeneralRe: Wordle 610 Pin
Cp-Coder19-Feb-23 7:48
Cp-Coder19-Feb-23 7:48 
GeneralRe: Wordle 610 4/6 Pin
jmaida19-Feb-23 13:02
jmaida19-Feb-23 13:02 
Generalworldle 393 Pin
jmaida18-Feb-23 13:22
jmaida18-Feb-23 13:22 
Praisemoving from travis-ci to github actions = win Pin
honey the codewitch18-Feb-23 13:08
mvahoney the codewitch18-Feb-23 13:08 
QuestionRe: moving from travis-ci to github actions = win Pin
Eddy Vluggen18-Feb-23 13:17
professionalEddy Vluggen18-Feb-23 13:17 
AnswerRe: moving from travis-ci to github actions = win Pin
honey the codewitch18-Feb-23 14:56
mvahoney the codewitch18-Feb-23 14:56 
GeneralRe: moving from travis-ci to github actions = win Pin
Eddy Vluggen19-Feb-23 5:13
professionalEddy Vluggen19-Feb-23 5:13 
GeneralRe: moving from travis-ci to github actions = win Pin
honey the codewitch19-Feb-23 5:22
mvahoney the codewitch19-Feb-23 5:22 
GeneralBigfoot joke of the day Pin
jmaida18-Feb-23 13:04
jmaida18-Feb-23 13:04 
GeneralRe: Bigfoot joke of the day Pin
Jacquers18-Feb-23 17:35
Jacquers18-Feb-23 17:35 
GeneralRe: Bigfoot joke of the day Pin
jmaida18-Feb-23 17:40
jmaida18-Feb-23 17:40 
GeneralRe: Bigfoot joke of the day Pin
PIEBALDconsult19-Feb-23 0:57
mvePIEBALDconsult19-Feb-23 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.