ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sarea.h
Go to the documentation of this file.
00001 
00010 /*
00011  * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
00012  * Copyright 2000 VA Linux Systems, Inc.
00013  * All Rights Reserved.
00014  * 
00015  * Permission is hereby granted, free of charge, to any person obtaining a
00016  * copy of this software and associated documentation files (the
00017  * "Software"), to deal in the Software without restriction, including
00018  * without limitation the rights to use, copy, modify, merge, publish,
00019  * distribute, sub license, and/or sell copies of the Software, and to
00020  * permit persons to whom the Software is furnished to do so, subject to
00021  * the following conditions:
00022  * 
00023  * The above copyright notice and this permission notice (including the
00024  * next paragraph) shall be included in all copies or substantial portions
00025  * of the Software.
00026  * 
00027  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00028  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00029  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
00030  * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
00031  * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00032  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00033  * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00034  */
00035 
00036 
00037 #ifndef _SAREA_H_
00038 #define _SAREA_H_
00039 
00040 #include "xf86drm.h"
00041 
00042 /* SAREA area needs to be at least a page */
00043 #if defined(__alpha__)
00044 #define SAREA_MAX           0x2000
00045 #elif defined(__ia64__)
00046 #define SAREA_MAX           0x10000     /* 64kB */
00047 #else
00048 /* Intel 830M driver needs at least 8k SAREA */
00049 #define SAREA_MAX           0x2000
00050 #endif
00051 
00052 #define SAREA_MAX_DRAWABLES         256
00053 
00054 #define SAREA_DRAWABLE_CLAIMED_ENTRY    0x80000000
00055 
00061 typedef struct _XF86DRISAREADrawable {
00062     unsigned int    stamp;
00063     unsigned int    flags;
00064 } XF86DRISAREADrawableRec, *XF86DRISAREADrawablePtr;
00065 
00071 typedef struct _XF86DRISAREAFrame {
00072     unsigned int        x;
00073     unsigned int        y;
00074     unsigned int        width;
00075     unsigned int        height;
00076     unsigned int        fullscreen;
00077 } XF86DRISAREAFrameRec, *XF86DRISAREAFramePtr;
00078 
00082 typedef struct _XF86DRISAREA {
00084     drmLock         lock;
00086     drmLock         drawable_lock;
00087     XF86DRISAREADrawableRec drawableTable[SAREA_MAX_DRAWABLES];
00088     XF86DRISAREAFrameRec        frame;
00089     drm_context_t           dummy_context;
00090 } XF86DRISAREARec, *XF86DRISAREAPtr;
00091 
00092 #endif

Generated on Sat May 26 2012 04:18:41 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.