|
1 // Copyright (c) 2007-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @test |
|
19 */ |
|
20 |
|
21 #ifndef EGLTESTCOMMONPROCESS_H |
|
22 #define EGLTESTCOMMONPROCESS_H |
|
23 |
|
24 #include <e32base.h> |
|
25 #ifdef SYMBIAN_GRAPHICS_EGL_SGIMAGELITE |
|
26 #include <sgresource/sgresource.h> |
|
27 #else |
|
28 #include <graphics/sgresource.h> |
|
29 #endif //SYMBIAN_GRAPHICS_EGL_SGIMAGELITE |
|
30 |
|
31 _LIT(KEglTestServerWrapperProcess, "egltestcommonprocess.exe"); |
|
32 |
|
33 struct TProcessInfo |
|
34 { |
|
35 TInt iIdx; // << index for example used to identify the thread to semaphores |
|
36 TSgDrawableId iSgId; |
|
37 }; |
|
38 |
|
39 enum TEglTestProcessSlots |
|
40 { |
|
41 EProcSlotTestDllName=1, // can't use slot 0 |
|
42 EProcSlotTestStepName, |
|
43 EProcSlotParams, |
|
44 EProcSlotSemaphore0, |
|
45 EProcSlotSemaphore1, |
|
46 EProcSlotMsgQueueSgId, |
|
47 EProcSlotMsgQueueProcId, |
|
48 EProcSlotSourceFormat, |
|
49 EProcSlotSurfaceFormat |
|
50 }; |
|
51 |
|
52 class EglTestCommonProcess |
|
53 { |
|
54 public: |
|
55 static void MainL(); |
|
56 }; |
|
57 |
|
58 #endif // EGLTESTCOMMOMPROCESS_H |