/frameworks/base/libs/hwui/ |
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) { 83 mCache.add(fbo); [all...] |
FboCache.h | 37 * Returns an FBO from the cache. If no FBO is available, a new one 38 * is created. If creating a new FBO fails, 0 is returned. 40 * When an FBO is obtained from the cache, it is removed and the 43 * @return The name of the FBO, or 0 if no FBO can be obtained. 48 * Adds the specified FBO to the cache. 50 * @param fbo The FBO to add to the cache. 52 * @return True if the FBO was added, false otherwise [all...] |
RenderState.cpp | 67 ALOGE("Layer %p, state %d, texlayer %d, fbo %d, buildlayered %d", 87 void RenderState::bindFramebuffer(GLuint fbo) { 88 if (mFramebuffer != fbo) { 89 mFramebuffer = fbo;
|
Layer.cpp | 49 fbo = 0; 127 if (fbo) { 154 renderState.bindFramebuffer(fbo); 162 if (fbo) { 164 // If put fails the cache will delete the FBO 165 caches.fboCache.put(fbo); 166 fbo = 0;
|
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()); 91 // No need to unbind our FBO, this will be taken care of by the caller 192 GLuint fbo = caches.fboCache.get(); local 193 if (!fbo) { 194 ALOGW("Could not obtain an FBO"); 220 layer->setFbo(fbo); 241 ALOGE("Could not allocate texture for layer (fbo=%d %dx%d)", fbo, width, height); 258 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height) 369 GLuint fbo = caches.fboCache.get(); local [all...] |
/frameworks/rs/driver/ |
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->setDimensions(fb->mHal.state.colorTargets[0]->getType()->getDimX() 94 RsdFrameBufferObj *fbo = (RsdFrameBufferObj *)fb->mHal.drv; local [all...] |
/external/chromium_org/android_webview/browser/ |
aw_gl_surface.cc | 40 void AwGLSurface::SetBackingFrameBufferObject(unsigned int fbo) { 41 fbo_ = fbo;
|
aw_gl_surface.h | 28 void SetBackingFrameBufferObject(unsigned int fbo);
|
/external/deqp/modules/gles2/functional/ |
es2fNegativeVertexArrayApiTests.cpp | 142 GLuint fbo; 143 glGenFramebuffers(1, &fbo); 144 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 149 glDeleteFramebuffers(1, &fbo); 169 GLuint fbo; 170 glGenFramebuffers(1, &fbo); 171 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 176 glDeleteFramebuffers(1, &fbo); 195 GLuint fbo; 196 glGenFramebuffers(1, &fbo); [all...] |
es2fFboRenderTest.cpp | 356 Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo = 0, deUint32 colorbuffer = 0, deUint32 depthbuffer = 0, deUint32 stencilbuffer = 0); 409 Framebuffer::Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fbo, deUint32 colorbuffer, deUint32 depthbuffer, deUint32 stencilbuffer) 412 , m_framebuffer (fbo) 668 Framebuffer fbo(context, getConfig(), width, height); 669 fbo.checkCompleteness(); 671 // Clear fbo 672 context.bindFramebuffer(GL_FRAMEBUFFER, fbo.getFramebuffer()); 697 if (fbo.getConfig().colorbufferType == GL_TEXTURE_2D) 699 // Unbind fbo 708 context.bindTexture(GL_TEXTURE_2D, fbo.getColorbuffer()) [all...] |
es2fNegativeBufferApiTests.cpp | 178 GLuint fbo; 179 glGenFramebuffers(1, &fbo); 180 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 277 GLuint fbo; 279 glGenFramebuffers(1, &fbo); 280 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 312 glDeleteFramebuffers(1, &fbo); 316 GLuint fbo; 319 glGenFramebuffers(1, &fbo); 320 glBindFramebuffer(GL_FRAMEBUFFER, fbo); [all...] |
/external/chromium_org/ui/gl/ |
scoped_binders.h | 16 explicit ScopedFrameBufferBinder(unsigned int fbo);
|
scoped_binders.cc | 12 ScopedFrameBufferBinder::ScopedFrameBufferBinder(unsigned int fbo) 19 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo);
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
ClearTest.cpp | 72 GLuint fbo; local 73 glGenFramebuffers(1, &fbo); 74 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
MaxTextureSizeTest.cpp | 216 GLuint fbo = 0; local 233 // create an FBO and attach the texture 234 glGenFramebuffers(1, &fbo); 235 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 255 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 260 glBindFramebuffer(GL_READ_FRAMEBUFFER_ANGLE, fbo); 276 glDeleteFramebuffers(1, &fbo);
|
/external/deqp/modules/gles3/functional/ |
es3fNegativeVertexArrayApiTests.cpp | 266 GLuint fbo; 279 glGenFramebuffers(1, &fbo); 280 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 285 glDeleteFramebuffers(1, &fbo); 293 GLuint fbo; 306 glGenFramebuffers(1, &fbo); 307 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 312 glDeleteFramebuffers(1, &fbo); 319 GLuint fbo; 332 glGenFramebuffers(1, &fbo); [all...] |
es3fNegativeBufferApiTests.cpp | 189 GLuint fbo; 190 glGenFramebuffers(1, &fbo); 191 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 197 glDeleteFramebuffers(1, &fbo); 234 deUint32 fbo; 240 glGenFramebuffers (1, &fbo); 241 glBindFramebuffer (GL_FRAMEBUFFER, fbo); 305 glDeleteFramebuffers (1, &fbo); 406 deUint32 fbo; 412 glGenFramebuffers (1, &fbo); [all...] |
es3fRasterizerDiscardTests.cpp | 163 glGenFramebuffers (1, &m_fbo); // FBO 181 // Attach texture and buffers to FBO 200 glDeleteFramebuffers (1, &m_fbo); // FBO 260 // Create and bind FBO if needed 398 // Delete FBO if created 436 tcu::TestCaseGroup* fbo = new tcu::TestCaseGroup(m_testCtx, "fbo", "Rasterizer discard test for framebuffer object"); local 440 addChild(fbo); 486 // FBO cases 488 fbo->addChild(new RasterizerDiscardCase(m_context, "write_depth_points", "points", 4, CASE_WRITE_D (…) [all...] |
es3fFboDepthbufferTests.cpp | 21 * \brief FBO depthbuffer tests. 69 deUint32 fbo = 0; local 82 // Setup FBO 84 glGenFramebuffers(1, &fbo); 94 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 161 deUint32 fbo = 0; local 172 // Setup FBO 174 glGenFramebuffers(1, &fbo); 186 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 247 deUint32 fbo = 0 local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeVertexArrayApiTests.cpp | 269 GLuint fbo = 0; local 282 ctx.glGenFramebuffers(1, &fbo); 283 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 288 ctx.glDeleteFramebuffers(1, &fbo); 297 GLuint fbo = 0; local 310 ctx.glGenFramebuffers(1, &fbo); 311 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 316 ctx.glDeleteFramebuffers(1, &fbo); 324 GLuint fbo = 0; local 337 ctx.glGenFramebuffers(1, &fbo); 353 GLuint fbo = 0; local 423 GLuint fbo = 0; local 458 GLuint fbo = 0; local 529 GLuint fbo = 0; local 561 GLuint fbo = 0; local 592 GLuint fbo = 0; local 625 GLuint fbo = 0; local 699 GLuint fbo = 0; local 738 GLuint fbo = 0; local 813 GLuint fbo = 0; local 888 GLuint fbo = 0; local 928 GLuint fbo = 0; local [all...] |
es31fNegativeBufferApiTests.cpp | 187 GLuint fbo = 0x1234; local 188 ctx.glGenFramebuffers(1, &fbo); 189 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 195 ctx.glDeleteFramebuffers(1, &fbo); 234 deUint32 fbo = 0x1234; local 240 ctx.glGenFramebuffers (1, &fbo); 241 ctx.glBindFramebuffer (GL_FRAMEBUFFER, fbo); 304 ctx.glDeleteFramebuffers (1, &fbo); 408 deUint32 fbo = 0x1234; local 414 ctx.glGenFramebuffers (1, &fbo); 453 deUint32 fbo = 0x1234; local 495 deUint32 fbo = 0x1234; local 641 deUint32 fbo = 0x1234; local 815 deUint32 fbo = 0x1234; local 967 GLuint fbo = 0x1234; local 1002 GLuint fbo = 0x1234; local 1116 deUint32 fbo[2]; local 1208 deUint32 fbo[2]; local 1253 deUint32 fbo = 0x1234; local 1327 deUint32 fbo = 0x1234; local 1362 deUint32 fbo = 0x1234; local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
gl_unittest.cc | 40 GLuint fbo = 0; local 41 glGenFramebuffers(1, &fbo); 52 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 61 glDeleteFramebuffers(1, &fbo);
|
gl_chromium_framebuffer_multisample_unittest.cc | 35 GLuint fbo = 0; local 36 glGenFramebuffers(1, &fbo); 37 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo); 101 // Create another FBO to resolve the multisample buffer into.
|
/external/srec/srec/cfront/ |
chelmel4.c | 55 //static void mel_cuberoot_offset(cepdata *fbo, cepdata *ch_off, int nf); 57 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf); 61 //static void mel_exp(cepdata *fbo, int nf); 113 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf) 120 fbo[i] = fbo[i] * ch_gain[i]; /* TODO: Fixedpt scale up and down */ 152 //static void mel_exp(cepdata *fbo, int nf) 159 // fbo[i] = (cepdata) exp((double) fbo[i]);
|
/external/deqp/modules/glshared/ |
glsLifetimeTests.cpp | 189 void setupFbo (const Context& ctx, GLuint seed, GLuint fbo) 193 GLU_CHECK_CALL_ERROR(gl.bindFramebuffer(GL_FRAMEBUFFER, fbo), 230 void drawFbo (const Context& ctx, GLuint fbo, Surface& dst) 236 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo), 248 GLuint getFboAttachment (const Functions& gl, GLuint fbo, GLenum requiredType) 251 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo); 272 Framebuffer fbo(getRenderContext()); 282 attach(element, *fbo); 283 setupFbo(getContext(), seed, *fbo); local 284 detach(element, *fbo); 296 drawFbo(getContext(), fbo, dst); local 304 setupFbo(getContext(), seed, fbo); local 315 drawFbo(getContext(), *fbo, dst); local [all...] |