bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
15.12k stars 1.95k forks source link

REQUEST: Build Target Linux-ARM #784

Closed KenDickey closed 8 years ago

KenDickey commented 8 years ago

Greetings,

I happened upon bgfx, which looks interesting, and tried to build it on my ARM Chromebook (Ubuntu) but need a linux-arm build target.

Can you help me out?

Thanks much, -KenD

uname -a Linux localhost 3.10.18 #1 SMP Sat Apr 9 18:06:13 PDT 2016 armv7l armv7l armv7l GNU/Linux

bkaradzic commented 8 years ago

It should just work, try:

$ genie --gcc=linux-gcc gmake
$ make -C .build/projects/gmake-linux-gcc config=release
KenDickey commented 8 years ago

On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:

genie --gcc=linux-gcc gmake

And genie is available via ... ?

Thanks much, -KenD

KenDickey commented 8 years ago

On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:

It should just work, try:

$ genie --gcc=linux-gcc gmake

Ah! Found a binary under bx.

bx$ make ../bx/tools/bin/linux/genie vs2008 ../bx/tools/bin/linux/genie: 1: ../bx/tools/bin/linux/genie: ELF: not found ../bx/tools/bin/linux/genie: 3: ../bx/tools/bin/linux/genie: Syntax error: ")" unexpected make: *\ [all] Error 2

Is an arm binary available? I'm not running Intel.

Thanks much, -KenD

KenDickey commented 8 years ago

On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:

It should just work, try:

$ genie --gcc=linux-gcc gmake
$ make -C .build/projects/gmake-linux-gcc config=release

Ah! Found genie. Got a bit further.

(trusty)kend@localhost:~/bgfx$ make -C .build/projects/gmake-linux config=release make: Entering directory /home/kend/bgfx/.build/projects/gmake-linux' ==== Building example-common (release) ==== Creating obj/Release/example-common Creating obj/Release/example-common/examples/common/entry Creating obj/Release/example-common/examples/common/font Creating obj/Release/example-common/3rdparty/ib-compress Creating obj/Release/example-common/examples/common/nanovg Creating obj/Release/example-common/examples/common/debugdraw Creating obj/Release/example-common/examples/common/imgui Creating obj/Release/example-common/3rdparty/ocornut-imgui indexbufferdecompression.cpp g++: error: unrecognized command line option '-mfpmath=sse' g++: error: unrecognized command line option '-msse2' make[1]: *** [obj/Release/example-common/3rdparty/ib-compress/indexbufferdecompression.o] Error 1 make: *** [example-common] Error 2 make: Leaving directory/home/kend/bgfx/.build/projects/gmake-linux' (trusty)kend@localhost:~/bgfx$

Looks like some compiler flags, perhaps for linux arm7-a or ..hard-float or ??

Baby steps.. -KenD

bkaradzic commented 8 years ago

Actually try linux-arm-gcc:

$ genie --gcc=linux-arm-gcc gmake
$ make -C .build/projects/gmake-linux-arm-gcc config=release
KenDickey commented 8 years ago

On Sat, 07 May 2016 08:39:58 -0700 Branimir Karadžić notifications@github.com wrote:

Actually try linux-arm-gcc:

$ genie --gcc=linux-arm-gcc gmake
$ make -C .build/projects/gmake-linux-arm-gcc config=release

Ahhh! Much better!

Quick check shows about half the examples run.

Thank you!!! -KenD

bkaradzic commented 8 years ago

Which Chromebook you have? Do you know what's GPU inside?

 glxinfo | grep OpenGL

I haven't tried but it should be possible to build it with EGL/GLES2 instead of GLX/OpenGL, in case their drivers work better with GLES? But that's up to you if you want to thinker with it... :)

KenDickey commented 8 years ago

On Sat, 07 May 2016 14:38:31 -0700 Branimir Karadžić notifications@github.com wrote:

Which Chromebook you have? Do you know what's GPU inside?

 glxinfo | grep OpenGL

The all but one examples work on a SAMSUNG Chromebook XE303c12 (Mali/Exynos).

Most examples die on an ACER Chromebook 13 (nVidea/Tegra K1).

Both machines under Crouton/Ubuntu.

Neither machine has glxinfo installed.

I haven't tried but it should be possible to build it with EGL/GLES2 instead of GLX/OpenGL, in case their drivers work better with GLES? But that's up to you if you want to thinker with it... :)

Now that the basics build I will star digging into the drivers. The SAMSUNG folks are more open than the ACER/nVidea w.r.t. drivers.

Thanks much for taking the time. Hard for a NOOB like me to experiment.

-KenD

KenDickey commented 8 years ago

On Sat, 7 May 2016 16:44:32 -0700 KenD Ken.Dickey@Whidbey.com wrote:

Both machines under Crouton/Ubuntu.

Oops. Sorry, the SAMSUNG is running Arch Linux Arm.

-KenD

bkaradzic commented 8 years ago

This is probably just Linux driver issue, most of examples actually work on Tegra K1 Android tablet with GLES3.

Anyhow, it build on ARM Linux... so closing this issue.

KenDickey commented 8 years ago

On Sat, 07 May 2016 18:23:23 -0700 Branimir Karadžić notifications@github.com wrote:

This is probably just Linux driver issue, most of examples actually work on Tegra K1 Android tablet with GLES3.

Looks like it.

ACER/Tegra K1 under Ubuntu run w nanovg shows failure w texture(s) [attached].

How would I build w GLES?

Thanks, -KenD

(trusty)kend@localhost:~/Downloads/bgfx/examples/runtime$ gdb ../../.build/linux32_arm_gcc/bin/example-20-nanovgDebug GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ../../.build/linux32_arm_gcc/bin/example-20-nanovgDebug...done. (gdb) run Starting program: /home/kend/Downloads/bgfx/.build/linux32_arm_gcc/bin/example-20-nanovgDebug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [New Thread 0xb6b43440 (LWP 8687)] ../../../src/bgfx.cpp (2436): BGFX Init... ../../../src/bgfx.cpp (1236): BGFX Creating rendering thread. [New Thread 0xb3b2c440 (LWP 8688)] ../../../src/bgfx.cpp (1245): BGFX Running in multi-threaded mode ../../../src/bgfx_p.h (2113): BGFX render thread start ../../../src/glcontext_glx.cpp (78): BGFX GLX extensions: ../../../src/renderer_gl.cpp (1051): BGFX GLX_ARB_get_proc_address ../../../src/renderer_gl.cpp (1051): BGFX GLX_ARB_multisample ../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_import_context ../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_visual_info ../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_visual_rating ../../../src/renderer_gl.cpp (1051): BGFX GLX_MESA_copy_sub_buffer ../../../src/renderer_gl.cpp (1051): BGFX GLX_MESA_multithread_makecurrent ../../../src/renderer_gl.cpp (1051): BGFX GLX_OML_swap_method ../../../src/renderer_gl.cpp (1051): BGFX GLX_SGI_make_current_read ../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIS_multisample ../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIX_fbconfig ../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIX_pbuffer ../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_texture_from_pixmap ../../../src/glcontext_glx.cpp (101): BGFX glX num configs 8 ../../../src/glcontext_glx.cpp (108): BGFX --- ../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 3: 8, 8 ( 8) ../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 4: a, 8 ( 8) ../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 5: 9, 8 ( 8) ../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 6: c, 18 ( 18) ../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 7: d, 8 ( 8) ../../../src/glcontext_glx.cpp (136): BGFX Best config 0. ../../../src/glcontext_glx.cpp (148): BGFX Create GL 2.1 context. ../../../src/glimports.h (226): BGFX 0xb6c0d079 glActiveTexture (glActiveTexture) ../../../src/glimports.h (227): BGFX 0xb6c0dc89 glAttachShader (glAttachShader) ../../../src/glimports.h (228): BGFX 0xb6c0da75 glBeginQuery (glBeginQuery) ../../../src/glimports.h (229): BGFX 0xb6c0da91 glBindBuffer (glBindBuffer) ../../../src/glimports.h (230): BGFX 0xb6c0e6f9 glBindBufferBase (glBindBufferBase) ../../../src/glimports.h (231): BGFX 0xb6c0e715 glBindBufferRange (glBindBufferRange) ../../../src/glimports.h (232): BGFX 0xb6c0e739 glBindFragDataLocation (glBindFragDataLocation) ../../../src/glimports.h (233): BGFX 0xb6c0f0d1 glBindFramebuffer (glBindFramebuffer) ../../../src/glimports.h (234): BGFX 0xb6c10575 glBindImageTexture (glBindImageTexture) ../../../src/glimports.h (235): BGFX 0xb6c0f0ed glBindRenderbuffer (glBindRenderbuffer) ../../../src/glimports.h (236): BGFX 0xb6c0f7dd glBindSampler (glBindSampler) ../../../src/glimports.h (237): BGFX 0xb6c0c7d1 glBindTexture (glBindTexture) ../../../src/glimports.h (238): BGFX 0xb6c0f3a5 glBindVertexArray (glBindVertexArray) ../../../src/glimports.h (239): BGFX 0xb6c0cb69 glBlendColor (glBlendColor) ../../../src/glimports.h (240): BGFX 0xb6c0cb85 glBlendEquation (glBlendEquation) ../../../src/glimports.h (241): BGFX (nil) glBlendEquationi (glBlendEquationi) ../../../src/glimports.h (242): BGFX 0xb6c0dcc1 glBlendEquationSeparate (glBlendEquationSeparate) ../../../src/glimports.h (243): BGFX (nil) glBlendEquationSeparatei (glBlendEquationSeparatei) ../../../src/glimports.h (244): BGFX 0xb6c0c071 glBlendFunc (glBlendFunc) ../../../src/glimports.h (245): BGFX (nil) glBlendFunci (glBlendFunci) ../../../src/glimports.h (246): BGFX 0xb6c0d615 glBlendFuncSeparate (glBlendFuncSeparate) ../../../src/glimports.h (247): BGFX (nil) glBlendFuncSeparatei (glBlendFuncSeparatei) ../../../src/glimports.h (248): BGFX 0xb6c0f109 glBlitFramebuffer (glBlitFramebuffer) ../../../src/glimports.h (249): BGFX 0xb6c0daad glBufferData (glBufferData) ../../../src/glimports.h (250): BGFX 0xb6c0dac9 glBufferSubData (glBufferSubData) ../../../src/glimports.h (251): BGFX 0xb6c0f141 glCheckFramebufferStatus (glCheckFramebufferStatus) ../../../src/glimports.h (252): BGFX 0xb6c0bc29 glClear (glClear) ../../../src/glimports.h (253): BGFX 0xb6c0e78d glClearBufferfv (glClearBufferfv) ../../../src/glimports.h (254): BGFX 0xb6c0bc7d glClearColor (glClearColor) ../../../src/glimports.h (255): BGFX 0xb6c0bc99 glClearStencil (glClearStencil) ../../../src/glimports.h (256): BGFX (nil) glClipControl (glClipControl) ../../../src/glimports.h (257): BGFX 0xb6c0bced glColorMask (glColorMask) ../../../src/glimports.h (258): BGFX 0xb6c0dcdd glCompileShader (glCompileShader) ../../../src/glimports.h (259): BGFX 0xb6c0d46d glCompressedTexImage2D (glCompressedTexImage2D) ../../../src/glimports.h (260): BGFX 0xb6c0d4fd glCompressedTexSubImage2D (glCompressedTexSubImage2D) ../../../src/glimports.h (261): BGFX 0xb6c0d49d glCompressedTexImage3D (glCompressedTexImage3D) ../../../src/glimports.h (262): BGFX 0xb6c0d531 glCompressedTexSubImage3D (glCompressedTexSubImage3D) ../../../src/glimports.h (263): BGFX (nil) glCopyImageSubData (glCopyImageSubData) ../../../src/glimports.h (264): BGFX 0xb6c0dcf9 glCreateProgram (glCreateProgram) ../../../src/glimports.h (265): BGFX 0xb6c0dd15 glCreateShader (glCreateShader) ../../../src/glimports.h (266): BGFX 0xb6c0b669 glCullFace (glCullFace) ../../../src/glimports.h (267): BGFX 0xb6c10c09 glDebugMessageControl (glDebugMessageControl) ../../../src/glimports.h (268): BGFX 0xb6c10c31 glDebugMessageInsert (glDebugMessageInsert) ../../../src/glimports.h (269): BGFX 0xb6c10bed glDebugMessageCallback (glDebugMessageCallback) ../../../src/glimports.h (270): BGFX 0xb6c0dae5 glDeleteBuffers (glDeleteBuffers) ../../../src/glimports.h (271): BGFX 0xb6c0f15d glDeleteFramebuffers (glDeleteFramebuffers) ../../../src/glimports.h (272): BGFX 0xb6c0dd31 glDeleteProgram (glDeleteProgram) ../../../src/glimports.h (273): BGFX 0xb6c0db01 glDeleteQueries (glDeleteQueries) ../../../src/glimports.h (274): BGFX 0xb6c0f179 glDeleteRenderbuffers (glDeleteRenderbuffers) ../../../src/glimports.h (275): BGFX 0xb6c0f7f9 glDeleteSamplers (glDeleteSamplers) ../../../src/glimports.h (276): BGFX 0xb6c0dd4d glDeleteShader (glDeleteShader) ../../../src/glimports.h (277): BGFX 0xb6c0ca45 glDeleteTextures (glDeleteTextures) ../../../src/glimports.h (278): BGFX 0xb6c0f3c1 glDeleteVertexArrays (glDeleteVertexArrays) ../../../src/glimports.h (279): BGFX 0xb6c0c0e1 glDepthFunc (glDepthFunc) ../../../src/glimports.h (280): BGFX 0xb6c0bd09 glDepthMask (glDepthMask) ../../../src/glimports.h (281): BGFX 0xb6c0dd69 glDetachShader (glDetachShader) ../../../src/glimports.h (282): BGFX 0xb6c0bd5d glDisable (glDisable) ../../../src/glimports.h (283): BGFX 0xb6c0e805 glDisablei (glDisablei) ../../../src/glimports.h (284): BGFX 0xb6c0dd85 glDisableVertexAttribArray (glDisableVertexAttribArray) ../../../src/glimports.h (285): BGFX (nil) glDispatchCompute (glDispatchCompute) ../../../src/glimports.h (286): BGFX (nil) glDispatchComputeIndirect (glDispatchComputeIndirect) ../../../src/glimports.h (287): BGFX 0xb6c0c825 glDrawArrays (glDrawArrays) ../../../src/glimports.h (288): BGFX 0xb6c0fde1 glDrawArraysIndirect (glDrawArraysIndirect) ../../../src/glimports.h (289): BGFX 0xb6c0f091 glDrawArraysInstanced (glDrawArraysInstanced) ../../../src/glimports.h (290): BGFX 0xb6c0bc0d glDrawBuffer (glDrawBuffer) ../../../src/glimports.h (291): BGFX 0xb6c0dda1 glDrawBuffers (glDrawBuffers) ../../../src/glimports.h (292): BGFX 0xb6c0c841 glDrawElements (glDrawElements) ../../../src/glimports.h (293): BGFX 0xb6c0fdfd glDrawElementsIndirect (glDrawElementsIndirect) ../../../src/glimports.h (294): BGFX 0xb6c0f0ad glDrawElementsInstanced (glDrawElementsInstanced) ../../../src/glimports.h (295): BGFX 0xb6c0bd79 glEnable (glEnable) ../../../src/glimports.h (296): BGFX 0xb6c0e821 glEnablei (glEnablei) ../../../src/glimports.h (297): BGFX 0xb6c0ddbd glEnableVertexAttribArray (glEnableVertexAttribArray) ../../../src/glimports.h (298): BGFX 0xb6c0db1d glEndQuery (glEndQuery) ../../../src/glimports.h (299): BGFX 0xb6c0bd95 glFinish (glFinish) ../../../src/glimports.h (300): BGFX 0xb6c0bdb1 glFlush (glFlush) ../../../src/glimports.h (301): BGFX 0xb6c0f195 glFramebufferRenderbuffer (glFramebufferRenderbuffer) ../../../src/glimports.h (302): BGFX 0xb6c0f1d5 glFramebufferTexture2D (glFramebufferTexture2D) ../../../src/glimports.h (303): BGFX 0xb6c0db39 glGenBuffers (glGenBuffers) ../../../src/glimports.h (304): BGFX 0xb6c0f245 glGenFramebuffers (glGenFramebuffers) ../../../src/glimports.h (305): BGFX 0xb6c0f261 glGenRenderbuffers (glGenRenderbuffers) ../../../src/glimports.h (306): BGFX 0xb6c0db55 glGenQueries (glGenQueries) ../../../src/glimports.h (307): BGFX 0xb6c0f815 glGenSamplers (glGenSamplers) ../../../src/glimports.h (308): BGFX 0xb6c0ca61 glGenTextures (glGenTextures) ../../../src/glimports.h (309): BGFX 0xb6c0f3dd glGenVertexArrays (glGenVertexArrays) ../../../src/glimports.h (310): BGFX 0xb6c0ddd9 glGetActiveAttrib (glGetActiveAttrib) ../../../src/glimports.h (311): BGFX 0xb6c0de4d glGetAttribLocation (glGetAttribLocation) ../../../src/glimports.h (312): BGFX 0xb6c0de05 glGetActiveUniform (glGetActiveUniform) ../../../src/glimports.h (313): BGFX 0xb6c0d56d glGetCompressedTexImage (glGetCompressedTexImage) ../../../src/glimports.h (314): BGFX 0xb6c10c59 glGetDebugMessageLog (glGetDebugMessageLog) ../../../src/glimports.h (315): BGFX 0xb6c0c2c1 glGetError (glGetError) ../../../src/glimports.h (316): BGFX 0xb6c0c2dd glGetFloatv (glGetFloatv) ../../../src/glimports.h (317): BGFX 0xb6c0c2f9 glGetIntegerv (glGetIntegerv) ../../../src/glimports.h (318): BGFX 0xb6c10535 glGetInternalformativ (glGetInternalformativ) ../../../src/glimports.h (319): BGFX (nil) glGetInternalformati64v (glGetInternalformati64v) ../../../src/glimports.h (320): BGFX 0xb6c10c89 glGetObjectLabel (glGetObjectLabel) ../../../src/glimports.h (321): BGFX 0xb6c10cad glGetObjectPtrLabel (glGetObjectPtrLabel) ../../../src/glimports.h (322): BGFX 0xb6c0ca7d glGetPointerv (glGetPointerv) ../../../src/glimports.h (323): BGFX 0xb6c0ffe1 glGetProgramBinary (glGetProgramBinary) ../../../src/glimports.h (324): BGFX 0xb6c0de85 glGetProgramiv (glGetProgramiv) ../../../src/glimports.h (325): BGFX 0xb6c0de69 glGetProgramInfoLog (glGetProgramInfoLog) ../../../src/glimports.h (326): BGFX (nil) glGetProgramInterfaceiv (glGetProgramInterfaceiv) ../../../src/glimports.h (327): BGFX (nil) glGetProgramResourceIndex (glGetProgramResourceIndex) ../../../src/glimports.h (328): BGFX (nil) glGetProgramResourceiv (glGetProgramResourceiv) ../../../src/glimports.h (329): BGFX (nil) glGetProgramResourceName (glGetProgramResourceName) ../../../src/glimports.h (330): BGFX (nil) glGetProgramResourceLocation (glGetProgramResourceLocation) ../../../src/glimports.h (331): BGFX (nil) glGetProgramResourceLocationIndex (glGetProgramResourceLocationIndex) ../../../src/glimports.h (332): BGFX 0xb6c0c4f1 glGetTexImage (glGetTexImage) ../../../src/glimports.h (333): BGFX 0xb6c0dbfd glGetQueryiv (glGetQueryiv) ../../../src/glimports.h (334): BGFX 0xb6c0dbc5 glGetQueryObjectiv (glGetQueryObjectiv) ../../../src/glimports.h (335): BGFX 0xb6c0f965 glGetQueryObjecti64v (glGetQueryObjecti64v) ../../../src/glimports.h (336): BGFX 0xb6c0dbe1 glGetQueryObjectuiv (glGetQueryObjectuiv) ../../../src/glimports.h (337): BGFX 0xb6c0f981 glGetQueryObjectui64v (glGetQueryObjectui64v) ../../../src/glimports.h (338): BGFX 0xb6c0ded9 glGetShaderiv (glGetShaderiv) ../../../src/glimports.h (339): BGFX 0xb6c0dea1 glGetShaderInfoLog (glGetShaderInfoLog) ../../../src/glimports.h (340): BGFX 0xb6c0c449 glGetString (glGetString) ../../../src/glimports.h (341): BGFX 0xb6c0def5 glGetUniformLocation (glGetUniformLocation) ../../../src/glimports.h (343): BGFX 0xb6c0e8c9 glGetStringi (glGetStringi) ../../../src/glimports.h (344): BGFX 0xb6c108c1 glInvalidateFramebuffer (glInvalidateFramebuffer) ../../../src/glimports.h (346): BGFX 0xb6c0dff1 glLinkProgram (glLinkProgram) ../../../src/glimports.h (347): BGFX 0xb6c105a1 glMemoryBarrier (glMemoryBarrier) ../../../src/glimports.h (348): BGFX 0xb6c107cd glMultiDrawArraysIndirect (glMultiDrawArraysIndirect) ../../../src/glimports.h (349): BGFX 0xb6c107e9 glMultiDrawElementsIndirect (glMultiDrawElementsIndirect) ../../../src/glimports.h (350): BGFX 0xb6c10cc9 glObjectLabel (glObjectLabel) ../../../src/glimports.h (351): BGFX 0xb6c10ce5 glObjectPtrLabel (glObjectPtrLabel) ../../../src/glimports.h (352): BGFX 0xb6c0c16d glPixelStorei (glPixelStorei) ../../../src/glimports.h (353): BGFX 0xb6c10d01 glPopDebugGroup (glPopDebugGroup) ../../../src/glimports.h (354): BGFX 0xb6c10005 glProgramBinary (glProgramBinary) ../../../src/glimports.h (355): BGFX 0xb6c10021 glProgramParameteri (glProgramParameteri) ../../../src/glimports.h (356): BGFX 0xb6c10d1d glPushDebugGroup (glPushDebugGroup) ../../../src/glimports.h (357): BGFX 0xb6c0f99d glQueryCounter (glQueryCounter) ../../../src/glimports.h (358): BGFX 0xb6c0c1dd glReadBuffer (glReadBuffer) ../../../src/glimports.h (359): BGFX 0xb6c0c21d glReadPixels (glReadPixels) ../../../src/glimports.h (360): BGFX 0xb6c0f309 glRenderbufferStorage (glRenderbufferStorage) ../../../src/glimports.h (361): BGFX 0xb6c0f325 glRenderbufferStorageMultisample (glRenderbufferStorageMultisample) ../../../src/glimports.h (362): BGFX 0xb6c0f6b9 glSampleMaski (glSampleMaski) ../../../src/glimports.h (363): BGFX 0xb6c0f92d glSamplerParameteri (glSamplerParameteri) ../../../src/glimports.h (364): BGFX 0xb6c0f8f5 glSamplerParameterf (glSamplerParameterf) ../../../src/glimports.h (365): BGFX 0xb6c0f911 glSamplerParameterfv (glSamplerParameterfv) ../../../src/glimports.h (366): BGFX 0xb6c0b909 glScissor (glScissor) ../../../src/glimports.h (367): BGFX 0xb6c0e00d glShaderSource (glShaderSource) ../../../src/glimports.h (368): BGFX 0xb6c0c0a9 glStencilFunc (glStencilFunc) ../../../src/glimports.h (369): BGFX 0xb6c0e029 glStencilFuncSeparate (glStencilFuncSeparate) ../../../src/glimports.h (370): BGFX 0xb6c0bcd1 glStencilMask (glStencilMask) ../../../src/glimports.h (371): BGFX 0xb6c0e045 glStencilMaskSeparate (glStencilMaskSeparate) ../../../src/glimports.h (372): BGFX 0xb6c0c0c5 glStencilOp (glStencilOp) ../../../src/glimports.h (373): BGFX 0xb6c0e061 glStencilOpSeparate (glStencilOpSeparate) ../../../src/glimports.h (374): BGFX 0xb6c0b9e1 glTexImage2D (glTexImage2D) ../../../src/glimports.h (375): BGFX 0xb6c0f6d5 glTexImage2DMultisample (glTexImage2DMultisample) ../../../src/glimports.h (376): BGFX 0xb6c0cfd1 glTexImage3D (glTexImage3D) ../../../src/glimports.h (377): BGFX 0xb6c0f6fd glTexImage3DMultisample (glTexImage3DMultisample) ../../../src/glimports.h (378): BGFX 0xb6c0b979 glTexParameteri (glTexParameteri) ../../../src/glimports.h (379): BGFX 0xb6c0b995 glTexParameteriv (glTexParameteriv) ../../../src/glimports.h (380): BGFX 0xb6c0b941 glTexParameterf (glTexParameterf) ../../../src/glimports.h (381): BGFX 0xb6c0b95d glTexParameterfv (glTexParameterfv) ../../../src/glimports.h (382): BGFX 0xb6c105d9 glTexStorage2D (glTexStorage2D) ../../../src/glimports.h (383): BGFX 0xb6c105fd glTexStorage3D (glTexStorage3D) ../../../src/glimports.h (384): BGFX 0xb6c0cafd glTexSubImage2D (glTexSubImage2D) ../../../src/glimports.h (385): BGFX 0xb6c0d009 glTexSubImage3D (glTexSubImage3D) ../../../src/glimports.h (386): BGFX 0xb6c0e0b5 glUniform1i (glUniform1i) ../../../src/glimports.h (387): BGFX 0xb6c0e0d1 glUniform1iv (glUniform1iv) ../../../src/glimports.h (388): BGFX 0xb6c0e07d glUniform1f (glUniform1f) ../../../src/glimports.h (389): BGFX 0xb6c0e099 glUniform1fv (glUniform1fv) ../../../src/glimports.h (390): BGFX 0xb6c0e109 glUniform2fv (glUniform2fv) ../../../src/glimports.h (391): BGFX 0xb6c0e179 glUniform3fv (glUniform3fv) ../../../src/glimports.h (392): BGFX 0xb6c0e1e9 glUniform4fv (glUniform4fv) ../../../src/glimports.h (393): BGFX 0xb6c0e261 glUniformMatrix3fv (glUniformMatrix3fv) ../../../src/glimports.h (394): BGFX 0xb6c0e27d glUniformMatrix4fv (glUniformMatrix4fv) ../../../src/glimports.h (395): BGFX 0xb6c0e299 glUseProgram (glUseProgram) ../../../src/glimports.h (396): BGFX 0xb6c0ec4d glVertexAttribDivisor (glVertexAttribDivisor) ../../../src/glimports.h (397): BGFX 0xb6c0e5f1 glVertexAttribPointer (glVertexAttribPointer) ../../../src/glimports.h (398): BGFX 0xb6c0eb9d glVertexAttribIPointer (glVertexAttribIPointer) ../../../src/glimports.h (399): BGFX 0xb6c0ee99 glVertexAttrib1f (glVertexAttrib1f) ../../../src/glimports.h (400): BGFX 0xb6c0eed1 glVertexAttrib2f (glVertexAttrib2f) ../../../src/glimports.h (401): BGFX 0xb6c0ef09 glVertexAttrib3f (glVertexAttrib3f) ../../../src/glimports.h (402): BGFX 0xb6c0ef41 glVertexAttrib4f (glVertexAttrib4f) ../../../src/glimports.h (403): BGFX 0xb6c0c799 glViewport (glViewport) ../../../src/glimports.h (406): BGFX 0xb6c0bcb5 glClearDepth (glClearDepth) ../../../src/glimports.h (407): BGFX 0xb6c0b8b5 glPointSize (glPointSize) ../../../src/glimports.h (421): BGFX 0xb6c0f749 glBlendEquationi (glBlendEquationiARB) ../../../src/glimports.h (422): BGFX 0xb6c0f72d glBlendEquationSeparatei (glBlendEquationSeparateiARB) ../../../src/glimports.h (423): BGFX 0xb6c0f789 glBlendFunci (glBlendFunciARB) ../../../src/glimports.h (424): BGFX 0xb6c0f765 glBlendFuncSeparatei (glBlendFuncSeparateiARB) ../../../src/glimports.h (453): BGFX (nil) glInsertEventMarker (glInsertEventMarker) ../../../src/glimports.h (454): BGFX (nil) glPushGroupMarker (glPushGroupMarker) ../../../src/glimports.h (455): BGFX (nil) glPopGroupMarker (glPopGroupMarker) ../../../src/glimports.h (462): BGFX (nil) glStringMarkerGREMEDY (glStringMarkerGREMEDY) ../../../src/glimports.h (463): BGFX (nil) glFrameTerminatorGREMEDY (glFrameTerminatorGREMEDY) ../../../src/glimports.h (464): BGFX (nil) glGetTranslatedShaderSourceANGLE (glGetTranslatedShaderSourceANGLE) ../../../src/glcontext_glx.cpp (197): BGFX Using glXSwapIntervalMESA. ../../../src/renderer_gl.cpp (1352): BGFX GL_NUM_COMPRESSED_TEXTURE_FORMATS 5 ../../../src/renderer_gl.cpp (1375): BGFX 0: 86b0 ../../../src/renderer_gl.cpp (1375): BGFX 1: 86b1 ../../../src/renderer_gl.cpp (1375): BGFX 2: 83f0 ../../../src/renderer_gl.cpp (1375): BGFX 3: 83f2 BC2 ../../../src/renderer_gl.cpp (1375): BGFX 4: 83f3 BC3 ../../../src/renderer_gl.cpp (1382): BGFX Defaults: ../../../src/renderer_gl.cpp (1388): BGFX GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 16384 (min: 64) ../../../src/renderer_gl.cpp (1389): BGFX GL_MAX_VERTEX_UNIFORM_COMPONENTS 16384 (min: 512) ../../../src/renderer_gl.cpp (1390): BGFX GL_MAX_VARYING_FLOATS 64 (min: 32) ../../../src/renderer_gl.cpp (1392): BGFX GL_MAX_VERTEX_ATTRIBS 16 (min: 8) ../../../src/renderer_gl.cpp (1393): BGFX GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 192 (min: 8) ../../../src/renderer_gl.cpp (1394): BGFX GL_MAX_CUBE_MAP_TEXTURE_SIZE 16384 (min: 16) ../../../src/renderer_gl.cpp (1395): BGFX GL_MAX_TEXTURE_IMAGE_UNITS 32 (min: 8) ../../../src/renderer_gl.cpp (1396): BGFX GL_MAX_TEXTURE_SIZE 16384 (min: 64) ../../../src/renderer_gl.cpp (1397): BGFX GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 32 (min: 0) ../../../src/renderer_gl.cpp (1398): BGFX GL_MAX_RENDERBUFFER_SIZE 16384 (min: 1) ../../../src/renderer_gl.cpp (1399): BGFX GL_MAX_COLOR_ATTACHMENTS 8 (min: 1) ../../../src/renderer_gl.cpp (1400): BGFX GL_MAX_DRAW_BUFFERS 8 (min: 1) ../../../src/renderer_gl.cpp (1403): BGFX Vendor: Mesa Project ../../../src/renderer_gl.cpp (1404): BGFX Renderer: Software Rasterizer ../../../src/renderer_gl.cpp (1405): BGFX Version: 2.1 Mesa 10.1.3 ../../../src/renderer_gl.cpp (1406): BGFX GLSL version: 1.20 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_multisample ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_abgr ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_bgra ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_blend_color ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_blend_minmax ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_blend_subtract ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_copy_texture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_polygon_offset ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_subtexture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_vertex_array ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_compiled_vertex_array ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture3D ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_IBM_rasterpos_clip ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_point_parameters ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_draw_range_elements ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_packed_pixels ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_point_parameters ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_rescale_normal ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_separate_specular_color ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_edge_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_SGIS_generate_mipmap ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_SGIS_texture_border_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_SGIS_texture_edge_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_SGIS_texture_lod ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_multitexture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_IBM_multimode_draw_arrays ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_IBM_texture_mirrored_repeat ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_3DFX_texture_compression_FXT1 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_cube_map ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_env_add ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_transpose_matrix ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_blend_func_separate ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_fog_coord ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_multi_draw_arrays ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_secondary_color ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_env_add ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_filter_anisotropic ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_lod_bias ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_INGR_blend_func_separate ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_blend_square ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_light_max_exponent ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_texgen_reflection ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_texture_env_combine4 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_S3_s3tc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_SUN_multi_draw_arrays ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_border_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_compression ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_framebuffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_compression_s3tc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_env_combine ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_env_dot3 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_MESA_window_pos ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_packed_depth_stencil ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_texture_rectangle ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_depth_texture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_occlusion_query ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_shadow ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_env_combine ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_env_crossbar ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_env_dot3 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_mirrored_repeat ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_window_pos ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_envmap_bumpmap ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_fragment_shader ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_stencil_two_side ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_cube_map ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_depth_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_point_sprite ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_APPLE_packed_pixels ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_APPLE_vertex_array_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_draw_buffers ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_fragment_program ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_fragment_shader ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_shader_objects ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_vertex_program ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_vertex_shader ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_draw_buffers ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_texture_env_combine3 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_texture_float ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_depth_bounds_test ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_shadow_funcs ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_stencil_wrap ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_MESA_pack_invert ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_MESA_ycbcr_texture ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_depth_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_fragment_program_shadow ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_half_float_pixel ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_occlusion_query2 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_point_sprite ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_shading_language_100 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_sync ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_non_power_of_two ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_vertex_buffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_blend_equation_separate ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_blend_equation_separate ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_OES_read_format ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_pixel_buffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_texture_compression_rgtc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_texture_float ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_rectangle ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_texture_compression_3dc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_pixel_buffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_compression_dxt1 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_compression_rgtc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_mirror_clamp ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_rectangle ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_sRGB ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_shared_exponent ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_framebuffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_framebuffer_blit ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_packed_depth_stencil ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_fragment_program_option ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_APPLE_object_purgeable ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_vertex_array_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_separate_stencil ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ATI_texture_mirror_once ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_draw_buffers2 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_draw_instanced ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_gpu_program_parameters ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_array ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_compression_latc ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_texture_sRGB_decode ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_copy_buffer ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_draw_instanced ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_half_float_vertex ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_map_buffer_range ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_texture_rg ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_texture_swizzle ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_vertex_array_bgra ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_separate_shader_objects ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_EXT_texture_swizzle ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_vertex_array_bgra ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_NV_conditional_render ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_debug_output ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_draw_elements_base_vertex ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_explicit_attrib_location ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_fragment_coord_conventions ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_provoking_vertex ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_sampler_objects ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_EXT_provoking_vertex ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_get_program_binary ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_robustness ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ANGLE_texture_compression_dxt3 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ANGLE_texture_compression_dxt5 ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_map_buffer_alignment ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_texture_storage ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_AMD_shader_trinary_minmax ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_clear_buffer_object ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_ARB_invalidate_subdata ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_vertex_attrib_binding ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION (supported): GL_KHR_debug ../../../src/renderer_gl.cpp (1290): BGFX GL_EXTENSION : GL_ARB_texture_mirror_clamp_to_edge ../../../src/renderer_gl.cpp (1470): BGFX Supported extensions: ../../../src/renderer_gl.cpp (1475): BGFX 7: ANGLE_texture_compression_dxt3 ../../../src/renderer_gl.cpp (1475): BGFX 8: ANGLE_texture_compression_dxt5 ../../../src/renderer_gl.cpp (1475): BGFX 18: ARB_debug_output ../../../src/renderer_gl.cpp (1475): BGFX 20: ARB_depth_clamp ../../../src/renderer_gl.cpp (1475): BGFX 23: ARB_draw_instanced ../../../src/renderer_gl.cpp (1475): BGFX 25: ARB_framebuffer_object ../../../src/renderer_gl.cpp (1475): BGFX 27: ARB_get_program_binary ../../../src/renderer_gl.cpp (1475): BGFX 28: ARB_half_float_pixel ../../../src/renderer_gl.cpp (1475): BGFX 29: ARB_half_float_vertex ../../../src/renderer_gl.cpp (1475): BGFX 33: ARB_invalidate_subdata ../../../src/renderer_gl.cpp (1475): BGFX 34: ARB_map_buffer_range ../../../src/renderer_gl.cpp (1475): BGFX 36: ARB_multisample ../../../src/renderer_gl.cpp (1475): BGFX 37: ARB_occlusion_query ../../../src/renderer_gl.cpp (1475): BGFX 38: ARB_occlusion_query2 ../../../src/renderer_gl.cpp (1475): BGFX 40: ARB_sampler_objects ../../../src/renderer_gl.cpp (1475): BGFX 47: ARB_texture_compression_rgtc ../../../src/renderer_gl.cpp (1475): BGFX 48: ARB_texture_float ../../../src/renderer_gl.cpp (1475): BGFX 50: ARB_texture_rg ../../../src/renderer_gl.cpp (1475): BGFX 53: ARB_texture_storage ../../../src/renderer_gl.cpp (1475): BGFX 54: ARB_texture_swizzle ../../../src/renderer_gl.cpp (1475): BGFX 57: ARB_vertex_array_object ../../../src/renderer_gl.cpp (1475): BGFX 66: EXT_bgra ../../../src/renderer_gl.cpp (1475): BGFX 67: EXT_blend_color ../../../src/renderer_gl.cpp (1475): BGFX 68: EXT_blend_minmax ../../../src/renderer_gl.cpp (1475): BGFX 69: EXT_blend_subtract ../../../src/renderer_gl.cpp (1475): BGFX 80: EXT_draw_instanced ../../../src/renderer_gl.cpp (1475): BGFX 83: EXT_framebuffer_blit ../../../src/renderer_gl.cpp (1475): BGFX 84: EXT_framebuffer_object ../../../src/renderer_gl.cpp (1475): BGFX 95: EXT_texture_array ../../../src/renderer_gl.cpp (1475): BGFX 96: EXT_texture_compression_dxt1 ../../../src/renderer_gl.cpp (1475): BGFX 97: EXT_texture_compression_latc ../../../src/renderer_gl.cpp (1475): BGFX 98: EXT_texture_compression_rgtc ../../../src/renderer_gl.cpp (1475): BGFX 99: EXT_texture_compression_s3tc ../../../src/renderer_gl.cpp (1475): BGFX 100: EXT_texture_filter_anisotropic ../../../src/renderer_gl.cpp (1475): BGFX 103: EXT_texture_shared_exponent ../../../src/renderer_gl.cpp (1475): BGFX 105: EXT_texture_sRGB ../../../src/renderer_gl.cpp (1475): BGFX 107: EXT_texture_swizzle ../../../src/renderer_gl.cpp (1475): BGFX 121: KHR_debug ../../../src/renderer_gl.cpp (1475): BGFX 141: OES_read_format ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::BC6H is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::BC7 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC1 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC2 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC2A is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC2A1 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC12 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC14 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC12A is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC14A is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC22 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC24 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R8I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R8U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R8S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R16I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R16U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R16S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R32I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R32U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG8I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG8U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG8S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG16I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG16U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG16S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG32I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RG32U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGB8I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGB8U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGB8S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA8I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA8U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA8S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA16I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA16U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA16S is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA32I is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::RGBA32U is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R5G6B5 is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::R11G11B10F is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::D16F is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::D24F is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::D32F is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::D0S8 is not supported (501: GL_INVALID_VALUE). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC2A is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::ETC2A1 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC12 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC14 is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC12A is not supported (500: GL_INVALID_ENUM). ../../../src/renderer_gl.cpp (1152): BGFX WARN TextureFormat::PTC14A is not supported (500: GL_INVALID_ENUM). ../../../src/bgfx.cpp (374): BGFX Graphics debugger is not present. ../../../src/bgfx.cpp (1097): BGFX Sort key masks: ../../../src/bgfx.cpp (1098): BGFX View 7f80000000000000 ../../../src/bgfx.cpp (1099): BGFX Draw bit 0040000000000000 ../../../src/bgfx.cpp (1100): BGFX Seq 003ff80000000000 ../../../src/bgfx.cpp (1101): BGFX D Trans 0000060000000000 ../../../src/bgfx.cpp (1102): BGFX D Program 000001ff00000000 ../../../src/bgfx.cpp (1103): BGFX C Program 000007fc00000000 ../../../src/bgfx.cpp (1104): BGFX D Depth 00000000ffffffff ../../../src/bgfx.cpp (1110): BGFX Supported capabilities (renderer OpenGL 2.1, vendor 0x0000, device 0x0000): ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_TEXTURE_COMPARE_LEQUAL ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_TEXTURE_COMPARE_ALL ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_TEXTURE_3D ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_VERTEX_ATTRIB_HALF ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_RENDERER_MULTITHREADED ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_FRAGMENT_DEPTH ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_SWAP_CHAIN ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_INDEX32 ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_TEXTURE_READ_BACK ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_OCCLUSION_QUERY ../../../src/bgfx.cpp (1115): BGFX BGFX_CAPS_ALPHA_TO_COVERAGE ../../../src/bgfx.cpp (1119): BGFX Supported texture formats: ../../../src/bgfx.cpp (1120): BGFX +--------------- 2D: x = supported / * = emulated ../../../src/bgfx.cpp (1121): BGFX |+-------------- 2D: sRGB format ../../../src/bgfx.cpp (1122): BGFX ||+------------- 3D: x = supported / * = emulated ../../../src/bgfx.cpp (1123): BGFX |||+------------ 3D: sRGB format ../../../src/bgfx.cpp (1124): BGFX ||||+----------- Cube: x = supported / * = emulated ../../../src/bgfx.cpp (1125): BGFX |||||+---------- Cube: sRGB format ../../../src/bgfx.cpp (1126): BGFX ||||||+--------- vertex format ../../../src/bgfx.cpp (1127): BGFX |||||||+-------- image ../../../src/bgfx.cpp (1128): BGFX ||||||||+------- framebuffer ../../../src/bgfx.cpp (1129): BGFX |||||||||+------ MSAA framebuffer ../../../src/bgfx.cpp (1130): BGFX ||||||||||+----- MSAA texture ../../../src/bgfx.cpp (1131): BGFX ||||||||||| +-- name ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] BC1 ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] BC2 ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] BC3 ../../../src/bgfx.cpp (1151): BGFX [x x x ] BC4 ../../../src/bgfx.cpp (1151): BGFX [x x x ] BC5 ../../../src/bgfx.cpp (1151): BGFX [ ] BC6H ../../../src/bgfx.cpp (1151): BGFX [ ] BC7 ../../../src/bgfx.cpp (1151): BGFX [* * * ] ETC1 ../../../src/bgfx.cpp (1151): BGFX [* * * ] ETC2 ../../../src/bgfx.cpp (1151): BGFX [* * * ] ETC2A ../../../src/bgfx.cpp (1151): BGFX [* * * ] ETC2A1 ../../../src/bgfx.cpp (1151): BGFX [ ] PTC12 ../../../src/bgfx.cpp (1151): BGFX [* * * ] PTC14 ../../../src/bgfx.cpp (1151): BGFX [ ] PTC12A ../../../src/bgfx.cpp (1151): BGFX [* * * ] PTC14A ../../../src/bgfx.cpp (1151): BGFX [ ] PTC22 ../../../src/bgfx.cpp (1151): BGFX [ ] PTC24 ../../../src/bgfx.cpp (1151): BGFX [ ] R1 ../../../src/bgfx.cpp (1151): BGFX [x x x ] A8 ../../../src/bgfx.cpp (1151): BGFX [x x x ] R8 ../../../src/bgfx.cpp (1151): BGFX [* * * ] R8I ../../../src/bgfx.cpp (1151): BGFX [* * * ] R8U ../../../src/bgfx.cpp (1151): BGFX [* * * ] R8S ../../../src/bgfx.cpp (1151): BGFX [x x x ] R16 ../../../src/bgfx.cpp (1151): BGFX [* * * ] R16I ../../../src/bgfx.cpp (1151): BGFX [* * * ] R16U ../../../src/bgfx.cpp (1151): BGFX [x x x ] R16F ../../../src/bgfx.cpp (1151): BGFX [* * * ] R16S ../../../src/bgfx.cpp (1151): BGFX [* * * ] R32I ../../../src/bgfx.cpp (1151): BGFX [* * * ] R32U ../../../src/bgfx.cpp (1151): BGFX [x x x ] R32F ../../../src/bgfx.cpp (1151): BGFX [x x x ] RG8 ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG8I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG8U ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG8S ../../../src/bgfx.cpp (1151): BGFX [x x x ] RG16 ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG16I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG16U ../../../src/bgfx.cpp (1151): BGFX [x x x ] RG16F ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG16S ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG32I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RG32U ../../../src/bgfx.cpp (1151): BGFX [x x x ] RG32F ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] RGB8 ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGB8I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGB8U ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGB8S ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGB9E5 ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] BGRA8 ../../../src/bgfx.cpp (1151): BGFX [xlxlxl ] RGBA8 ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA8I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA8U ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA8S ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGBA16 ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA16I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA16U ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGBA16F ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA16S ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA32I ../../../src/bgfx.cpp (1151): BGFX [* * * ] RGBA32U ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGBA32F ../../../src/bgfx.cpp (1151): BGFX [* * * ] R5G6B5 ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGBA4 ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGB5A1 ../../../src/bgfx.cpp (1151): BGFX [x x x ] RGB10A2 ../../../src/bgfx.cpp (1151): BGFX [* * * ] R11G11B10F ../../../src/bgfx.cpp (1151): BGFX [x x x ] D16 ../../../src/bgfx.cpp (1151): BGFX [x x x ] D24 ../../../src/bgfx.cpp (1151): BGFX [x x x ] D24S8 ../../../src/bgfx.cpp (1151): BGFX [x x x ] D32 ../../../src/bgfx.cpp (1151): BGFX [ ] D16F ../../../src/bgfx.cpp (1151): BGFX [ ] D24F ../../../src/bgfx.cpp (1151): BGFX [ ] D32F ../../../src/bgfx.cpp (1151): BGFX [ ] D0S8 ../../../src/bgfx.cpp (1156): BGFX Max FB attachments: 8 ../../../src/bgfx.cpp (1160): BGFX NDC depth [-1, 1], origin bottom left. ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 0) s_texColor ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 1) bgfx_clear_color ../../../src/renderer_gl.cpp (4435): BGFX Texture2D 0: R8 (requested: R8), 2048x24x0. ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 1 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL3: GL1, GL2 ../../../src/renderer_gl.cpp (3833): BGFX Program 3 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (4): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC4 a_color0 is at location 0 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC4 a_color1 is at location 1 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 2 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC2 a_texcoord0 is at location 3 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (2): ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_MAT4 u_modelViewProj* is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (3965): BGFX Sampler #0 at location 1. ../../../src/renderer_gl.cpp (4005): BGFX store s_texColor 0 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_SAMPLER_2D s_texColor is at location 1, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 2 ../../../src/renderer_gl.cpp (4070): BGFX attr a_color0: 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_color1: 1 ../../../src/renderer_gl.cpp (4070): BGFX attr a_texcoord0: 3 vertexdecl 15301918 (08bf664f), stride 28 attr 0 - Attrib::Position, num 3, type 4, norm 0, asint 0, offset 0 attr 4 - Attrib::Color0, num 4, type 0, norm 1, asint 0, offset 12 attr 5 - Attrib::Color1, num 4, type 0, norm 1, asint 0, offset 16 attr 8 - Attrib::TexCoord0, num 2, type 4, norm 0, asint 0, offset 20 ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL6: GL4, GL5 ../../../src/renderer_gl.cpp (3833): BGFX Program 6 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL8: GL4, GL7 ../../../src/renderer_gl.cpp (3833): BGFX Program 8 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 2, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL10: GL4, GL9 ../../../src/renderer_gl.cpp (3833): BGFX Program 10 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 3, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL12: GL4, GL11 ../../../src/renderer_gl.cpp (3833): BGFX Program 12 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 4, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL14: GL4, GL13 ../../../src/renderer_gl.cpp (3833): BGFX Program 14 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 5, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL16: GL4, GL15 ../../../src/renderer_gl.cpp (3833): BGFX Program 16 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 6, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL18: GL4, GL17 ../../../src/renderer_gl.cpp (3833): BGFX Program 18 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 7, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL20: GL4, GL19 ../../../src/renderer_gl.cpp (3833): BGFX Program 20 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (1): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 0 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (3921): BGFX --- bgfx_clear_color[0] ../../../src/renderer_gl.cpp (4005): BGFX store bgfx_clear_color 1 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 bgfx_clear_color is at location 0, size 8, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 vertexdecl 3c272e96 (bfd2d60f), stride 12 attr 0 - Attrib::Position, num 3, type 4, norm 0, asint 0, offset 0 ../../../src/bgfx.cpp (2465): BGFX Init complete. ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 2) s_tex ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 3) u_viewSize ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 4) u_halfTexel ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 5) u_scissorMat ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 6) u_paintMat ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 7) u_innerCol ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 8) u_outerCol ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 9) u_scissorExtScale ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 10) u_extentRadius ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 11) u_params ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 12) u_imageLodEnabled ../../../src/bgfx_p.h (3362): BGFX Creating uniform (handle 13) u_swizzle ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 1 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL23: GL21, GL22 ../../../src/renderer_gl.cpp (3833): BGFX Program 23 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (3): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC4 a_color0 is at location 0 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 1 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC2 a_texcoord0 is at location 2 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (2): ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_viewTexel* is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (3965): BGFX Sampler #0 at location 1. ../../../src/renderer_gl.cpp (4005): BGFX store s_tex 2 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_SAMPLER_2D s_tex is at location 1, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 1 ../../../src/renderer_gl.cpp (4070): BGFX attr a_color0: 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_texcoord0: 2 ../../../src/renderer_gl.cpp (4435): BGFX Texture2D 1: BGRA8 (requested: BGRA8), 512x128x0. ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 2 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 8 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL26: GL24, GL25 ../../../src/renderer_gl.cpp (3833): BGFX Program 26 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (2): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC2 a_position is at location 0 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC2 a_texcoord0 is at location 1 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (10): ../../../src/renderer_gl.cpp (4005): BGFX store u_viewSize 3 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_viewSize is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_halfTexel 4 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_halfTexel is at location 1, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_scissorMat 5 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_MAT3 u_scissorMat is at location 2, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_paintMat 6 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_MAT3 u_paintMat is at location 3, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_innerCol 7 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_innerCol is at location 4, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_outerCol 8 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_outerCol is at location 5, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_scissorExtScale 9 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_scissorExtScale is at location 6, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_extentRadius 10 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_extentRadius is at location 7, size 1, offset 0 ../../../src/renderer_gl.cpp (4005): BGFX store u_params 11 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_VEC4 u_params is at location 8, size 1, offset 0 ../../../src/renderer_gl.cpp (3965): BGFX Sampler #0 at location 9. ../../../src/renderer_gl.cpp (4005): BGFX store s_tex 2 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_SAMPLER_2D s_tex is at location 9, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_texcoord0: 1 ../../../src/renderer_gl.cpp (4435): BGFX Texture2D 2: BGRA8 (requested: BGRA8), 4x4x0. ../../../src/renderer_gl.cpp (4435): BGFX Texture2D 3: R8 (requested: R8), 512x512x0. ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 1 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 0 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL29: GL27, GL28 ../../../src/renderer_gl.cpp (3833): BGFX Program 29 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (2): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC4 a_color0 is at location 0 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 1 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (1): ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_MAT4 u_viewProj* is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 1 ../../../src/renderer_gl.cpp (4070): BGFX attr a_color0: 0 ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 1 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 1 ../../../src/renderer_gl.cpp (3722): BGFX Program create: GL32: GL30, GL31 ../../../src/renderer_gl.cpp (3833): BGFX Program 32 ../../../src/renderer_gl.cpp (3834): BGFX Attributes (3): ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC4 a_color0 is at location 0 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC3 a_position is at location 1 ../../../src/renderer_gl.cpp (3863): BGFX GL_FLOAT_VEC2 a_texcoord0 is at location 2 ../../../src/renderer_gl.cpp (3869): BGFX Uniforms (2): ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_FLOAT_MAT4 u_viewProj* is at location 0, size 1, offset 0 ../../../src/renderer_gl.cpp (3965): BGFX Sampler #0 at location 1. ../../../src/renderer_gl.cpp (4005): BGFX store s_texColor 0 ../../../src/renderer_gl.cpp (4016): BGFX uniform GL_SAMPLER_2D s_texColor is at location 1, size 1, offset 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_position: 1 ../../../src/renderer_gl.cpp (4070): BGFX attr a_color0: 0 ../../../src/renderer_gl.cpp (4070): BGFX attr a_texcoord0: 2 ../../../src/renderer_gl.cpp (4877): BGFX Vertex Shader consts 1 ../../../src/renderer_gl.cpp (4877): BGFX Fragment Shader consts 2 ../../../src/renderer_gl.cpp (5292): BGFX

define in varying

define lowp

define mediump

define highp

define flat

define smooth

define noperspective

varying highp vec3 v_normal; uniform highp vec4 u_imageLodEnabled; uniform lowp samplerCube s_texColor; void main () { lowp vec4 tmpvar_1; tmpvar_1.xyz = textureCubeLod (s_texColor, v_normal, u_imageLodEnabled.x).xyz; tmpvar_1.w = (0.2 + (0.8 * u_imageLodEnabled.y)); gl_FragColor = tmpvar_1; }

../../../src/renderer_gl.cpp (5297): BGFX Failed to compile shader. 0: 0:14(74): error: no matching function for call to `textureCubeLod(samplerCube, vec3, float)'; candidates are: 0:14(79): error: type mismatch

../../../src/bgfx.cpp (91): BGFX 0x00000002: Failed to compile shader.

Program received signal SIGABRT, Aborted. [Switching to Thread 0xb3b2c440 (LWP 8688)] __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44 44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory. (gdb) bt

0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44

1 0xb6c68f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

2 0xb6c6b766 in __GI_abort () at abort.c:89

3 0x00034024 in bgfx::CallbackStub::fatal (this=0xb6200c48, _code=bgfx::Fatal::InvalidShader, _str=0xb3b286ac "Failed to compile shader.")

at ../../../src/bgfx.cpp:93

4 0x000185ce in bgfx::fatal (_code=bgfx::Fatal::InvalidShader, _format=0xe8480 "Failed to compile shader.") at ../../../src/bgfx.cpp:399

5 0x0004e9b4 in bgfx::gl::ShaderGL::create (this=0xb323c664, _mem=0xb620ec40) at ../../../src/renderer_gl.cpp:5301

6 0x0005e090 in bgfx::gl::RendererContextGL::createShader (this=0xb3200468, _handle=..., _mem=0xb620ec40) at ../../../src/renderer_gl.cpp:2205

7 0x0001cdc2 in bgfx::Context::rendererExecCommands (this=0xb3d2f010, _cmdbuf=...) at ../.

bkaradzic commented 8 years ago

You're out of luck:

../../../src/renderer_gl.cpp (1403): BGFX Vendor: Mesa Project ../../../src/renderer_gl.cpp (1404): BGFX Renderer: Software Rasterizer ../../../src/renderer_gl.cpp (1405): BGFX Version: 2.1 Mesa 10.1.3