svga_escape.h revision 332aaa1da374e694e37fdfe0a00bbe040e670453
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync/**********************************************************
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Copyright 2007-2009 VMware, Inc. All rights reserved.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Permission is hereby granted, free of charge, to any person
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * obtaining a copy of this software and associated documentation
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * files (the "Software"), to deal in the Software without
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * restriction, including without limitation the rights to use, copy,
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * modify, merge, publish, distribute, sublicense, and/or sell copies
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * of the Software, and to permit persons to whom the Software is
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * furnished to do so, subject to the following conditions:
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * The above copyright notice and this permission notice shall be
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * included in all copies or substantial portions of the Software.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * SOFTWARE.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync **********************************************************/
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Definitions for our own (vendor-specific) SVGA Escape commands.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Namespace IDs for the escape command
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Within SVGA_ESCAPE_NSID_VMWARE, we multiplex commands according to
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * the first DWORD of escape data (after the nsID and size). As a
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * guideline we're using the high word and low word as a major and
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * minor command number, respectively.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Major command number allocation:
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * 0000: Reserved
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * 0001: SVGA_ESCAPE_VMWARE_LOG (svga_binary_logger.h)
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * 0002: SVGA_ESCAPE_VMWARE_VIDEO (svga_overlay.h)
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * 0003: SVGA_ESCAPE_VMWARE_HINT (svga_escape.h)
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * SVGA Hint commands.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * These escapes let the SVGA driver provide optional information to
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * he host about the state of the guest or guest applications. The
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * host can use these hints to make user interface or performance
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * decisions.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * - SVGA_ESCAPE_VMWARE_HINT_FULLSCREEN is deprecated for guests
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * that use the SVGA Screen Object extension. Instead of sending
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * this escape, use the SVGA_SCREEN_FULLSCREEN_HINT flag on your
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync * Screen Object.
332aaa1da374e694e37fdfe0a00bbe040e670453vboxsync#define SVGA_ESCAPE_VMWARE_HINT_FULLSCREEN 0x00030001 // Deprecated
ae94ad7e769e467419ab99cab5403bdb39bc544fvboxsync#endif /* _SVGA_ESCAPE_H_ */