Searched defs:gl (Results 1 - 25 of 370) sorted by last modified time

1234567891011>>

/external/skia/src/gpu/gl/
H A DGrGLIRect.h13 #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 DGrGLSL.cpp12 bool GrGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation) { argument
14 GrGLSLVersion ver = GrGLGetGLSLVersion(gl);
18 switch (gl->fStandard) {
H A DGrGLStencilBuffer.cpp27 const GrGLInterface* gl = gpuGL->glInterface(); local
28 GR_GL_CALL(gl, DeleteRenderbuffers(1, &fRenderbufferID));
H A DGrGLTexture.h22 GrGLTexID(const GrGLInterface* gl, GrGLuint texID, bool isWrapped) argument
23 : fGL(gl)
H A DGrGLUtil.cpp13 void GrGLClearErr(const GrGLInterface* gl) { argument
14 while (GR_GL_NO_ERROR != gl->fFunctions.fGetError()) {}
37 void GrGLCheckErr(const GrGLInterface* gl, argument
40 uint32_t err = GR_GL_GET_ERROR(gl);
237 GrGLVersion GrGLGetVersion(const GrGLInterface* gl) { argument
239 GR_GL_CALL_RET(gl, v, GetString(GR_GL_VERSION));
243 GrGLSLVersion GrGLGetGLSLVersion(const GrGLInterface* gl) { argument
245 GR_GL_CALL_RET(gl, v, GetString(GR_GL_SHADING_LANGUAGE_VERSION));
249 GrGLVendor GrGLGetVendor(const GrGLInterface* gl) { argument
251 GR_GL_CALL_RET(gl,
255 GrGLGetRenderer(const GrGLInterface* gl) argument
[all...]
H A DGrGpuGL.cpp261 // currently part of our gl interface. There are probably others as
1144 void inline get_stencil_rb_sizes(const GrGLInterface* gl, argument
1151 GR_GL_GetRenderbufferParameteriv(gl, GR_GL_RENDERBUFFER,
1155 GR_GL_GetRenderbufferParameteriv(gl, GR_GL_RENDERBUFFER,
1771 #include <gl/GL.h>
2090 void set_gl_stencil(const GrGLInterface* gl, argument
2105 GR_GL_CALL(gl, StencilFunc(glFunc, ref, mask));
2106 GR_GL_CALL(gl, StencilMask(writeMask));
2107 GR_GL_CALL(gl, StencilOp(glFailOp, glPassOp, glPassOp));
2109 GR_GL_CALL(gl, StencilFuncSeparat
2786 bind_surface_as_fbo(const GrGLInterface* gl, GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport) argument
[all...]
/external/skia/tools/timer/
H A DTimer.cpp9 Timer::Timer(SkGLContextHelper* gl) argument
16 , fGpuTimer(gl)
/external/skia/include/gpu/gl/
H A DSkGLContextHelper.h32 const GrGLInterface* gl() const { return fGL; } function in class:SkGLContextHelper
80 #define SK_GL(ctx, X) (ctx).gl()->fFunctions.f ## X; \
81 SkASSERT(GR_GL_NO_ERROR == (ctx).gl()->fFunctions.fGetError())
82 #define SK_GL_RET(ctx, RET, X) (RET) = (ctx).gl()->fFunctions.f ## X; \
83 SkASSERT(GR_GL_NO_ERROR == (ctx).gl()->fFunctions.fGetError())
84 #define SK_GL_NOERRCHECK(ctx, X) (ctx).gl()->fFunctions.f ## X
85 #define SK_GL_RET_NOERRCHECK(ctx, RET, X) (RET) = (ctx).gl()->fFunctions.f ## X
/external/skia/platform_tools/android/app/src/com/skia/
H A DSkiaSampleRenderer.java29 public void onDrawFrame(GL10 gl) { argument
34 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
39 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
40 if (gl instanceof GL11) {
42 ((GL11) gl).glGetIntegerv(GL11.GL_SAMPLES, value, 0);
50 gl.glClearStencil(0);
51 gl.glClear(GL10.GL_STENCIL_BUFFER_BIT);
/external/replicaisland/src/com/replica/replicaisland/
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);
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 DGLErrorLogger.java34 public GL wrap(GL gl) { argument
35 return new ErrorLoggingGL(gl);
41 public ErrorLoggingGL(GL gl) { argument
42 mGL = gl;
H A DGLSurfaceView.java561 * GL wrap(GL gl) {
562 * return new MyGLImplementation(gl);
573 * Wraps a gl interface in another gl interface.
574 * @param gl a GL interface that is to be wrapped.
577 GL wrap(GL gl); argument
629 * @param gl the GL interface. Use <code>instanceof</code> to
634 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
645 * void onSurfaceChanged(GL10 gl, int width, int height) {
646 * gl
659 onSurfaceChanged(GL10 gl, int width, int height) argument
683 onDrawFrame(GL10 gl) argument
685 loadTextures(GL10 gl, TextureLibrary library) argument
686 flushTextures(GL10 gl, TextureLibrary library) argument
687 loadBuffers(GL10 gl, BufferLibrary library) argument
688 flushBuffers(GL10 gl, BufferLibrary library) argument
1621 checkGLDriver(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 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 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...]
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dprobe-finder.c1047 static int pubname_search_cb(Dwarf *dbg, Dwarf_Global *gl, void *data) argument
1051 if (dwarf_offdie(dbg, gl->die_offset, param->sp_die)) {
1056 if (!dwarf_offdie(dbg, gl->cu_offset, param->cu_die))
/external/iptables/iptables/
H A Dxshared.c114 struct xtables_globals *gl)
157 gl->opts = xtables_options_xfrm(gl->orig_opts,
158 gl->opts,
162 gl->opts = xtables_merge_options(gl->orig_opts,
163 gl->opts,
166 if (gl->opts == NULL)
113 command_default(struct iptables_command_state *cs, struct xtables_globals *gl) argument
/external/icu/icu4c/source/test/intltest/
H A Dtranstst.cpp768 Transliterator *gl = Transliterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_FORWARD, parseError, status); local
769 if (gl == NULL) {
786 expect(*gl, syn, "syn");
791 expect(*gl, sayn, "saun");
825 gl->transliterate(out);
841 delete gl;
/external/elfutils/0.153/libdw/
H A Ddwarf_getpubnames.c210 Dwarf_Global gl; local
212 gl.cu_offset = (dbg->pubnames_sets[cnt].cu_offset
219 gl.die_offset = read_4ubyte_unaligned_inc (dbg, readp);
221 gl.die_offset = read_8ubyte_unaligned_inc (dbg, readp);
224 if (gl.die_offset == 0)
228 gl.die_offset += dbg->pubnames_sets[cnt].cu_offset;
230 gl.name = (char *) readp;
231 readp = (unsigned char *) rawmemchr (gl.name, '\0') + 1;
234 if (callback (dbg, &gl, arg) != DWARF_CB_OK)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/deqp/modules/gles3/functional/
H A Des3fPolygonOffsetTests.cpp185 void verifyError (tcu::TestContext& testCtx, const glw::Functions& gl, GLenum expected) argument
187 deUint32 got = gl.getError();
298 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
306 gl.genRenderbuffers(1, &colorRboId);
307 gl.bindRenderbuffer(GL_RENDERBUFFER, colorRboId);
308 gl.renderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, m_targetSize, m_targetSize);
309 verifyError(m_testCtx, gl, GL_NO_ERROR);
311 gl.genRenderbuffers(1, &depthRboId);
312 gl.bindRenderbuffer(GL_RENDERBUFFER, depthRboId);
313 gl
370 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
498 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
617 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
767 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
880 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
997 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
1119 const glw::Functions& gl = m_context.getRenderContext().getFunctions(); local
[all...]

Completed in 276 milliseconds

1234567891011>>