Searched refs:gc (Results 1 - 25 of 263) sorted by relevance

1234567891011

/external/icu/icu4c/source/samples/datecal/
H A Dcal.cpp26 GregorianCalendar* gc = new GregorianCalendar(status); local
32 gc->set(2000, UCAL_FEBRUARY, 26);
33 gc->set(UCAL_HOUR_OF_DAY, 23);
34 gc->set(UCAL_MINUTE, 0);
35 gc->set(UCAL_SECOND, 0);
36 gc->set(UCAL_MILLISECOND, 0);
42 gc->get(UCAL_YEAR, status),
43 gc->get(UCAL_MONTH, status) + 1,
44 gc->get(UCAL_MONTH, status),
45 gc
[all...]
/external/mesa3d/src/glx/
H A Dapplegl_glx.c46 applegl_destroy_context(struct glx_context *gc) argument
48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy);
52 applegl_bind_context(struct glx_context *gc, struct glx_context *old, argument
55 Display *dpy = gc->psc->dpy;
58 gc ? gc->driContext : NULL, draw);
70 applegl_unbind_context(struct glx_context *gc, struct glx_context *new) argument
76 if (!gc)
83 dpy = gc
93 applegl_wait_gl(struct glx_context *gc) argument
99 applegl_wait_x(struct glx_context *gc) argument
128 struct glx_context *gc; local
[all...]
H A Dindirect_glx.c44 indirect_destroy_context(struct glx_context *gc) argument
46 __glXFreeVertexArrayState(gc);
48 if (gc->vendor)
49 XFree((char *) gc->vendor);
50 if (gc->renderer)
51 XFree((char *) gc->renderer);
52 if (gc->version)
53 XFree((char *) gc->version);
54 if (gc->extensions)
55 XFree((char *) gc
128 indirect_bind_context(struct glx_context *gc, struct glx_context *old, GLXDrawable draw, GLXDrawable read) argument
162 indirect_unbind_context(struct glx_context *gc, struct glx_context *new) argument
183 indirect_wait_gl(struct glx_context *gc) argument
202 indirect_wait_x(struct glx_context *gc) argument
220 indirect_use_x_font(struct glx_context *gc, Font font, int first, int count, int listBase) argument
249 struct glx_context *gc = __glXGetCurrentContext(); local
300 struct glx_context *gc = __glXGetCurrentContext(); local
348 struct glx_context *gc; local
[all...]
H A Dcreate_context.c44 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(psc, cfg, share, 0);
91 gc->xid = xcb_generate_id(c);
92 gc->share_xid = (share != NULL) ? share->xid : 0;
104 gc->xid,
107 gc->share_xid,
108 gc
[all...]
H A Dclientattrib.c42 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]) {
82 gc->attributes.stackPointer = spp + 1;
92 __glXSetError(gc, GL_STACK_OVERFLOW);
100 struct glx_context *gc local
130 __glFreeAttributeState(struct glx_context * gc) argument
[all...]
H A Dpixelstore.c41 * \param gc Current GLX context
49 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname, argument
52 Display *const dpy = gc->currentDpy;
55 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen);
70 struct glx_context *gc = __glXGetCurrentContext(); local
71 __GLXattribute *state = gc->client_state_private;
72 Display *dpy = gc->currentDpy;
82 __glXSetError(gc, GL_INVALID_VALUE);
90 __glXSetError(gc, GL_INVALID_VALUE);
98 __glXSetError(gc, GL_INVALID_VALU
220 struct glx_context *gc = __glXGetCurrentContext(); local
[all...]
H A Dglxcurrent.c185 struct glx_context *gc = __glXGetCurrentContext(); local
186 return gc->currentDrawable;
213 struct glx_context *gc = (struct glx_context *) gc_user; local
230 if ((gc != NULL) && (gc->xid == None)) {
234 if (gc == NULL && (draw != None || read != None)) {
239 if (gc != NULL && (draw == None || read == None)) {
247 if (oldGC == gc &&
248 gc->currentDrawable == draw && gc
301 glXMakeCurrent(Display * dpy, GLXDrawable draw, GLXContext gc) argument
[all...]
H A Drenderpix.c63 * \param gc Current GLX context
81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, argument
89 __glXSetError(gc, GL_OUT_OF_MEMORY);
95 (*gc->fillImage) (gc, dim, width, height, depth, format, type,
108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize);
136 if (!gc->currentDpy)
139 if (cmdlen <= gc
[all...]
H A Dsingle2.c133 if (gc->error) {
135 retval = gc->error;
136 gc->error = GL_NO_ERROR;
157 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) argument
160 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
299 *data = (GLintptr) (gc->attributes.stackPointer - gc->attributes.stack);
347 if (get_client_data(gc, val, &data)) {
398 if (get_client_data(gc, val, &data)) {
449 if (get_client_data(gc, va
647 struct glx_context *gc = __glXGetCurrentContext(); local
838 struct glx_context *gc = __glXGetCurrentContext(); local
886 struct glx_context *const gc = __glXGetCurrentContext(); local
942 struct glx_context *const gc = __glXGetCurrentContext(); local
952 struct glx_context *const gc = __glXGetCurrentContext(); local
[all...]
H A Dindirect_vertex_program.c40 struct glx_context *gc = __glXGetCurrentContext(); local
41 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
45 __glXSetError(gc, GL_INVALID_ENUM);
68 struct glx_context *const gc = __glXGetCurrentContext(); local
69 Display *const dpy = gc->currentDpy;
73 GLubyte const *pc = __glXSetupVendorRequest(gc,
125 struct glx_context *const gc = __glXGetCurrentContext(); local
126 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
129 __glXSetError(gc, GL_INVALID_ENUM);
134 __glXSetError(gc, GL_INVALID_VALU
180 get_vertex_attrib(struct glx_context * gc, unsigned vop, GLuint index, GLenum pname, xReply * reply) argument
198 struct glx_context *const gc = __glXGetCurrentContext(); local
232 struct glx_context *const gc = __glXGetCurrentContext(); local
266 struct glx_context *const gc = __glXGetCurrentContext(); local
[all...]
H A Dindirect_vertex_array.c87 static GLboolean validate_mode(struct glx_context * gc, GLenum mode);
88 static GLboolean validate_count(struct glx_context * gc, GLsizei count);
89 static GLboolean validate_type(struct glx_context * gc, GLenum type);
112 __glXFreeVertexArrayState(struct glx_context * gc) argument
114 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
135 * \param gc GLX context whose vertex array state is to be initialized.
147 __glXInitVertexArrayState(struct glx_context * gc) argument
149 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private);
182 if (__glExtensionBitIsEnabled(gc, GL_EXT_fog_coord_bit)
183 || (gc
490 struct glx_context *gc = __glXGetCurrentContext(); local
552 emit_DrawArrays_header_old(struct glx_context * gc, struct array_state_vector *arrays, size_t * elements_per_request, unsigned int *total_requests, GLenum mode, GLsizei count) argument
661 struct glx_context *gc = __glXGetCurrentContext(); local
723 struct glx_context *gc = __glXGetCurrentContext(); local
790 struct glx_context *gc = __glXGetCurrentContext(); local
878 validate_mode(struct glx_context * gc, GLenum mode) argument
911 validate_count(struct glx_context * gc, GLsizei count) argument
930 validate_type(struct glx_context * gc, GLenum type) argument
947 struct glx_context *gc = __glXGetCurrentContext(); local
966 struct glx_context *gc = __glXGetCurrentContext(); local
992 struct glx_context *gc = __glXGetCurrentContext(); local
1014 struct glx_context *gc = __glXGetCurrentContext(); local
1040 struct glx_context *gc = __glXGetCurrentContext(); local
1066 struct glx_context *gc = __glXGetCurrentContext(); local
1122 struct glx_context *gc = __glXGetCurrentContext(); local
1167 struct glx_context *gc = __glXGetCurrentContext(); local
1238 struct glx_context *gc = __glXGetCurrentContext(); local
1293 struct glx_context *gc = __glXGetCurrentContext(); local
1338 struct glx_context *gc = __glXGetCurrentContext(); local
1400 struct glx_context *gc = __glXGetCurrentContext(); local
1473 struct glx_context *gc = __glXGetCurrentContext(); local
1533 struct glx_context *gc = __glXGetCurrentContext(); local
1580 struct glx_context *gc = __glXGetCurrentContext(); local
1693 struct glx_context *gc = __glXGetCurrentContext(); local
1721 struct glx_context *const gc = __glXGetCurrentContext(); local
[all...]
H A Drender2.c51 __glXSetError(gc, GL_INVALID_ENUM);
55 __glXSetError(gc, GL_INVALID_VALUE);
60 if (!gc->currentDpy)
63 if (cmdlen <= gc->maxSmallRenderCommandSize) {
94 __glXSetError(gc, GL_OUT_OF_MEMORY);
98 __glXSendLargeCommand(gc, pc, 32, buf, compsize);
103 __glXSendLargeCommand(gc, pc, 32, pnts, compsize);
118 __glXSetError(gc, GL_INVALID_ENUM);
122 __glXSetError(gc, GL_INVALID_VALUE);
127 if (!gc
[all...]
H A Dsinglepix.c49 state = gc->client_state_private;
75 __glXSetError(gc, GL_OUT_OF_MEMORY);
82 __glEmptyImage(gc, 1, width, 1, 1, format, type, rowBuf, row);
89 __glXSetError(gc, GL_OUT_OF_MEMORY);
96 __glEmptyImage(gc, 1, height, 1, 1, format, type, colBuf, column);
115 struct glx_context *const gc = __glXGetCurrentContext(); local
118 if (gc->isDirect) {
129 Display *const dpy = gc->currentDpy;
133 const __GLXattribute *const state = gc->client_state_private;
136 __glXSetupVendorRequest(gc, X_GLXVendorPrivateWithRepl
[all...]
H A Ddri_common.h57 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
60 driReleaseDrawables(struct glx_context *gc);
/external/mesa3d/src/glx/apple/
H A Dapple_xgl_api_viewport.c40 struct glx_context *gc = __glXGetCurrentContext(); local
43 if (gc && gc->driContext)
44 apple_glx_context_update(dpy, gc->driContext);
H A Dapple_xgl_api_read.c52 struct glx_context *gc = __glXGetCurrentContext(); local
65 if (None != gc->currentReadable
66 && gc->currentReadable != gc->currentDrawable) {
71 if (apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
72 gc->currentReadable)) {
74 (void) apple_glx_make_current_context(dpy, gc->driContext, gc->driContext,
75 gc
85 struct glx_context *gc = __glXGetCurrentContext(); local
[all...]
H A Dglxreply.c58 __glXReadPixelReply(Display * dpy, struct glx_context * gc, unsigned max_dim, argument
86 __glXSetError(gc, GL_OUT_OF_MEMORY);
96 __glEmptyImage(gc, 3, width, height, depth, format, type, buf, dest);
104 __glXSetupSingleRequest(struct glx_context * gc, GLint sop, GLint cmdlen)
107 Display *const dpy = gc->currentDpy;
109 (void) __glXFlushRenderBuffer(gc, gc->pc);
112 req->reqType = gc->majorOpcode;
113 req->contextTag = gc->currentContextTag;
120 __glXSetupVendorRequest(struct glx_context * gc, GLin argument
[all...]
H A Dapple_xgl_api_stereo.c54 struct glx_context * gc = __glXGetCurrentContext(); local
56 if (gc && apple_glx_context_uses_stereo(gc->driContext)) {
89 struct glx_context * gc = __glXGetCurrentContext(); local
91 if (gc && apple_glx_context_uses_stereo(gc->driContext)) {
/external/fio/
H A Dgoptions.h4 void gopt_get_options_window(GtkWidget *window, struct gfio_client *gc);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DBarGraph.java78 public void paint(Display display, int width, int height, GC gc) { argument
86 gc.setBackground(bg);
87 gc.fillRectangle(0, 0, width, height);
98 Point es= gc.stringExtent(bars[i].title);
108 vstart= gc.stringExtent(this.fTitle).y + GAP;
109 gc.drawString(this.fTitle, MARGIN, MARGIN, true); // draw title left aligned
113 int w2= w / 2 - gc.stringExtent("-999.9").x - TGAP; // reserve space //$NON-NLS-1$
147 gc.setBackground(lightblue);
150 gc.fillRectangle(0, y + i * (BARHEIGHT + GAP), width, BARHEIGHT + GAP);
154 gc
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DCFlatButton.java69 GC gc = e.gc;
73 gc.setForeground(IColorConstants.buttonDarker);
74 gc.drawRectangle(ca.x, ca.y, ca.width - 1, ca.height - 1);
77 gc.setForeground(borderGradientColor1);
78 gc.setBackground(borderGradientColor2);
79 gc.fillGradientRectangle(ca.x, ca.y, ca.width, ca.height, true);
82 gc.setBackground(faceColor);
83 gc.fillRectangle(ca);
87 gc
[all...]
H A DCImageLabel.java54 doPaint(event.gc);
92 GC gc;
101 gc = new GC(m_backImage);
102 gc.setBackground(paintGC.getBackground());
103 gc.setForeground(paintGC.getForeground());
104 gc.fillRectangle(clientArea);
107 Point textExtent = m_text == null ? new Point(0, 0) : gc.textExtent(m_text);
113 gc.drawImage(m_image, x, y);
118 gc.drawText(m_text, x, y);
123 gc
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DPixelConverter.java34 GC gc = new GC(control);
35 gc.setFont(control.getFont());
36 fFontMetrics = gc.getFontMetrics();
37 gc.dispose();
H A DDrawUtils.java47 public static final void drawStringCV(GC gc, String text, int x, int y, int width, int height) { argument
48 Rectangle oldClipping = gc.getClipping();
50 gc.setClipping(new Rectangle(x, y, width, height));
52 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2;
53 gc.drawString(clipString(gc, text, width), x, textStartY, true);
55 gc.setClipping(oldClipping);
62 public static final void drawStringCHCV(GC gc, String text, int x, int y, int width, int height) { argument
63 int textStartY = y + (height - gc.getFontMetrics().getHeight()) / 2;
64 Point textSize = gc
76 drawImageCV(GC gc, Image image, int x, int y, int height) argument
86 drawImageCHCV(GC gc, Image image, int x, int y, int width, int height) argument
100 drawScaledImage(GC gc, Image image, Rectangle targetRectangle) argument
130 clipString(GC gc, String text, int width) argument
156 drawTextWrap(GC gc, String text, int x, int y, int width, int height) argument
179 drawHighlightRectangle(GC gc, int x, int y, int width, int height) argument
[all...]
/external/tpm2/
H A DHierarchyControl.c44 if( gc.shEnable == FALSE && in->state == YES
57 if( gc.ehEnable == FALSE && in->state == YES
80 selected = &gc.shEnable;
83 selected = &gc.ehEnable;
89 selected = &gc.phEnableNV;

Completed in 253 milliseconds

1234567891011