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__))
134#define arm_2d_scene_player_register_before_deposing_event_handler( \
135 __SCENE_PLAYER_PTR, \
138 __arm_2d_scene_player_register_before_deposing_event_handler( \
139 (__SCENE_PLAYER_PTR), \
141 (NULL,##__VA_ARGS__))
209 uint8_t bIgnoreOldSceneBG : 1;
210 uint8_t bIgnoreOldScene : 1;
211 uint8_t bIgnoreNewSceneBG : 1;
212 uint8_t bIgnoreNewScene : 1;
213 uint8_t u2DefaultBG : 2;
226typedef const struct {
276 uint8_t bOnSwitchingIgnoreBG : 1;
277 uint8_t bOnSwitchingIgnoreScene : 1;
280 uint8_t bUseDirtyRegionHelper : 1;
317 uint64_t dwRenderTotal;
320 uint16_t hwIterations;
321 uint16_t hwFrameCounter;
322 uint32_t wLCDLatency;
334 uint8_t bNextSceneReq : 1;
335 uint8_t bManualSwitchReq : 1;
336 uint8_t bCancelSwitchReq : 1;
337 uint8_t bFinishManualSwitchReq : 1;
340 uint8_t bManualSwitch : 1;
341 uint8_t bCancelSwitch : 1;
342 uint8_t bFinishManualSwitch : 1;
343 uint8_t bFirstFrameAfterSwitch : 1;
346 uint8_t bSwitchCPL : 1;
347 uint8_t bUpdateBG : 1;
349 uint8_t bCallOldSceneFrameCPL : 1;
350 uint8_t bCallNewSceneFrameCPL : 1;
351 uint8_t bCallOldSceneBGCPL : 1;
352 uint8_t bCallNewSceneBGCPL : 1;
469 int_fast16_t hwCount);
512 uint16_t hwSettings);
558 bool bMoveToPreviousScene,
601 arm_2d_helper_draw_handler_t *fnHandler,
745#if defined(__clang__)
746# pragma clang diagnostic pop