When I create a windowed application, to present the backbuffer on the
screen, the method "Block Transfer" is used. Read "memcpy" :)
However, when I go fullscreen, Buffer flipping is used.
Now, my question. If I start the application in windowed mode and go to
fullscreen via window stretching and "ChangeDisplaySettings" function
with the CDS_FULLSCREEN parameter, will my app be automaticaly using
buffer flipping or do I have to reinitialize the GL rendering context?
If it will auto-detect, will that work on all cards?
How do you handle this issue?
-----------------
Kresimir Spes
Cateia Games
http://games.cateia.com
http://tnz2.cateia.com
|
|
0
|
|
|
|
Reply
|
DigitalDragon
|
2/15/2005 10:05:32 PM |
|
DigitalDragon wrote:
> When I create a windowed application, to present the backbuffer on the
> screen, the method "Block Transfer" is used. Read "memcpy" :)
>
> However, when I go fullscreen, Buffer flipping is used.
>
> Now, my question. If I start the application in windowed mode and go to
> fullscreen via window stretching and "ChangeDisplaySettings" function
> with the CDS_FULLSCREEN parameter, will my app be automaticaly using
> buffer flipping or do I have to reinitialize the GL rendering context?
>
> If it will auto-detect, will that work on all cards?
>
> How do you handle this issue?
On Windows the proper action is to destroy and recreate the GL rendering context
(including reloading all textures and display lists) whenever the screen
settings are changed.
> -----------------
> Kresimir Spes
> Cateia Games
> http://games.cateia.com
> http://tnz2.cateia.com
--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
|
|
0
|
|
|
|
Reply
|
Phil
|
2/15/2005 11:55:31 PM
|
|
DigitalDragon wrote:
> When I create a windowed application, to present the backbuffer on the
> screen, the method "Block Transfer" is used. Read "memcpy" :)
>
> However, when I go fullscreen, Buffer flipping is used.
>
Usually, yes.
> Now, my question. If I start the application in windowed mode and go to
> fullscreen via window stretching and "ChangeDisplaySettings" function
> with the CDS_FULLSCREEN parameter, will my app be automaticaly using
> buffer flipping or do I have to reinitialize the GL rendering context?
>
You really need to create a new window.
If your pixel format is compatible then you
can keep/share the rendering context. If not
you have to create a new one and recreate all
your textures, etc.
--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.
|
|
0
|
|
|
|
Reply
|
fungus
|
2/16/2005 12:20:33 AM
|
|
|
2 Replies
158 Views
(page loaded in 0.074 seconds)
Similiar Articles: User Error need help! - comp.cad.solidworksCouple of setting examples: "buffer flipping mode" (default: auto select) or "vertical sync" (on by default) Kman "Merry Owen" <merry@mako.net.au> wrote in message ... Could anyone give me the spice-mode.el - comp.emacsFrom the website, I found a package called spice-mode.el. But I could not access to it. Could anyone kindly help me send that file to me? Regards Roger Port declaration for a memory array - comp.lang.verilog... port for memory array which is constructed using flip-flops. For example: module test_mode( clk ... Unsafe buffers are always vectors, or one-dimensional arrays. The ... comp.lang.asm.x86 - page 16My mode 13h blitter 1 81 (9/1/2003 5:26:11 AM) I'm in early ... the basic blitting part that plots to a back buffer. ... to flip the bytes of variable of type word #define FLIP ... Modelsim Low and High violations - comp.arch.fpga... BUFG +xilinx - comp.arch.fpga... out of the FPGA, configure the output buffer as a DDR Flip ... low-end routers are ... speed of network card ... Belkin High-Speed Mode ... Any solution for solving setup or hold time violation? - comp.arch ...In this mode, it would be difficult to have hold ... which related to the setup time violation in a flip ... Hold time ... find a work around solution ... buffers to ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... User Port expansion - comp.sys.cbm... some? drives have a "8 bit transfer mode" Feature bit ... IO7:0 01 1 0 1 1 1 0 1 buffer ... be the 74165. > > 74595 > > -- C,, I guess that flipping ... A couple of CPLD design challenges for the group - comp.arch.fpga ...Here a CPU which uses 72 of 17344 Slice Flip Flops and ... shift register, which can be used as a ring buffer for ... By putting the JTAG FSM into SAMPLE mode it is possible ... what is buffer flippimg mode and vertical sync mean on A NVIDIA ...Hardware > Desktop Computer Hardware ... What is buffer flipping mode and vertical sync?? what does it do or its purpose?? ... chrono25 They're used for your Ge Force ... Double Buffering, Page Flipping, & Unchained Mode - David BrackeenVGA basics, lines and shapes, bitmaps, mouse, double buffering, page flipping, unchained mode ... directly to video memory, the program draws everything to a double buffer ... 7/11/2012 9:47:32 PM
|