/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 | 59 fbo = 0; 75 if (stencil || fbo || texture.id) { 139 if (fbo) { 166 renderState.bindFramebuffer(fbo); 174 if (fbo) { 177 caches.fboCache.put(fbo); 178 fbo = 0;
|
H A D | RenderState.cpp | 74 ALOGE("Layer %p, state %d, texlayer %d, fbo %d, buildlayered %d", 96 void RenderState::bindFramebuffer(GLuint fbo) { argument 97 if (mFramebuffer != fbo) { 98 mFramebuffer = fbo;
|
H A D | LayerRenderer.cpp | 49 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 90 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 193 GLuint fbo = caches.fboCache.get(); local 194 if (!fbo) { 221 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", 336 GLuint fbo 362 GLuint fbo = caches.fboCache.get(); local [all...] |
H A D | Layer.h | 179 inline void setFbo(GLuint fbo) { argument 180 this->fbo = fbo; 184 return fbo; 347 GLuint fbo; member in class:android::uirenderer::Layer
|
H A D | RenderState.h | 49 void bindFramebuffer(GLuint fbo);
|
H A D | Snapshot.cpp | 34 , fbo(0) 53 , fbo(s->fbo)
|
H A D | Snapshot.h | 208 GLuint fbo; member in class:android::uirenderer::Snapshot
|
H A D | StatefulBaseRenderer.cpp | 42 mSnapshot->fbo = getTargetFbo();
|
H A D | OpenGLRenderer.cpp | 229 if (currentSnapshot()->fbo == 0) { 345 mRenderState.bindFramebuffer(currentSnapshot()->fbo); 812 mSnapshot->fbo = layer->getFbo(); 876 mRenderState.bindFramebuffer(restored.fbo); 1011 * 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 | 265 group.fbo = name; 279 GLuint fbo = 0; local 281 fbo = mGroupStack.top().fbo; 283 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 313 // free our fbo and texture 314 glDeleteFramebuffers(1, &group.fbo);
|
H A D | GLES20RenderEngine.h | 48 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);
|