in easyce.cpp (near line 180), there is:
if ((!GXIsDisplayDRAMBuffer()) && (ypitch == 480))
{
// No need to do our own double buffering
imm = false;
}
but nothing is done with this...
Have you plan doing something special with this ?
Here is something I try:
in sampleapp.cpp
unsigned short* thescreenbuffer;
void main() {
thescreenbuffer = (unsigned short*)GXBeginDraw();
...graphic code...
GXEndDraw();
update();
}
and change
*(dest + x1 + y1 * 240) = color;
by
thescreenbuffer[x1+y1*256] = color;
in void plot( int x1, int y1, int color )
the value 256 is specific for the casio, cbyPitch is 512
and then, do nothing in updatedisplay()
as I hope : great boost on performance !
What do you think of this ? Could I used easyce with this change ? Have you plan yourself to do something with "imm" .
Other thing : versioning of easyce ? Each tutorial came with a change easyce.cpp...
if ((!GXIsDisplayDRAMBuffer()) && (ypitch == 480))
{
// No need to do our own double buffering
imm = false;
}
but nothing is done with this...
Have you plan doing something special with this ?
Here is something I try:
in sampleapp.cpp
unsigned short* thescreenbuffer;
void main() {
thescreenbuffer = (unsigned short*)GXBeginDraw();
...graphic code...
GXEndDraw();
update();
}
and change
*(dest + x1 + y1 * 240) = color;
by
thescreenbuffer[x1+y1*256] = color;
in void plot( int x1, int y1, int color )
the value 256 is specific for the casio, cbyPitch is 512
and then, do nothing in updatedisplay()
as I hope : great boost on performance !
What do you think of this ? Could I used easyce with this change ? Have you plan yourself to do something with "imm" .
Other thing : versioning of easyce ? Each tutorial came with a change easyce.cpp...