Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

468 lines
7.7 KiB

  1. /*
  2. ** Copyright 1991, 1992, Silicon Graphics, Inc.
  3. ** All Rights Reserved.
  4. **
  5. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6. ** the contents of this file may not be disclosed to third parties, copied or
  7. ** duplicated in any form, in whole or in part, without the prior written
  8. ** permission of Silicon Graphics, Inc.
  9. **
  10. ** RESTRICTED RIGHTS LEGEND:
  11. ** Use, duplication or disclosure by the Government is subject to restrictions
  12. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15. ** rights reserved under the Copyright Laws of the United States.
  16. */
  17. /* AUTOMATICALLY UPDATED OR GENERATED BY SGI: DO NOT EDIT */
  18. // Noop api dispatch for risc
  19. #include "precomp.h"
  20. #pragma hdrstop
  21. #if DBG
  22. // The WARNING_NOOP macro will output the debug message once only.
  23. // If we have output a warning before, the new warnings are ignored.
  24. int cWarningNoop = 0;
  25. #define WARNING_NOOP(str) \
  26. { \
  27. if (!cWarningNoop++) \
  28. DbgPrint("%s(%d): " str,__FILE__,__LINE__); \
  29. }
  30. #else
  31. #define WARNING_NOOP(str)
  32. #endif // DBG
  33. // Some functions have return values!
  34. GLint APIENTRY
  35. glnoop(void)
  36. {
  37. WARNING_NOOP("GL Noop\n");
  38. return 0;
  39. }
  40. const VOID * APIENTRY
  41. glnoopptr(void)
  42. {
  43. WARNING_NOOP("GL Noop\n");
  44. return 0;
  45. }
  46. GLenum APIENTRY
  47. glnoopGetError ( void )
  48. {
  49. WARNING_NOOP("GL Noop:glGetError\n");
  50. return(GL_INVALID_OPERATION);
  51. }
  52. #pragma warning(disable : 4113)
  53. #pragma warning(disable : 4133)
  54. #pragma warning(disable : 4047)
  55. #pragma warning(disable : 4028)
  56. /* Client Side Procedure Table */
  57. /* WARNING: If size of table changes, this file must be changed */
  58. GLCLTPROCTABLE glNullCltProcTable = {
  59. /* Number of function entries in the table */
  60. sizeof(GLDISPATCHTABLE) / sizeof(PROC),
  61. /* gl Entry points */
  62. {
  63. glnoop,
  64. glnoop,
  65. glnoop,
  66. glnoop,
  67. glnoop,
  68. glnoop,
  69. glnoop,
  70. glnoop,
  71. glnoop,
  72. glnoop,
  73. glnoop,
  74. glnoop,
  75. glnoop,
  76. glnoop,
  77. glnoop,
  78. glnoop,
  79. glnoop,
  80. glnoop,
  81. glnoop,
  82. glnoop,
  83. glnoop,
  84. glnoop,
  85. glnoop,
  86. glnoop,
  87. glnoop,
  88. glnoop,
  89. glnoop,
  90. glnoop,
  91. glnoop,
  92. glnoop,
  93. glnoop,
  94. glnoop,
  95. glnoop,
  96. glnoop,
  97. glnoop,
  98. glnoop,
  99. glnoop,
  100. glnoop,
  101. glnoop,
  102. glnoop,
  103. glnoop,
  104. glnoop,
  105. glnoop,
  106. glnoop,
  107. glnoop,
  108. glnoop,
  109. glnoop,
  110. glnoop,
  111. glnoop,
  112. glnoop,
  113. glnoop,
  114. glnoop,
  115. glnoop,
  116. glnoop,
  117. glnoop,
  118. glnoop,
  119. glnoop,
  120. glnoop,
  121. glnoop,
  122. glnoop,
  123. glnoop,
  124. glnoop,
  125. glnoop,
  126. glnoop,
  127. glnoop,
  128. glnoop,
  129. glnoop,
  130. glnoop,
  131. glnoop,
  132. glnoop,
  133. glnoop,
  134. glnoop,
  135. glnoop,
  136. glnoop,
  137. glnoop,
  138. glnoop,
  139. glnoop,
  140. glnoop,
  141. glnoop,
  142. glnoop,
  143. glnoop,
  144. glnoop,
  145. glnoop,
  146. glnoop,
  147. glnoop,
  148. glnoop,
  149. glnoop,
  150. glnoop,
  151. glnoop,
  152. glnoop,
  153. glnoop,
  154. glnoop,
  155. glnoop,
  156. glnoop,
  157. glnoop,
  158. glnoop,
  159. glnoop,
  160. glnoop,
  161. glnoop,
  162. glnoop,
  163. glnoop,
  164. glnoop,
  165. glnoop,
  166. glnoop,
  167. glnoop,
  168. glnoop,
  169. glnoop,
  170. glnoop,
  171. glnoop,
  172. glnoop,
  173. glnoop,
  174. glnoop,
  175. glnoop,
  176. glnoop,
  177. glnoop,
  178. glnoop,
  179. glnoop,
  180. glnoop,
  181. glnoop,
  182. glnoop,
  183. glnoop,
  184. glnoop,
  185. glnoop,
  186. glnoop,
  187. glnoop,
  188. glnoop,
  189. glnoop,
  190. glnoop,
  191. glnoop,
  192. glnoop,
  193. glnoop,
  194. glnoop,
  195. glnoop,
  196. glnoop,
  197. glnoop,
  198. glnoop,
  199. glnoop,
  200. glnoop,
  201. glnoop,
  202. glnoop,
  203. glnoop,
  204. glnoop,
  205. glnoop,
  206. glnoop,
  207. glnoop,
  208. glnoop,
  209. glnoop,
  210. glnoop,
  211. glnoop,
  212. glnoop,
  213. glnoop,
  214. glnoop,
  215. glnoop,
  216. glnoop,
  217. glnoop,
  218. glnoop,
  219. glnoop,
  220. glnoop,
  221. glnoop,
  222. glnoop,
  223. glnoop,
  224. glnoop,
  225. glnoop,
  226. glnoop,
  227. glnoop,
  228. glnoop,
  229. glnoop,
  230. glnoop,
  231. glnoop,
  232. glnoop,
  233. glnoop,
  234. glnoop,
  235. glnoop,
  236. glnoop,
  237. glnoop,
  238. glnoop,
  239. glnoop,
  240. glnoop,
  241. glnoop,
  242. glnoop,
  243. glnoop,
  244. glnoop,
  245. glnoop,
  246. glnoop,
  247. glnoop,
  248. glnoop,
  249. glnoop,
  250. glnoop,
  251. glnoop,
  252. glnoop,
  253. glnoop,
  254. glnoop,
  255. glnoop,
  256. glnoop,
  257. glnoop,
  258. glnoop,
  259. glnoop,
  260. glnoop,
  261. glnoop,
  262. glnoop,
  263. glnoop,
  264. glnoop,
  265. glnoop,
  266. glnoop,
  267. glnoop,
  268. glnoop,
  269. glnoop,
  270. glnoop,
  271. glnoop,
  272. glnoop,
  273. glnoop,
  274. glnoop,
  275. glnoop,
  276. glnoop,
  277. glnoop,
  278. glnoop,
  279. glnoop,
  280. glnoop,
  281. glnoop,
  282. glnoop,
  283. glnoop,
  284. glnoop,
  285. glnoop,
  286. glnoop,
  287. glnoop,
  288. glnoop,
  289. glnoop,
  290. glnoop,
  291. glnoop,
  292. glnoop,
  293. glnoop,
  294. glnoop,
  295. glnoop,
  296. glnoop,
  297. glnoop,
  298. glnoop,
  299. glnoop,
  300. glnoop,
  301. glnoop,
  302. glnoop,
  303. glnoop,
  304. glnoop,
  305. glnoop,
  306. glnoop,
  307. glnoop,
  308. glnoop,
  309. glnoop,
  310. glnoop,
  311. glnoop,
  312. glnoop,
  313. glnoop,
  314. glnoop,
  315. glnoop,
  316. glnoop,
  317. glnoop,
  318. glnoop,
  319. glnoop,
  320. glnoop,
  321. glnoop,
  322. glnoop,
  323. glnoop,
  324. glnoopGetError,
  325. glnoop,
  326. glnoop,
  327. glnoop,
  328. glnoop,
  329. glnoop,
  330. glnoop,
  331. glnoop,
  332. glnoop,
  333. glnoop,
  334. glnoop,
  335. glnoop,
  336. glnoop,
  337. glnoop,
  338. glnoopptr,
  339. glnoop,
  340. glnoop,
  341. glnoop,
  342. glnoop,
  343. glnoop,
  344. glnoop,
  345. glnoop,
  346. glnoop,
  347. glnoop,
  348. glnoop,
  349. glnoop,
  350. glnoop,
  351. glnoop,
  352. glnoop,
  353. glnoop,
  354. glnoop,
  355. glnoop,
  356. glnoop,
  357. glnoop,
  358. glnoop,
  359. glnoop,
  360. glnoop,
  361. glnoop,
  362. glnoop,
  363. glnoop,
  364. glnoop,
  365. glnoop,
  366. glnoop,
  367. glnoop,
  368. glnoop,
  369. glnoop,
  370. glnoop,
  371. glnoop,
  372. glnoop,
  373. glnoop,
  374. glnoop,
  375. glnoop,
  376. glnoop,
  377. glnoop,
  378. glnoop,
  379. glnoop,
  380. glnoop,
  381. glnoop,
  382. glnoop,
  383. glnoop,
  384. glnoop,
  385. glnoop,
  386. glnoop,
  387. glnoop,
  388. glnoop,
  389. glnoop,
  390. glnoop,
  391. glnoop,
  392. glnoop,
  393. glnoop,
  394. glnoop,
  395. glnoop,
  396. glnoop,
  397. glnoop,
  398. glnoop,
  399. }
  400. };
  401. GLEXTPROCTABLE glNullExtProcTable =
  402. {
  403. /* Number of function entries in the table */
  404. sizeof(GLEXTDISPATCHTABLE) / sizeof(PROC),
  405. /* EXT Entry points */
  406. {
  407. glnoop,
  408. glnoop,
  409. glnoop,
  410. glnoop,
  411. glnoop,
  412. glnoop,
  413. #ifdef GL_WIN_multiple_textures
  414. glnoop,
  415. glnoop,
  416. glnoop,
  417. glnoop,
  418. glnoop,
  419. glnoop,
  420. glnoop,
  421. glnoop,
  422. glnoop,
  423. glnoop,
  424. glnoop,
  425. glnoop,
  426. glnoop,
  427. glnoop,
  428. glnoop,
  429. glnoop,
  430. glnoop,
  431. glnoop,
  432. glnoop,
  433. glnoop,
  434. glnoop,
  435. glnoop,
  436. glnoop,
  437. glnoop,
  438. glnoop,
  439. glnoop,
  440. glnoop,
  441. glnoop,
  442. glnoop,
  443. glnoop,
  444. glnoop,
  445. glnoop,
  446. glnoop,
  447. glnoop,
  448. glnoop,
  449. #endif // GL_WIN_multiple_textures
  450. }
  451. };
  452.