This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WINCE7 Silverlight openGL

Other Parts Discussed in Thread: OMAP3530

Hi,

I'm testing silverlight with omap3730 / 256Mb ram / wince7 / powervr 125 / dsplink + cmem + cs / all TI directshow filters / no vrfb / no isp / dvi 1024x768x32bpp /  tibsp 2.00 and I get the following error:

WSEGL_CreateWindowDrawable(): Failed to get Alloc DDraw surface

after this all I can see is only the frame of the new window.

 

This appens when I open few big windows OR many smaller windows, it seems like there isn't enought memory...

 

Any idea where the problem could be? What can I try?

 

thanks

Luca

  • You may need to increase the display memory as per your needs. You need to change the memory carving in image_cfg.h to increase the amount of memory allocated to IMAGE_WINCE_DISPLAY region in image_cfg.h. Display driver will automatically pick up this change from image_cfg.h.

    One way of doing this:

    1. If you dont need 720p support for DVSDK, then disable it in the BSP catalog and merge the IMAGE_WINCE_DISPLAY_720p region into IMAGE_WINCE_DISPLAY region.This way you will have 32MB for display.

    2. In EVM_OMAP3530\src\oal\oallib\init.c, Fn: OEMEnumExtensionDRAM(), get rid of the following lines (otherwise kernel will add the 720p region to RAM),
            pMemSections[cSections].dwFlags = 0;
            pMemSections[cSections].dwStart = IMAGE_WINCE_DISPLAY_720p_CA;
            pMemSections[cSections].dwLen = IMAGE_WINCE_DISPLAY_720p_SIZE;
            cSections++;

    -Madhvi

     

  • Hi Madhvi,

    I've increased the display memory and now I can open more windows.

     

    Thanks

    -Luca