/frameworks/rs/driver/ |
D | rsdFrameBuffer.cpp | 33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment() local 44 fbo->setDepthTarget(depth); in setDepthAttachment() 48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment() local 60 fbo->setColorTarget(color, i); in setColorAttachment() 65 RsdFrameBufferObj *fbo = new RsdFrameBufferObj(); in rsdFrameBufferInit() local 66 if (fbo == NULL) { in rsdFrameBufferInit() 69 fb->mHal.drv = fbo; in rsdFrameBufferInit() 72 dc->gl.currentFrameBuffer = fbo; in rsdFrameBufferInit() 81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; in rsdFrameBufferSetActive() local 83 fbo->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX(), in rsdFrameBufferSetActive() [all …]
|
/frameworks/base/libs/hwui/ |
D | FboCache.cpp | 64 const GLuint fbo = mCache.itemAt(i); in clear() local 65 glDeleteFramebuffers(1, &fbo); in clear() 71 GLuint fbo; in get() local 73 fbo = mCache.itemAt(mCache.size() - 1); in get() 76 glGenFramebuffers(1, &fbo); in get() 78 return fbo; in get() 81 bool FboCache::put(GLuint fbo) { in put() argument 83 mCache.add(fbo); in put() 87 glDeleteFramebuffers(1, &fbo); in put()
|
D | LayerRenderer.cpp | 192 GLuint fbo = caches.fboCache.get(); in createRenderLayer() local 193 if (!fbo) { in createRenderLayer() 220 layer->setFbo(fbo); in createRenderLayer() 241 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height); in createRenderLayer() 343 GLuint fbo = layer->getFbo(); in flushLayer() local 344 if (fbo) { in flushLayer() 349 if (fbo != previousFbo) { in flushLayer() 350 renderState.bindFramebuffer(fbo); in flushLayer() 356 if (fbo != previousFbo) { in flushLayer() 369 GLuint fbo = caches.fboCache.get(); in copyLayer() local [all …]
|
D | Layer.cpp | 49 fbo = 0; in Layer() 127 if (fbo) { in resize() 154 renderState.bindFramebuffer(fbo); in removeFbo() 162 if (fbo) { in removeFbo() 165 caches.fboCache.put(fbo); in removeFbo() 166 fbo = 0; in removeFbo()
|
D | Layer.h | 179 inline void setFbo(GLuint fbo) { in setFbo() argument 180 this->fbo = fbo; in setFbo() 184 return fbo; in getFbo() 335 GLuint fbo; variable
|
D | RenderState.cpp | 87 void RenderState::bindFramebuffer(GLuint fbo) { in bindFramebuffer() argument 88 if (mFramebuffer != fbo) { in bindFramebuffer() 89 mFramebuffer = fbo; in bindFramebuffer()
|
D | FboCache.h | 54 bool put(GLuint fbo);
|
D | Snapshot.cpp | 34 , fbo(0) in Snapshot() 53 , fbo(s->fbo) in Snapshot()
|
D | RenderState.h | 48 void bindFramebuffer(GLuint fbo);
|
D | Snapshot.h | 208 GLuint fbo; variable
|
D | StatefulBaseRenderer.cpp | 42 mSnapshot->fbo = getTargetFbo(); in initializeSaveStack()
|
D | OpenGLRenderer.cpp | 229 if (currentSnapshot()->fbo == 0) { in prepareDirty() 344 mRenderState.bindFramebuffer(currentSnapshot()->fbo); in resumeAfterLayer() 852 mSnapshot->fbo = layer->getFbo(); in createFboLayer() 916 mRenderState.bindFramebuffer(restored.fbo); in composeLayer()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 265 group.fbo = name; in beginGroup() 279 GLuint fbo = 0; in endGroup() local 281 fbo = mGroupStack.top().fbo; in endGroup() 283 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in endGroup() 314 glDeleteFramebuffers(1, &group.fbo); in endGroup()
|
D | GLES20RenderEngine.h | 48 GLuint fbo; member
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | RenderTarget.java | 106 int fbo = GLToolbox.generateFbo(); in forTexture() local 107 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, fbo); in forTexture() 115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); in forTexture() 348 private RenderTarget(EGLDisplay display, EGLContext context, EGLSurface surface, int fbo, in RenderTarget() argument 354 mFbo = fbo; in RenderTarget()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.cpp | 488 int fbo, program, buffer; in RenderFrame() local 489 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); in RenderFrame() 492 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer); in RenderFrame()
|