Re: Draw Performance Improvement

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for giving me good points to think.
But i request you to please tell me which part of the program i should
modify ..if i have to increase the buffer size used for GDI operation ,i want
to check how much does it really impact performance by increasing buffer
size.

I hope you underrstand my question.

Regards
Manish




"Gary Daniels [MS]" wrote:

> The best place to start investigating performance issues is to profile your
> application, there's info in the PB documentation on using the profiler.
>
> With graphics, the biggest performance hit is normally color conversion.
> Make sure all of your bitmaps have matching color formats, use
> CreateCompatibleBitmap whenever possible, and create your DIB's with the
> same bit depth and bit masks as the primary display driver. Hardware
> acceleration usually only works with bitmaps from CreateCompatibleBitmap,
> bitmaps from CreateBitmap and CreateDIBSection are stored in system memory
> and not the display card's video memory. For the display hardware to
> accelerate bitmaps in system memory addtional hardware/dma is needed.
>
> Complex clip regions are also a cluprit, keep in mind that performance
> decreases exponentially as the number of clipping rectangles increase for
> the surface. All of the clipping rectangles need to be tested for each pixel
> blitted, resulting in a large perf hit.
>
> These are just some initial places to look, but i've found the best thing to
> do is profile and see where the cycles are actually going.
>
> Gary Daniels
> Windows CE Multimedia and Graphics
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use.
>
> "Dean Ramsier" <ramsiernospam@xxxxxxxxxx> wrote in message
> news:eQ%23mR8sEGHA.3464@xxxxxxxxxxxxxxxxxxxxxxx
> > There are a number of things that can influence your display performance.
> > Chief among them is the ability of the display controller to do hardware
> > acceleration of the various blits. Just increasing video memory size
> > won't do a thing, unless you have a controller that has onboard video
> > memory, and can do surface flipping etc in hardware.
> >
> > Keep in mind that your perception of poor video performance might have
> > little or nothing to do with the display driver. You could have overall
> > poor performance resulting from any number of system level issues.
> >
> > --
> > Dean Ramsier - eMVP
> > BSQUARE Corporation
> >
> >
> > "Manish" <Manish@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:B3F75A9A-DCB4-4712-8A73-44F0EFDBC3DE@xxxxxxxxxxxxxxxx
> >> Hi !
> >> I am runing one application on My device which is veryGUI
> >> intensive
> >> therefore the performance of Draw function is not good . It takes
> >> appricial
> >> time . I want to improve performance . Somebody told me to increase the
> >> Video
> >> Memory buffer size .
> >>
> >> Can anybody tell me where i need to make changes in BSP ..In Display
> >> driver
> >> /DirecDraw display driver or else .
> >>
> >>
> >> Please suggest
> >>
> >> Regards
> >> Manish
> >
> >
>
>
>
.



Relevant Pages

  • Re: Displaying 120 Mega Pixels in 256 MB Video RAM
    ... a full screen on my 1920x1200 display. ... won't use any more display memory than it needs ... pixels, then I have a 12MPx image to show. ... video card should not be an issue because the ...
    (microsoft.public.vc.mfc)
  • Re: Displaying 120 Mega Pixels in 256 MB Video RAM
    ... a full screen on my 1920x1200 display. ... won't use any more display memory than it needs to ... pixels, then I have a 12MPx image to show. ... video card should not be an issue because the ...
    (microsoft.public.vc.mfc)
  • Re: [kde-linux] Unpopulated Control-Center window
    ... Live Linux CDs with KDE4 on my 4+ year old Celeron laptop (stuck with the old Intel 8xx series video hardware) and the video hardware handles it fine if the eye candy is either turned off or very conservatively set. ... I have two older IDE drives and one SATA drive that is for data, ... I like doing very large panoramic photos for fun, and would really rather have my computer spending its memory on processing my photo, not throwing around eye candy. ...
    (KDE)
  • Re: Draw Performance Improvement
    ... >> same bit depth and bit masks as the primary display driver. ... >> and not the display card's video memory. ... For the display hardware to ... >> do is profile and see where the cycles are actually going. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Draw Performance Improvement
    ... same bit depth and bit masks as the primary display driver. ... and not the display card's video memory. ... For the display hardware to ...
    (microsoft.public.windowsce.platbuilder)