⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generic-ws.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/* -*- c-file-style: "img" -*-
<module>
 * Name         : generic_ws.h
 * Title        : Generic Window System Interface
 * Author       : Marcus Shawcroft
 * Created      : 4 Nov 2003
 *
 * Copyright    : 2003 by Imagination Technologies Limited.
 *                All rights reserved.  No part of this software, either
 *                material or conceptual may be copied or distributed,
 *                transmitted, transcribed, stored in a retrieval system
 *                or translated into any human or computer language in any
 *                form by any means, electronic, mechanical, manual or
 *                other-wise, or disclosed to third parties without the
 *                express written permission of Imagination Technologies
 *                Limited, Unit 8, HomePark Industrial Estate,
 *                King's Langley, Hertfordshire, WD4 8LZ, U.K.
 *
 * Description  : API of window system interface components
 *                which are generic to all window system interfaces.
 * 
 * Platform     : ALL
 *
</module>
 */

#ifndef _GENERIC_WS_H_
#define _GENERIC_WS_H_

/*
   <function>
   FUNCTION   : GWS_CreatePBufferDrawable
   PURPOSE    : Create a pbuffer drawable.
   PARAMETERS :
     In:  services_context - Services context.
     In:  dpy - Display.
     In:  surface - Surface.
     In:  pbuffer_width - Required width in pixels.
     In:  pbuffer_height - Required height in pixels.
     In:  pbuffer_largest - Allocate largest possible.
     In:  pixel_width - Pixel width in bytes.
     In:  pixel_format - Pixel format.
   RETURNS    :
     EGL_SUCCESS: pixmap conforms to config.
   </function>
 */
EGLint
GWS_CreatePBufferDrawable (GLESSysContext *services_context,
                           KEGL_DISPLAY *pDpy,
                           KEGL_SURFACE *pSurface,
                           EGLint pbuffer_width,
                           EGLint pbuffer_height,
                           EGLint pbuffer_largest,
                           EGLint pixel_width,
                           PVRSRV_PIXEL_FORMAT pixel_format);

/** Delete a pbuffer drawable.
 *
 *  @Input pSurface - drawable surface to delete.
 */
IMG_VOID
GWS_DeletePBufferDrawable (KEGL_SURFACE *pSurface);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -