Erick Galassi wrote:
> Hi, 
> 
>    First of all I would like to thank you both for this help. The device
> that I´m working on is an IP set-top box from Philips called STB810, it has
> a Nexperia processor and works with 5 different layers (I can list the full
> result of dfbinfo it you what to know how it is). 

I'm wondering if this is anyhow related to the driver that I wrote.

>    I did the modification as Richard said and what happens is that
> DLBM_BACKVIDEO returns "out of video memory" (I´m having lot of trouble
> about this "out of video memory" in general. Maybe there is some DirectFB
> configuration where I can make some changes on it. Specially about
> CreateSurfaces) 

I don't know about the layer implementations in your driver and how much
video memory is available.

But if you're having problems with out of video memory messages when
using the primary layer, it might be a limitation or bug in the frame
buffer driver.

>    Using DLBM_BACKSYSTEM it seems to be working fine. Except by one detail: 
>  
>    I have the following code workflow, to print contents:
> 
>    1- load layer 2 (graphics) 
>    2- set options to DLOP_LAYER_SHOW
>    2- get primary surface of layer 2
>    3- create and flip an image into primary

You mean load and blit it to the primary, then flip the primary?

>    4- load layer 1 (graphics)
>    5- set buffermode to DLOP_BACKSYSTEM and also options to DLOP_LAYER_SHOW
>    6- get primary surface of layer 1
>    7- create 16 images and then FLIP 

A tiled view?

>    8- load layer 0 (framebuffer)
>    9- get primary surface of layer 0 
>   10- flip some graphics. 
> 
>    If I insert the following lines , the image of step 3 only appears after

Insert where?

> the step 7, togheter with all other images, otherwise it appears normally
> according with the current workflow: 
> 
>    IDirectFBFont *font;
>    DFBFontDescription fontDesc;
>    fontDesc.flags = DFDESC_HEIGHT;
>    fontDesc.height = 18;
>    dfb->CreateFont(dfb,"directory/tahoma.ttf",&fontDesc, &font);

This shouldn't influence the above...

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to