/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/environment/ |
DirectionalShadowLight.java | 34 protected FrameBuffer fbo;
field in class:DirectionalShadowLight 44 fbo = new FrameBuffer(Format.RGBA8888, shadowMapWidth, shadowMapHeight, true);
79 final int w = fbo.getWidth();
80 final int h = fbo.getHeight();
81 fbo.begin();
91 fbo.end();
95 return fbo;
109 textureDesc.texture = fbo.getColorBufferTexture();
115 if (fbo != null) fbo.dispose(); [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 == nullptr) { 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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
EdgeDetectionTest.java | 44 FrameBuffer fbo;
field in class:EdgeDetectionTest 73 fbo = new FrameBuffer(Format.RGB565, Gdx.graphics.getWidth(), Gdx.graphics.getHeight(), true);
80 fboRegion = new TextureRegion(fbo.getColorBufferTexture());
90 fbo.dispose();
113 fbo.begin();
119 fbo.end();
|
/frameworks/base/libs/hwui/ |
FboCache.cpp | 55 const GLuint fbo = mCache.itemAt(i); local 56 glDeleteFramebuffers(1, &fbo); 62 GLuint fbo; local 64 fbo = mCache.itemAt(mCache.size() - 1); 67 glGenFramebuffers(1, &fbo); 69 return fbo; 72 bool FboCache::put(GLuint fbo) { 74 mCache.add(fbo); 78 glDeleteFramebuffers(1, &fbo);
|
Readback.cpp | 49 GLuint fbo = renderState.createFramebuffer(); local 50 if (!fbo) { 51 ALOGW("Could not obtain an FBO"); 82 renderState.bindFramebuffer(fbo); 185 renderState.deleteFramebuffer(fbo);
|
LayerRenderer.cpp | 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 88 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 90 // No need to unbind our FBO, this will be taken care of by the caller 192 GLuint fbo = renderState.createFramebuffer(); local 193 if (!fbo) { 194 ALOGW("Could not obtain an FBO"); 220 layer->setFbo(fbo); 241 LOG_ALWAYS_FATAL("Could not allocate texture for layer (fbo=%d %dx%d)", 242 fbo, width, height); 259 LAYER_RENDERER_LOGD("Resizing layer fbo = %d to %dx%d", layer->getFbo(), width, height) 360 GLuint fbo = renderState.createFramebuffer(); local [all...] |
Snapshot.h | 109 * backed by an FBO. This flag only makes sense when the 112 * Viewport has been modified to fit the new Fbo, and must be 118 * an FBO layer. 248 * Target FBO used for rendering. Set to 0 when rendering directly 251 GLuint fbo; member in class:android::uirenderer::Snapshot
|
Layer.h | 56 * A layer has dimensions and is backed by an OpenGL texture or FBO. 84 * destroying) the associated FBO, if present, and any render 181 inline void setFbo(GLuint fbo) { 182 this->fbo = fbo; 186 return fbo; 353 * Name of the FBO used to render the layer. If the name is 0 354 * this layer is not backed by an FBO, but a simple texture. 356 GLuint fbo = 0; member in class:android::uirenderer::Layer
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
GLES20RenderEngine.h | 48 GLuint fbo; member in struct:android::GLES20RenderEngine::Group
|
/external/deqp/modules/gles3/functional/ |
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...] |
es3fFboStencilbufferTests.cpp | 21 * \brief FBO stencilbuffer tests. 75 deUint32 fbo = 0; local 90 glGenFramebuffers(1, &fbo); 91 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 169 deUint32 fbo = 0; local 184 glGenFramebuffers(1, &fbo); 185 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 238 : TestCaseGroup(context, "stencil", "FBO Stencilbuffer tests")
|
es3fFboApiTests.cpp | 146 deUint32 fbo = 1; local 159 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); 591 addChild(new FboApiCase(m_context, "attach_to_default_fbo", "Invalid usage: attaching to default FBO", attachToDefaultFramebufferTest)); 600 addChild(new FboApiCase(m_context, "attachment_query_default_fbo", "Query attachments from default FBO", attachmentQueryDefaultFboTest)); 601 addChild(new FboApiCase(m_context, "attachment_query_empty_fbo", "Query attachments from empty FBO", attachmentQueryEmptyFboTest)); 607 addChild(new FboApiCase(m_context, "delete_tex_2d_attached_to_bound_fbo", "Delete 2d texture attached to currently bound FBO", deleteTex2DAttachedToBoundFboTest)); 608 addChild(new FboApiCase(m_context, "delete_tex_cube_attached_to_bound_fbo", "Delete cubemap attached to currently bound FBO", deleteTexCubeAttachedToBoundFboTest)); 609 addChild(new FboApiCase(m_context, "delete_rbo_attached_to_bound_fbo", "Delete renderbuffer attached to currently bound FBO", deleteRboAttachedToBoundFboTest)); 611 addChild(new FboApiCase(m_context, "delete_tex_2d_attached_to_not_bound_fbo", "Delete 2d texture attached to FBO", deleteTex2DAttachedToNotBoundFboTest)); 612 addChild(new FboApiCase(m_context, "delete_tex_cube_attached_to_not_bound_fbo", "Delete cubemap attached to FBO", deleteTexCubeAttachedToNotBoundFboTest)) [all...] |
es3fFboMultisampleTests.cpp | 21 * \brief FBO multisample tests. 100 deUint32& fbo = ndx ? resolveFbo : msaaFbo; local 116 glGenFramebuffers(1, &fbo); 117 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 134 // Fill MSAA fbo with gradient, depth = [-1..1] 250 : TestCaseGroup(context, "msaa", "Multisample FBO tests")
|
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...] |
es3fFboColorbufferTests.cpp | 21 * \brief FBO colorbuffer tests. 123 deUint32 fbo = 0; local 126 glGenFramebuffers(1, &fbo); 133 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 255 deUint32& fbo = ndx ? fbo1 : fbo0; local 258 glGenFramebuffers(1, &fbo); 268 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 282 deUint32 fbo = ndx ? fbo1 : fbo0; local 299 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 392 // Generate an image and FBO for each cube fac 427 const deUint32 fbo = fbos[face]; local 553 const deUint32 fbo = fbos[layer]; local 677 const deUint32 fbo = fbos[layer]; local 751 deUint32 fbo = 0; local [all...] |
es3fFboInvalidateTests.cpp | 21 * \brief FBO invalidate tests. 77 // \note DEPTH_STENCIL_ATTACHMENT is allowed when discarding FBO, but not with default FB 215 deUint32 fbo = 0; local 228 // Create fbo. 229 glGenFramebuffers (1, &fbo); 234 glBindFramebuffer (GL_FRAMEBUFFER, fbo); 251 // Switch to fbo and render gradient into it. 254 glBindFramebuffer (GL_FRAMEBUFFER, fbo); 259 // Restore default fbo. 363 deUint32 fbo = 0 local 469 deUint32 fbo = 0; local 580 deUint32 fbo = 0; local 714 deUint32 fbo = 0; local 836 deUint32 fbo = 0; local 936 deUint32 fbo = 0; local 1093 deUint32 fbo = 0; local 1221 deUint32 fbo = 0; local [all...] |
es3fFramebufferBlitTests.cpp | 21 * \brief FBO stencilbuffer tests. 90 deUint32& fbo = ndx ? dstFbo : srcFbo; local 94 glGenFramebuffers(1, &fbo); 100 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 379 deUint32& fbo = ndx ? dstFbo : srcFbo; local 383 glGenFramebuffers(1, &fbo); 389 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 504 deUint32& fbo = ndx ? dstFbo : srcFbo; local 510 glGenFramebuffers(1, &fbo); 520 glBindFramebuffer(GL_FRAMEBUFFER, fbo); 636 deUint32 fbo = 0; local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeAdvancedBlendEquationTests.cpp | 214 glw::GLuint fbo = 0x1234; local 221 ctx.glGenFramebuffers(1, &fbo); 222 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 260 ctx.glDeleteFramebuffers(1, &fbo);
|
es31fFboColorbufferTests.cpp | 21 * \brief FBO colorbuffer tests. 178 // Generate an FBO for each layer-face 210 const deUint32 fbo = fbos[layerFace]; local 224 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
es31fNegativeVertexArrayApiTests.cpp | 385 GLuint fbo = 0; local 404 ctx.glGenFramebuffers(1, &fbo); 405 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 410 ctx.glDeleteFramebuffers(1, &fbo); 418 GLuint fbo = 0; local 432 ctx.glGenFramebuffers(1, &fbo); 433 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 438 ctx.glDeleteFramebuffers(1, &fbo); 445 GLuint fbo = 0; local 464 ctx.glGenFramebuffers(1, &fbo); 479 GLuint fbo = 0; local 555 GLuint fbo = 0; local 589 GLuint fbo = 0; local 666 GLuint fbo = 0; local 700 GLuint fbo = 0; local 738 GLuint fbo = 0; local 768 GLuint fbo = 0; local 804 GLuint fbo = 0; local 883 GLuint fbo = 0; local 921 GLuint fbo = 0; local 1002 GLuint fbo = 0; local 1047 GLuint fbo = 0; local 1128 GLuint fbo = 0; local 1167 GLuint fbo = 0; local 1250 GLuint fbo = 0; local [all...] |
es31fNegativeBufferApiTests.cpp | 170 GLuint fbo = 0x1234; local 187 ctx.glGenFramebuffers(1, &fbo); 188 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 194 ctx.glDeleteFramebuffers(1, &fbo); 200 GLuint fbo = 0x1234; local 229 ctx.glGenFramebuffers(1, &fbo); 230 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); 236 ctx.glDeleteFramebuffers(1, &fbo); 278 deUint32 fbo = 0x1234; local 284 ctx.glGenFramebuffers (1, &fbo); 525 deUint32 fbo = 0x1234; local 575 deUint32 fbo = 0x1234; local 622 deUint32 fbo = 0x1234; local 770 deUint32 fbo = 0x1234; local 967 deUint32 fbo = 0x1234; local 1119 GLuint fbo = 0x1234; local 1161 GLuint fbo = 0x1234; local 1205 GLuint fbo = 0x1234; local 1362 deUint32 fbo[2]; local 1510 deUint32 fbo[2]; local 1558 deUint32 fbo = 0x1234; local 1692 deUint32 fbo = 0x1234; local 1741 deUint32 fbo = 0x1234; local [all...] |
es31fNegativeStateApiTests.cpp | 1162 GLuint fbo; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fFboApiTest.cpp | 157 deUint32 fbo = 1; local 163 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); 177 deUint32 fbo = 1; local 183 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); 620 addChild(new FboApiCase(m_context, "attach_to_default_fbo", "Invalid usage: attaching to default FBO", defaultFboIsZero ? attachToDefaultFramebufferTest : notSupportedTest)); 629 addChild(new FboApiCase(m_context, "attachment_query_default_fbo", "Query attachments from default FBO", defaultFboIsZero ? attachmentQueryDefaultFboTest : notSupportedTest)); 630 addChild(new FboApiCase(m_context, "attachment_query_empty_fbo", "Query attachments from empty FBO", attachmentQueryEmptyFboTest)); 636 addChild(new FboApiCase(m_context, "delete_tex_2d_attached_to_bound_fbo", "Delete 2d texture attached to currently bound FBO", deleteTex2DAttachedToBoundFboTest)); 637 addChild(new FboApiCase(m_context, "delete_tex_cube_attached_to_bound_fbo", "Delete cubemap attached to currently bound FBO", deleteTexCubeAttachedToBoundFboTest)); 638 addChild(new FboApiCase(m_context, "delete_rbo_attached_to_bound_fbo", "Delete renderbuffer attached to currently bound FBO", deleteRboAttachedToBoundFboTest)) [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 270 // + supported fbo configurations 733 Framebuffer* fbo = DE_NULL; local 742 fbo = m_framebuffers.find(name); 743 if (!fbo) 745 fbo = new Framebuffer(name); 746 m_framebuffers.insert(fbo); 769 if (fbo) 771 m_framebuffers.acquireReference(fbo); 774 acquireFboAttachmentReference(fbo->getAttachment((Framebuffer::AttachmentPoint)point)); 777 binding = fbo; [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
shader_program.cpp | 185 // Focus the FBO of the output 481 int fbo, program, buffer; local 482 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &fbo); 485 ALOGV("RenderFrame: fbo %d prog %d buff %d", fbo, program, buffer); [all...] |