/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
D | indirect.c | 93 __glXReadPixelReply( Display *dpy, struct glx_context * gc, unsigned max_dim, in __glXReadPixelReply() argument 117 __glXSetError(gc, GL_OUT_OF_MEMORY); in __glXReadPixelReply() 127 __glEmptyImage(gc, 3, width, height, depth, format, type, in __glXReadPixelReply() 137 __glXSetupSingleRequest( struct glx_context * gc, GLint sop, GLint cmdlen ) in __glXSetupSingleRequest() argument 140 Display * const dpy = gc->currentDpy; in __glXSetupSingleRequest() 142 (void) __glXFlushRenderBuffer(gc, gc->pc); in __glXSetupSingleRequest() 145 req->reqType = gc->majorOpcode; in __glXSetupSingleRequest() 146 req->contextTag = gc->currentContextTag; in __glXSetupSingleRequest() 152 __glXSetupVendorRequest( struct glx_context * gc, GLint code, GLint vop, GLint cmdlen ) in __glXSetupVendorRequest() argument 155 Display * const dpy = gc->currentDpy; in __glXSetupVendorRequest() [all …]
|
/external/mesa3d/src/glx/ |
D | indirect_glx.c | 44 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context() argument 46 __glXFreeVertexArrayState(gc); in indirect_destroy_context() 48 if (gc->vendor) in indirect_destroy_context() 49 XFree((char *) gc->vendor); in indirect_destroy_context() 50 if (gc->renderer) in indirect_destroy_context() 51 XFree((char *) gc->renderer); in indirect_destroy_context() 52 if (gc->version) in indirect_destroy_context() 53 XFree((char *) gc->version); in indirect_destroy_context() 54 if (gc->extensions) in indirect_destroy_context() 55 XFree((char *) gc->extensions); in indirect_destroy_context() [all …]
|
D | applegl_glx.c | 46 applegl_destroy_context(struct glx_context *gc) in applegl_destroy_context() argument 48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); in applegl_destroy_context() 52 applegl_bind_context(struct glx_context *gc, struct glx_context *old, in applegl_bind_context() argument 55 Display *dpy = gc->psc->dpy; in applegl_bind_context() 58 gc ? gc->driContext : NULL, draw); in applegl_bind_context() 70 applegl_unbind_context(struct glx_context *gc, struct glx_context *new) in applegl_unbind_context() argument 76 if (!gc) in applegl_unbind_context() 83 dpy = gc->psc->dpy; in applegl_unbind_context() 86 (gc != &dummyContext) ? gc->driContext : NULL, in applegl_unbind_context() 93 applegl_wait_gl(struct glx_context *gc) in applegl_wait_gl() argument [all …]
|
D | pixelstore.c | 49 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname, in send_PixelStore() argument 52 Display *const dpy = gc->currentDpy; in send_PixelStore() 55 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen); in send_PixelStore() 70 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPixelStoref() local 71 __GLXattribute *state = gc->client_state_private; in __indirect_glPixelStoref() 72 Display *dpy = gc->currentDpy; in __indirect_glPixelStoref() 82 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 90 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 98 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 106 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() [all …]
|
D | indirect_vertex_array.c | 87 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) in __glXFreeVertexArrayState() argument 114 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXFreeVertexArrayState() 147 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState() argument 149 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXInitVertexArrayState() 182 if (__glExtensionBitIsEnabled(gc, GL_EXT_fog_coord_bit) in __glXInitVertexArrayState() 183 || (gc->server_major > 1) || (gc->server_minor >= 4)) { in __glXInitVertexArrayState() 188 if (__glExtensionBitIsEnabled(gc, GL_EXT_secondary_color_bit) in __glXInitVertexArrayState() [all …]
|
D | single2.c | 133 if (gc->error) { in __indirect_glGetError() 135 retval = gc->error; in __indirect_glGetError() 136 gc->error = GL_NO_ERROR; in __indirect_glGetError() 157 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) in get_client_data() argument 160 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in get_client_data() 299 *data = (GLintptr) (gc->attributes.stackPointer - gc->attributes.stack); in get_client_data() 347 if (get_client_data(gc, val, &data)) { in __indirect_glGetBooleanv() 398 if (get_client_data(gc, val, &data)) { in __indirect_glGetDoublev() 449 if (get_client_data(gc, val, &data)) { in __indirect_glGetFloatv() 500 if (get_client_data(gc, val, &data)) { in __indirect_glGetIntegerv() [all …]
|
D | clientattrib.c | 42 struct glx_context *gc = __glXGetCurrentContext(); in do_enable_disable() local 43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_enable_disable() 51 __glXSetError(gc, GL_INVALID_ENUM); in do_enable_disable() 72 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPushClientAttrib() local 73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glPushClientAttrib() 74 __GLXattribute **spp = gc->attributes.stackPointer, *sp; in __indirect_glPushClientAttrib() 76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) { in __indirect_glPushClientAttrib() 82 gc->attributes.stackPointer = spp + 1; in __indirect_glPushClientAttrib() 92 __glXSetError(gc, GL_STACK_OVERFLOW); in __indirect_glPushClientAttrib() 100 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPopClientAttrib() local [all …]
|
D | renderpix.c | 81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, in __glXSendLargeImage() argument 89 __glXSetError(gc, GL_OUT_OF_MEMORY); in __glXSendLargeImage() 95 (*gc->fillImage) (gc, dim, width, height, depth, format, type, in __glXSendLargeImage() 108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize); in __glXSendLargeImage() 136 if (!gc->currentDpy) in __indirect_glSeparableFilter2D() 139 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glSeparableFilter2D() 150 (*gc->fillImage) (gc, 1, width, 1, 1, format, type, in __indirect_glSeparableFilter2D() 155 (*gc->fillImage) (gc, 1, height, 1, 1, format, type, in __indirect_glSeparableFilter2D() 183 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glSeparableFilter2D() 186 (*gc->fillImage) (gc, 1, width, 1, 1, format, type, row, buf, in __indirect_glSeparableFilter2D() [all …]
|
D | indirect_vertex_program.c | 40 struct glx_context *gc = __glXGetCurrentContext(); in do_vertex_attrib_enable() local 41 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_vertex_attrib_enable() 45 __glXSetError(gc, GL_INVALID_ENUM); in do_vertex_attrib_enable() 68 struct glx_context *const gc = __glXGetCurrentContext(); in get_parameter() local 69 Display *const dpy = gc->currentDpy; in get_parameter() 73 GLubyte const *pc = __glXSetupVendorRequest(gc, in get_parameter() 125 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribPointervNV() local 126 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glGetVertexAttribPointervNV() 129 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glGetVertexAttribPointervNV() 134 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glGetVertexAttribPointervNV() [all …]
|
D | glxcurrent.c | 185 struct glx_context *gc = __glXGetCurrentContext(); in glXGetCurrentDrawable() local 186 return gc->currentDrawable; in glXGetCurrentDrawable() 213 struct glx_context *gc = (struct glx_context *) gc_user; in MakeContextCurrent() local 230 if ((gc != NULL) && (gc->xid == None)) { in MakeContextCurrent() 234 if (gc == NULL && (draw != None || read != None)) { in MakeContextCurrent() 239 if (gc != NULL && (draw == None || read == None)) { in MakeContextCurrent() 247 if (oldGC == gc && in MakeContextCurrent() 248 gc->currentDrawable == draw && gc->currentReadable == read) { in MakeContextCurrent() 255 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent() 260 if (gc) { in MakeContextCurrent() [all …]
|
D | render2.c | 51 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1d() 55 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1d() 60 if (!gc->currentDpy) in __indirect_glMap1d() 63 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1d() 94 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glMap1d() 98 __glXSendLargeCommand(gc, pc, 32, buf, compsize); in __indirect_glMap1d() 103 __glXSendLargeCommand(gc, pc, 32, pnts, compsize); in __indirect_glMap1d() 118 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1f() 122 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1f() 127 if (!gc->currentDpy) in __indirect_glMap1f() [all …]
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
D | indirect_glx.c | 44 indirect_destroy_context(struct glx_context *gc) in indirect_destroy_context() argument 46 __glXFreeVertexArrayState(gc); in indirect_destroy_context() 48 if (gc->vendor) in indirect_destroy_context() 49 XFree((char *) gc->vendor); in indirect_destroy_context() 50 if (gc->renderer) in indirect_destroy_context() 51 XFree((char *) gc->renderer); in indirect_destroy_context() 52 if (gc->version) in indirect_destroy_context() 53 XFree((char *) gc->version); in indirect_destroy_context() 54 if (gc->extensions) in indirect_destroy_context() 55 XFree((char *) gc->extensions); in indirect_destroy_context() [all …]
|
D | applegl_glx.c | 46 applegl_destroy_context(struct glx_context *gc) in applegl_destroy_context() argument 48 apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); in applegl_destroy_context() 52 applegl_bind_context(struct glx_context *gc, struct glx_context *old, in applegl_bind_context() argument 55 Display *dpy = gc->psc->dpy; in applegl_bind_context() 58 gc ? gc->driContext : NULL, draw); in applegl_bind_context() 70 applegl_unbind_context(struct glx_context *gc, struct glx_context *new) in applegl_unbind_context() argument 76 if (!gc) in applegl_unbind_context() 83 dpy = gc->psc->dpy; in applegl_unbind_context() 86 (gc != &dummyContext) ? gc->driContext : NULL, in applegl_unbind_context() 93 applegl_wait_gl(struct glx_context *gc) in applegl_wait_gl() argument [all …]
|
D | pixelstore.c | 49 send_PixelStore(struct glx_context * gc, unsigned sop, GLenum pname, in send_PixelStore() argument 52 Display *const dpy = gc->currentDpy; in send_PixelStore() 55 GLubyte const *pc = __glXSetupSingleRequest(gc, sop, cmdlen); in send_PixelStore() 70 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPixelStoref() local 71 __GLXattribute *state = gc->client_state_private; in __indirect_glPixelStoref() 72 Display *dpy = gc->currentDpy; in __indirect_glPixelStoref() 82 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 90 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 98 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() 106 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glPixelStoref() [all …]
|
D | indirect_vertex_array.c | 87 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) in __glXFreeVertexArrayState() argument 114 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXFreeVertexArrayState() 147 __glXInitVertexArrayState(struct glx_context * gc) in __glXInitVertexArrayState() argument 149 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __glXInitVertexArrayState() 182 if (__glExtensionBitIsEnabled(gc, GL_EXT_fog_coord_bit) in __glXInitVertexArrayState() 183 || (gc->server_major > 1) || (gc->server_minor >= 4)) { in __glXInitVertexArrayState() 188 if (__glExtensionBitIsEnabled(gc, GL_EXT_secondary_color_bit) in __glXInitVertexArrayState() [all …]
|
D | single2.c | 133 if (gc->error) { in __indirect_glGetError() 135 retval = gc->error; in __indirect_glGetError() 136 gc->error = GL_NO_ERROR; in __indirect_glGetError() 157 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) in get_client_data() argument 160 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in get_client_data() 299 *data = (GLintptr) (gc->attributes.stackPointer - gc->attributes.stack); in get_client_data() 347 if (get_client_data(gc, val, &data)) { in __indirect_glGetBooleanv() 398 if (get_client_data(gc, val, &data)) { in __indirect_glGetDoublev() 449 if (get_client_data(gc, val, &data)) { in __indirect_glGetFloatv() 500 if (get_client_data(gc, val, &data)) { in __indirect_glGetIntegerv() [all …]
|
D | clientattrib.c | 42 struct glx_context *gc = __glXGetCurrentContext(); in do_enable_disable() local 43 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_enable_disable() 51 __glXSetError(gc, GL_INVALID_ENUM); in do_enable_disable() 72 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPushClientAttrib() local 73 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glPushClientAttrib() 74 __GLXattribute **spp = gc->attributes.stackPointer, *sp; in __indirect_glPushClientAttrib() 76 if (spp < &gc->attributes.stack[__GL_CLIENT_ATTRIB_STACK_DEPTH]) { in __indirect_glPushClientAttrib() 82 gc->attributes.stackPointer = spp + 1; in __indirect_glPushClientAttrib() 92 __glXSetError(gc, GL_STACK_OVERFLOW); in __indirect_glPushClientAttrib() 100 struct glx_context *gc = __glXGetCurrentContext(); in __indirect_glPopClientAttrib() local [all …]
|
D | renderpix.c | 81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, in __glXSendLargeImage() argument 89 __glXSetError(gc, GL_OUT_OF_MEMORY); in __glXSendLargeImage() 95 (*gc->fillImage) (gc, dim, width, height, depth, format, type, in __glXSendLargeImage() 108 __glXSendLargeCommand(gc, gc->pc, pc - gc->pc, buf, compsize); in __glXSendLargeImage() 136 if (!gc->currentDpy) in __indirect_glSeparableFilter2D() 139 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glSeparableFilter2D() 150 (*gc->fillImage) (gc, 1, width, 1, 1, format, type, in __indirect_glSeparableFilter2D() 155 (*gc->fillImage) (gc, 1, height, 1, 1, format, type, in __indirect_glSeparableFilter2D() 183 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glSeparableFilter2D() 186 (*gc->fillImage) (gc, 1, width, 1, 1, format, type, row, buf, in __indirect_glSeparableFilter2D() [all …]
|
D | indirect_vertex_program.c | 40 struct glx_context *gc = __glXGetCurrentContext(); in do_vertex_attrib_enable() local 41 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in do_vertex_attrib_enable() 45 __glXSetError(gc, GL_INVALID_ENUM); in do_vertex_attrib_enable() 68 struct glx_context *const gc = __glXGetCurrentContext(); in get_parameter() local 69 Display *const dpy = gc->currentDpy; in get_parameter() 73 GLubyte const *pc = __glXSetupVendorRequest(gc, in get_parameter() 125 struct glx_context *const gc = __glXGetCurrentContext(); in __indirect_glGetVertexAttribPointervNV() local 126 __GLXattribute *state = (__GLXattribute *) (gc->client_state_private); in __indirect_glGetVertexAttribPointervNV() 129 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glGetVertexAttribPointervNV() 134 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glGetVertexAttribPointervNV() [all …]
|
D | glxcurrent.c | 185 struct glx_context *gc = __glXGetCurrentContext(); in glXGetCurrentDrawable() local 186 return gc->currentDrawable; in glXGetCurrentDrawable() 213 struct glx_context *gc = (struct glx_context *) gc_user; in MakeContextCurrent() local 230 if ((gc != NULL) && (gc->xid == None)) { in MakeContextCurrent() 234 if (gc == NULL && (draw != None || read != None)) { in MakeContextCurrent() 239 if (gc != NULL && (draw == None || read == None)) { in MakeContextCurrent() 247 if (oldGC == gc && in MakeContextCurrent() 248 gc->currentDrawable == draw && gc->currentReadable == read) { in MakeContextCurrent() 255 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent() 260 if (gc) { in MakeContextCurrent() [all …]
|
D | render2.c | 51 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1d() 55 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1d() 60 if (!gc->currentDpy) in __indirect_glMap1d() 63 if (cmdlen <= gc->maxSmallRenderCommandSize) { in __indirect_glMap1d() 94 __glXSetError(gc, GL_OUT_OF_MEMORY); in __indirect_glMap1d() 98 __glXSendLargeCommand(gc, pc, 32, buf, compsize); in __indirect_glMap1d() 103 __glXSendLargeCommand(gc, pc, 32, pnts, compsize); in __indirect_glMap1d() 118 __glXSetError(gc, GL_INVALID_ENUM); in __indirect_glMap1f() 122 __glXSetError(gc, GL_INVALID_VALUE); in __indirect_glMap1f() 127 if (!gc->currentDpy) in __indirect_glMap1f() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | BarGraph.java | 78 public void paint(Display display, int width, int height, GC gc) { in paint() argument 86 gc.setBackground(bg); in paint() 87 gc.fillRectangle(0, 0, width, height); in paint() 98 Point es= gc.stringExtent(bars[i].title); in paint() 108 vstart= gc.stringExtent(this.fTitle).y + GAP; in paint() 109 gc.drawString(this.fTitle, MARGIN, MARGIN, true); // draw title left aligned in paint() 113 int w2= w / 2 - gc.stringExtent("-999.9").x - TGAP; // reserve space //$NON-NLS-1$ in paint() 147 gc.setBackground(lightblue); in paint() 150 gc.fillRectangle(0, y + i * (BARHEIGHT + GAP), width, BARHEIGHT + GAP); in paint() 154 gc.drawLine(center, y, center, yy + TGAP); in paint() [all …]
|
/external/chromium_org/third_party/icu/source/samples/datecal/ |
D | cal.cpp | 20 GregorianCalendar* gc = new GregorianCalendar(status); in cpp_main() local 26 gc->set(2000, UCAL_FEBRUARY, 26); in cpp_main() 27 gc->set(UCAL_HOUR_OF_DAY, 23); in cpp_main() 28 gc->set(UCAL_MINUTE, 0); in cpp_main() 29 gc->set(UCAL_SECOND, 0); in cpp_main() 30 gc->set(UCAL_MILLISECOND, 0); in cpp_main() 36 gc->get(UCAL_YEAR, status), in cpp_main() 37 gc->get(UCAL_MONTH, status) + 1, in cpp_main() 38 gc->get(UCAL_MONTH, status), in cpp_main() 39 gc->get(UCAL_DATE, status)); in cpp_main() [all …]
|
/external/icu/icu4c/source/samples/datecal/ |
D | cal.cpp | 20 GregorianCalendar* gc = new GregorianCalendar(status); in cpp_main() local 26 gc->set(2000, UCAL_FEBRUARY, 26); in cpp_main() 27 gc->set(UCAL_HOUR_OF_DAY, 23); in cpp_main() 28 gc->set(UCAL_MINUTE, 0); in cpp_main() 29 gc->set(UCAL_SECOND, 0); in cpp_main() 30 gc->set(UCAL_MILLISECOND, 0); in cpp_main() 36 gc->get(UCAL_YEAR, status), in cpp_main() 37 gc->get(UCAL_MONTH, status) + 1, in cpp_main() 38 gc->get(UCAL_MONTH, status), in cpp_main() 39 gc->get(UCAL_DATE, status)); in cpp_main() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
D | FontHarfBuzz.cpp | 56 static SkPaint textFillPaint(GraphicsContext* gc, const SimpleFontData* font) in textFillPaint() argument 58 SkPaint paint = gc->fillPaint(); in textFillPaint() 59 font->platformData().setupPaint(&paint, gc); in textFillPaint() 60 gc->adjustTextRenderMode(&paint); in textFillPaint() 65 static SkPaint textStrokePaint(GraphicsContext* gc, const SimpleFontData* font, bool isFilling) in textStrokePaint() argument 67 SkPaint paint = gc->strokePaint(); in textStrokePaint() 68 font->platformData().setupPaint(&paint, gc); in textStrokePaint() 69 gc->adjustTextRenderMode(&paint); in textStrokePaint() 86 static void paintGlyphs(GraphicsContext* gc, const SimpleFontData* font, in paintGlyphs() argument 90 TextDrawingModeFlags textMode = gc->textDrawingMode(); in paintGlyphs() [all …]
|