Home
last modified time | relevance | path

Searched refs:fbo (Results 1 – 25 of 37) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_fbo.c35 glamor_pixmap_fbo *fbo) in glamor_destroy_fbo() argument
39 if (fbo->fb) in glamor_destroy_fbo()
40 glDeleteFramebuffers(1, &fbo->fb); in glamor_destroy_fbo()
41 if (fbo->tex) in glamor_destroy_fbo()
42 glDeleteTextures(1, &fbo->tex); in glamor_destroy_fbo()
44 free(fbo); in glamor_destroy_fbo()
49 glamor_pixmap_fbo *fbo) in glamor_pixmap_ensure_fb() argument
55 if (fbo->fb == 0) in glamor_pixmap_ensure_fb()
56 glGenFramebuffers(1, &fbo->fb); in glamor_pixmap_ensure_fb()
57 assert(fbo->tex != 0); in glamor_pixmap_ensure_fb()
[all …]
H A Dglamor.c89 pixmap_priv->fbo_array = &pixmap_priv->fbo; in glamor_init_pixmap_private_small()
108 glamor_pixmap_fbo *fbo; in glamor_set_pixmap_texture() local
113 if (pixmap_priv->fbo) { in glamor_set_pixmap_texture()
114 fbo = glamor_pixmap_detach_fbo(pixmap_priv); in glamor_set_pixmap_texture()
115 glamor_destroy_fbo(glamor_priv, fbo); in glamor_set_pixmap_texture()
118 fbo = glamor_create_fbo_from_tex(glamor_priv, pixmap, in glamor_set_pixmap_texture()
122 if (fbo == NULL) { in glamor_set_pixmap_texture()
127 glamor_pixmap_attach_fbo(pixmap, fbo); in glamor_set_pixmap_texture()
142 assert(pixmap_priv->fbo != NULL); in glamor_clear_pixmap()
144 glamor_pixmap_clear_fbo(glamor_priv, pixmap_priv->fbo); in glamor_clear_pixmap()
[all …]
H A Dglamor_transfer.c51 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); in glamor_upload_boxes() local
55 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE); in glamor_upload_boxes()
150 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(priv, box_index); in glamor_download_boxes() local
155 assert(fbo->fb); in glamor_download_boxes()
156 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); in glamor_download_boxes()
H A Dglamor_pixmap.c67 glamor_pixmap_fbo *fbo, int x0, int y0, in glamor_set_destination_pixmap_fbo() argument
72 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); in glamor_set_destination_pixmap_fbo()
84 glamor_set_destination_pixmap_fbo(glamor_priv, pixmap_priv->fbo, 0, 0, w, h); in glamor_set_destination_pixmap_priv_nc()
H A Dglamor_utils.h53 *(_pxscale_) = 1.0 / (_pixmap_priv_)->fbo->width; \
54 *(_pyscale_) = 1.0 / (_pixmap_priv_)->fbo->height; \
72 wh[0] = (float)priv->fbo->width / actual_w; \
73 wh[1] = (float)priv->fbo->height / actual_h; \
74 wh[2] = 1.0 / priv->fbo->width; \
75 wh[3] = 1.0 / priv->fbo->height; \
206 priv->box.x1, priv->fbo->width); \
208 priv->box.y1, priv->fbo->height); \
H A Dglamor_spans.c206 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); in glamor_get_spans_gl() local
208 glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb); in glamor_get_spans_gl()
298 glamor_pixmap_fbo *fbo = glamor_pixmap_fbo_at(pixmap_priv, box_index); in glamor_set_spans_gl() local
300 glamor_bind_texture(glamor_priv, GL_TEXTURE0, fbo, TRUE); in glamor_set_spans_gl()
H A Dglamor_priv.h359 glamor_pixmap_fbo *fbo; member
483 priv->fbo = priv->fbo_array[idx]; in glamor_set_pixmap_fbo_current()
559 void glamor_pixmap_attach_fbo(PixmapPtr pixmap, glamor_pixmap_fbo *fbo);
567 glamor_pixmap_fbo *fbo);
570 void glamor_pixmap_clear_fbo(glamor_screen_private *glamor_priv, glamor_pixmap_fbo *fbo);
591 glamor_pixmap_fbo *fbo,
H A Dglamor_picture.c292 assert(!pixmap_priv->fbo); in glamor_upload_picture_to_texture()
356 glBindTexture(GL_TEXTURE_2D, pixmap_priv->fbo->tex); in glamor_upload_picture_to_texture()
H A Dglamor_largepixmap.c864 priv->fbo = glamor_pixmap_detach_fbo(temp_priv); in glamor_merge_clipped_regions()
1350 glamor_destroy_fbo(glamor_priv, mask_pixmap_priv->fbo); in glamor_composite_largepixmap_region()
1351 mask_pixmap_priv->fbo = NULL; in glamor_composite_largepixmap_region()
1379 glamor_destroy_fbo(glamor_priv, source_pixmap_priv->fbo); in glamor_composite_largepixmap_region()
1380 source_pixmap_priv->fbo = NULL; in glamor_composite_largepixmap_region()
1441 glamor_destroy_fbo(glamor_priv, mask_pixmap_priv->fbo); in glamor_composite_largepixmap_region()
1442 mask_pixmap_priv->fbo = NULL; in glamor_composite_largepixmap_region()
H A Dglamor_transform.c181 texture_priv->fbo, destination_red); in glamor_set_texture_pixmap()
H A Dglamor_render.c519 glamor_pixmap_fbo *fbo = pixmap_priv->fbo; in glamor_set_composite_texture() local
531 glamor_bind_texture(glamor_priv, GL_TEXTURE0 + unit, fbo, in glamor_set_composite_texture()
532 dest_priv->fbo->is_red); in glamor_set_composite_texture()
H A Dglamor_xv.c534 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[0]->fbo->tex); in glamor_xv_render()
541 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[1]->fbo->tex); in glamor_xv_render()
551 glBindTexture(GL_TEXTURE_2D, src_pixmap_priv[2]->fbo->tex); in glamor_xv_render()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c322 struct ttm_transfer_obj *fbo; in ttm_transfered_destroy() local
324 fbo = container_of(bo, struct ttm_transfer_obj, base); in ttm_transfered_destroy()
325 ttm_bo_put(fbo->bo); in ttm_transfered_destroy()
326 kfree(fbo); in ttm_transfered_destroy()
347 struct ttm_transfer_obj *fbo; in ttm_buffer_object_transfer() local
350 fbo = kmalloc(sizeof(*fbo), GFP_KERNEL); in ttm_buffer_object_transfer()
351 if (!fbo) in ttm_buffer_object_transfer()
354 fbo->base = *bo; in ttm_buffer_object_transfer()
355 fbo->base.mem.placement |= TTM_PL_FLAG_NO_EVICT; in ttm_buffer_object_transfer()
358 fbo->bo = bo; in ttm_buffer_object_transfer()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drenderer_backend.cpp29 void RendererBackend::assumeFramebufferBinding(const gl::FramebufferID fbo) { in assumeFramebufferBinding() argument
30 getContext().bindFramebuffer.setCurrentValue(fbo); in assumeFramebufferBinding()
31 if (fbo != ImplicitFramebufferBinding) { in assumeFramebufferBinding()
50 void RendererBackend::setFramebufferBinding(const gl::FramebufferID fbo) { in setFramebufferBinding() argument
51 getContext().bindFramebuffer = fbo; in setFramebufferBinding()
52 if (fbo != ImplicitFramebufferBinding) { in setFramebufferBinding()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/gl/
H A Dcontext.cpp473 auto fbo = createFramebuffer(); in createFramebuffer() local
474 bindFramebuffer = fbo; in createFramebuffer()
479 return { color.size, std::move(fbo) }; in createFramebuffer()
483 auto fbo = createFramebuffer(); in createFramebuffer() local
484 bindFramebuffer = fbo; in createFramebuffer()
488 return { color.size, std::move(fbo) }; in createFramebuffer()
497 auto fbo = createFramebuffer(); in createFramebuffer() local
498 bindFramebuffer = fbo; in createFramebuffer()
503 return { color.size, std::move(fbo) }; in createFramebuffer()
507 auto fbo = createFramebuffer(); in createFramebuffer() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/src/
H A Dqmapboxgl_renderer_backend.cpp30 void QMapboxGLRendererBackend::updateFramebuffer(quint32 fbo, const mbgl::Size &size) in updateFramebuffer() argument
32 m_fbo = fbo; in updateFramebuffer()
H A Dqmapboxgl_map_renderer.cpp58 void QMapboxGLMapRenderer::updateFramebuffer(quint32 fbo, const mbgl::Size &size) in updateFramebuffer() argument
62 m_backend.updateFramebuffer(fbo, size); in updateFramebuffer()
H A Dqmapboxgl_renderer_backend.hpp20 void updateFramebuffer(quint32 fbo, const mbgl::Size &);
H A Dqmapboxgl_map_renderer.hpp35 void updateFramebuffer(quint32 fbo, const mbgl::Size &size);
H A Dqmapboxgl_p.hpp38 void setFramebufferObject(quint32 fbo, const QSize& size);
H A Dqmapboxgl.cpp1724 void QMapboxGL::setFramebufferObject(quint32 fbo, const QSize& size) in setFramebufferObject() argument
1726 d_ptr->setFramebufferObject(fbo, size); in setFramebufferObject()
1903 void QMapboxGLPrivate::setFramebufferObject(quint32 fbo, const QSize& size) in setFramebufferObject() argument
1911 m_mapRenderer->updateFramebuffer(fbo, sanitizedSize(size)); in setFramebufferObject()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/renderer/
H A Drenderer_backend.hpp66 void assumeFramebufferBinding(gl::FramebufferID fbo);
75 void setFramebufferBinding(gl::FramebufferID fbo);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/
H A Dvc4_validate.c159 vc4_check_tex_size(struct vc4_exec_info *exec, struct drm_gem_cma_object *fbo, in vc4_check_tex_size() argument
202 size + offset > fbo->base.size) { in vc4_check_tex_size()
206 size, offset, fbo->base.size); in vc4_check_tex_size()
/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinder_internal.h594 struct flat_binder_object fbo; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/qt/include/
H A Dqmapboxgl.hpp247 void setFramebufferObject(quint32 fbo, const QSize &size);

12