Update contrib.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 @internalComponent - Internal Symbian test code
21 #ifndef __RENDERSTAGE_H__
22 #define __RENDERSTAGE_H__
26 #include <graphics/wsrenderstage.h>
29 //This render stage sets up a test thread within window server that waits on
30 //an asynchonous message queue for test commands that are sent from the TEF driver app.
31 //All render stage calls are simply forwarded to the next stage in the chain.
32 class CRenderStage : public CWsRenderStage
35 static CRenderStage* NewL(MWsGraphicDrawerEnvironment* /*aEnv*/, MWsScreen* /*aScreen*/, MWsScreenRedraw* /*aScreenRedraw*/, CWsRenderStage* aNextStage);
37 TAny* ResolveObjectInterface(TUint aTypeId);
38 void Begin(const TRegion* aRegion);
39 void End(TRequestStatus* aCompositorReady);
43 void ConstructL(CWsRenderStage* aNextStage);
44 static TInt TestEnvThreadEntryPoint(TAny* aSelf);
47 RThread iTestEnvThread;