没有合适的资源?快使用搜索试试~ 我知道了~
首页qnx-graphic
qnx-graphic
需积分: 33 145 浏览量
更新于2023-05-26
评论
收藏 1.05MB PDF 举报
qnx Advanced Graphics Developer’s Guide qnx Advanced Graphics Developer’s Guide
资源详情
资源评论
资源推荐

QNX
®
Neutrino
®
Realtime Operating System
Advanced Graphics
Developer’s Guide
For QNX
®
Neutrino
®
6.5.0
© 2010, QNX Software Systems GmbH & Co. KG.

© 2005–2010, QNX Software Systems GmbH & Co. KG. All rights reserved.
Published under license by:
QNX Software Systems Co.
175 Terence Matthews Crescent
Kanata, Ontario
K2M 1W8
Canada
Voice: +1 613 591-0931
Fax: +1 613 591-3579
Email:
info@qnx.com
Web: http://www.qnx.com/
OpenGL
®
ES and the oval logo are trademarks of Silicon Graphics, Inc. in the United States and/or other countries worldwide. Products bearing such trademarks incorporate
intellectual property that is owned and licensed to others by Silicon Graphics, Inc.
Electronic edition published May 14, 2010.
QNX, Neutrino, Photon, Photon microGUI, Momentics, Aviage, and related marks, names, and logos are trademarks, registered in certain jurisdictions, of QNX Software
Systems GmbH & Co. KG. and are used under license by QNX Software Systems Co. All other trademarks belong to their respective owners.

Contents
About This Guide xi
What you’ll find in this guide xiii
Typographical conventions xiii
Note to Windows users xiv
Technical support xv
Introduction 11
Overview of the QNX Graphics Framework (GF) architecture 3
GF components 5
GF compared to Photon 7
Basic Drawing 92
Setting up GF 11
Using draw coordinates 14
Drawing rectangles 14
Drawing lines and polygons 15
Bitmaps 15
Blitting 15
Multithreaded applications 16
Debugging 16
Working with Images 173
Working with Layers, Surfaces, and Contexts 274
Using layers 29
Using surfaces 32
Using contexts 33
Using OpenGL ES 415
Using OpenGL ES 43
Creating surfaces 45
Using Vertex Buffer Objects 46
Using the Video-Capture API 496
May 14, 2010 Contents iii

© 2010, QNX Software Systems GmbH & Co. KG.
Embedding 2D and 3D Applications 557
Assumptions 57
Building the image 57
2D example:
vsync 57
Font example:
font-cache 59
Image example:
img_decode_simple 59
OpenGL ES: Gears 60
Hardware Capabilities 61A
Fujitsu Carmine 63
OpenGL ES Hardware Acceleration 63
Supported Chipset 63
OpenGL ES Lighting 63
Intel Extreme2 63
Fujitsu Coral 63
Hardware Acceleration 64
QNX Graphics Framework Library Reference 67B
gf
_
3d
_
target
_
create() 70
gf
_
3d
_
target
_
free() 72
gf
_
3d
_
query
_
config() 73
gf_alpha_t 75
gf_chroma_t 78
gf
_
context
_
create() 79
gf
_
context
_
disable
_
alpha() 80
gf
_
context
_
disable
_
antialias() 81
gf
_
context
_
disable
_
chroma() 82
gf
_
context
_
disable
_
clipping() 83
gf
_
context
_
disable
_
linedash() 84
gf
_
context
_
disable
_
pattern() 85
gf
_
context
_
disable
_
planemask() 86
gf
_
context
_
disable
_
transform() 87
gf
_
context
_
disable
_
translation() 88
gf
_
context
_
free() 89
gf
_
context
_
get
_
surface() 90
gf
_
context
_
init() 91
gf
_
context
_
set
_
alpha() 93
gf
_
context
_
set
_
antialias() 94
gf
_
context
_
set
_
bgcolor() 95
gf
_
context
_
set
_
bgcolor
_
native() 97
gf
_
context
_
set
_
capstyle() 99
iv
Contents May 14, 2010

© 2010, QNX Software Systems GmbH & Co. KG.
gf
_
context
_
set
_
chroma() 101
gf
_
context
_
set
_
clipping() 102
gf
_
context
_
set
_
fgcolor() 104
gf
_
context
_
set
_
fgcolor
_
native() 106
gf
_
context
_
set
_
filter() 108
gf
_
context
_
set
_
hw
_
polygon() 109
gf
_
context
_
set
_
linedash() 110
gf
_
context
_
set
_
linejoin() 112
gf
_
context
_
set
_
pattern() 114
gf
_
context
_
set
_
penwidth() 115
gf
_
context
_
set
_
planemask() 117
gf
_
context
_
set
_
polyfill() 118
gf
_
context
_
set
_
rop() 120
gf
_
context
_
set
_
surface() 131
gf
_
context
_
set
_
surface
_
3d() 133
gf
_
context
_
set
_
transform() 135
gf
_
context
_
set
_
translation() 137
gf
_
context
_
unset
_
surface() 138
gf
_
cursor
_
disable() 139
gf
_
cursor
_
enable() 141
gf
_
cursor
_
set() 143
gf
_
cursor
_
set
_
pos() 146
gf
_
dev
_
attach() 148
gf
_
dev
_
detach() 151
gf
_
dev
_
get
_
error() 152
gf
_
dev
_
get
_
meminfo() 154
gf
_
dev
_
register
_
thread() 156
gf_dim_t 157
gf
_
display
_
attach() 158
gf
_
display
_
detach() 161
gf
_
display
_
query() 162
gf
_
display
_
query
_
mode() 164
gf
_
display
_
set
_
dpms() 166
gf
_
display
_
set
_
external
_
chroma() 168
gf
_
display
_
set
_
layer
_
order() 170
gf
_
display
_
set
_
mode() 172
gf
_
display
_
snapshot() 174
gf
_
display
_
wait
_
vsync() 176
gf
_
draw
_
begin() 177
gf
_
draw
_
bitmap() 179
gf
_
draw
_
blit1() 181
May 14, 2010 Contents v
剩余395页未读,继续阅读











安全验证
文档复制为VIP权益,开通VIP直接复制

评论0