游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2544|回复: 1

有什么函数能代替glBitmap移动光栅位置?

[复制链接]

3

主题

5

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2011-8-14 19:57:00 | 显示全部楼层 |阅读模式
有什么函数能代替glBitmap移动光栅位置?
Have what API can instead glBitmap to move the current raster position?
我用 glBitmap( 0, 0, 0, 0, xmove, ymove , 0) 来移动当前光栅位置。
I use "glBitmap( 0, 0, 0, 0, xmove, ymove , 0)" to move the current raster position.
但是发现这个API仅调用一次,CPU占用竟然增加了20%左右。
But I find the API only use once,CPU use add around 20%.
效率严重的不行.
Speed is so bad.
有什么函数能代替glBitmap移动光栅位置?
Have what API can instead glBitmap to move the current raster position?

60

主题

1319

帖子

1319

积分

金牌会员

Rank: 6Rank: 6

积分
1319
发表于 2011-8-17 16:54:00 | 显示全部楼层

Re:有什么函数能代替glBitmap移动光栅位置?

glRasterPos
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-6-8 17:27

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表