author | Faisal Memon <faisal.memon@nokia.com> |
Mon, 20 Sep 2010 17:51:52 +0100 | |
branch | bug235_bringup_0 |
changeset 26 | e26655e7cad8 |
parent 13 | 220791dae4c4 |
child 30 | f204b762818d |
permissions | -rwxr-xr-x |
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
2 |
// All rights reserved. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
7 |
// |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
10 |
// |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
11 |
// Contributors: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
12 |
// |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
13 |
// Description: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
14 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
15 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
16 |
#ifndef __VGHWUTILS_H__ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
17 |
#define __VGHWUTILS_H__ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
18 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
19 |
// Include Files |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
20 |
#include <e32base.h> // CBase |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
21 |
#include <EGL/egl.h> |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
22 |
#include <VG/openvg.h> |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
23 |
#include <GLES/gl.h> |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
24 |
#include "eglrfc.h" |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
25 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
26 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
27 |
class RGuestVideoDriver; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
28 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
29 |
// Virtual Graphics Hardware per thread data: TEglThreadState is concrete, MVgContext & MGlesContext are per API interfaces |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
30 |
class TEglThreadState; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
31 |
class MGlesContext; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
32 |
class MVgContext; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
33 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
34 |
// data serialisation packages |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
35 |
class OpenVgRFC; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
36 |
class EglRFC; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
37 |
class RemoteFunctionCall; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
38 |
class RemoteFunctionCallData; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
39 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
40 |
// tracing |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
41 |
#ifdef _DEBUG |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
42 |
#include <e32debug.h> |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
43 |
#define UTIL_TRACE(fmt, args...) RDebug::Printf(fmt, ##args) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
44 |
#define VGHWPANIC_ASSERT(condition, panic) if (!(condition)) { VghwPanic(panic, #panic, #condition, __FILE__, __LINE__); } |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
45 |
#define VGHWPANIC_ASSERT_DEBUG(condition, panic) if (!(condition)) { VghwPanic(panic, #panic, #condition, __FILE__, __LINE__); } |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
46 |
#else |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
47 |
#define UTIL_TRACE(fmt, args...) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
48 |
#define VGHWPANIC_ASSERT(condition, panic) if (!(condition)) { VghwPanic(panic, NULL, NULL, NULL, __LINE__); } |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
49 |
#define VGHWPANIC_ASSERT_DEBUG(condition, panic) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
50 |
#endif |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
51 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
52 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
53 |
// Simulator Virtual Graphics Hardware panic codes |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
54 |
typedef enum |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
55 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
56 |
EVghwPanicNoVideoChannel = 1, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
57 |
EVghwPanicOperationDataTooBig, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
58 |
EVghwPanicDriverOpenError, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
59 |
EVghwPanicVghwHeapDoesNotExist, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
60 |
EVghwPanicInitializeFailed, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
61 |
EVghwPanicGraphicsDriverNotOpen, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
62 |
EVghwPanicSwitchToVghwHeapOldHeapIsVghwHeap, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
63 |
EVghwPanicSwitchFromVghwHeapParamIsNull, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
64 |
EVghwPanicSwitchFromVghwHeapOldHeapIsNotVghwHeap, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
65 |
EVghwPanicSwitchFromVghwHeapParamIsVghwHeap, // 10 |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
66 |
EVghwPanicGraphicsCreationLockDoesNotExist, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
67 |
EVghwPanicExecuteCommandFailed, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
68 |
EVghwPanicBadVgErrorValue, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
69 |
EVghwPanicBadGlesErrorValue, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
70 |
EVghwPanicBadEglErrorValue, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
71 |
EVghwPanicBadEglBoundApi, |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
72 |
} TVghwPanic; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
73 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
74 |
// This panic function is exported to allow inline functions to use it |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
75 |
IMPORT_C void VghwPanic(TVghwPanic aPanicCode, char* aPanicName, char* aCondition, char* aFile, TInt aLine); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
76 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
77 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
78 |
// Mix-in class: EGL support functions, including SgImage support, expected to be called by Open VG and Open GL ES |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
79 |
class MEglManagementApi |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
80 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
81 |
public: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
82 |
virtual TBool EglImageOpenForVgImage(EGLImageKHR aImage, TSize& aSize, VGHandle& aVgHandle, TUint64& aSgImageId) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
83 |
virtual void EglImageClose(EGLImageKHR aImage) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
84 |
// ToDo add an API so that Open VG can query the size of the current Context's surface |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
85 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
86 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
87 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
88 |
typedef void (*ExtensionProcPointer)(...); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
89 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
90 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
91 |
// Private interfaces for EGL to call into Open VG |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
92 |
class MVgApiForEgl |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
93 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
94 |
public: |
13
220791dae4c4
Add TPIP free guest egl
Faisal Memon <faisal.memon@nokia.com>
parents:
7
diff
changeset
|
95 |
virtual ExtensionProcPointer guestGetVgProcAddress (const char *aProcName) = 0; |
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
96 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
97 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
98 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
99 |
// Private interfaces for EGL to call into Open GL ES 1.1 |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
100 |
class MGles11ApiForEgl |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
101 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
102 |
public: |
13
220791dae4c4
Add TPIP free guest egl
Faisal Memon <faisal.memon@nokia.com>
parents:
7
diff
changeset
|
103 |
virtual ExtensionProcPointer guestGetGles11ProcAddress (const char *aProcName) = 0; |
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
104 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
105 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
106 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
107 |
// Private interfaces for EGL to call into Open GL ES 2 |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
108 |
class MGles2ApiForEgl |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
109 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
110 |
public: |
13
220791dae4c4
Add TPIP free guest egl
Faisal Memon <faisal.memon@nokia.com>
parents:
7
diff
changeset
|
111 |
virtual ExtensionProcPointer guestGetGles2ProcAddress (const char *aProcName) = 0; |
7
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
112 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
113 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
114 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
115 |
/* |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
116 |
VGHWUtils APIs are static for ease of use by the other Simulator Graphics DLLs. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
117 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
118 |
One (singleton) instance is created as Writeable Static Data when the DLL is loaded. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
119 |
After initialization this will hold process-wide data - e.g. a memory heap for Graphics DLLs |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
120 |
to store local Symbian client state information. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
121 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
122 |
ToDo maybe make this a Symbian X class because it owns resources, but only as static data. |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
123 |
*/ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
124 |
NONSHARABLE_CLASS(CVghwUtils): public CBase |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
125 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
126 |
friend class TEglThreadState; // to limit visibility of DriverExecuteCommand |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
127 |
public: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
128 |
// open Driver connection, create Memory Heap, etc... |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
129 |
IMPORT_C static void InitStatics(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
130 |
IMPORT_C static void DestroyStatics(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
131 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
132 |
IMPORT_C static TInt MapToHWAddress(const TInt aChunkHandle, TUint32& aHWAddress); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
133 |
IMPORT_C static TInt GetFrameBufferBaseAddress(TUint32& aHWAddress); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
134 |
IMPORT_C static TInt EglGetSgHandles(const TUint64 aId, TUint64 *aSgHandles); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
135 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
136 |
// VG Memory Pool APIs (One heap is created for the process, for use by all Simulator Graphics DLLs) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
137 |
IMPORT_C static TAny* Alloc(TInt aSize); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
138 |
IMPORT_C static void Free(TAny* aPtr); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
139 |
IMPORT_C static RHeap* GetHeap(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
140 |
IMPORT_C static RHeap* SwitchToVghwHeap(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
141 |
IMPORT_C static void SwitchFromVghwHeap(RHeap* aOldHeapPtr); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
142 |
// handy function for Debug Asserts |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
143 |
static inline TBool UsingVghwHeap() { return &User::Heap() == GetHeap(); } |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
144 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
145 |
// if this thread does not have a state object try to alloc a new one |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
146 |
IMPORT_C static TEglThreadState* CreateThreadState(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
147 |
// current state object, if any, for this thread (for EGL) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
148 |
IMPORT_C static TEglThreadState* EglThreadState(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
149 |
// current state object, if Open VG, for this thread (as tracked by EGL DLL) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
150 |
IMPORT_C static MVgContext* VgContext(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
151 |
// current state object for Open GL ES 1.1, for this thread (as tracked by EGL DLL) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
152 |
IMPORT_C static MGlesContext* GlesContext(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
153 |
// free current state object, if any, for this thread |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
154 |
IMPORT_C static void ReleaseThreadState(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
155 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
156 |
IMPORT_C static void SetEglManagementApi(MEglManagementApi* aEglManagementApi); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
157 |
IMPORT_C static MEglManagementApi* EglManagementApi(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
158 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
159 |
// Private interfaces for EGL to call into Open GL ES and Open VG (avoids breaking DEF file compatibility) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
160 |
IMPORT_C static void SetVgApiForEgl(MVgApiForEgl* aVgApiForEgl); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
161 |
IMPORT_C static MVgApiForEgl* VgApiForEgl(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
162 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
163 |
IMPORT_C static void SetGles11ApiForEgl(MGles11ApiForEgl* aGles11ApiForEgl); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
164 |
IMPORT_C static MGles11ApiForEgl* Gles11ApiForEgl(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
165 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
166 |
IMPORT_C static void SetGles2ApiForEgl(MGles2ApiForEgl* aGles2ApiForEgl); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
167 |
IMPORT_C static MGles2ApiForEgl* Gles2ApiForEgl(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
168 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
169 |
protected: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
170 |
IMPORT_C static void DriverExecuteCommand(RemoteFunctionCallData& aRequestData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
171 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
172 |
private: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
173 |
inline static RGuestVideoDriver& Driver(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
174 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
175 |
private: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
176 |
// everything is zeroed on construction, call Initialize() to prepare |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
177 |
volatile static TBool iInitialized; // NB "volatile" used for thread safety in InitStaticse() |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
178 |
static TInt iVghwInitMutex; // required for thread safety in Initialize() |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
179 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
180 |
// static member objects |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
181 |
static RGuestVideoDriver* iDriver; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
182 |
static RHeap* iHeap; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
183 |
static MEglManagementApi* iEglManagementApi; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
184 |
static MVgApiForEgl* iVgApiForEgl; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
185 |
static MGles11ApiForEgl* iGles11ApiForEgl; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
186 |
static MGles2ApiForEgl* iGles2ApiForEgl; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
187 |
static TBool iLoadedOpenVgDll; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
188 |
static TBool iLoadedOpenGles11Dll; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
189 |
static TBool iLoadedOpenGles2Dll; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
190 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
191 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
192 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
193 |
// Basic interface for sending GL ES 1.1 commands down to Host Open GL ES implementation - can be expanded later |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
194 |
class MGlesContext |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
195 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
196 |
public: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
197 |
// Execute Open GL ES 1.1 commands |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
198 |
virtual void ExecuteGlesCommand(RemoteFunctionCall& aGlesRequestData) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
199 |
virtual void ExecuteGlesFlushCommand() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
200 |
virtual void ExecuteGlesFinishCommand() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
201 |
// GLES state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
202 |
virtual void SetGlesError(GLenum aGlesErrorCode) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
203 |
virtual GLenum GlesError() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
204 |
// ToDo make context tracking work for VG & GL ES |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
205 |
virtual EGLContext GlesEglContext() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
206 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
207 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
208 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
209 |
// Basic interface for sending VG commands down to Host Open VG implementation - can be expanded later |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
210 |
class MVgContext |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
211 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
212 |
public: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
213 |
// Execute Open VG commands |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
214 |
virtual void ExecuteVgCommand(OpenVgRFC& aVgApiData) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
215 |
virtual void ExecuteVgFlushCommand() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
216 |
virtual void ExecuteVgFinishCommand() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
217 |
// VG state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
218 |
virtual void SetVgError(VGErrorCode aVgErrorCode) = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
219 |
virtual VGErrorCode VgError() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
220 |
virtual EGLContext VgEglContext() = 0; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
221 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
222 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
223 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
224 |
NONSHARABLE_CLASS(TEglThreadState) : public MGlesContext, public MVgContext |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
225 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
226 |
friend class CVghwUtils; // to manage creation / delete of per thread state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
227 |
public: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
228 |
// Execute EGL commands, and analyse for success |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
229 |
IMPORT_C EGLBoolean ExecEglBooleanCmd(EglRFC& aEglApiData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
230 |
IMPORT_C EGLContext ExecEglContextCmd(EglRFC& aEglApiData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
231 |
IMPORT_C EGLSurface ExecEglSurfaceCmd(EglRFC& aEglApiData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
232 |
// ToDo add static export for eglTerminate |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
233 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
234 |
// Execute EGL commands whose return value cannot be tested for fail/success |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
235 |
inline void ExecuteEglNeverErrorCmd(EglRFC& aEglApiData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
236 |
// EGL thread state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
237 |
inline void ClearEglError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
238 |
inline void SetEglError(EGLint aEglError); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
239 |
IMPORT_C EGLint EglError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
240 |
inline void SetEglBoundApi(EGLenum aEglBoundApi); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
241 |
inline EGLenum EglBoundApi(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
242 |
inline EGLint PeekEglError(); // reads DLL set error code (only) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
243 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
244 |
// MGlesContext: Execute Open GL ES 1.1 commands & manage Open GL ES state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
245 |
virtual void ExecuteGlesCommand(RemoteFunctionCall& aGlesRequestData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
246 |
virtual void ExecuteGlesFlushCommand(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
247 |
virtual void ExecuteGlesFinishCommand(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
248 |
virtual void SetGlesError(GLenum aGlesErrorCode); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
249 |
virtual GLenum GlesError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
250 |
virtual EGLContext GlesEglContext(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
251 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
252 |
// MVgContext: Execute Open VG commands & manage Open VG state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
253 |
virtual void ExecuteVgCommand(OpenVgRFC& aVgApiData); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
254 |
virtual void ExecuteVgFlushCommand(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
255 |
virtual void ExecuteVgFinishCommand(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
256 |
virtual void SetVgError(VGErrorCode aVgErrorCode); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
257 |
virtual VGErrorCode VgError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
258 |
virtual EGLContext VgEglContext(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
259 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
260 |
protected: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
261 |
static TEglThreadState* New(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
262 |
void Destroy(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
263 |
TEglThreadState(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
264 |
~TEglThreadState(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
265 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
266 |
private: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
267 |
GLenum GetHostGlesError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
268 |
VGErrorCode GetHostVgError(); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
269 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
270 |
private: |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
271 |
// EGL thread state |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
272 |
EGLint iEglError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
273 |
TBool iEglHostHasRecentError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
274 |
// currently bound graphics API |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
275 |
EGLenum iEglBoundApi; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
276 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
277 |
// Open VG context for thread |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
278 |
VGErrorCode iVgError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
279 |
EGLContext iVgEglContext; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
280 |
TBool iVgCommandsSinceGetError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
281 |
TBool iVgCommandsSinceFlush; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
282 |
TBool iVgCommandsSinceFinish; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
283 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
284 |
// Open GL ES 1.1 context for thread |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
285 |
GLenum iGlesError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
286 |
EGLContext iGlesEglContext; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
287 |
TBool iGlesCommandsSinceGetError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
288 |
TBool iGlesCommandsSinceFlush; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
289 |
TBool iGlesCommandsSinceFinish; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
290 |
}; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
291 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
292 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
293 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
294 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
295 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
296 |
// TVghwThreadState inline functions |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
297 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
298 |
void TEglThreadState::ClearEglError() |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
299 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
300 |
UTIL_TRACE(" TVghwThreadState::ClearEglError"); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
301 |
iEglError = EGL_SUCCESS; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
302 |
iEglHostHasRecentError = EFalse; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
303 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
304 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
305 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
306 |
void TEglThreadState::SetEglError(EGLint aEglError) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
307 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
308 |
UTIL_TRACE(" TVghwThreadState::SetEglError error=0x%x", aEglError); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
309 |
VGHWPANIC_ASSERT_DEBUG((aEglError >= EGL_SUCCESS) && (aEglError <= 0x301F), EVghwPanicBadEglErrorValue); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
310 |
iEglError = aEglError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
311 |
iEglHostHasRecentError = EFalse; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
312 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
313 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
314 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
315 |
EGLint TEglThreadState::PeekEglError() // reads DLL set error code |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
316 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
317 |
return iEglError; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
318 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
319 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
320 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
321 |
void TEglThreadState::SetEglBoundApi(EGLenum aEglBoundApi) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
322 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
323 |
VGHWPANIC_ASSERT_DEBUG((aEglBoundApi == EGL_OPENGL_ES_API) || (aEglBoundApi == EGL_OPENVG_API), EVghwPanicBadEglBoundApi); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
324 |
iEglBoundApi = aEglBoundApi; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
325 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
326 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
327 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
328 |
EGLenum TEglThreadState::EglBoundApi() |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
329 |
{ |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
330 |
return iEglBoundApi; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
331 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
332 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
333 |
// Execute EGL Command simple variants |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
334 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
335 |
void TEglThreadState::ExecuteEglNeverErrorCmd(EglRFC& aEglApiData) |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
336 |
{ // for EGL commands which cannot have a host error |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
337 |
CVghwUtils::DriverExecuteCommand(aEglApiData.Data()); |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
338 |
iEglHostHasRecentError = EFalse; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
339 |
iEglError = EGL_SUCCESS; |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
340 |
} |
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
341 |
|
ec0e558822c5
Add dynamic framebuffer support, and associated vghw utils needed. This code does not compile, and needs companion updates in graphics (3899db667a38) and qemu (c7e943dbf70f). Some code looks like syborg-specific so tagged with FAISALMEMON. Need to check with Jani on this. A later submission will declare when the code compiles again.
Faisal Memon <faisal.memon@nokia.com>
parents:
diff
changeset
|
342 |
#endif // __VGHWUTILS_H__ |