30#ifndef __ARM_2D_HELPER_SCENE_H__
31#define __ARM_2D_HELPER_SCENE_H__
34#include "arm_2d_helper_pfb.h"
41# pragma clang diagnostic push
42# pragma clang diagnostic ignored "-Wunknown-warning-option"
43# pragma clang diagnostic ignored "-Wreserved-identifier"
44# pragma clang diagnostic ignored "-Wdeclaration-after-statement"
45# pragma clang diagnostic ignored "-Wpadded"
46# pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
55#define arm_2d_scene_player_set_switching_period \
56 arm_2d_scene_player_set_auto_switching_period
82#define arm_2d_scene_player_register_on_draw_navigation_event_handler( \
87 __arm_2d_scene_player_register_on_draw_navigation_event_handler( \
88 (__SCENE_PLAYER_PTR), \
90 (__USER_TARGET_PTR), \
100#define arm_2d_scene_player_set_switching_mode(__SCENE_PLAYER_PTR, \
103 __arm_2d_scene_player_set_switching_mode((__SCENE_PLAYER_PTR), \
116#define arm_2d_scene_player_register_before_switching_event_handler( \
117 __SCENE_PLAYER_PTR, \
120 __arm_2d_scene_player_register_before_switching_event_handler( \
121 (__SCENE_PLAYER_PTR), \
123 (NULL,##__VA_ARGS__))
192 uint8_t bIgnoreOldSceneBG : 1;
193 uint8_t bIgnoreOldScene : 1;
194 uint8_t bIgnoreNewSceneBG : 1;
195 uint8_t bIgnoreNewScene : 1;
196 uint8_t u2DefaultBG : 2;
209typedef const struct {
259 uint8_t bOnSwitchingIgnoreBG : 1;
260 uint8_t bOnSwitchingIgnoreScene : 1;
263 uint8_t bUseDirtyRegionHelper : 1;
300 uint64_t dwRenderTotal;
303 uint16_t hwIterations;
304 uint16_t hwFrameCounter;
305 uint32_t wLCDLatency;
317 uint8_t bNextSceneReq : 1;
318 uint8_t bManualSwitchReq : 1;
319 uint8_t bCancelSwitchReq : 1;
320 uint8_t bFinishManualSwitchReq : 1;
323 uint8_t bManualSwitch : 1;
324 uint8_t bCancelSwitch : 1;
325 uint8_t bFinishManualSwitch : 1;
326 uint8_t bFirstFrameAfterSwitch : 1;
329 uint8_t bSwitchCPL : 1;
330 uint8_t bUpdateBG : 1;
332 uint8_t bCallOldSceneFrameCPL : 1;
333 uint8_t bCallNewSceneFrameCPL : 1;
334 uint8_t bCallOldSceneBGCPL : 1;
335 uint8_t bCallNewSceneBGCPL : 1;
451 int_fast16_t hwCount);
494 uint16_t hwSettings);
540 bool bMoveToPreviousScene,
583 arm_2d_helper_draw_handler_t *fnHandler,
712#if defined(__clang__)
713# pragma clang diagnostic pop