display: Add extension SET_LAYER_TYPE in QtiCommand
Support extension QtiCommand in IQtiComposerClient to set layer type. Change supports game layer hint in IQtiComposerClient. Change-Id: I4539d98f5ad5421db6b3b10a72e38ef27efc153d
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
f5d86d2a67
commit
5de3f0d64d
@@ -33,5 +33,26 @@ import android.hardware.graphics.composer@2.3::IComposerClient;
|
||||
|
||||
interface IQtiComposerClient extends IComposerClient {
|
||||
|
||||
enum LayerType : uint32_t {
|
||||
UNKNOWN = 0,
|
||||
APP = 1,
|
||||
GAME = 2,
|
||||
BROWSER = 3,
|
||||
};
|
||||
|
||||
/**
|
||||
* SET_LAYER_TYPE has this pseudo prototype
|
||||
* setLayerType(uint32_t type);
|
||||
*
|
||||
* param type is the layer type.
|
||||
* 0 - Unknown
|
||||
* 1 - APP
|
||||
* 2 - Game
|
||||
* 3 - Browser
|
||||
*/
|
||||
enum Command : @2.3::IComposerClient.Command {
|
||||
SET_LAYER_TYPE = 0x800 << @2.3::IComposerClient.Command:OPCODE_SHIFT,
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user