[Interest] Qt 5.2 scenegraph does not draw anything for our MIPS cpu/VIVANTE GPU platform
Narayanarao Rao
nari01 at gmail.com
Wed Nov 6 11:23:37 CET 2013
I tried with 2 QMLS.. one qml having only opaque image and another qml with
opacity as 0.8. Both do not work. The first trace snippet was with opaque
image. The second full trace was with opacity as 0.8. Just explaining the
difference between the two traces, in case it is confusing.
On Wed, Nov 6, 2013 at 3:46 PM, Narayanarao Rao <nari01 at gmail.com> wrote:
> Here is the full apitrace for the non working case..
>
> 0 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 1 eglGetDisplay(display_id = NULL) = 0x432ff0
> 2 eglInitialize(dpy = 0x432ff0, major = &1, minor = &4) = EGL_TRUE
> 3 eglChooseConfig(dpy = 0x432ff0, attrib_list = {EGL_RED_SIZE, 0,
> EGL_GREEN_SIZE, 0, EGL_BLUE_SIZE, 0, EGL_ALPHA_SIZE, 0, EGL_DEPTH_SIZE, 24,
> EGL_STENCIL_SIZE, 8, EGL_SAMPLES, 0, EGL_SAMPLE_BUFFERS, 0,
> EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
> EGL_NONE}, configs = NULL, config_size = 0, num_config = &21) = EGL_TRUE
> 4 eglChooseConfig(dpy = 0x432ff0, attrib_list = {EGL_RED_SIZE, 0,
> EGL_GREEN_SIZE, 0, EGL_BLUE_SIZE, 0, EGL_ALPHA_SIZE, 0, EGL_DEPTH_SIZE, 24,
> EGL_STENCIL_SIZE, 8, EGL_SAMPLES, 0, EGL_SAMPLE_BUFFERS, 0,
> EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
> EGL_NONE}, configs = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
> NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
> config_size = 21, num_config = &21) = EGL_TRUE
> 5 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BUFFER_SIZE, value = &32) = EGL_TRUE
> 6 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_ALPHA_SIZE, value = &8) = EGL_TRUE
> 7 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BLUE_SIZE, value = &8) = EGL_TRUE
> 8 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_GREEN_SIZE, value = &8) = EGL_TRUE
> 9 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RED_SIZE, value = &8) = EGL_TRUE
> 10 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_DEPTH_SIZE, value = &24) = EGL_TRUE
> 11 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_STENCIL_SIZE, value = &8) = EGL_TRUE
> 12 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_CAVEAT, value = &12344) = EGL_TRUE
> 13 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_ID, value = &61) = EGL_TRUE
> 14 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_LEVEL, value = &0) = EGL_TRUE
> 15 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_HEIGHT, value = &2048) = EGL_TRUE
> 16 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_PIXELS, value = &4194304) = EGL_TRUE
> 17 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_WIDTH, value = &2048) = EGL_TRUE
> 18 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_RENDERABLE, value = &1) = EGL_TRUE
> 19 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_VISUAL_ID, value = &0) = EGL_TRUE
> 20 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_VISUAL_TYPE, value = &32) = EGL_TRUE
> 21 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLES, value = &0) = EGL_TRUE
> 22 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLE_BUFFERS, value = &0) = EGL_TRUE
> 23 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SURFACE_TYPE, value = &391) = EGL_TRUE
> 24 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_TYPE, value = &12344) = EGL_TRUE
> 25 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_BLUE_VALUE, value = &-1) = EGL_TRUE
> 26 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_GREEN_VALUE, value = &-1) = EGL_TRUE
> 27 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_RED_VALUE, value = &-1) = EGL_TRUE
> 28 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BIND_TO_TEXTURE_RGB, value = &0) = EGL_TRUE
> 29 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BIND_TO_TEXTURE_RGBA, value = &1) = EGL_TRUE
> 30 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MIN_SWAP_INTERVAL, value = &1) = EGL_TRUE
> 31 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_SWAP_INTERVAL, value = &1) = EGL_TRUE
> 32 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_ID, value = &61) = EGL_TRUE
> 33 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RED_SIZE, value = &8) = EGL_TRUE
> 34 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_GREEN_SIZE, value = &8) = EGL_TRUE
> 35 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BLUE_SIZE, value = &8) = EGL_TRUE
> 36 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_ALPHA_SIZE, value = &8) = EGL_TRUE
> 37 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_DEPTH_SIZE, value = &24) = EGL_TRUE
> 38 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_STENCIL_SIZE, value = &8) = EGL_TRUE
> 39 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLES, value = &0) = EGL_TRUE
> 40 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RENDERABLE_TYPE, value = &5) = EGL_TRUE
> 41 eglGetError() = EGL_SUCCESS
> 42 eglCreateWindowSurface(dpy = 0x432ff0, config = 0x432e88, win =
> 0x429b48, attrib_list = {}) = 0x4314c0
> 43 eglChooseConfig(dpy = 0x432ff0, attrib_list = {EGL_RED_SIZE, 0,
> EGL_GREEN_SIZE, 0, EGL_BLUE_SIZE, 0, EGL_ALPHA_SIZE, 0, EGL_DEPTH_SIZE, 24,
> EGL_STENCIL_SIZE, 8, EGL_SAMPLES, 0, EGL_SAMPLE_BUFFERS, 0,
> EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
> EGL_NONE}, configs = NULL, config_size = 0, num_config = &21) = EGL_TRUE
> 44 eglChooseConfig(dpy = 0x432ff0, attrib_list = {EGL_RED_SIZE, 0,
> EGL_GREEN_SIZE, 0, EGL_BLUE_SIZE, 0, EGL_ALPHA_SIZE, 0, EGL_DEPTH_SIZE, 24,
> EGL_STENCIL_SIZE, 8, EGL_SAMPLES, 0, EGL_SAMPLE_BUFFERS, 0,
> EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
> EGL_NONE}, configs = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
> NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
> config_size = 21, num_config = &21) = EGL_TRUE
> 45 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BUFFER_SIZE, value = &32) = EGL_TRUE
> 46 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_ALPHA_SIZE, value = &8) = EGL_TRUE
> 47 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BLUE_SIZE, value = &8) = EGL_TRUE
> 48 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_GREEN_SIZE, value = &8) = EGL_TRUE
> 49 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RED_SIZE, value = &8) = EGL_TRUE
> 50 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_DEPTH_SIZE, value = &24) = EGL_TRUE
> 51 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_STENCIL_SIZE, value = &8) = EGL_TRUE
> 52 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_CAVEAT, value = &12344) = EGL_TRUE
> 53 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_ID, value = &61) = EGL_TRUE
> 54 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_LEVEL, value = &0) = EGL_TRUE
> 55 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_HEIGHT, value = &2048) = EGL_TRUE
> 56 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_PIXELS, value = &4194304) = EGL_TRUE
> 57 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_PBUFFER_WIDTH, value = &2048) = EGL_TRUE
> 58 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_RENDERABLE, value = &1) = EGL_TRUE
> 59 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_VISUAL_ID, value = &0) = EGL_TRUE
> 60 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_NATIVE_VISUAL_TYPE, value = &32) = EGL_TRUE
> 61 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLES, value = &0) = EGL_TRUE
> 62 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLE_BUFFERS, value = &0) = EGL_TRUE
> 63 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SURFACE_TYPE, value = &391) = EGL_TRUE
> 64 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_TYPE, value = &12344) = EGL_TRUE
> 65 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_BLUE_VALUE, value = &-1) = EGL_TRUE
> 66 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_GREEN_VALUE, value = &-1) = EGL_TRUE
> 67 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_TRANSPARENT_RED_VALUE, value = &-1) = EGL_TRUE
> 68 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BIND_TO_TEXTURE_RGB, value = &0) = EGL_TRUE
> 69 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BIND_TO_TEXTURE_RGBA, value = &1) = EGL_TRUE
> 70 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MIN_SWAP_INTERVAL, value = &1) = EGL_TRUE
> 71 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_MAX_SWAP_INTERVAL, value = &1) = EGL_TRUE
> 72 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_CONFIG_ID, value = &61) = EGL_TRUE
> 73 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RED_SIZE, value = &8) = EGL_TRUE
> 74 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_GREEN_SIZE, value = &8) = EGL_TRUE
> 75 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_BLUE_SIZE, value = &8) = EGL_TRUE
> 76 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_ALPHA_SIZE, value = &8) = EGL_TRUE
> 77 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_DEPTH_SIZE, value = &24) = EGL_TRUE
> 78 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_STENCIL_SIZE, value = &8) = EGL_TRUE
> 79 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_SAMPLES, value = &0) = EGL_TRUE
> 80 eglGetConfigAttrib(dpy = 0x432ff0, config = 0x432e88, attribute =
> EGL_RENDERABLE_TYPE, value = &5) = EGL_TRUE
> 81 eglGetError() = EGL_SUCCESS
> 82 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 83 eglCreateContext(dpy = 0x432ff0, config = 0x432e88, share_context =
> NULL, attrib_list = {EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE}) = 0x430fc8
> 84 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 85 eglGetCurrentContext() = NULL
> 86 eglMakeCurrent(dpy = 0x432ff0, draw = 0x4314c0, read = 0x4314c0, ctx =
> 0x430fc8) = EGL_TRUE
> 87 glViewport(x = 0, y = 0, width = 1280, height = 720)
> 88 glScissor(x = 0, y = 0, width = 1280, height = 720)
> 89 glGetIntegerv(pname = GL_MAX_TEXTURE_SIZE, params = &8192)
> 90 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 91 eglGetCurrentContext() = 0x430fc8
> 92 eglGetCurrentDisplay() = 0x432ff0
> 93 eglGetCurrentSurface(readdraw = EGL_READ) = 0x4314c0
> 94 eglGetCurrentSurface(readdraw = EGL_DRAW) = 0x4314c0
> 96 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 97 eglGetCurrentContext() = 0x430fc8
> 98 eglGetCurrentDisplay() = 0x432ff0
> 99 eglGetCurrentSurface(readdraw = EGL_READ) = 0x4314c0
> 100 eglGetCurrentSurface(readdraw = EGL_DRAW) = 0x4314c0
> 101 glBindFramebuffer(target = GL_FRAMEBUFFER, framebuffer = 0)
> 102 glGenBuffers(n = 1, buffer = &1)
> 103 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 1)
> 104 glBufferData(target = GL_ARRAY_BUFFER, size = 92, data = blob(92),
> usage = GL_STATIC_DRAW)
> 105 glViewport(x = 0, y = 0, width = 1280, height = 720)
> 106 glClearColor(red = 1, green = 1, blue = 1, alpha = 1)
> 107 glClearDepthf(d = 1)
> 108 glDisable(cap = GL_CULL_FACE)
> 109 glDisable(cap = GL_BLEND)
> 110 glEnable(cap = GL_DEPTH_TEST)
> 111 glDepthFunc(func = GL_LESS)
> 112 glDepthMask(flag = GL_TRUE)
> 113 glColorMask(red = GL_TRUE, green = GL_TRUE, blue = GL_TRUE, alpha =
> GL_TRUE)
> 114 glDisable(cap = GL_SCISSOR_TEST)
> 115 glDisable(cap = GL_STENCIL_TEST)
> 116 glClear(mask = GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT |
> GL_COLOR_BUFFER_BIT)
> 117 glEnable(cap = GL_BLEND)
> 118 glDepthMask(flag = GL_FALSE)
> 119 glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC_ALPHA)
> 120 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 1)
> 121 glBindBuffer(target = GL_ELEMENT_ARRAY_BUFFER, buffer = 1)
> 122 glCreateProgram() = 1
> 123 glCreateShader(type = GL_VERTEX_SHADER) = 2
> 124 glShaderSource(shader = 2, count = 1, string = &"attribute highp float
> _qt_order;
> uniform highp float _qt_zRange;
> uniform highp mat4 qt_Matrix;
> attribute highp vec4 qt_VertexPosition;
> attribute highp vec2 qt_VertexTexCoord;
> varying highp vec2 qt_TexCoord;
> void main() {
> qt_TexCoord = qt_VertexTexCoord;
> gl_Position = qt_Matrix * qt_VertexPosition;
> gl_Position.z = gl_Position.z * _qt_zRange + _qt_order;
> }", length = &490)
> 125 glCompileShader(shader = 2)
> 126 glGetShaderiv(shader = 2, pname = GL_COMPILE_STATUS, params = &1)
> 127 glAttachShader(program = 1, shader = 2)
> 128 glCreateShader(type = GL_FRAGMENT_SHADER) = 3
> 129 glShaderSource(shader = 3, count = 2, string = {"#ifndef
> GL_FRAGMENT_PRECISION_HIGH
> #define highp mediump
> #endif
> ", "varying highp vec2 qt_TexCoord;
> uniform sampler2D qt_Texture;
> uniform lowp float opacity;
> void main() {
> gl_FragColor = texture2D(qt_Texture, qt_TexCoord) * opacity;
> }"}, length = {64, 281})
> 130 glCompileShader(shader = 3)
> 131 glGetShaderiv(shader = 3, pname = GL_COMPILE_STATUS, params = &1)
> 132 glAttachShader(program = 1, shader = 3)
> 133 glBindAttribLocation(program = 1, index = 0, name =
> "qt_VertexPosition")
> 134 glBindAttribLocation(program = 1, index = 1, name =
> "qt_VertexTexCoord")
> 135 glBindAttribLocation(program = 1, index = 2, name = "_qt_order")
> 136 glBindAttribLocation(program = 1, index = 1, name =
> "qt_VertexTexCoord")
> 137 glBindAttribLocation(program = 1, index = 0, name =
> "qt_VertexPosition")
> 138 glBindAttribLocation(program = 1, index = 2, name = "_qt_order")
> 139 glLinkProgram(program = 1)
> 140 glGetProgramiv(program = 1, pname = GL_LINK_STATUS, params = &1)
> 141 glGetProgramiv(program = 1, pname = GL_INFO_LOG_LENGTH, params = &0)
> 142 glGetUniformLocation(program = 1, name = "qt_Matrix") = 0
> 143 glGetUniformLocation(program = 1, name = "opacity") = 3
> 144 glGetUniformLocation(program = 1, name = "_qt_zRange") = 1
> 145 glEnableVertexAttribArray(index = 0)
> 146 glEnableVertexAttribArray(index = 1)
> 147 glEnableVertexAttribArray(index = 2)
> 148 glUseProgram(program = 1)
> 149 glUniform1fv(location = 3, count = 1, value = &0.8)
> 150 glGenTextures(n = 1, textures = &1)
> 151 glBindTexture(target = GL_TEXTURE_2D, texture = 1)
> 152 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_MIN_FILTER,
> param = GL_LINEAR)
> 153 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_MAG_FILTER,
> param = GL_LINEAR)
> 154 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_WRAP_S,
> param = GL_CLAMP_TO_EDGE)
> 155 glTexParameteri(target = GL_TEXTURE_2D, pname = GL_TEXTURE_WRAP_T,
> param = GL_CLAMP_TO_EDGE)
> 157 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat =
> GL_BGRA, width = 256, height = 256, border = 0, format = GL_BGRA, type =
> GL_UNSIGNED_BYTE, pixels = blob(262144))
> 158 glUniformMatrix4fv(location = 0, count = 1, transpose = GL_FALSE,
> value = {0.0015625, 0, 0, 0, 0, -0.002777778, 0, 0, 0, 0, 1, 0, -1, 1, 0,
> 1})
> 159 glVertexAttribPointer(index = 0, size = 2, type = GL_FLOAT, normalized
> = GL_FALSE, stride = 16, pointer = NULL)
> 161 glFlush()
> 160 glDrawElements(mode = GL_TRIANGLE_STRIP, count = 6, type =
> GL_UNSIGNED_SHORT, indices = 0x50)
> 162 glDisableVertexAttribArray(index = 0)
> 163 glDisableVertexAttribArray(index = 1)
> 164 glDisableVertexAttribArray(index = 2)
> 165 glDisable(cap = GL_STENCIL_TEST)
> 166 glDisable(cap = GL_SCISSOR_TEST)
> 167 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 0)
> 168 glBindBuffer(target = GL_ELEMENT_ARRAY_BUFFER, buffer = 0)
> 169 glDisable(cap = GL_SCISSOR_TEST)
> 170 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 171 eglSwapBuffers(dpy = 0x432ff0, surface = 0x4314c0) = EGL_TRUE
>
> 172 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 173 eglGetCurrentContext() = 0x430fc8
> 174 eglGetCurrentDisplay() = 0x432ff0
> 175 eglGetCurrentSurface(readdraw = EGL_READ) = 0x4314c0
> 176 eglGetCurrentSurface(readdraw = EGL_DRAW) = 0x4314c0
> 177 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 178 eglGetCurrentContext() = 0x430fc8
> 179 eglGetCurrentDisplay() = 0x432ff0
> 180 eglGetCurrentSurface(readdraw = EGL_READ) = 0x4314c0
> 181 eglGetCurrentSurface(readdraw = EGL_DRAW) = 0x4314c0
> 182 glBindFramebuffer(target = GL_FRAMEBUFFER, framebuffer = 0)
> 183 glViewport(x = 0, y = 0, width = 1280, height = 720)
> 184 glClearColor(red = 1, green = 1, blue = 1, alpha = 1)
> 185 glClearDepthf(d = 1)
> 186 glDisable(cap = GL_CULL_FACE)
> 187 glDisable(cap = GL_BLEND)
> 188 glEnable(cap = GL_DEPTH_TEST)
> 189 glDepthFunc(func = GL_LESS)
> 190 glDepthMask(flag = GL_TRUE)
> 191 glColorMask(red = GL_TRUE, green = GL_TRUE, blue = GL_TRUE, alpha =
> GL_TRUE)
> 192 glDisable(cap = GL_SCISSOR_TEST)
> 193 glDisable(cap = GL_STENCIL_TEST)
> 194 glClear(mask = GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT |
> GL_COLOR_BUFFER_BIT)
> 195 glEnable(cap = GL_BLEND)
> 196 glDepthMask(flag = GL_FALSE)
> 197 glBlendFunc(sfactor = GL_ONE, dfactor = GL_ONE_MINUS_SRC_ALPHA)
> 198 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 1)
> 199 glBindBuffer(target = GL_ELEMENT_ARRAY_BUFFER, buffer = 1)
> 200 glEnableVertexAttribArray(index = 0)
> 201 glEnableVertexAttribArray(index = 1)
> 202 glEnableVertexAttribArray(index = 2)
> 203 glUseProgram(program = 1)
> 204 glUniform1fv(location = 3, count = 1, value = &0.8)
> 205 glBindTexture(target = GL_TEXTURE_2D, texture = 1)
> 206 glUniformMatrix4fv(location = 0, count = 1, transpose = GL_FALSE,
> value = {0.0015625, 0, 0, 0, 0, -0.002777778, 0, 0, 0, 0, 1, 0, -1, 1, 0,
> 1})
> 207 glVertexAttribPointer(index = 0, size = 2, type = GL_FLOAT, normalized
> = GL_FALSE, stride = 16, pointer = NULL)
> 209 glFlush()
> 208 glDrawElements(mode = GL_TRIANGLE_STRIP, count = 6, type =
> GL_UNSIGNED_SHORT, indices = 0x50)
> 210 glDisableVertexAttribArray(index = 0)
> 211 glDisableVertexAttribArray(index = 1)
> 212 glDisableVertexAttribArray(index = 2)
> 213 glDisable(cap = GL_STENCIL_TEST)
> 214 glDisable(cap = GL_SCISSOR_TEST)
> 215 glBindBuffer(target = GL_ARRAY_BUFFER, buffer = 0)
> 216 glBindBuffer(target = GL_ELEMENT_ARRAY_BUFFER, buffer = 0)
> 217 glDisable(cap = GL_SCISSOR_TEST)
> 218 eglBindAPI(api = EGL_OPENGL_ES_API) = EGL_TRUE
> 219 eglSwapBuffers(dpy = 0x432ff0, surface = 0x4314c0) = EGL_TRUE
>
> 220 eglMakeCurrent(dpy = 0x432ff0, draw = NULL, read = NULL, ctx = NULL) =
> EGL_TRUE
> 222 eglDestroyContext(dpy = 0x432ff0, ctx = 0x430fc8) = EGL_TRUE
> 221 eglTerminate(dpy = 0x432ff0) = EGL_TRUE
> 223 eglTerminate(dpy = 0x432ff0) = EGL_TRUE
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131106/c87d0e54/attachment.html>
More information about the Interest
mailing list