⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xcreatecontext.ps

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 PS
📖 第 1 页 / 共 2 页
字号:
554 3338(if)N630(the)X755(connection)X1134(is)X1214(to)X1303(an)X1406(X)X1491(server)X1715(that)X1862(is)X1942(local,)X2145(and)X2288(if)X2364(a)X2427(direct)X2637(rendering)X2972(context)X3235(is)X3314(available.)X3650(\(An)X3801(imple-)X554 3434(mentation)N896(may)X1056(return)X1271(an)X1370(indirect)X1638(context)X1897(when)X2 f2094(direct)X1 f2304(is)X3 f2380(True)X1 f2549(\).)X2639(If)X2 f2716(direct)X1 f2926(is)X3 f3002(False)X1 f3180(,)X3223(then)X3384(a)X3443(rendering)X3774(context)X554 3530(that)N697(renders)X957(through)X1228(the)X1348(X)X1428(server)X1647(is)X1722(always)X1967(created.)X2262(Direct)X2485(rendering)X2815(provides)X3113(a)X3171(performance)X3600(advantage)X3948(in)X554 3626(some)N746(implementations.)X1342(However,)X1680(direct)X1886(rendering)X2217(contexts)X2507(cannot)X2745(be)X2845(shared)X3079(outside)X3334(a)X3394(single)X3609(process,)X3894(and)X554 3722(they)N712(may)X870(be)X966(unable)X1200(to)X1282(render)X1508(to)X1590(GLX)X1775(pixmaps.)X554 3856(If)N2 f632(shareList)X1 f954(is)X1032(not)X3 f1159(NULL)X1 f1381(,)X1426(then)X1589(all)X1694(display-list)X2074(indexes)X2344(and)X2485(de\256nitions)X2847(are)X2971(shared)X3206(by)X3311(context)X2 f3572(shareList)X1 f3894(and)X554 3952(by)N657(the)X777(newly)X995(created)X1250(context.)X1548(An)X1668(arbitrary)X1967(number)X2234(of)X2323(contexts)X2612(can)X2746(share)X2938(a)X2996(single)X3209(display-list)X3586(space.)X3827(How-)X554 4048(ever,)N735(all)X837(rendering)X1167(contexts)X1456(that)X1598(share)X1791(a)X1850(single)X2064(display-list)X2442(space)X2644(must)X2822(themselves)X3201(exist)X3375(in)X3460(the)X3581(same)X3769(address)X554 4144(space.)N802(Two)X978(rendering)X1315(contexts)X1611(share)X1810(an)X1915(address)X2185(space)X2393(if)X2471(both)X2642(are)X2770(nondirect)X3101(using)X3302(the)X3428(same)X3621(server,)X3866(or)X3961(if)X554 4240(both)N721(are)X845(direct)X1053(and)X1194(owned)X1433(by)X1538(a)X1599(single)X1815(process.)X2122(Note)X2304(that)X2450(in)X2538(the)X2662(nondirect)X2991(case,)X3176(it)X3246(is)X3325(not)X3453(necessary)X3792(for)X3912(the)X554 4336(calling)N806(threads)X1072(to)X1168(share)X1372(an)X1481(address)X1755(space,)X1987(only)X2162(for)X2289(their)X2469(related)X2721(rendering)X3062(contexts)X3362(to)X3457(share)X3660(an)X3769(address)X554 4432(space.)N554 4566(If)N631(the)X752(GL)X882(version)X1141(is)X1217(1.1)X1340(or)X1430(greater,)X1697(then)X1858(all)X1962(texture)X2209(objects)X2460(except)X2694(object)X2914(0,)X2998(are)X3121(shared)X3355(by)X3459(any)X3599(contexts)X3890(that)X554 4662(share)N744(display)X995(lists.)X9 s266 4796(N)N268(NO)X322(OT)X376(TE)X422(ES)X468(S)X3 f10 s554 4892(XVisualInfo)N1 f1000(is)X1082(de\256ned)X1347(in)X2 f1438(Xutil.h.)X1 f1722(It)X1801(is)X1884(a)X1950(structure)X2261(that)X2411(includes)X2 f2708(visual)X1 f2899(,)X2 f2949(visualID)X1 f3225(,)X2 f3275(screen)X1 f3485(,)X3535(and)X2 f3681(depth)X1 f3889(ele-)X554 4988(ments.)N554 5122(A)N2 f637(process)X1 f908(is)X987(a)X1049(single)X1266(execution)X1604(environment,)X2055(implemented)X2499(in)X2587(a)X2649(single)X2866(address)X3133(space,)X3358(consisting)X3708(of)X3801(one)X3943(or)X554 5218(more)N739(threads.)X554 5352(A)N2 f637(thread)X1 f872(is)X951(one)X1093(of)X1186(a)X1248(set)X1363(of)X1456(subprocesses)X1901(that)X2047(share)X2243(a)X2305(single)X2522(address)X2789(space,)X3014(but)X3142(maintain)X3448(separate)X3738(program)X554 5448(counters,)N873(stack)X1065(spaces,)X1322(and)X1465(other)X1657(related)X1903(global)X2130(data.)X2331(A)X2 f2416(thread)X1 f2652(that)X2799(is)X2879(the)X3004(only)X3173(member)X3463(of)X3557(its)X3658(subprocess)X554 5544(group)N761(is)X834(equivalent)X1188(to)X1270(a)X2 f1326(process)X1 f1571(.)X554 5678(It)N623(may)X781(not)X903(be)X999(possible)X1281(to)X1363(render)X1589(to)X1671(a)X1727(GLX)X1912(pixmap)X2172(with)X2334(a)X2390(direct)X2593(rendering)X2921(context.)X266 6144(Page)N442(1)X3577(July)X3730(22,)X3850(1997)X2 p%%Page: 2 210 s 0 xH 0 xS 1 f10 f0 96(h)N24(hhh)X4176(h)X4200(hhh)X9 s1 f266 480(G)N268(GL)X322(LX)X368(XC)X422(CR)X472(RE)X522(EA)X568(AT)X622(TE)X668(EC)X714(CO)X764(ON)X818(NT)X872(TE)X918(EX)X964(XT)X1018(T)X1068(\()X1070(\()X1106(\))X1108(\))X1885(U)X1887(UN)X1941(NI)X1995(IX)X2021(X)X2093(S)X2095(Sy)X2137(ys)X2175(st)X2205(te)X2227(em)X2261(m)X2337(V)X2339(V)X3144(G)X3146(GL)X3200(LX)X3246(XC)X3300(CR)X3350(RE)X3400(EA)X3446(AT)X3500(TE)X3546(EC)X3592(CO)X3642(ON)X3696(NT)X3750(TE)X3796(EX)X3842(XT)X3896(T)X3946(\()X3948(\()X3984(\))X3986(\))X266 864(E)N268(ER)X314(RR)X364(RO)X414(OR)X468(RS)X518(S)X3 f10 s554 960(NULL)N1 f796(is)X869(returned)X1157(if)X1226(execution)X1558(fails)X1716(on)X1816(the)X1934(client)X2132(side.)X3 f554 1094(BadMatch)N1 f937(is)X1013(generated)X1349(if)X1421(the)X1542(context)X1801(to)X1887(be)X1987(created)X2244(would)X2468(not)X2594(share)X2788(the)X2910(address)X3175(space)X3378(or)X3469(the)X3591(screen)X3821(of)X3912(the)X554 1190(context)N810(speci\256ed)X1115(by)X2 f1215(shareList)X1 f1512(.)X3 f554 1324(BadValue)N1 f917(is)X996(generated)X1335(if)X2 f1410(vis)X1 f1525(is)X1604(not)X1733(a)X1796(valid)X1983(visual)X2201(\(for)X2349(example,)X2668(if)X2744(a)X2807(particular)X3142(GLX)X3334(implementation)X3863(does)X554 1420(not)N676(support)X936(it\).)X3 f554 1554(GLXBadContext)N1 f1156(is)X1229(generated)X1562(if)X2 f1631(shareList)X1 f1948(is)X2021(not)X2143(a)X2199(GLX)X2384(context)X2640(and)X2776(is)X2849(not)X3 f2971(NULL)X1 f3193(.)X3 f554 1688(BadAlloc)N1 f889(is)X962(generated)X1295(if)X1364(the)X1482(server)X1699(does)X1866(not)X1988(have)X2160(enough)X2416(resources)X2740(to)X2822(allocate)X3092(the)X3210(new)X3364(context.)X9 s266 1822(S)N268(SE)X310(EE)X356(E)X432(A)X434(AL)X488(LS)X534(SO)X576(O)X3 f10 s554 1918(glXDestroyContext)N1 f1214(,)X3 f1254(glXGetCon\256g)X1 f1725(,)X3 f1765(glXIsDirect)X1 f2162(,)X3 f2202(glXMakeCurrent)X1 f266 6144(July)N419(22,)X539(1997)X3794(Page)X3970(2)X10 f0 6428(h)N24(hhh)X4176(h)X4200(hhh)X2 p%%Trailerxtxs

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -