Changeset 53725 in vbox
- Timestamp:
- Jan 4, 2015 1:00:36 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97503
- Location:
- trunk/src/VBox/Devices/Graphics/shaderlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/shaderapi.c
r53201 r53725 139 139 pCurrentContext = (struct wined3d_context *)ctx; 140 140 141 SHADERDECL(int) ShaderInitLib( )141 SHADERDECL(int) ShaderInitLib(void) 142 142 { 143 143 struct wined3d_gl_info *gl_info = &adapter.gl_info; … … 164 164 } 165 165 166 SHADERDECL(int) ShaderDestroyLib( )166 SHADERDECL(int) ShaderDestroyLib(void) 167 167 { 168 168 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Graphics/shaderlib/shaderlib.h
r53201 r53725 1 #ifndef __SHADERLIB_H__ 2 #define __SHADERLIB_H__ 1 /* $Id$ */ 2 /** @file 3 * shaderlib -- interface to WINE's Direct3D shader functions 4 */ 5 6 /* 7 * Copyright (C) 2014-2015 Oracle Corporation 8 * 9 * This file is part of VirtualBox Open Source Edition (OSE), as 10 * available from http://www.virtualbox.org. This file is free software; 11 * you can redistribute it and/or modify it under the terms of the GNU 12 * General Public License (GPL) as published by the Free Software 13 * Foundation, in version 2 as it comes in the "COPYING" file of the 14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 */ 17 18 19 #ifndef ___shaderlib_h___ 20 #define ___shaderlib_h___ 3 21 4 22 #include <VBox/cdefs.h> 5 23 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 24 RT_C_DECLS_BEGIN 9 25 10 26 #ifdef IN_SHADERLIB_STATIC 11 # 27 # define SHADERDECL(type) DECLHIDDEN(type) RTCALL 12 28 #else 13 # 29 # define SHADERDECL(type) DECLEXPORT(type) RTCALL 14 30 #endif 15 31 16 32 17 SHADERDECL(int) ShaderInitLib( );18 SHADERDECL(int) ShaderDestroyLib( );33 SHADERDECL(int) ShaderInitLib(void); 34 SHADERDECL(int) ShaderDestroyLib(void); 19 35 20 36 SHADERDECL(int) ShaderContextCreate(void **ppShaderContext); … … 42 58 SHADERDECL(int) ShaderTransformProjection(unsigned cxViewPort, unsigned cyViewPort, float matrix[16]); 43 59 44 #ifdef __cplusplus 45 } 46 #endif 60 RT_C_DECLS_END 47 61 48 #endif /* __SHADERLIB_H__ */ 62 #endif /* !___shaderlib_h___ */ 63
Note:
See TracChangeset
for help on using the changeset viewer.