HomeSort by: relevance | last modified time | path
    Searched defs:gc (Results 1 - 25 of 267) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /xsrc/external/mit/MesaLib/dist/src/glx/apple/
apple_xgl_api_viewport.c 41 struct glx_context *gc = __glXGetCurrentContext(); local
44 if (gc != &dummyContext && gc->driContext)
45 apple_glx_context_update(dpy, gc->driContext);
apple_xgl_api_read.c 53 struct glx_context *gc = __glXGetCurrentContext(); local
66 if (None != gc->currentReadable
67 && gc->currentReadable != gc->currentDrawable) {
72 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
73 gc->currentReadable)) {
75 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
76 gc->currentDrawable)
86 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
apple_xgl_api_stereo.c 55 struct glx_context * gc = __glXGetCurrentContext(); local
57 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) {
90 struct glx_context * gc = __glXGetCurrentContext(); local
92 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) {
  /xsrc/external/mit/MesaLib.old/dist/src/glx/apple/
apple_xgl_api_viewport.c 41 struct glx_context *gc = __glXGetCurrentContext(); local
44 if (gc != &dummyContext && gc->driContext)
45 apple_glx_context_update(dpy, gc->driContext);
apple_xgl_api_read.c 53 struct glx_context *gc = __glXGetCurrentContext(); local
66 if (None != gc->currentReadable
67 && gc->currentReadable != gc->currentDrawable) {
72 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
73 gc->currentReadable)) {
75 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
76 gc->currentDrawable)
86 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
apple_xgl_api_stereo.c 55 struct glx_context * gc = __glXGetCurrentContext(); local
57 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) {
90 struct glx_context * gc = __glXGetCurrentContext(); local
92 if (gc != &dummyContext && apple_glx_context_uses_stereo(gc->driContext)) {
  /xsrc/external/mit/libX11/dist/src/
CrBFData.c 57 GC gc = XCreateGC(display, pix, (unsigned long) 0, (XGCValues *) 0); local
58 if (gc == NULL) {
76 XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
77 XFreeGC(display, gc);
CrPFBData.c 66 GC gc = XCreateGC(display, pix, GCForeground|GCBackground, &gcv); local
67 if (gc == NULL) {
85 XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
86 XFreeGC(display, gc);
CrGC.c 61 GC gc,
64 GC XCreateGC (
70 register GC gc; local
75 if ((gc = Xmalloc (sizeof(struct _XGC))) == NULL) {
80 gc->rects = 0;
81 gc->dashes = 0;
82 gc->ext_data = NULL;
83 gc->values = initial_GC
    [all...]
  /xsrc/external/mit/libXmu/dist/src/
CrPixFBit.c 63 GC gc; local
70 gc = XCreateGC (dpy, d,
73 if (gc) {
74 XCopyPlane (dpy, bitmap, pixmap, gc, 0, 0, width, height, 0, 0, 1);
75 XFreeGC (dpy, gc);
  /xsrc/external/mit/libXpm/dist/src/
CrPFrI.c 48 GC gc; local
61 gc = XCreateGC(display, *pixmap_return,
64 XPutImage(display, *pixmap_return, gc, ximage, 0, 0, 0, 0,
67 XFreeGC(display, gc);
  /xsrc/external/mit/xorg-server/dist/glamor/
glamor_utils.c 30 GCPtr gc; local
44 gc = GetScratchGC(drawable->depth, drawable->pScreen);
45 if (gc) {
49 ChangeGC(NullClient, gc, GCForeground, vals);
50 ValidateGC(drawable, gc);
51 gc->ops->PolyFillRect(drawable, gc, nbox, rect);
52 FreeScratchGC(gc);
62 GCPtr gc; local
67 gc = GetScratchGC(drawable->depth, drawable->pScreen)
    [all...]
  /xsrc/external/mit/xorg-server/dist/hw/xnest/
XNGC.h 18 /* This file uses the GC definition form Xlib.h as XlibGC. */
21 XlibGC gc; member in struct:__anon10112
31 #define xnestGC(pGC) (xnestGCPriv(pGC)->gc)
  /xsrc/external/mit/xorg-server.old/dist/hw/xnest/
XNGC.h 18 /* This file uses the GC definition form Xlib.h as XlibGC. */
21 XlibGC gc; member in struct:__anon10712
31 #define xnestGC(pGC) (xnestGCPriv(pGC)->gc)
  /xsrc/external/mit/MesaLib/dist/src/glx/
pixelstore.c 42 * \param gc Current GLX context
50 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname,
53 Display *const dpy = gc->currentDpy;
56 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen);
71 struct glx_context *gc = __glXGetCurrentContext(); local
72 __GLXattribute *state = gc->client_state_private;
73 Display *dpy = gc->currentDpy;
83 __glXSetError(gc, GL_INVALID_VALUE);
91 __glXSetError(gc, GL_INVALID_VALUE);
99 __glXSetError(gc, GL_INVALID_VALUE)
221 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
clientattrib.c 42 struct glx_context *gc = __glXGetCurrentContext(); local
43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
51 __glXSetError(gc, GL_INVALID_ENUM);
72 struct glx_context *gc = __glXGetCurrentContext(); local
73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
74 __GLXattribute **spp = gc->attributes.stackPointer, *sp;
76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) {
80 __glXSetError(gc, GL_OUT_OF_MEMORY);
86 gc->attributes.stackPointer = spp + 1;
96 __glXSetError(gc, GL_STACK_OVERFLOW)
104 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
create_context.c 52 struct glx_context *gc = NULL; local
100 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs,
105 if (gc == NULL) {
107 gc = applegl_create_context(psc, cfg, share, 0);
109 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
132 gc ? gc->isDirect : direct,
138 if (gc)
139 gc->vtable->destroy(gc);
    [all...]
query_renderer.c 107 struct glx_context *gc = __glXGetCurrentContext(); local
109 if (gc == &dummyContext)
112 return __glXQueryRendererInteger(gc->psc, attribute, value);
167 struct glx_context *gc = __glXGetCurrentContext(); local
169 if (gc == &dummyContext)
172 return __glXQueryRendererString(gc->psc, attribute);
applegl_glx.c 46 applegl_destroy_context(struct glx_context *gc)
48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy);
52 applegl_bind_context(struct glx_context *gc, struct glx_context *old,
55 Display *dpy = gc->psc->dpy;
58 gc ? gc->driContext : NULL, draw);
70 applegl_unbind_context(struct glx_context *gc, struct glx_context *new)
76 if (!gc)
83 dpy = gc->psc->dpy
124 struct glx_context *gc; local
    [all...]
singlepix.c 48 state = gc->client_state_private;
74 __glXSetError(gc, GL_OUT_OF_MEMORY);
81 __glEmptyImage(gc, 1, width, 1, 1, format, type, rowBuf, row);
88 __glXSetError(gc, GL_OUT_OF_MEMORY);
95 __glEmptyImage(gc, 1, height, 1, 1, format, type, colBuf, column);
114 struct glx_context *const gc = __glXGetCurrentContext(); local
117 if (gc->isDirect) {
128 Display *const dpy = gc->currentDpy;
132 const __GLXattribute *const state = gc->client_state_private;
135 __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithReply
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/glx/
create_context.c 44 struct glx_context *gc = NULL; local
78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs,
83 if (gc == NULL) {
85 gc = applegl_create_context(psc, cfg, share, 0);
87 gc = indirect_create_context_attribs(psc, cfg, share, num_attribs,
93 gc->xid = xcb_generate_id(c);
94 gc->share_xid = (share != NULL) ? share->xid : 0;
106 gc->xid,
109 gc->share_xid,
110 gc->isDirect
    [all...]
pixelstore.c 42 * \param gc Current GLX context
50 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname,
53 Display *const dpy = gc->currentDpy;
56 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen);
71 struct glx_context *gc = __glXGetCurrentContext(); local
72 __GLXattribute *state = gc->client_state_private;
73 Display *dpy = gc->currentDpy;
83 __glXSetError(gc, GL_INVALID_VALUE);
91 __glXSetError(gc, GL_INVALID_VALUE);
99 __glXSetError(gc, GL_INVALID_VALUE)
221 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
clientattrib.c 42 struct glx_context *gc = __glXGetCurrentContext(); local
43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
51 __glXSetError(gc, GL_INVALID_ENUM);
72 struct glx_context *gc = __glXGetCurrentContext(); local
73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
74 __GLXattribute **spp = gc->attributes.stackPointer, *sp;
76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) {
80 __glXSetError(gc, GL_OUT_OF_MEMORY);
86 gc->attributes.stackPointer = spp + 1;
96 __glXSetError(gc, GL_STACK_OVERFLOW)
104 struct glx_context *gc = __glXGetCurrentContext(); local
    [all...]
query_renderer.c 107 struct glx_context *gc = __glXGetCurrentContext(); local
109 if (gc == &dummyContext)
112 return __glXQueryRendererInteger(gc->psc, attribute, value);
167 struct glx_context *gc = __glXGetCurrentContext(); local
169 if (gc == &dummyContext)
172 return __glXQueryRendererString(gc->psc, attribute);
  /xsrc/external/mit/xorg-server.old/dist/hw/dmx/
dmxgc.h 35 * Interface for GC support. \see dmxgc.c */
42 /** GC private area. */
46 XlibGC gc; member in struct:_dmxGCPriv

Completed in 18 milliseconds

1 2 3 4 5 6 7 8 91011