Bugzilla – Attachment 546087 Details for
Bug 779048
Hibernation doesnt work with splash enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
splashy-fix-error-no-create-window-support.patch
splashy-fix-error-no-create-window-support.patch (text/plain), 2.33 KB, created by
Michael Chang
on 2013-06-28 02:13:25 UTC
(
hide
)
Description:
splashy-fix-error-no-create-window-support.patch
Filename:
MIME Type:
Creator:
Michael Chang
Created:
2013-06-28 02:13:25 UTC
Size:
2.33 KB
patch
obsolete
>Index: splashy-0.3.13/src/splashy_video.c >=================================================================== >--- splashy-0.3.13.orig/src/splashy_video.c >+++ splashy-0.3.13/src/splashy_video.c >@@ -688,12 +688,8 @@ video_set_mode () > * used to disable inputs from mouse and reduce overhead (about 15% > * of CPU usage) > */ >- /* >- * FIXME video.dfb->SetCooperativeLevel (video.dfb, >- * DFSCL_FULLSCREEN); >- */ > video.primary_layer->SetCooperativeLevel (video.primary_layer, >- DLSCL_EXCLUSIVE); >+ DLSCL_ADMINISTRATIVE); > video.primary_layer->GetConfiguration (video.primary_layer, > &video.primary_layer_config); > >@@ -1158,6 +1154,8 @@ splashy_start_splash () > return -2; > } > >+ video.dfb->SetCooperativeLevel (video.dfb, DFSCL_FULLSCREEN); >+ > video.mode = g_new0 (splashy_videomode_t, 1); > /* > * set our expectation to a very big number >@@ -1197,17 +1195,6 @@ splashy_start_splash () > video.dfb->Release (video.dfb); > return -3; > } >- if (video.provider->GetSurfaceDescription (video.provider, >- &desc) != DFB_OK) >- { >- video.dfb->Release (video.dfb); >- return -4; >- } >- /* >- * flags to set the default surface as main surface >- */ >- desc.flags = DSDESC_CAPS; >- desc.caps = DSCAPS_PRIMARY; > > /* > * store our primary layer as this will be use for setting the opacity >@@ -1231,9 +1218,12 @@ splashy_start_splash () > * get our primary_surface, this will hold the progressbar, textbox > * and others > */ >- if (video.primary_layer->GetSurface (video.primary_layer, >- &video.primary_surface) >- != DFB_OK) >+ desc.flags = DSDESC_CAPS; >+ desc.caps = DSCAPS_PRIMARY; >+ >+ if (video.dfb->CreateSurface (video.dfb, >+ &desc, >+ &video.primary_surface) != DFB_OK) > { > video.dfb->Release (video.dfb); > return -6;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 779048
:
504697
|
505017
| 546087 |
546088