DirectFB-1.6.3-setregion.patch 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. https://build.opensuse.org/package/view_file?expand=1&file=DirectFB-setregion.patch&package=DirectFB&project=openSUSE%3AFactory
  2. --- gfxdrivers/cyber5k/cyber5k.c
  3. +++ gfxdrivers/cyber5k/cyber5k.c
  4. @@ -636,7 +636,8 @@ osdSetRegion( CoreLayer
  5. CoreLayerRegionConfigFlags updated,
  6. CoreSurface *surface,
  7. CorePalette *palette,
  8. - CoreSurfaceBufferLock *lock )
  9. + CoreSurfaceBufferLock *left_lock,
  10. + CoreSurfaceBufferLock *right_lock )
  11. {
  12. DFBResult ret;
  13. @@ -644,7 +645,7 @@ osdSetRegion( CoreLayer
  14. ret = oldPrimaryFuncs.SetRegion( layer, oldPrimaryDriverData,
  15. layer_data, region_data,
  16. config, updated, surface,
  17. - palette, lock );
  18. + palette, left_lock, right_lock );
  19. if (ret)
  20. return ret;
  21. --- gfxdrivers/radeon/radeon_crtc1.c
  22. +++ gfxdrivers/radeon/radeon_crtc1.c
  23. @@ -147,14 +147,15 @@ crtc1SetRegion( CoreLayer
  24. CoreLayerRegionConfigFlags updated,
  25. CoreSurface *surface,
  26. CorePalette *palette,
  27. - CoreSurfaceBufferLock *lock )
  28. + CoreSurfaceBufferLock *left_lock,
  29. + CoreSurfaceBufferLock *right_lock )
  30. {
  31. if (updated & ~CLRCF_OPTIONS) {
  32. return OldPrimaryLayerFuncs.SetRegion( layer,
  33. OldPrimaryLayerDriverData,
  34. layer_data, region_data,
  35. - config, updated, surface, palette, lock );
  36. + config, updated, surface, palette, left_lock, right_lock );
  37. }
  38. return DFB_OK;
  39. --- gfxdrivers/cle266/uc_primary.c
  40. +++ gfxdrivers/cle266/uc_primary.c
  41. @@ -138,7 +138,8 @@ osdSetRegion( CoreLayer
  42. CoreLayerRegionConfigFlags updated,
  43. CoreSurface *surface,
  44. CorePalette *palette,
  45. - CoreSurfaceBufferLock *lock )
  46. + CoreSurfaceBufferLock *left_lock,
  47. + CoreSurfaceBufferLock *right_lock )
  48. {
  49. DFBResult ret;
  50. UcDriverData *ucdrv = (UcDriverData*) driver_data;
  51. @@ -147,7 +148,7 @@ osdSetRegion( CoreLayer
  52. ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
  53. layer_data, region_data,
  54. config, updated, surface,
  55. - palette, lock );
  56. + palette, left_lock, right_lock );
  57. if (ret)
  58. return ret;
  59. --- gfxdrivers/unichrome/uc_primary.c
  60. +++ gfxdrivers/unichrome/uc_primary.c
  61. @@ -135,7 +135,8 @@ osdSetRegion( CoreLayer
  62. CoreLayerRegionConfigFlags updated,
  63. CoreSurface *surface,
  64. CorePalette *palette,
  65. - CoreSurfaceBufferLock *lock )
  66. + CoreSurfaceBufferLock *left_lock,
  67. + CoreSurfaceBufferLock *right_lock )
  68. {
  69. DFBResult ret;
  70. UcDriverData *ucdrv = (UcDriverData*) driver_data;
  71. @@ -144,7 +145,7 @@ osdSetRegion( CoreLayer
  72. ret = ucOldPrimaryFuncs.SetRegion( layer, ucOldPrimaryDriverData,
  73. layer_data, region_data,
  74. config, updated, surface,
  75. - palette, lock );
  76. + palette, left_lock, right_lock );
  77. if (ret)
  78. return ret;