*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#ifndef _DGA_INTERNALDEFS_H
#define _DGA_INTERNALDEFS_H
#include "dga_externaldefs.h"
/*
** Defined symbols and macros used internally within DGA
*/
#define DGA_MBFLIP_VIDEO 0
/* Basic changes - attribute changes */
/* Basic changes - "major boundary" changes */
/* Always a derivative change */
/* Device dependent information change */
/* Overlay state information change */
#define DGA_WIN_CHANGEABLE_ATTRS \
/* note: bstore needs to be included because prev lock subject could have
been a win with bstore and vmbufs never have bstore */
#define DGA_VMBUF_CHANGEABLE_ATTRS \
/* note: bstore needs to be included because prev lock subject could have
been a win with bstore and nmbufs never have bstore */
#define DGA_NMBUF_CHANGEABLE_ATTRS \
((lockSubj) != DGA_LOCKSUBJ_INVALID)
(1L<<(bufIndex))
/* lock subject is a window? */
((lockSubj) == -1)
/* lock subject is a multibuffer? */
/* lock subject is a viewable multibuffer? */
: 0) \
/* effective lock subject is a nonviewable multibuffer? */
: 0) \
/* is lock subject viewable? (zombies are considered not viewable) */
((lockSubj) != DGA_LOCKSUBJ_INVALID) && \
) \
)
/* is window or mbuffer aliased? */
#endif /* _DGA_INTERNALDEFS_H */