Searched refs:fbo (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
H A DFboCache.cpp35 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 DFboCache.h50 * @param fbo The FBO to add to the cache.
54 bool put(GLuint fbo);
H A DLayer.cpp45 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 DLayerRenderer.cpp48 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 DLayer.h153 inline void setFbo(GLuint fbo) { argument
154 this->fbo = fbo;
158 return fbo;
299 GLuint fbo; member in struct:android::uirenderer::Layer
H A DSnapshot.h155 GLuint fbo; member in class:android::uirenderer::Snapshot
H A DSnapshot.cpp30 Snapshot::Snapshot(): flags(0), previous(NULL), layer(NULL), fbo(0),
44 flags(0), previous(s), layer(s->layer), fbo(s->fbo),
H A DOpenGLRenderer.cpp199 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 DrsdFrameBuffer.cpp33 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 DGLES20RenderEngine.cpp231 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 DGLES20RenderEngine.h47 GLuint fbo; member in struct:android::GLES20RenderEngine::Group
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java106 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 Dshader_program.cpp488 int fbo, program, buffer; local
489 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo);
492 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer);

Completed in 817 milliseconds