# lv_opengles_texture_private.h (/api/drivers/opengles/lv_opengles_texture_private_h)



<RelatedHeaders name="lv_opengles_texture.h" isPrivate="true" />

<ApiSummary functions="2" structs="1" />

Functions [#functions]

<ApiMember kind="function" name="lv_opengles_texture_reshape" file="drivers/opengles/lv_opengles_texture_private.h" line="43" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/opengles/lv_opengles_texture_private.h#L43">
  lv_opengles_texture_reshape [#lv_opengles_texture_reshape]

  ```c title=" " lineNumbers=1
  lv_result_t lv_opengles_texture_reshape(lv_opengles_texture_t *texture, lv_display_t *display, int32_t width, int32_t height)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name      | Type                                                                       |
  | --------- | -------------------------------------------------------------------------- |
  | `texture` | <ApiLink name="lv_opengles_texture_t" display="lv_opengles_texture_t *" /> |
  | `display` | <ApiLink name="lv_display_t" display="lv_display_t *" />                   |
  | `width`   | <ApiLink name="int32_t" />                                                 |
  | `height`  | <ApiLink name="int32_t" />                                                 |
</ApiMember>

<ApiMember kind="function" name="lv_opengles_texture_deinit" file="drivers/opengles/lv_opengles_texture_private.h" line="45" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/opengles/lv_opengles_texture_private.h#L45">
  lv_opengles_texture_deinit [#lv_opengles_texture_deinit]

  ```c title=" " lineNumbers=1
  void lv_opengles_texture_deinit(lv_opengles_texture_t *texture)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name      | Type                                                                       |
  | --------- | -------------------------------------------------------------------------- |
  | `texture` | <ApiLink name="lv_opengles_texture_t" display="lv_opengles_texture_t *" /> |
</ApiMember>

Structs [#structs]

<ApiMember kind="struct" name="lv_opengles_texture_t">
  lv_opengles_texture_t [#lv_opengles_texture_t]

  | Member             | Type                    | Description             |
  | ------------------ | ----------------------- | ----------------------- |
  | `texture_id`       | `unsigned int`          |                         |
  | `is_texture_owner` | <ApiLink name="bool" /> | LV\_USE\_DRAW\_OPENGLES |
</ApiMember>

<TypeUsedBy name="lv_opengles_texture_t" count="2">
  * `lv_opengles_texture_reshape` — param `texture`
  * `lv_opengles_texture_deinit` — param `texture`
</TypeUsedBy>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_conf_internal.h&#x22;, &#x22;lv_opengles_texture.h&#x22;]" includedBy="[&#x22;lv_linux_drm_egl_private.h&#x22;, &#x22;lv_sdl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
