Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 25 of 71) sorted by relevance

123

/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/
H A Dgraphics.c39 GRSurface* texture; member
114 if (!font->texture) return; in gr_text()
117 bold = bold && (font->texture->height != font->cheight); in gr_text()
127 unsigned char* src_p = font->texture->data + (off * font->cwidth) + in gr_text()
128 (bold ? font->cheight * font->texture->row_bytes : 0); in gr_text()
131 text_blend(src_p, font->texture->row_bytes, in gr_text()
272 int res = res_create_alpha_surface("font", &(gr_font->texture)); in gr_init_font()
277 gr_font->cwidth = gr_font->texture->width / 96; in gr_init_font()
278 gr_font->cheight = gr_font->texture->height / 2; in gr_init_font()
283 gr_font->texture = malloc(sizeof(*gr_font->texture)); in gr_init_font()
[all …]
/OK3568_Linux_fs/external/recovery/minui/
H A Dgraphics.c40 GRSurface* texture; member
169 if (!font || !font->texture || (gr_current & alpha_mask) == 0) return; in gr_text()
171 if (font->texture->pixel_bytes != 1) { in gr_text()
176 bold = bold && (font->texture->height != font->char_height); in gr_text()
191 uint8_t* src_p = font->texture->data + ((ch - ' ') * font->char_width) + in gr_text()
192 (bold ? font->char_height * font->texture->row_bytes : 0); in gr_text()
195 text_blend(src_p, font->texture->row_bytes, dst_p, row_pixels, font->char_width, in gr_text()
349 int res = res_create_alpha_surface("font", &(gr_font->texture)); in gr_init_font()
354 gr_font->char_width = gr_font->texture->width / 96; in gr_init_font()
355 gr_font->char_height = gr_font->texture->height / 2; in gr_init_font()
[all …]
/OK3568_Linux_fs/buildroot/package/lvgl/lv_drivers/
H A D0010-sdl-sdl_gpu-support-screen-rotation.patch106 SDL_Texture * texture;
132 lv_disp_draw_buf_init(disp_buf, m->texture, NULL, hor_res * ver_res);
143 - SDL_Texture *texture = lv_draw_sdl_create_screen_texture(renderer, width, height);
154 + SDL_Texture *texture = lv_draw_sdl_create_screen_texture(renderer, m->d_hor_res, m->d_ver_res);
155 lv_disp_draw_buf_init(driver->draw_buf, texture, NULL, width * height);
204 - m->texture = lv_draw_sdl_create_screen_texture(m->drv_param.renderer, m->hor_res, m->ver_res);
205 + m->texture = lv_draw_sdl_create_screen_texture(m->drv_param.renderer, m->d_hor_res, m->d_ver_r…
207 SDL_SetRenderTarget(m->drv_param.renderer, m->texture);
212 SDL_Texture *texture = buf;
225 /*Update the renderer with the texture containing the rendered image*/
[all …]
H A D0005-HACK-use-sdl-to-get-display-size.patch38 SDL_Texture * texture;
72 - m->texture = lv_draw_sdl_create_screen_texture(m->drv_param.renderer, SDL_HOR_RES, SDL_VER_RES…
73 + m->texture = lv_draw_sdl_create_screen_texture(m->drv_param.renderer, m->hor_res, m->ver_res);
75 SDL_SetRenderTarget(m->drv_param.renderer, m->texture);
82 SDL_Texture *texture = buf;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Doffscreen_texture.cpp28 texture = context.createTexture(size, gl::TextureFormat::RGBA, 0, type); in bind()
30 framebuffer = context.createFramebuffer(*texture, *depth); in bind()
32 framebuffer = context.createFramebuffer(*texture); in bind()
48 assert(texture); in getTexture()
49 return *texture; in getTexture()
60 optional<gl::Texture> texture; member in mbgl::OffscreenTexture::Impl
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/libsdl2/libsdl2/
H A D0001-Fix-potential-memory-leak-in-GLES_CreateTextur.patch18 @@ -368,6 +368,9 @@ GLES_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
19 renderdata->glGenTextures(1, &data->texture);
22 + if (texture->access == SDL_TEXTUREACCESS_STREAMING) {
28 @@ -396,6 +399,9 @@ GLES_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
32 + if (texture->access == SDL_TEXTUREACCESS_STREAMING) {
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_transform.c167 glamor_set_texture_pixmap(PixmapPtr texture, Bool destination_red) in glamor_set_texture_pixmap() argument
171 texture_priv = glamor_get_pixmap_private(texture); in glamor_set_texture_pixmap()
179 glamor_bind_texture(glamor_get_screen_private(texture->drawable.pScreen), in glamor_set_texture_pixmap()
191 glamor_set_texture(PixmapPtr texture, in glamor_set_texture() argument
198 if (!glamor_set_texture_pixmap(texture, destination_red)) in glamor_set_texture()
202 glUniform2f(size_inv_uniform, 1.0f/texture->drawable.width, 1.0f/texture->drawable.height); in glamor_set_texture()
H A Dglamor_transform.h51 glamor_set_texture_pixmap(PixmapPtr texture,
55 glamor_set_texture(PixmapPtr texture,
H A Dglamor_egl.c124 EGLImageKHR image, GLuint * texture) in glamor_create_texture_from_image() argument
131 glGenTextures(1, texture); in glamor_create_texture_from_image()
132 glBindTexture(GL_TEXTURE_2D, *texture); in glamor_create_texture_from_image()
231 GLuint texture; in glamor_egl_create_textured_pixmap_from_gbm_bo() local
245 glamor_create_texture_from_image(screen, image, &texture); in glamor_egl_create_textured_pixmap_from_gbm_bo()
248 glamor_set_pixmap_texture(pixmap, texture); in glamor_egl_create_textured_pixmap_from_gbm_bo()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_raster_layer.cpp132 assert(bucket.texture); in render()
133 parameters.context.bindTexture(*bucket.texture, 0, filter); in render()
134 parameters.context.bindTexture(*bucket.texture, 1, filter); in render()
154 assert(bucket.texture); in render()
155 parameters.context.bindTexture(*bucket.texture, 0, filter); in render()
156 parameters.context.bindTexture(*bucket.texture, 1, filter); in render()
H A Drender_hillshade_layer.cpp170 bucket.texture = std::move(view.getTexture()); in render()
173 assert(bucket.texture); in render()
174 …parameters.context.bindTexture(*bucket.texture, 0, gl::TextureFilter::Linear, gl::TextureMipMap::N… in render()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/via/
H A Dvia_verifier.c303 cur_seq->tex_level_lo[cur_seq->texture]; in finish_current_sequence()
304 unsigned end = cur_seq->tex_level_hi[cur_seq->texture]; in finish_current_sequence()
316 &(cur_seq->t_addr[tex = cur_seq->texture][start]); in finish_current_sequence()
428 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard()
435 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard()
444 cur_seq->tex_level_lo[tmp = cur_seq->texture] = cmd & 0x3F; in investigate_hazard()
452 cur_seq->pitch[cur_seq->texture][tmp] = in investigate_hazard()
454 cur_seq->tex_npot[cur_seq->texture] = 1; in investigate_hazard()
456 cur_seq->pitch[cur_seq->texture][tmp] = in investigate_hazard()
458 cur_seq->tex_npot[cur_seq->texture] = 0; in investigate_hazard()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/geometry/
H A Dline_atlas.cpp132 if (!texture) { in upload()
133 texture = context.createTexture(image, unit); in upload()
135 context.updateTexture(*texture, image, unit); in upload()
143 context.bindTexture(*texture, unit, gl::TextureFilter::Linear, gl::TextureMipMap::No, in bind()
/OK3568_Linux_fs/buildroot/package/qt5/qt5base/
H A D0018-HACK-qpaintengine_raster-Support-rga-in-fillRect-wit.patch5 texture
60 + const uchar *src = data->texture.imageData;
61 + int src_stride = data->texture.bytesPerLine;
62 + int src_height = data->texture.height;
63 + QImage::Format src_format = data->texture.format;
88 + mode, data->texture.const_alpha))
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/gl/
H A Dcontext.cpp500 color.texture, 0)); in createFramebuffer()
510 color.texture, 0)); in createFramebuffer()
523 …ROR(glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color.texture, 0)); in createFramebuffer()
546 texture[unit] = id; in updateTexture()
560 texture[unit] = obj.texture; in bindTexture()
587 } else if (texture[unit] != obj.texture) { in bindTexture()
591 texture[unit] = obj.texture; in bindTexture()
632 for (auto& tex : texture) { in setDirtyState()
773 for (auto& binding : texture) { in performCleanup()
H A Dtexture.hpp17 texture(std::move(texture_)), in Texture()
24 UniqueTexture texture; member in mbgl::gl::Texture
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Draster_bucket.cpp24 if (!texture) { in upload()
25 texture = context.createTexture(*image); in upload()
46 texture = {}; in setImage()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeotiledmapscene.cpp122 void QGeoTiledMapScene::addTile(const QGeoTileSpec &spec, QSharedPointer<QGeoTileTexture> texture) in addTile() argument
125 d->addTile(spec, texture); in addTile()
207 const int mappedSize = imageNode->texture()->textureSize().width() / tilesPerTexture; in buildGeometry()
213 imageNode->setSourceRect(QRectF(QPointF(0,0), imageNode->texture()->textureSize())); in buildGeometry()
217 imageNode->setSourceRect(QRectF(QPointF(0,0), imageNode->texture()->textureSize())); in buildGeometry()
223 …GeoTiledMapScenePrivate::addTile(const QGeoTileSpec &spec, QSharedPointer<QGeoTileTexture> texture) in addTile() argument
230 m_textures.insert(spec, texture); in addTile()
528 if (node->texture()->textureSize().width() > d->m_tileSize * pixelRatio) { in updateTiles()
561 if (tileNode->texture()->textureSize().width() > d->m_tileSize * pixelRatio) { in updateTiles()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapboxgl/
H A Dqsgmapboxglnode.cpp74 QSGPlainTexture *fboTexture = static_cast<QSGPlainTexture *>(texture()); in resize()
80 fboTexture->setTextureId(m_fbo->texture()); in resize()
83 if (!texture()) { in resize()
/OK3568_Linux_fs/external/libmali/include/GLES2/
H A Dgl2ext.h397 …YP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
399 …L_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
589 …RE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi…
596 …Texture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLi…
732 typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtext…
734 GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GL…
1087 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES…
1090 GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image,…
1157 typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, …
1158 typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffse…
[all …]
/OK3568_Linux_fs/external/libmali/include/GLES/
H A Dglext.h193 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfi…
236 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfi…
306 …EXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
322 …fferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
674 …MPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
677 …ltisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLs…
764 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
765 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
766 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei le…
771 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenu…
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A Drenesas,imr.txt6 data in an external memory as 2D texture data and performing texture mapping
/OK3568_Linux_fs/external/drm-cursor/
H A Ddrm_egl.c433 GLuint texture; in egl_convert_fb() local
473 glGenTextures(1, &texture); in egl_convert_fb()
475 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texture); in egl_convert_fb()
495 glDeleteTextures(1, &texture); in egl_convert_fb()
/OK3568_Linux_fs/yocto/meta-qt5/recipes-qt/qt5/qtwayland/
H A D0001-Fix-vulkan-buffer-formats-for-GLES2.patch23 if (extraDebug) qDebug() << "bound texture" << Qt::hex << glGetError();
53 if (extraDebug) qDebug() << "bound texture" << texId << Qt::hex << glGetError();
/OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0001-mesa-demos-Add-missing-data-files.patch187 +//texture offsets
526 +// Multi-texture fragment shader
529 +// Composite second texture over first.
530 +// We're assuming the 2nd texture has a meaningful alpha channel.
551 +// Multi-texture vertex shader
571 +// Multi-texture fragment shader
574 +// Composite second texture over first.
575 +// We're assuming the 2nd texture has a meaningful alpha channel.
594 +// Multi-texture vertex shader

123