graphics_plat/guestvideodriver_api/inc/guestvideodriverprotocol.h
author Matt Plumtree <matt.plumtree@nokia.com>
Thu, 23 Sep 2010 15:56:32 +0100
branchbug235_bringup_0
changeset 185 c4bff43bf8eb
parent 165 3899db667a38
permissions -rwxr-xr-x
Refactoring of frame buffer references to surface buffer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
153
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     1
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     2
// All rights reserved.
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     3
// This component and the accompanying materials are made available
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     5
// which accompanies this distribution, and is available
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     7
//
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     8
// Initial Contributors:
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
     9
// Nokia Corporation - initial contribution.
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    10
//
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    11
// Contributors:
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    12
//
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    13
// Description:
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    14
// Header file for the guest video driver
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    15
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    16
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    17
#ifndef __GUESTVIDEODRIVERPROTOCOL_H
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    18
#define __GUESTVIDEODRIVERPROTOCOL_H
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    19
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    20
#include <e32cmn.h>
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    21
#include "guestvideodrivercommon.h"
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    22
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    23
/**
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    24
 * Namespace for Platform Simulator Video Driver.
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    25
 * The user API - kernel LDD messaging protocol is defined within this
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    26
 * namespace.
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    27
 */
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    28
namespace GuestVideoDriver
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    29
    {
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    30
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    31
    /**
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    32
     * Enumeration of different requests
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    33
     */
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    34
    enum TRequestId
165
3899db667a38 Add dynamic framebuffer support. Will probably need further commits to cover changes in the DEF files.
Faisal Memon <faisal.memon@nokia.com>
parents: 153
diff changeset
    35
	{
185
c4bff43bf8eb Refactoring of frame buffer references to surface buffer
Matt Plumtree <matt.plumtree@nokia.com>
parents: 165
diff changeset
    36
	ERequestExecuteCommand = 0x1001, 			// Asynchronous (DoRequest)
c4bff43bf8eb Refactoring of frame buffer references to surface buffer
Matt Plumtree <matt.plumtree@nokia.com>
parents: 165
diff changeset
    37
	ERequestMapAddress = 0x1002, 				// Synchronous  (DoControl)
c4bff43bf8eb Refactoring of frame buffer references to surface buffer
Matt Plumtree <matt.plumtree@nokia.com>
parents: 165
diff changeset
    38
	ERequestLoadCommands = 0x1004, 				// Synchronous  (DoRequest)
c4bff43bf8eb Refactoring of frame buffer references to surface buffer
Matt Plumtree <matt.plumtree@nokia.com>
parents: 165
diff changeset
    39
	ERequestSgHandles = 0x1005, 				// Synchronous  (DoControl)
c4bff43bf8eb Refactoring of frame buffer references to surface buffer
Matt Plumtree <matt.plumtree@nokia.com>
parents: 165
diff changeset
    40
	ERequestSurfaceBufferBaseAddress = 0x1006, 	// Synchronous  (DoControl)
165
3899db667a38 Add dynamic framebuffer support. Will probably need further commits to cover changes in the DEF files.
Faisal Memon <faisal.memon@nokia.com>
parents: 153
diff changeset
    41
	};
153
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    42
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    43
    }
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    44
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    45
d8f29c307082 Add export of def files, add requesthandlerextension import library, and fix files to to unix line ending
Faisal Memon <faisal.memon@nokia.com>
parents: 146
diff changeset
    46
#endif // __GUESTVIDEODRIVERPROTOCOL_H