Changeset 27889 in vbox for trunk/src/VBox/GuestHost/OpenGL/include
- Timestamp:
- Mar 31, 2010 12:57:09 PM (15 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/chromium.h
r20635 r27889 680 680 #ifndef GL_CR_real_vendor_strings 681 681 #define GL_CR_real_vendor_strings 1 682 #define GL_REAL_VENDOR 0x8B23 683 #define GL_REAL_VERSION 0x8B24 684 #define GL_REAL_RENDERER 0x8B25 682 #define GL_REAL_VENDOR 0x8B23 683 #define GL_REAL_VERSION 0x8B24 684 #define GL_REAL_RENDERER 0x8B25 685 #define GL_REAL_EXTENSIONS 0x8B26 685 686 #endif 686 687 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h
r27708 r27889 31 31 /*@todo must match MaxGuestMonitors from SchemaDefs.h*/ 32 32 #define CR_MAX_GUEST_MONITORS 8 33 34 typedef DECLCALLBACKPTR(void, PFNCRSERVERPRESENTFBO) (void *data, int32_t screenId, int32_t x, int32_t y, uint32_t w, uint32_t h); 33 35 34 36 typedef struct { … … 49 51 */ 50 52 typedef struct { 51 int width, height; 52 CRrecti imagespace; /**< the whole mural rectangle */ 53 int curExtent; 54 int numExtents; /**< number of tiles */ 55 CRExtent extents[CR_MAX_EXTENTS]; /**< per-tile info */ 56 int maxTileHeight; /**< the tallest tile's height */ 57 58 /** optimized, hash-based tile bucketing */ 59 int optimizeBucket; 60 struct BucketingInfo *bucketInfo; 61 62 unsigned int underlyingDisplay[4]; /**< needed for laying out the extents */ 63 64 GLboolean viewportValidated; 65 66 int spuWindow; /**< the SPU's corresponding window ID */ 53 GLuint width, height; 54 GLint gX, gY; /*guest coordinates*/ 55 GLint hX, hY; /*host coordinates, screenID related*/ 56 57 int spuWindow; /*the SPU's corresponding window ID */ 67 58 68 59 int screenId; 60 61 GLboolean bVisible; /*guest window is visible*/ 62 GLboolean bUseFBO; /*redirect to FBO instead of real host window*/ 63 64 GLuint idFBO, idColorTex, idDepthStencilRB; 65 GLuint fboWidth, fboHeight; 69 66 } CRMuralInfo; 70 67 … … 83 80 GLint contextList[CR_MAX_CONTEXTS]; 84 81 } CRClient; 85 86 82 87 83 typedef struct CRPoly_t { … … 215 211 216 212 GLuint currentSerialNo; 213 214 PFNCRSERVERPRESENTFBO pfnPresentFBO; 217 215 } CRServer; 218 216 … … 241 239 242 240 extern DECLEXPORT(int32_t) crVBoxServerSetRootVisibleRegion(GLint cRects, GLint *pRects); 241 242 extern DECLEXPORT(void) crVBoxServerSetPresentFBOCB(PFNCRSERVERPRESENTFBO pfnPresentFBO); 243 243 244 #ifdef __cplusplus 244 245 } -
trunk/src/VBox/GuestHost/OpenGL/include/state/cr_framebuffer.h
r23694 r27889 92 92 DECLEXPORT(void) STATE_APIENTRY crStateGenerateMipmapEXT(GLenum target); 93 93 94 DECLEXPORT(GLuint) STATE_APIENTRY crStateFBOHWIDtoID(GLuint hwid); 95 DECLEXPORT(GLuint) STATE_APIENTRY crStateRBOHWIDtoID(GLuint hwid); 96 94 97 #ifdef IN_GUEST 95 98 DECLEXPORT(GLenum) STATE_APIENTRY crStateCheckFramebufferStatusEXT(GLenum target);
Note:
See TracChangeset
for help on using the changeset viewer.