/frameworks/rs/driver/ |
D | rsdGL.cpp | 136 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug() 137 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug() 138 dc->gl.egl.display); in DumpDebug() 139 ALOGE(" GL vendor: %s", dc->gl.gl.vendor); in DumpDebug() 140 ALOGE(" GL renderer: %s", dc->gl.gl.renderer); in DumpDebug() 141 ALOGE(" GL Version: %s", dc->gl.gl.version); in DumpDebug() 142 ALOGE(" GL Extensions: %s", dc->gl.gl.extensions); in DumpDebug() 143 ALOGE(" GL int Versions %i %i", dc->gl.gl.majorVersion, dc->gl.gl.minorVersion); in DumpDebug() 145 ALOGV("MAX Textures %i, %i %i", dc->gl.gl.maxVertexTextureUnits, in DumpDebug() 146 dc->gl.gl.maxFragmentTextureImageUnits, dc->gl.gl.maxTextureImageUnits); in DumpDebug() [all …]
|
D | rsdFrameBufferObj.cpp | 132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive() 133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive() 151 if(dc->gl.wndSurface != dc->gl.currentWndSurface) { in setActive() 152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface); in setActive()
|
D | rsdProgram.cpp | 64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 77 dc->gl.shaderCache->cleanupVertex(drv); in rsdProgramVertexDestroy() 98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive() 111 dc->gl.shaderCache->cleanupFragment(drv); in rsdProgramFragmentDestroy()
|
D | rsdShader.cpp | 414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler() 416 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) { in setupSampler() 417 if (dc->gl.gl.NV_texture_npot_2D_mipmap) { in setupSampler() 453 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler() 454 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) { in setupSampler() 469 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits; in setupTextures()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | CubeRenderer.java | 44 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 51 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 57 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 58 gl.glLoadIdentity(); in onDrawFrame() 59 gl.glTranslatef(0, 0, -3.0f); in onDrawFrame() 60 gl.glRotatef(mAngle, 0, 1, 0); in onDrawFrame() 61 gl.glRotatef(mAngle*0.25f, 1, 0, 0); in onDrawFrame() 63 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in onDrawFrame() 64 gl.glEnableClientState(GL10.GL_COLOR_ARRAY); in onDrawFrame() 66 gl.glScalef(mScale, mScale, mScale); in onDrawFrame() [all …]
|
D | Cube.java | 89 public void draw(GL10 gl) in draw() argument 91 gl.glFrontFace(GL10.GL_CW); in draw() 92 gl.glVertexPointer(3, GL10.GL_FIXED, 0, mVertexBuffer); in draw() 93 gl.glColorPointer(4, GL10.GL_FIXED, 0, mColorBuffer); in draw() 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw()
|
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/ |
D | ClearActivity.java | 70 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 74 public void onSurfaceChanged(GL10 gl, int w, int h) { in onSurfaceChanged() argument 76 gl.glMatrixMode(GL10.GL_PROJECTION); in onSurfaceChanged() 77 gl.glLoadIdentity(); in onSurfaceChanged() 86 gl.glFrustumf(fl, fr, fb, ft, 1.0f, 2000.0f); in onSurfaceChanged() 89 gl.glMatrixMode(GL10.GL_MODELVIEW); in onSurfaceChanged() 90 gl.glLoadIdentity(); in onSurfaceChanged() 91 gl.glViewport(0, 0, w, h); in onSurfaceChanged() 94 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 95 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() [all …]
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
D | TriangleRenderer.java | 37 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument 43 gl.glDisable(GL10.GL_DITHER); in onSurfaceCreated() 49 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT, in onSurfaceCreated() 52 gl.glClearColor(.5f, .5f, .5f, 1); in onSurfaceCreated() 53 gl.glShadeModel(GL10.GL_SMOOTH); in onSurfaceCreated() 56 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 62 gl.glDisable(GL10.GL_DITHER); in onDrawFrame() 70 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); in onDrawFrame() 76 gl.glMatrixMode(GL10.GL_MODELVIEW); in onDrawFrame() 77 gl.glLoadIdentity(); in onDrawFrame() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLWrapperBase.java | 32 public GLWrapperBase(GL gl) { in GLWrapperBase() argument 33 mgl = (GL10) gl; in GLWrapperBase() 34 if (gl instanceof GL10Ext) { in GLWrapperBase() 35 mgl10Ext = (GL10Ext) gl; in GLWrapperBase() 37 if (gl instanceof GL11) { in GLWrapperBase() 38 mgl11 = (GL11) gl; in GLWrapperBase() 40 if (gl instanceof GL11Ext) { in GLWrapperBase() 41 mgl11Ext = (GL11Ext) gl; in GLWrapperBase() 43 if (gl instanceof GL11ExtensionPack) { in GLWrapperBase() 44 mgl11ExtensionPack = (GL11ExtensionPack) gl; in GLWrapperBase()
|
D | GLDebugHelper.java | 79 public static GL wrap(GL gl, int configFlags, Writer log) { in wrap() argument 81 gl = new GLErrorWrapper(gl, configFlags); in wrap() 86 gl = new GLLogWrapper(gl, log, logArgumentNames); in wrap() 88 return gl; in wrap()
|
D | GLU.java | 71 public static void gluLookAt(GL10 gl, float eyeX, float eyeY, float eyeZ, in gluLookAt() argument 79 gl.glMultMatrixf(scratch, 0); in gluLookAt() 92 public static void gluOrtho2D(GL10 gl, float left, float right, in gluOrtho2D() argument 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); in gluOrtho2D() 111 public static void gluPerspective(GL10 gl, float fovy, float aspect, in gluPerspective() argument 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); in gluPerspective()
|
D | GLSurfaceView.java | 644 GL wrap(GL gl); in wrap() argument 708 void onSurfaceCreated(GL10 gl, EGLConfig config); in onSurfaceCreated() argument 733 void onSurfaceChanged(GL10 gl, int width, int height); in onSurfaceChanged() argument 750 void onDrawFrame(GL10 gl); in onDrawFrame() argument 1113 GL gl = mEglContext.getGL(); in createGL() local 1117 gl = view.mGLWrapper.wrap(gl); in createGL() 1129 gl = GLDebugHelper.wrap(gl, configFlags, log); in createGL() 1132 return gl; in createGL() 1275 GL10 gl = null; in guardedRun() local 1489 gl = (GL10) mEglHelper.createGL(); in guardedRun() [all …]
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestView.java | 186 public void createBufferObjects(GL gl) { in createBufferObjects() argument 189 GL11 gl11 = (GL11) gl; in createBufferObjects() 209 public void draw(GL10 gl) { in draw() argument 210 GL11 gl11 = (GL11) gl; in draw() 212 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in draw() 219 gl.glDisableClientState(GL10.GL_VERTEX_ARRAY); in draw() 230 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 231 gl.glClearColor(0,0,1,1); in onDrawFrame() 232 gl.glClear(GL10.GL_COLOR_BUFFER_BIT); in onDrawFrame() 233 mGrid.draw(gl); in onDrawFrame() [all …]
|
/frameworks/native/opengl/libagl/ |
D | BufferObjectManager.h | 40 namespace gl { 62 gl::buffer_t const* bind(GLuint buffer); 63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage); 69 KeyedVector<GLuint, gl::buffer_t*> mBuffers;
|
D | egl.cpp | 68 namespace gl { namespace 132 ogles_context_t* const gl = static_cast<ogles_context_t*>(ctx); in context() local 133 return static_cast<egl_context_t*>(gl->rasterizer.base); in context() 157 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl) = 0; 158 virtual EGLBoolean bindReadSurface(ogles_context_t* gl) = 0; 227 virtual EGLBoolean bindDrawSurface(ogles_context_t* gl); 228 virtual EGLBoolean bindReadSurface(ogles_context_t* gl); 584 EGLBoolean egl_window_surface_v2_t::bindDrawSurface(ogles_context_t* gl) in bindDrawSurface() argument 593 gl->rasterizer.procs.colorBuffer(gl, &buffer); in bindDrawSurface() 594 if (depth.data != gl->rasterizer.state.buffers.depth.data) in bindDrawSurface() [all …]
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 57 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 89 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 98 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 129 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
|
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestView.java | 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
D | GLJNIView.java | 71 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 75 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | supports-gl-texture-element.jd | 1 page.title=<supports-gl-texture> 17 Google Play uses <code><supports-gl-texture></code> elements as 28 <supports-gl-texture 46 <p>Each <code><supports-gl-texture></code> element declares exactly one 50 <code><supports-gl-texture></code> elements. For example:</p> 52 <pre><supports-gl-texture android:name="GL_OES_compressed_ETC1_RGB8_texture" /> 53 <supports-gl-texture android:name="GL_OES_compressed_paletted_texture" /></pre> 55 <p>Declared <code><supports-gl-texture></code> elements are informational, 59 <code><supports-gl-texture></code> declarations as part of handling or 70 filtering based on the <code><supports-gl-texture></code> element is activated [all …]
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_api.cpp | 48 glContext->hooks->gl.glActiveTexture(texture); in GLTrace_glActiveTexture() 82 glContext->hooks->gl.glAttachShader(program, shader); in GLTrace_glAttachShader() 122 glContext->hooks->gl.glBindAttribLocation(program, index, name); in GLTrace_glBindAttribLocation() 157 glContext->hooks->gl.glBindBuffer(target, buffer); in GLTrace_glBindBuffer() 191 glContext->hooks->gl.glBindFramebuffer(target, framebuffer); in GLTrace_glBindFramebuffer() 225 glContext->hooks->gl.glBindRenderbuffer(target, renderbuffer); in GLTrace_glBindRenderbuffer() 259 glContext->hooks->gl.glBindTexture(target, texture); in GLTrace_glBindTexture() 305 glContext->hooks->gl.glBlendColor(red, green, blue, alpha); in GLTrace_glBlendColor() 333 glContext->hooks->gl.glBlendEquation(mode); in GLTrace_glBlendEquation() 367 glContext->hooks->gl.glBlendEquationSeparate(modeRGB, modeAlpha); in GLTrace_glBlendEquationSeparate() [all …]
|
D | gltrace_context.cpp | 176 hooks->gl.glGetIntegerv(GL_VIEWPORT, viewport); in getCompressedFB() 185 hooks->gl.glGetIntegerv(GL_FRAMEBUFFER_BINDING, ¤tFb); in getCompressedFB() 188 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, 0); in getCompressedFB() 193 hooks->gl.glReadPixels(viewport[0], viewport[1], viewport[2], viewport[3], in getCompressedFB() 198 hooks->gl.glBindFramebuffer(GL_FRAMEBUFFER, currentFb); in getCompressedFB()
|
/frameworks/native/opengl/libs/tools/ |
D | genfiles | 21 ./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in 28 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in 51 cat ../../include/GLES/gl.h \
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLId.java | 28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); in glDeleteTextures() argument 30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); in glDeleteBuffers() argument
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 72 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument 83 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument 87 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl.cpp | 109 [api] "J"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 141 [API] "I"(__builtin_offsetof(gl_hooks_t, gl._api)) \ 150 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; \ 178 gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl; in glGetString()
|