Home
last modified time | relevance | path

Searched refs:mGL (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/
DFireflyRenderer.java163 GL10 mGL; field in FireflyRenderer.FireflyRenderThread
179 mGL.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); in run()
181 mGL.glViewport(0, 0, mDisplayWidth, mDisplayHeight); in run()
184 mGL.glMatrixMode(GL10.GL_PROJECTION); in run()
185 mGL.glLoadIdentity(); in run()
186mGL.glFrustumf(-mDisplayWidth, mDisplayWidth, mDisplayHeight, -mDisplayHeight, NEAR_CLIPPING_PLANE… in run()
189 mGL.glMatrixMode(GL10.GL_MODELVIEW); in run()
190 mGL.glLoadIdentity(); in run()
192 mGL.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, GL10.GL_NICEST); in run()
193 mGL.glDepthMask(true); in run()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvasImpl.java50 private final GL11 mGL; field in GLCanvasImpl
90 mGL = gl; in GLCanvasImpl()
105 GL11 gl = mGL; in setSize()
145 GL11 gl = mGL; in initialize()
175 GL11 gl = mGL; in drawRect()
193 GL11 gl = mGL; in drawLine()
212 GL11 gl = mGL; in fillRect()
264 GL11 gl = mGL; in textureRect()
294 mGL.glLoadMatrixf(mMatrixValues, 0); in drawMesh()
296 mGL.glBindBuffer(GL11.GL_ARRAY_BUFFER, xyBuffer); in drawMesh()
[all …]
DGLRootView.java76 private GL11 mGL; field in GLRootView
279 if (mGL != null) { in onSurfaceCreated()
281 Log.i(TAG, "GLObject has changed from " + mGL + " to " + gl); in onSurfaceCreated()
285 mGL = gl; in onSurfaceCreated()
315 Utils.assertTrue(mGL == gl); in onSurfaceChanged()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasMock.java33 private GL11 mGL; field in GLCanvasMock
36 mGL = gl; in GLCanvasMock()
40 mGL = new GLStub(); in GLCanvasMock()
45 return mGL; in getGLInstance()