HomeSort by relevance Sort by last modified time
    Searched defs:fbo (Results 1 - 25 of 29) sorted by null

1 2

  /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...]
  /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);
OpenGLReadback.cpp 136 GLuint fbo = renderState.createFramebuffer(); local
137 if (!fbo) {
138 ALOGW("Could not obtain an FBO");
177 renderState.bindFramebuffer(fbo);
241 renderState.deleteFramebuffer(fbo);
Snapshot.h 97 * backed by an FBO. This flag only makes sense when the
100 * Viewport has been modified to fit the new Fbo, and must be
207 * Target FBO used for rendering. Set to 0 when rendering directly
210 GLuint fbo; member in class:android::uirenderer::Snapshot
  /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 392 GLuint fbo = 0; local
411 ctx.glGenFramebuffers(1, &fbo);
412 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo);
417 ctx.glDeleteFramebuffers(1, &fbo);
425 GLuint fbo = 0; local
439 ctx.glGenFramebuffers(1, &fbo);
440 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo);
445 ctx.glDeleteFramebuffers(1, &fbo);
452 GLuint fbo = 0; local
471 ctx.glGenFramebuffers(1, &fbo);
486 GLuint fbo = 0; local
562 GLuint fbo = 0; local
596 GLuint fbo = 0; local
673 GLuint fbo = 0; local
744 GLuint fbo = 0; local
782 GLuint fbo = 0; local
812 GLuint fbo = 0; local
848 GLuint fbo = 0; local
927 GLuint fbo = 0; local
965 GLuint fbo = 0; local
1046 GLuint fbo = 0; local
1128 GLuint fbo = 0; local
1209 GLuint fbo = 0; local
1248 GLuint fbo = 0; local
1330 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);
201 GLuint fbo = 0x1234; local
232 ctx.glGenFramebuffers(1, &fbo);
233 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo);
239 ctx.glDeleteFramebuffers(1, &fbo);
278 deUint32 fbo = 0x1234; local
284 ctx.glGenFramebuffers (1, &fbo);
511 deUint32 fbo = 0x1234; local
561 deUint32 fbo = 0x1234; local
608 deUint32 fbo = 0x1234; local
756 deUint32 fbo = 0x1234; local
953 deUint32 fbo = 0x1234; local
1105 GLuint fbo = 0x1234; local
1147 GLuint fbo = 0x1234; local
1191 GLuint fbo = 0x1234; local
1348 deUint32 fbo[2]; local
1496 deUint32 fbo[2]; local
1544 deUint32 fbo = 0x1234; local
1678 deUint32 fbo = 0x1234; local
1727 deUint32 fbo = 0x1234; local
    [all...]
es31fNegativeStateApiTests.cpp 1180 GLuint fbo; local
    [all...]
es31fNegativeTextureApiTests.cpp 909 GLuint fbo = 0x1234; local
1091 GLuint fbo = 0x1234; local
3268 GLuint fbo = 0x1234; 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...]
sglrGLContext.cpp 73 deUint32 fbo = *i; local
74 gl.deleteFramebuffers(1, &fbo);
196 // \todo [2011-10-13 pyry] This is a bit of a hack since test cases assumes 0 default fbo.
  /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...]
  /hardware/intel/common/libva/va/glx/
va_glx_impl.c 173 // Check for GLX extensions (TFP, FBO)
456 GLuint fbo; member in struct:VASurfaceGLX
648 GLuint fbo; local
651 pOpenGLVTable->gl_gen_framebuffers(1, &fbo);
652 pOpenGLVTable->gl_bind_framebuffer(GL_FRAMEBUFFER_EXT, fbo);
666 pSurfaceGLX->fbo = fbo;
675 if (pSurfaceGLX->fbo) {
676 pOpenGLVTable->gl_delete_framebuffers(1, &pSurfaceGLX->fbo);
677 pSurfaceGLX->fbo = 0
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 104 // NOTE: We do not need to lookup any previous bindings of this texture to an FBO, as
106 int fbo = GLToolbox.generateFbo(); local
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,
354 mFbo = fbo;

Completed in 533 milliseconds

1 2