31
31
#include " D3DRenderer.h"
32
32
#include " D3DRenderQueue.h"
33
33
34
- HRESULT D3DPIPELINE_API
34
+ HRESULT
35
35
D3DRenderer_DrawLine (D3DContext *d3dc,
36
36
jint x1, jint y1, jint x2, jint y2)
37
37
{
@@ -42,7 +42,7 @@ D3DRenderer_DrawLine(D3DContext *d3dc,
42
42
return d3dc->pVCacher ->DrawLine (x1, y1 , x2, y2);
43
43
}
44
44
45
- HRESULT D3DPIPELINE_API
45
+ HRESULT
46
46
D3DRenderer_DrawRect (D3DContext *d3dc,
47
47
jint x, jint y, jint w, jint h)
48
48
{
@@ -54,7 +54,7 @@ D3DRenderer_DrawRect(D3DContext *d3dc,
54
54
return d3dc->pVCacher ->DrawRect (x, y, x + w, y + h);
55
55
}
56
56
57
- HRESULT D3DPIPELINE_API
57
+ HRESULT
58
58
D3DRenderer_FillRect (D3DContext *d3dc,
59
59
jint x, jint y, jint w, jint h)
60
60
{
@@ -66,7 +66,7 @@ D3DRenderer_FillRect(D3DContext *d3dc,
66
66
return d3dc->pVCacher ->FillRect (x, y, x + w, y + h);
67
67
}
68
68
69
- HRESULT D3DPIPELINE_API
69
+ HRESULT
70
70
D3DRenderer_DrawPoly (D3DContext *d3dc,
71
71
jint nPoints, jboolean isClosed,
72
72
jint transX, jint transY,
@@ -85,7 +85,7 @@ D3DRenderer_DrawPoly(D3DContext *d3dc,
85
85
xPoints, yPoints);
86
86
}
87
87
88
- HRESULT D3DPIPELINE_API
88
+ HRESULT
89
89
D3DRenderer_DrawScanlines (D3DContext *d3dc,
90
90
jint scanlineCount, jint *scanlines)
91
91
{
@@ -102,7 +102,7 @@ D3DRenderer_DrawScanlines(D3DContext *d3dc,
102
102
return d3dc->pVCacher ->DrawScanlines (scanlineCount, scanlines);
103
103
}
104
104
105
- HRESULT D3DPIPELINE_API
105
+ HRESULT
106
106
D3DRenderer_FillSpans (D3DContext *d3dc, jint spanCount, jint *spans)
107
107
{
108
108
J2dTraceLn (J2D_TRACE_INFO, " D3DRenderer_FillSpans" );
@@ -114,7 +114,7 @@ D3DRenderer_FillSpans(D3DContext *d3dc, jint spanCount, jint *spans)
114
114
return d3dc->pVCacher ->FillSpans (spanCount, spans);
115
115
}
116
116
117
- HRESULT D3DPIPELINE_API
117
+ HRESULT
118
118
D3DRenderer_FillParallelogram (D3DContext *d3dc,
119
119
jfloat fx11, jfloat fy11,
120
120
jfloat dx21, jfloat dy21,
@@ -135,7 +135,7 @@ D3DRenderer_FillParallelogram(D3DContext *d3dc,
135
135
dx12, dy12);
136
136
}
137
137
138
- HRESULT D3DPIPELINE_API
138
+ HRESULT
139
139
D3DRenderer_DrawParallelogram (D3DContext *d3dc,
140
140
jfloat fx11, jfloat fy11,
141
141
jfloat dx21, jfloat dy21,
@@ -242,7 +242,7 @@ D3DRenderer_DrawParallelogram(D3DContext *d3dc,
242
242
return res;
243
243
}
244
244
245
- HRESULT D3DPIPELINE_API
245
+ HRESULT
246
246
D3DRenderer_FillAAParallelogram (D3DContext *d3dc,
247
247
jfloat fx11, jfloat fy11,
248
248
jfloat dx21, jfloat dy21,
@@ -274,7 +274,7 @@ D3DRenderer_FillAAParallelogram(D3DContext *d3dc,
274
274
return res;
275
275
}
276
276
277
- HRESULT D3DPIPELINE_API
277
+ HRESULT
278
278
D3DRenderer_DrawAAParallelogram (D3DContext *d3dc,
279
279
jfloat fx11, jfloat fy11,
280
280
jfloat dx21, jfloat dy21,
@@ -349,8 +349,6 @@ D3DRenderer_DrawAAParallelogram(D3DContext *d3dc,
349
349
return res;
350
350
}
351
351
352
- #ifndef D3D_PPL_DLL
353
-
354
352
extern " C"
355
353
{
356
354
@@ -388,5 +386,3 @@ Java_sun_java2d_d3d_D3DRenderer_drawPoly
388
386
}
389
387
390
388
}
391
-
392
- #endif // D3D_PPL_DLL
0 commit comments