Home
last modified time | relevance | path

Searched refs:gl (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/webkit/Source/ThirdParty/ANGLE/
DChangeLog39 (gl::trace):
377 (gl::Blit::copySurfaceToTexture):
378 (gl::Blit::setCommonBlitState):
380 (gl::Buffer::Buffer):
381 (gl::Buffer::~Buffer):
382 (gl::Buffer::bufferData):
383 (gl::Buffer::bufferSubData):
384 (gl::Buffer::getVertexBuffer):
385 (gl::Buffer::getIndexBuffer):
386 (gl::Buffer::invalidateStaticData):
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DlibGLESv2.cpp39 if (texture < GL_TEXTURE0 || texture > GL_TEXTURE0 + gl::MAX_TEXTURE_IMAGE_UNITS - 1) in glActiveTexture()
44 gl::Context *context = gl::getContext(); in glActiveTexture()
63 gl::Context *context = gl::getContext(); in glAttachShader()
67 gl::Program *programObject = context->getProgram(program); in glAttachShader()
68 gl::Shader *shaderObject = context->getShader(shader); in glAttachShader()
112 if (index >= gl::MAX_VERTEX_ATTRIBS) in glBindAttribLocation()
117 gl::Context *context = gl::getContext(); in glBindAttribLocation()
121 gl::Program *programObject = context->getProgram(program); in glBindAttribLocation()
155 gl::Context *context = gl::getContext(); in glBindBuffer()
189 gl::Context *context = gl::getContext(); in glBindFramebuffer()
[all …]
Dmain.cpp34 gl::Current *current = (gl::Current*)LocalAlloc(LPTR, sizeof(gl::Current)); in DllMain()
74 namespace gl namespace
114 gl::Context *context = glGetCurrentContext(); in error()
122 gl::trace("\t! Error generated: invalid enum\n"); in error()
126 gl::trace("\t! Error generated: invalid value\n"); in error()
130 gl::trace("\t! Error generated: invalid operation\n"); in error()
134 gl::trace("\t! Error generated: out of memory\n"); in error()
138 gl::trace("\t! Error generated: invalid framebuffer operation\n"); in error()
/external/clang/utils/VtableTest/
Dgen.cc16 void gl(const char *c) { in gl() function
135 gl(" {"); in gs()
144 g(" "); g(simple_types[t]); g(" field"); g(i); gl(";"); in gs()
178 gl("); return 0; }"); in gs()
180 gl("); }"); in gs()
250 gl("); return 0; }"); in gs()
252 gl("); }"); in gs()
257 gl("public:"); in gs()
258 gl(" void calc(char *t) {"); in gs()
261 g(" mix(\"type num\", "); g(s); gl(");"); in gs()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java80 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
85 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_FASTEST); in onSurfaceCreated()
87 gl.glClearColor(0.0f, 0.0f, 0.0f, 1); in onSurfaceCreated()
88 gl.glShadeModel(GL10.GL_FLAT); in onSurfaceCreated()
89 gl.glDisable(GL10.GL_DEPTH_TEST); in onSurfaceCreated()
90 gl.glEnable(GL10.GL_TEXTURE_2D); in onSurfaceCreated()
96 gl.glDisable(GL10.GL_DITHER); in onSurfaceCreated()
97 gl.glDisable(GL10.GL_LIGHTING); in onSurfaceCreated()
99 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, GL10.GL_MODULATE); in onSurfaceCreated()
101 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onSurfaceCreated()
[all …]
DDrawableBitmap.java71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { in beginDrawing() argument
72 gl.glShadeModel(GL10.GL_FLAT); in beginDrawing()
73 gl.glEnable(GL10.GL_BLEND); in beginDrawing()
74 gl.glBlendFunc(GL10.GL_ONE, GL10.GL_ONE_MINUS_SRC_ALPHA); in beginDrawing()
75 gl.glColor4x(0x10000, 0x10000, 0x10000, 0x10000); in beginDrawing()
77 gl.glMatrixMode(GL10.GL_PROJECTION); in beginDrawing()
78 gl.glPushMatrix(); in beginDrawing()
79 gl.glLoadIdentity(); in beginDrawing()
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); in beginDrawing()
81 gl.glMatrixMode(GL10.GL_MODELVIEW); in beginDrawing()
[all …]
DGrid.java205 public static void beginDrawing(GL10 gl, boolean useTexture) { in beginDrawing() argument
206 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in beginDrawing()
209 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); in beginDrawing()
210 gl.glEnable(GL10.GL_TEXTURE_2D); in beginDrawing()
212 gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY); in beginDrawing()
213 gl.glDisable(GL10.GL_TEXTURE_2D); in beginDrawing()
217 public void beginDrawingStrips(GL10 gl, boolean useTexture) { in beginDrawingStrips() argument
218 beginDrawing(gl, useTexture); in beginDrawingStrips()
220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer); in beginDrawingStrips()
223 gl.glTexCoordPointer(2, mCoordinateType, 0, mTexCoordBuffer); in beginDrawingStrips()
[all …]
DTextureLibrary.java82 public Texture loadTexture(Context context, GL10 gl, int resourceID) { in loadTexture() argument
84 texture = loadBitmap(context, gl, texture); in loadTexture()
89 public void loadAll(Context context, GL10 gl) { in loadAll() argument
92 loadBitmap(context, gl, mTextureHash[x]); in loadAll()
98 public void deleteAll(GL10 gl) { in deleteAll() argument
105 gl.glDeleteTextures(1, mTextureNameWorkspace, 0); in deleteAll()
106 int error = gl.glGetError(); in deleteAll()
127 protected Texture loadBitmap(Context context, GL10 gl, Texture texture) { in loadBitmap() argument
128 assert gl != null; in loadBitmap()
132 gl.glGenTextures(1, mTextureNameWorkspace, 0); in loadBitmap()
[all …]
DTiledVertexGrid.java132 GL10 gl = OpenGLSystem.getGL(); in draw() local
133 if (!mGenerated && world != null && gl != null && mTexture != null) { in draw()
151 grid.generateHardwareBuffers(gl); in draw()
160 if (gl != null && texture != null) { in draw()
187 tileMap.beginDrawingStrips(gl, true); in draw()
197 gl.glPushMatrix(); in draw()
198 gl.glLoadIdentity(); in draw()
199 gl.glTranslatef( in draw()
211 tileMap.drawStrip(gl, true, row + startOffset, count); in draw()
214 gl.glPopMatrix(); in draw()
[all …]
DGLSurfaceView.java577 GL wrap(GL gl); in wrap() argument
634 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated() argument
659 void onSurfaceChanged(GL10 gl, int width, int height); in onSurfaceChanged() argument
683 void onDrawFrame(GL10 gl); in onDrawFrame() argument
685 void loadTextures(GL10 gl, TextureLibrary library); in loadTextures() argument
686 void flushTextures(GL10 gl, TextureLibrary library); in flushTextures() argument
687 void loadBuffers(GL10 gl, BufferLibrary library); in loadBuffers() argument
688 void flushBuffers(GL10 gl, BufferLibrary library); in flushBuffers() argument
995 GL gl = mEglContext.getGL(); in createSurface() local
997 gl = mGLWrapper.wrap(gl); in createSurface()
[all …]
DOpenGLSystem.java39 public OpenGLSystem(GL10 gl) { in OpenGLSystem() argument
40 sGL = gl; in OpenGLSystem()
43 public static final void setGL(GL10 gl) { in setGL() argument
44 sGL = gl; in setGL()
DBufferLibrary.java44 public void generateHardwareBuffers(GL10 gl) { in generateHardwareBuffers() argument
49 grid.generateHardwareBuffers(gl); in generateHardwareBuffers()
54 public void releaseHardwareBuffers(GL10 gl) { in releaseHardwareBuffers() argument
59 grid.releaseHardwareBuffers(gl); in releaseHardwareBuffers()
/external/skia/gyp/
Dgpu.gyp104 '../include/gpu/gl/SkGLContext.h',
105 '../include/gpu/gl/SkMesaGLContext.h',
106 '../include/gpu/gl/SkNativeGLContext.h',
107 '../include/gpu/gl/SkNullGLContext.h',
116 '../src/gpu/gl/SkGLContext.cpp',
117 '../src/gpu/gl/SkNullGLContext.cpp',
180 '../include/gpu/gl/GrGLConfig.h',
181 '../include/gpu/gl/GrGLConfig_chrome.h',
182 '../include/gpu/gl/GrGLDefines.h',
183 '../include/gpu/gl/GrGLInterface.h',
[all …]
/external/quake/quake/src/QW/client/
Dgl_draw.c193 glpic_t *gl; in Draw_PicFromWad() local
196 gl = (glpic_t *)p->data; in Draw_PicFromWad()
212 gl->texnum = texnum; in Draw_PicFromWad()
213 gl->sl = (x+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
214 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
215 gl->tl = (y+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
216 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
223 gl->texnum = GL_LoadPicTexture (p); in Draw_PicFromWad()
224 gl->sl = 0; in Draw_PicFromWad()
225 gl->sh = 1; in Draw_PicFromWad()
[all …]
/external/skia/include/gpu/gl/
DGrGLConfig.h212 extern void GrGLCheckErr(const GrGLInterface* gl,
216 extern void GrGLClearErr(const GrGLInterface* gl);
276 #define GR_GL_GetIntegerv(gl, e, p) \ argument
279 GR_GL_CALL(gl, GetIntegerv(e, p)); \
282 #define GR_GL_GetFramebufferAttachmentParameteriv(gl, t, a, pname, p) \ argument
285 GR_GL_CALL(gl, GetFramebufferAttachmentParameteriv(t, a, pname, p)); \
288 #define GR_GL_GetRenderbufferParameteriv(gl, t, pname, p) \ argument
291 GR_GL_CALL(gl, GetRenderbufferParameteriv(t, pname, p)); \
294 #define GR_GL_GetTexLevelParameteriv(gl, t, l, pname, p) \ argument
297 GR_GL_CALL(gl, GetTexLevelParameteriv(t, l, pname, p)); \
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
DTestLexer.m.old1 // $ANTLR 3.0 Test.gl 2007-08-04 15:59:43
30 return @"Test.gl";
39 // Test.gl:8:6: ( LETTER ( LETTER | DIGIT )* ) // ruleBlockSingleAlt
40 // Test.gl:8:6: LETTER ( LETTER | DIGIT )* // alt
56 // Test.gl: // alt
95 // Test.gl:11:18: ( '0' .. '9' ) // ruleBlockSingleAlt
96 // Test.gl:11:18: '0' .. '9' // alt
118 // Test.gl:15:4: ( 'a' .. 'z' | 'A' .. 'Z' ) // ruleBlockSingleAlt
119 // Test.gl: // alt
145 // Test.gl:1:10: ( ID ) // ruleBlockSingleAlt
[all …]
/external/elfutils/tests/
Dget-pubnames.c40 callback (Dwarf *dbg, Dwarf_Global *gl, void *arg __attribute__ ((unused))) in callback() argument
45 globcnt++, gl->name, (unsigned long long int) gl->die_offset, in callback()
46 (unsigned long long int) gl->cu_offset); in callback()
50 if (dwarf_offdie (dbg, gl->cu_offset, &cu_die) == NULL in callback()
61 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL in callback()
/external/skia/src/gpu/gl/
DGrGLIRect.h26 void pushToGLViewport(const GrGLInterface* gl) const { in pushToGLViewport()
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight)); in pushToGLViewport()
30 void pushToGLScissor(const GrGLInterface* gl) const { in pushToGLScissor()
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
34 void setFromGLViewport(const GrGLInterface* gl) { in setFromGLViewport()
36 GR_GL_GetIntegerv(gl, GR_GL_VIEWPORT, (GrGLint*) this); in setFromGLViewport()
DGrGLUtil.cpp13 void GrGLClearErr(const GrGLInterface* gl) { in GrGLClearErr() argument
14 while (GR_GL_NO_ERROR != gl->fGetError()) {} in GrGLClearErr()
17 void GrGLCheckErr(const GrGLInterface* gl, in GrGLCheckErr() argument
20 uint32_t err = GR_GL_GET_ERROR(gl); in GrGLCheckErr()
DGrGLProgram.h51 bool genProgram(const GrGLContextInfo& gl,
353 void genStageCode(const GrGLContextInfo& gl,
362 void genGeometryShader(const GrGLContextInfo& gl,
366 void genEdgeCoverage(const GrGLContextInfo& gl,
372 static bool CompileShaders(const GrGLContextInfo& gl,
378 static GrGLuint CompileShader(const GrGLContextInfo& gl,
386 const GrGLContextInfo& gl,
393 void getUniformLocationsAndInitCache(const GrGLContextInfo& gl,
/external/elfutils/libdw/
Ddwarf_getpubnames.c220 Dwarf_Global gl; local
222 gl.cu_offset = (dbg->pubnames_sets[cnt].cu_offset
229 gl.die_offset = read_4ubyte_unaligned_inc (dbg, readp);
231 gl.die_offset = read_8ubyte_unaligned_inc (dbg, readp);
234 if (gl.die_offset == 0)
238 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
240 gl.name = (char *) readp;
241 readp = (unsigned char *) rawmemchr (gl.name, '\0') + 1;
244 if (callback (dbg, &gl, arg) != DWARF_CB_OK)
/external/quake/quake/src/WinQuake/
Dgl_draw.cpp527 glpic_t* gl = & pp->g.glpic; in Draw_PicFromWad() local
545 gl->texnum = texnum; in Draw_PicFromWad()
546 gl->sl = (x+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
547 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
548 gl->tl = (y+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
549 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
556 gl->texnum = GL_LoadPicTexture (p); in Draw_PicFromWad()
557 gl->sl = 0; in Draw_PicFromWad()
558 gl->sh = 1; in Draw_PicFromWad()
559 gl->tl = 0; in Draw_PicFromWad()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/common/
Ddebug.h15 namespace gl
23 #define TRACE(message, ...) gl::trace("trace: %s"message"\n", __FUNCTION__, __VA_ARGS__)
29 #define FIXME(message, ...) gl::trace("fixme: %s"message"\n", __FUNCTION__, __VA_ARGS__)
32 #define ERR(message, ...) gl::trace("err: %s"message"\n", __FUNCTION__, __VA_ARGS__)
/external/iptables/iptables/
Dxshared.c108 struct xtables_globals *gl) in command_default() argument
152 gl->opts = xtables_options_xfrm(gl->orig_opts, in command_default()
153 gl->opts, in command_default()
157 gl->opts = xtables_merge_options(gl->orig_opts, in command_default()
158 gl->opts, in command_default()
161 if (gl->opts == NULL) in command_default()
/external/skia/bench/
DBenchTimer.cpp21 BenchTimer::BenchTimer(SkGLContext* gl) in BenchTimer() argument
27 if (gl) { in BenchTimer()
28 fGpuTimer = new BenchGpuTimer(gl); in BenchTimer()

12345678910