Click here to Skip to main content
15,891,431 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: DirectShow - Analyze audio stream from AVI - as fast as possible Pin
Mark Salsbery15-May-07 7:59
Mark Salsbery15-May-07 7:59 
Questionurgent..pzzz!! Pin
mr jets10-May-07 17:38
mr jets10-May-07 17:38 
AnswerRe: urgent..pzzz!! Pin
Mark Salsbery11-May-07 13:16
Mark Salsbery11-May-07 13:16 
GeneralRe: urgent..pzzz!! Pin
mr jets11-May-07 14:42
mr jets11-May-07 14:42 
GeneralRe: urgent..pzzz!! Pin
Mark Salsbery11-May-07 15:21
Mark Salsbery11-May-07 15:21 
AnswerRe: urgent..pzzz!! Pin
Christian Graus13-May-07 12:31
protectorChristian Graus13-May-07 12:31 
AnswerRe: urgent..pzzz!! Pin
El Corazon14-May-07 6:38
El Corazon14-May-07 6:38 
QuestionMore than one 'SwapBuffers(HDC)' Pin
XTAL25610-May-07 15:23
XTAL25610-May-07 15:23 
Hi, i am writing a small app which renders OpenGL to a frame inside a window. I want it to be rendered every time an event occurs such as creating a new file (which would reset the view). However, i also want to render in frames per second when it is enabled. In this case, a timer causes an event every, say, 100ms. Now, that event causes a render function to be called which copies the OpenGL screen to a texture, warps it, and renders it back. Every time any other event occurs, all that needs to be done is to draw the warped image.
So, how do i use SwapBuffers(HDC) twice, once in each render function, but so that the image does not flicker.
Download here[^] and get my WMP visualization here[^]. Run the program before you try to compile, because if Dev-Cpp can't compile it will delete the exe.

Customer in computer shop: "Can you copy the Internet onto this disk for me?"

AnswerRe: More than one 'SwapBuffers(HDC)' Pin
El Corazon10-May-07 16:12
El Corazon10-May-07 16:12 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25610-May-07 17:01
XTAL25610-May-07 17:01 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
El Corazon13-May-07 18:55
El Corazon13-May-07 18:55 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25618-May-07 16:59
XTAL25618-May-07 16:59 
GeneralRe: More than one 'SwapBuffers(HDC)' Pin
XTAL25631-May-07 15:16
XTAL25631-May-07 15:16 
AnswerRe: More than one 'SwapBuffers(HDC)' Pin
Rilhas20-May-07 2:25
Rilhas20-May-07 2:25 
Questionsaving my drawing as atext file...!! Pin
mr jets9-May-07 23:55
mr jets9-May-07 23:55 
AnswerRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 1:28
PandemoniumPasha10-May-07 1:28 
GeneralRe: saving my drawing as atext file...!! Pin
mr jets10-May-07 2:01
mr jets10-May-07 2:01 
GeneralRe: saving my drawing as atext file...!! Pin
PandemoniumPasha10-May-07 21:52
PandemoniumPasha10-May-07 21:52 
AnswerRe: saving my drawing as atext file...!! Pin
Christian Graus13-May-07 12:44
protectorChristian Graus13-May-07 12:44 
Questiondrawing algorithms Pin
sarah_malik6-May-07 10:06
sarah_malik6-May-07 10:06 
AnswerRe: drawing algorithms Pin
El Corazon6-May-07 10:43
El Corazon6-May-07 10:43 
GeneralRe: drawing algorithms Pin
sarah_malik6-May-07 11:11
sarah_malik6-May-07 11:11 
GeneralRe: drawing algorithms Pin
El Corazon6-May-07 11:47
El Corazon6-May-07 11:47 
Answer[Message Deleted] Pin
#1236-May-07 15:19
#1236-May-07 15:19 
GeneralRe: drawing algorithms Pin
El Corazon7-May-07 2:16
El Corazon7-May-07 2:16 

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.