windowing/windowserver/SERVER/w32cmd.h
changeset 194 18f84489a694
parent 152 9f1c3fea0f87
equal deleted inserted replaced
183:6a1564a2f3e6 194:18f84489a694
   260 	EWsClOpCreateDrawableSource,
   260 	EWsClOpCreateDrawableSource,
   261 	EWsClOpCreateDirectScreenAccessRegionTrackingOnly,
   261 	EWsClOpCreateDirectScreenAccessRegionTrackingOnly,
   262 	EWsClOpSendEffectCommand,
   262 	EWsClOpSendEffectCommand,
   263 	EWsClOpRegisterTFXEffectBuf,
   263 	EWsClOpRegisterTFXEffectBuf,
   264 	EWsClOpRegisterTFXEffectIPC,
   264 	EWsClOpRegisterTFXEffectIPC,
   265 	EWsClOpUnregisterTFXEffect,
       
   266 	EWsClOpUnregisterAllTFXEffect,
   265 	EWsClOpUnregisterAllTFXEffect,
   267 	EWsClOpOverrideEffectBuf,
   266 	EWsClOpOverrideEffectBuf,
   268 	EWsClOpOverrideEffectIPC,
   267 	EWsClOpOverrideEffectIPC,
   269 	EWsClOpIndicateAppOrientation,
   268 	EWsClOpIndicateAppOrientation,
   270 	EWsClOpLastEnumValue //Keep this at the end - used by test code
   269 	EWsClOpLastEnumValue //Keep this at the end - used by test code
   438 #endif
   437 #endif
   439 	EWsWinOpSetPurpose,
   438 	EWsWinOpSetPurpose,
   440 	EWsWinOpSendEffectCommand,
   439 	EWsWinOpSendEffectCommand,
   441 	EWsWinOpOverrideEffectBuf,
   440 	EWsWinOpOverrideEffectBuf,
   442 	EWsWinOpOverrideEffectIPC,
   441 	EWsWinOpOverrideEffectIPC,
       
   442 	EWsWinOpSetPointerAcceptanceRegion,
   443 	EWsWinOpTestLowPriorityRedraw=0x2000,  //Specific opcode for testing redraw queue priorities
   443 	EWsWinOpTestLowPriorityRedraw=0x2000,  //Specific opcode for testing redraw queue priorities
   444 	};
   444 	};
   445 
   445 
   446 // GC opcodes
   446 // GC opcodes
   447 
   447 
   986     TInt tfxPhase1StrSize;
   986     TInt tfxPhase1StrSize;
   987     TInt tfxPhase2StrSize;
   987     TInt tfxPhase2StrSize;
   988     TUint tfxAppUid;
   988     TUint tfxAppUid;
   989     TBitFlags tfxFlags;
   989     TBitFlags tfxFlags;
   990     };
   990     };
   991 struct TWsClCmdUnRegisterEffect
       
   992     {
       
   993     inline TWsClCmdUnRegisterEffect(TInt aAction, TInt aPurpose, TUint aAppUid);
       
   994     TInt tfxAction;
       
   995     TInt tfxPurpose;
       
   996     TUint tfxAppUid;
       
   997     };
       
   998 struct TWsClCmdOverrideEffect
   991 struct TWsClCmdOverrideEffect
   999     {
   992     {
  1000     inline TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags);
   993     inline TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags);
  1001     TInt tfxAction;
   994     TInt tfxAction;
  1002     TInt tfxPurpose;
   995     TInt tfxPurpose;
  1056 	const TWsClCmdCreateScreenDevice* CreateScreenDevice;
  1049 	const TWsClCmdCreateScreenDevice* CreateScreenDevice;
  1057 	const TWsClCmdZThresholdPair* ZThresholdPair;
  1050 	const TWsClCmdZThresholdPair* ZThresholdPair;
  1058 	const TWsClCmdCreateDrawableSource* CreateDrawableSource;
  1051 	const TWsClCmdCreateDrawableSource* CreateDrawableSource;
  1059 	const TWsClCmdSendEffectCommand* SendEffectCommand;
  1052 	const TWsClCmdSendEffectCommand* SendEffectCommand;
  1060 	const TWsClCmdRegisterEffect* RegisterEffect;
  1053 	const TWsClCmdRegisterEffect* RegisterEffect;
  1061 	const TWsClCmdUnRegisterEffect* UnRegisterEffect; 
       
  1062 	const TWsClCmdOverrideEffect* OverrideEffect;
  1054 	const TWsClCmdOverrideEffect* OverrideEffect;
  1063 	const TRenderOrientation* Orientation;
  1055 	const TRenderOrientation* Orientation;
  1064 	};
  1056 	};
  1065 
  1057 
  1066 // Window command structures
  1058 // Window command structures
  2287     tfxCmd(aTfxCmd), tfxCmdDataLength(aTfxCmdDataLength), windowHandle(aWinHandle)
  2279     tfxCmd(aTfxCmd), tfxCmdDataLength(aTfxCmdDataLength), windowHandle(aWinHandle)
  2288 	{}
  2280 	{}
  2289 inline TWsClCmdRegisterEffect::TWsClCmdRegisterEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TUint aAppUid, TBitFlags aFlags) :
  2281 inline TWsClCmdRegisterEffect::TWsClCmdRegisterEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TUint aAppUid, TBitFlags aFlags) :
  2290 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxAppUid(aAppUid), tfxFlags(aFlags) 
  2282 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxAppUid(aAppUid), tfxFlags(aFlags) 
  2291 	{}
  2283 	{}
  2292 inline TWsClCmdUnRegisterEffect::TWsClCmdUnRegisterEffect(TInt aAction, TInt aPurpose, TUint aAppUid) :
       
  2293 	tfxAction(aAction), tfxPurpose(aPurpose), tfxAppUid(aAppUid)
       
  2294 	{}
       
  2295 inline TWsClCmdOverrideEffect::TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags) :
  2284 inline TWsClCmdOverrideEffect::TWsClCmdOverrideEffect(TInt aAction, TInt aPurpose, TInt aDirStrSize, TInt aPhase1StrSize, TInt aPhase2StrSize, TBitFlags aFlags) :
  2296 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxFlags(aFlags)
  2285 	tfxAction(aAction), tfxPurpose(aPurpose), tfxDirStrSize(aDirStrSize), tfxPhase1StrSize(aPhase1StrSize), tfxPhase2StrSize(aPhase2StrSize), tfxFlags(aFlags)
  2297 	{}
  2286 	{}
  2298 inline TWsWinCmdAddKeyRect::TWsWinCmdAddKeyRect(const TRect &aRect,TInt aScanCode, TBool aActivatedByPointerSwitchOn) :
  2287 inline TWsWinCmdAddKeyRect::TWsWinCmdAddKeyRect(const TRect &aRect,TInt aScanCode, TBool aActivatedByPointerSwitchOn) :
  2299 	rect(aRect), scanCode(aScanCode), activatedByPointerSwitchOn(aActivatedByPointerSwitchOn)
  2288 	rect(aRect), scanCode(aScanCode), activatedByPointerSwitchOn(aActivatedByPointerSwitchOn)