You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.9 Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2018-12-01 02:35:12 +0000, Gilberto wrote:
Different errors from already reported bugs. Configured with --enable-video-directfb flag produces the following errors when running make:
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c: In function 'DirectFB_CreateRenderer':
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:372:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'SetTextureAlphaMod'
renderer->SetTextureAlphaMod = DirectFB_SetTextureAlphaMod;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:373:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'SetTextureColorMod'
renderer->SetTextureColorMod = DirectFB_SetTextureColorMod;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:374:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'SetTextureBlendMode'; did you mean 'SupportsBlendMode'?
renderer->SetTextureBlendMode = DirectFB_SetTextureBlendMode;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:377:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'RenderClear'; did you mean 'RenderPresent'?
renderer->RenderClear = DirectFB_RenderClear;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:379:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'RenderDrawPoints'; did you mean 'QueueDrawPoints'?
renderer->RenderDrawPoints = DirectFB_RenderDrawPoints;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:380:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'RenderDrawLines'; did you mean 'QueueDrawLines'?
renderer->RenderDrawLines = DirectFB_RenderDrawLines;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:382:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'RenderFillRects'; did you mean 'QueueFillRects'?
renderer->RenderFillRects = DirectFB_RenderFillRects;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:384:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'RenderCopy'; did you mean 'QueueCopy'?
renderer->RenderCopy = DirectFB_RenderCopy;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:393:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'UpdateViewport'; did you mean 'UpdateTexture'?
renderer->UpdateViewport = DirectFB_UpdateViewport;
^~
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_render.c:394:13: error: 'SDL_Renderer {aka struct SDL_Renderer}' has no member named 'UpdateClipRect'
renderer->UpdateClipRect = DirectFB_UpdateClipRect;
On 2018-12-01 02:37:11 +0000, Gilberto wrote:
Additional information (not sure if this is helpful): Latest change set is 12435:261716de5769
On 2018-12-01 18:10:46 +0000, Ryan C. Gordon wrote:
Ugh, I didn't realize there was a render backend in the video directory. I wonder how that happened. :/
I'll take a look, and maybe also move it to the right place.
--ryan.
On 2018-12-02 07:37:48 +0000, Ryan C. Gordon wrote:
This is patched to compile again in https://hg.libsdl.org/SDL/rev/695bf801d4ba, but I don't know if it actually works. testsprite2 gets about 600 fps on this laptop with the directfb renderer now, but I don't get a window or anything; presumably it's on another virtual terminal writing to /dev/fb0 or something.
Please reopen this bug if you run into trouble with it.
--ryan.
On 2018-12-02 17:17:39 +0000, Gilberto wrote:
Hello again,
I got the following error:
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_video.c:327:7: error: 'DSPF_ABGR' undeclared here (not in a function)
{ DSPF_ABGR, SDL_PIXELFORMAT_ABGR8888 }, /* 32 bit ABGR (4 byte, alpha 8@24, blue 8@16, green 8@8, red 8@0) */
However, after commenting it out (I'm not aware of the implications of doing so), compilation ended with a single warning. I was able to make install, same for the tests and I successfully executed ./testdraw2 from tty1.
Thanks a lot Ryan.
On 2018-12-03 06:32:05 +0000, Ozkan Sezer wrote:
(In reply to Gilberto from comment # 4)
Hello again,
I got the following error:
/home/home_user/repos/SDL/src/video/directfb/SDL_DirectFB_video.c:327:7:
error: 'DSPF_ABGR' undeclared here (not in a function)
{ DSPF_ABGR, SDL_PIXELFORMAT_ABGR8888 }, /* 32 bit ABGR (4
byte, alpha 8@24, blue 8@16, green 8@8, red 8@0) */
AFAIK, DSPF_ABGR is added in directfb-1.5.0: make sure that you are
building against directfb >= 1.5.0 ??
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.9
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2018-12-01 02:35:12 +0000, Gilberto wrote:
On 2018-12-01 02:37:11 +0000, Gilberto wrote:
On 2018-12-01 18:10:46 +0000, Ryan C. Gordon wrote:
On 2018-12-02 07:37:48 +0000, Ryan C. Gordon wrote:
On 2018-12-02 17:17:39 +0000, Gilberto wrote:
On 2018-12-03 06:32:05 +0000, Ozkan Sezer wrote:
The text was updated successfully, but these errors were encountered: