Results 1 to 2 of 2

Thread: Mipmap level for a render target

  1. #1
    Junior Member
    Join Date
    Oct 2006
    Posts
    3

    Mipmap level for a render target

    Hello all,

    I am a newbie in EGL and English.
    What is "mipmap level of eglSurfaceAttrib in EGL?
    I can't find any description of this parameter in the specification.
    So I tried to find about mipmap level and then I found FrameBuffer Object(FBO) at the GLES Extension spec.

    Is the mipmap level described in FrameBuffer Object same with the mipmap level described in eglSurfaceAttrib of EGL?
    So When it does, it is necessary to specify the mipmap level which is specified by eglSurfaceAttrib for a render target in eglMakeCurrent?

    Please help me about this process.
    Thank a lot.

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353

    Re: Mipmap level for a render target

    Quote Originally Posted by EGL 1.2 Specification
    For OpenGL ES mipmap textures, the EGL_MIPMAP_LEVEL attribute indicates which level of the mipmap should be rendered. If the value of this attribute is outside the range of supported mipmap levels, the closest valid mipmap level is selected for rendering. The default value of this attribute is 0.
    If you create a pbuffer with the EGL_MIPMAP_TEXTURE attribute set, you can render to each individual mipmap level. You can use eglSurfaceAttrib to change which mipmap level to render to. EGL_MIPMAP_LEVEL defaults to 0, so you only have to set it if you need to render to one of the lower mipmap levels.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

Similar Threads

  1. Can EGLImageTargetTexture2DOES specify mip level to target?
    By xynopsis in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 0
    Last Post: 11-30-2012, 07:41 AM
  2. Rendering Any Level Of Mipmap
    By Rainmaker0929 in forum Developers Coding:Advanced
    Replies: 1
    Last Post: 07-16-2011, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •