Searched refs:gl (Results 1 - 25 of 114) sorted by relevance

12345

/external/aac/libAACdec/src/
H A Doverlapadd.h102 #define SPEC(ptr,w,gl) ((ptr)+((w)*(gl)))
/external/skia/src/gpu/gl/
H A DGrGLUtil.cpp10 #include "gl/GrGLConfig.h"
11 #include "gl/GrGLInterface.h"
13 void GrGLClearErr(const GrGLInterface* gl) { argument
14 while (GR_GL_NO_ERROR != gl->fGetError()) {}
17 void GrGLCheckErr(const GrGLInterface* gl, argument
20 uint32_t err = GR_GL_GET_ERROR(gl);
H A DGrGLIRect.h14 #include "gl/GrGLInterface.h"
26 void pushToGLViewport(const GrGLInterface* gl) const {
27 GR_GL_CALL(gl, Viewport(fLeft, fBottom, fWidth, fHeight));
30 void pushToGLScissor(const GrGLInterface* gl) const {
31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight));
34 void setFromGLViewport(const GrGLInterface* gl) { argument
36 GR_GL_GetIntegerv(gl, GR_GL_VIEWPORT, (GrGLint*) this);
H A DGrGLStencilBuffer.cpp28 const GrGLInterface* gl = gpuGL->glInterface(); local
29 GR_GL_CALL(gl, DeleteRenderbuffers(1, &fRenderbufferID));
H A DGrGLSL.h11 #include "gl/GrGLInterface.h"
36 const GrGLInterface* gl);
H A DGrGLSL.cpp12 const GrGLInterface* gl) {
13 GrGLSLVersion ver = GrGLGetGLSLVersion(gl);
11 GrGetGLSLGeneration(GrGLBinding binding, const GrGLInterface* gl) argument
/external/clang/utils/VtableTest/
H A Dgen.cc16 void gl(const char *c) { function
135 gl(" {");
144 g(" "); g(simple_types[t]); g(" field"); g(i); gl(";");
178 gl("); return 0; }");
180 gl("); }");
250 gl("); return 0; }");
252 gl("); }");
257 gl("public:");
258 gl(" void calc(char *t) {");
261 g(" mix(\"type num\", "); g(s); gl(");");
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DDrawableBitmap.java67 * @param gl A pointer to the OpenGL context.
71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { argument
72 gl.glShadeModel(GL10.GL_FLAT);
73 gl.glEnable(GL10.GL_BLEND);
74 gl.glBlendFunc(GL10.GL_ONE, GL10.GL_ONE_MINUS_SRC_ALPHA);
75 gl.glColor4x(0x10000, 0x10000, 0x10000, 0x10000);
77 gl.glMatrixMode(GL10.GL_PROJECTION);
78 gl.glPushMatrix();
79 gl.glLoadIdentity();
80 gl
153 endDrawing(GL10 gl) argument
[all...]
H A DGameRenderer.java80 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
85 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_FASTEST);
87 gl.glClearColor(0.0f, 0.0f, 0.0f, 1);
88 gl.glShadeModel(GL10.GL_FLAT);
89 gl.glDisable(GL10.GL_DEPTH_TEST);
90 gl.glEnable(GL10.GL_TEXTURE_2D);
96 gl.glDisable(GL10.GL_DITHER);
97 gl.glDisable(GL10.GL_LIGHTING);
99 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE, GL10.GL_MODULATE);
101 gl
142 loadTextures(GL10 gl, TextureLibrary library) argument
149 flushTextures(GL10 gl, TextureLibrary library) argument
156 loadBuffers(GL10 gl, BufferLibrary library) argument
163 flushBuffers(GL10 gl, BufferLibrary library) argument
179 onDrawFrame(GL10 gl) argument
266 onSurfaceChanged(GL10 gl, int w, int h) argument
[all...]
H A DOpenGLSystem.java39 public OpenGLSystem(GL10 gl) { argument
40 sGL = gl;
43 public static final void setGL(GL10 gl) { argument
44 sGL = gl;
H A DTextureLibrary.java82 public Texture loadTexture(Context context, GL10 gl, int resourceID) { argument
84 texture = loadBitmap(context, gl, texture);
89 public void loadAll(Context context, GL10 gl) { argument
92 loadBitmap(context, gl, mTextureHash[x]);
98 public void deleteAll(GL10 gl) { argument
105 gl.glDeleteTextures(1, mTextureNameWorkspace, 0);
106 int error = gl.glGetError();
127 protected Texture loadBitmap(Context context, GL10 gl, Texture texture) { argument
128 assert gl != null;
132 gl
[all...]
H A DGrid.java205 public static void beginDrawing(GL10 gl, boolean useTexture) { argument
206 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
209 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
210 gl.glEnable(GL10.GL_TEXTURE_2D);
212 gl.glDisableClientState(GL10.GL_TEXTURE_COORD_ARRAY);
213 gl.glDisable(GL10.GL_TEXTURE_2D);
217 public void beginDrawingStrips(GL10 gl, boolean useTexture) { argument
218 beginDrawing(gl, useTexture);
220 gl.glVertexPointer(3, mCoordinateType, 0, mVertexBuffer);
223 gl
240 drawStrip(GL10 gl, boolean useTexture, int startIndex, int indexCount) argument
256 draw(GL10 gl, boolean useTexture) argument
286 endDrawing(GL10 gl) argument
309 releaseHardwareBuffers(GL10 gl) argument
335 generateHardwareBuffers(GL10 gl) argument
[all...]
H A DBufferLibrary.java44 public void generateHardwareBuffers(GL10 gl) { argument
49 grid.generateHardwareBuffers(gl);
54 public void releaseHardwareBuffers(GL10 gl) { argument
59 grid.releaseHardwareBuffers(gl);
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A Dmain.cpp34 gl::Current *current = (gl::Current*)LocalAlloc(LPTR, sizeof(gl::Current));
74 namespace gl namespace
114 gl::Context *context = glGetCurrentContext();
122 gl::trace("\t! Error generated: invalid enum\n");
126 gl::trace("\t! Error generated: invalid value\n");
130 gl::trace("\t! Error generated: invalid operation\n");
134 gl::trace("\t! Error generated: out of memory\n");
138 gl
[all...]
H A DlibGLESv2.cpp39 if (texture < GL_TEXTURE0 || texture > GL_TEXTURE0 + gl::MAX_TEXTURE_IMAGE_UNITS - 1)
44 gl::Context *context = gl::getContext();
63 gl::Context *context = gl::getContext();
67 gl::Program *programObject = context->getProgram(program);
68 gl::Shader *shaderObject = context->getShader(shader);
112 if (index >= gl::MAX_VERTEX_ATTRIBS)
117 gl::Context *context = gl
[all...]
/external/skia/bench/
H A DBenchTimer.cpp21 BenchTimer::BenchTimer(SkGLContext* gl) argument
27 if (gl) {
28 fGpuTimer = new BenchGpuTimer(gl);
H A DBenchGpuTimer_gl.cpp9 #include "gl/SkGLContext.h"
16 fSupported = GrGLGetVersion(glctx->gl()) > GR_GL_VER(3,3) ||
17 GrGLHasExtension(glctx->gl(), "GL_ARB_timer_query") ||
18 GrGLHasExtension(glctx->gl(), "GL_EXT_timer_query");
H A DBenchTimer.h26 BenchTimer(SkGLContext* gl = NULL);
/external/webkit/Source/ThirdParty/ANGLE/src/common/
H A Ddebug.h15 namespace gl namespace
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__)
H A Ddebug.cpp20 namespace gl namespace
/external/elfutils/tests/
H A Dget-pubnames.c40 callback (Dwarf *dbg, Dwarf_Global *gl, void *arg __attribute__ ((unused))) argument
45 globcnt++, gl->name, (unsigned long long int) gl->die_offset,
46 (unsigned long long int) gl->cu_offset);
50 if (dwarf_offdie (dbg, gl->cu_offset, &cu_die) == NULL
61 if (dwarf_offdie (dbg, gl->die_offset, &die) == NULL
/external/skia/include/gpu/gl/
H A DGrGLConfig.h73 * a function pointer that is called just before every gl function. The ptr must
212 extern void GrGLCheckErr(const GrGLInterface* gl,
216 extern void GrGLClearErr(const GrGLInterface* gl);
276 #define GR_GL_GetIntegerv(gl, e, p) \
279 GR_GL_CALL(gl, GetIntegerv(e, p)); \
282 #define GR_GL_GetFramebufferAttachmentParameteriv(gl, t, a, pname, p) \
285 GR_GL_CALL(gl, GetFramebufferAttachmentParameteriv(t, a, pname, p)); \
288 #define GR_GL_GetRenderbufferParameteriv(gl, t, pname, p) \
291 GR_GL_CALL(gl, GetRenderbufferParameteriv(t, pname, p)); \
294 #define GR_GL_GetTexLevelParameteriv(gl,
[all...]
H A DSkGLContext.h31 const GrGLInterface* gl() const { return fGL; } function in class:SkGLContext
61 #define SK_GL(ctx, X) (ctx).gl()->f ## X
/external/elfutils/libdw/
H A 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/QW/client/
H A Dgl_draw.c193 glpic_t *gl; local
196 gl = (glpic_t *)p->data;
212 gl->texnum = texnum;
213 gl->sl = (x+0.01)/(float)BLOCK_WIDTH;
214 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
215 gl->tl = (y+0.01)/(float)BLOCK_WIDTH;
216 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH;
223 gl->texnum = GL_LoadPicTexture (p);
224 gl->sl = 0;
225 gl
243 glpic_t *gl; local
381 glpic_t *gl; local
623 glpic_t *gl; local
653 glpic_t *gl; local
685 glpic_t *gl; local
[all...]

Completed in 484 milliseconds

12345