/frameworks/base/libs/hwui/ |
H A D | FboCache.cpp | 35 INIT_LOGD(" Setting fbo cache size to %s", property); 38 INIT_LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE); 64 const GLuint fbo = mCache.itemAt(i); local 65 glDeleteFramebuffers(1, &fbo); 71 GLuint fbo; local 73 fbo = mCache.itemAt(mCache.size() - 1); 76 glGenFramebuffers(1, &fbo); 78 return fbo; 81 bool FboCache::put(GLuint fbo) { argument 83 mCache.add(fbo); [all...] |
H A D | FboCache.h | 50 * @param fbo The FBO to add to the cache. 54 bool put(GLuint fbo);
|
H A D | Layer.cpp | 45 fbo = 0; 90 if (fbo) { 118 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, fbo); 120 if (fbo != previousFbo) glBindFramebuffer(GL_FRAMEBUFFER, previousFbo); 126 if (fbo) { 129 caches.fboCache.put(fbo); 130 fbo = 0;
|
H A D | LayerRenderer.cpp | 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 89 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 191 GLuint fbo = caches.fboCache.get(); local 192 if (!fbo) { 219 layer->setFbo(fbo); 242 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height); 259 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height); 315 LAYER_RENDERER_LOGD("Recycling layer, %dx%d fbo = %d", 334 LAYER_RENDERER_LOGD("Deferring layer destruction, fbo 342 GLuint fbo = layer->getFbo(); local 365 GLuint fbo = caches.fboCache.get(); local [all...] |
H A D | Layer.h | 153 inline void setFbo(GLuint fbo) { argument 154 this->fbo = fbo; 158 return fbo; 299 GLuint fbo; member in struct:android::uirenderer::Layer
|
H A D | Snapshot.h | 155 GLuint fbo; member in class:android::uirenderer::Snapshot
|
H A D | Snapshot.cpp | 30 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0), 44 flags(0), previous(s), layer(s->layer), fbo(s->fbo),
|
H A D | OpenGLRenderer.cpp | 199 mSnapshot->fbo = getTargetFbo(); 242 if (mSnapshot->fbo == 0) { 374 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo); 396 glBindFramebuffer(GL_FRAMEBUFFER, snapshot->fbo); 782 const GLuint previousFbo = mSnapshot->fbo; 838 const GLuint previousFbo = mSnapshot->fbo; 984 mSnapshot->fbo = layer->getFbo(); 1049 glBindFramebuffer(GL_FRAMEBUFFER, previous->fbo); 1170 * Issues the command X, and if we're composing a save layer to the fbo or drawing a newly updated
|
/frameworks/rs/driver/ |
H A D | rsdFrameBuffer.cpp | 33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; local 44 fbo->setDepthTarget(depth); 48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; local 60 fbo->setColorTarget(color, i); 65 RsdFrameBufferObj *fbo = new RsdFrameBufferObj(); local 66 if (fbo == NULL) { 69 fb->mHal.drv = fbo; 72 dc->gl.currentFrameBuffer = fbo; 81 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local 83 fbo 94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES20RenderEngine.cpp | 231 group.fbo = name; 245 GLuint fbo = 0; local 247 fbo = mGroupStack.top().fbo; 249 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 279 // free our fbo and texture 280 glDeleteFramebuffers(1, &group.fbo);
|
H A D | GLES20RenderEngine.h | 47 GLuint fbo; member in struct:android::GLES20RenderEngine::Group
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | RenderTarget.java | 106 int fbo = GLToolbox.generateFbo(); 107 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, fbo); 115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); 348 private RenderTarget(EGLDisplay display, EGLContext context, EGLSurface surface, int fbo, argument 354 mFbo = fbo;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 488 int fbo, program, buffer; local 489 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); 492 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer);
|