[00:03:40] *** Vasco is now known as Vasco_O
[00:08:55] *** bpmedley <bpmedley!~bpm@2600:1700:eb20:6050:b578:747c:8668:f307> has joined ##OpenGL
[00:14:24] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[00:15:15] *** zalt <zalt!~lambda443@unaffiliated/lambda443> has quit IRC (Read error: Connection reset by peer)
[00:15:27] *** zalt_ <zalt_!~lambda443@unaffiliated/lambda443> has joined ##OpenGL
[00:21:37] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has joined ##OpenGL
[00:26:08] *** zalt_ <zalt_!~lambda443@unaffiliated/lambda443> has quit IRC (Remote host closed the connection)
[00:26:53] *** RonaldsMazitis <RonaldsMazitis!~quassel@78.84.6.1> has joined ##OpenGL
[00:27:17] *** zalt <zalt!~lambda443@unaffiliated/lambda443> has joined ##OpenGL
[00:29:59] <BPL> stupid question but... how much worse is calling `glGenBuffers(1) n times` instead glGenBuffers(n)?
[00:31:47] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has quit IRC (Quit: Leaving)
[00:34:30] *** DrBenway <DrBenway!~DrBenway@modemcable080.164-57-74.mc.videotron.ca> has quit IRC (Quit: Leaving)
[00:35:40] *** zalt <zalt!~lambda443@unaffiliated/lambda443> has quit IRC (Ping timeout: 272 seconds)
[00:41:58] *** RonaldsMazitis <RonaldsMazitis!~quassel@78.84.6.1> has quit IRC (Remote host closed the connection)
[00:45:10] *** LunarJetman <LunarJetman!LunarJetma@176.248.197.112> has joined ##OpenGL
[00:45:48] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has joined ##OpenGL
[00:54:14] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has joined ##OpenGL
[00:55:16] <jbracey> ok, I have this code
[00:55:23] <jbracey> all I get is a white screen
[00:55:44] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Quit: glYoda)
[01:04:01] <jbracey> Back again....bad connection
[01:04:13] <jbracey> here is the corresponding shader code:
[01:06:56] *** Skaterhaym <Skaterhaym!~bruno@38.104.105.178> has joined ##OpenGL
[01:09:31] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has quit IRC (Ping timeout: 258 seconds)
[01:18:53] *** Singmyr <Singmyr!~Singmyr@c83-253-123-62.bredband.comhem.se> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[01:32:28] *** Skaterhaym <Skaterhaym!~bruno@38.104.105.178> has quit IRC (Read error: Connection reset by peer)
[01:33:56] *** Skaterhaym <Skaterhaym!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has joined ##OpenGL
[01:35:45] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has quit IRC (Ping timeout: 250 seconds)
[01:37:44] *** Skaterhaym <Skaterhaym!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has quit IRC (Client Quit)
[01:41:38] *** mukunda <mukunda!mukunda@adsl-74-240-49-73.jan.bellsouth.net> has joined ##OpenGL
[01:44:11] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has joined ##OpenGL
[01:44:42] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has quit IRC (Ping timeout: 272 seconds)
[01:56:53] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has quit IRC (Ping timeout: 244 seconds)
[02:17:04] *** zalt <zalt!~lambda443@unaffiliated/lambda443> has joined ##OpenGL
[02:17:25] *** BPL <BPL!~BPL@102.56.27.77.dynamic.reverse-mundo-r.com> has quit IRC (Quit: Leaving)
[02:22:22] *** Albori <Albori!~Albori@64-251-148-96.fidnet.com> has quit IRC (Ping timeout: 246 seconds)
[02:24:45] *** Albori <Albori!~Albori@64-251-148-96.fidnet.com> has joined ##OpenGL
[02:46:30] *** LunarJetman <LunarJetman!LunarJetma@176.248.197.112> has left ##OpenGL
[02:55:06] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has quit IRC (Remote host closed the connection)
[02:55:30] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has joined ##OpenGL
[03:17:35] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7l9r42569r41f4.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 250 seconds)
[03:26:24] *** Nicmavr <Nicmavr!~Nicmavr@unaffiliated/nicmavr> has quit IRC (Read error: Connection reset by peer)
[03:28:41] *** Nicmavr <Nicmavr!~Nicmavr@unaffiliated/nicmavr> has joined ##OpenGL
[03:35:47] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has quit IRC (Ping timeout: 250 seconds)
[03:35:56] *** Kingsquee <Kingsquee!~kingsquee@d206-116-124-240.bchsia.telus.net> has joined ##OpenGL
[03:36:05] *** cshzg <cshzg!~dietary@181.53.12.207> has quit IRC (Ping timeout: 244 seconds)
[03:51:13] *** cshzg <cshzg!~dietary@181.53.12.207> has joined ##OpenGL
[04:03:11] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has joined ##OpenGL
[04:10:42] *** cshzg <cshzg!~dietary@181.53.12.207> has quit IRC (Ping timeout: 244 seconds)
[04:11:15] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has joined ##OpenGL
[04:20:13] *** davr0s_ <davr0s_!~davr0s@host31-51-108-73.range31-51.btcentralplus.com> has joined ##OpenGL
[04:22:24] *** davr0s <davr0s!~davr0s@host109-149-99-217.range109-149.btcentralplus.com> has quit IRC (Ping timeout: 272 seconds)
[04:26:25] *** cshzg <cshzg!~dietary@181.53.12.207> has joined ##OpenGL
[04:32:02] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has quit IRC (Ping timeout: 248 seconds)
[04:38:59] *** groton <groton!~groton@unaffiliated/groton> has quit IRC (Quit: groton)
[04:42:21] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[04:52:16] *** KAHR-Alpha <KAHR-Alpha!~Alpha@2a01cb0d024a6600108a3663fa95a7eb.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 252 seconds)
[04:54:13] *** groton <groton!~groton@unaffiliated/groton> has quit IRC (Quit: groton)
[04:55:55] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has joined ##OpenGL
[04:56:20] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has joined ##OpenGL
[04:57:53] *** slime <slime!~slime73@blk-215-81-93.eastlink.ca> has quit IRC (Quit: This computer has gone to sleep)
[04:58:11] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Client Quit)
[04:58:48] *** Twipply <Twipply!~Twipply@unaffiliated/twipply> has quit IRC (Quit: Leaving)
[05:05:27] *** zalt <zalt!~lambda443@unaffiliated/lambda443> has quit IRC (Ping timeout: 245 seconds)
[05:11:47] *** guardianx <guardianx!~neon@60-241-62-242.tpgi.com.au> has joined ##OpenGL
[05:12:45] *** guardianx is now known as __proto__
[05:36:01] *** VladTheImpaler <VladTheImpaler!~VladTHeIm@x4d0d348a.dyn.telefonica.de> has joined ##OpenGL
[05:39:46] *** VladTheImplier <VladTheImplier!~VladTHeIm@x4d0bad11.dyn.telefonica.de> has quit IRC (Ping timeout: 258 seconds)
[05:42:54] *** __proto__ is now known as kaksoispiste
[06:17:08] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has quit IRC (Quit: Leaving)
[06:27:05] *** dansho <dansho!~dansho4@71-84-161-204.dhcp.astr.or.charter.com> has joined ##OpenGL
[06:50:40] *** cshzg <cshzg!~dietary@181.53.12.207> has quit IRC (Quit: Leaving.)
[07:06:58] *** tab-key <tab-key!~mantra@2601:601:c980:8fd:987d:ae3b:a667:ffdc> has quit IRC (Ping timeout: 276 seconds)
[07:08:38] *** tab-key <tab-key!~mantra@c-73-239-96-9.hsd1.wa.comcast.net> has joined ##OpenGL
[07:12:48] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has joined ##OpenGL
[07:17:28] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has quit IRC (Ping timeout: 260 seconds)
[07:30:47] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[07:32:49] *** bpmedley <bpmedley!~bpm@2600:1700:eb20:6050:b578:747c:8668:f307> has quit IRC (Ping timeout: 250 seconds)
[07:45:30] *** kaksoispiste <kaksoispiste!~neon@60-241-62-242.tpgi.com.au> has quit IRC (Remote host closed the connection)
[07:45:58] *** kaksoispiste <kaksoispiste!~neon@60-241-62-242.tpgi.com.au> has joined ##OpenGL
[07:47:42] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[07:55:41] *** kaksoispiste <kaksoispiste!~neon@60-241-62-242.tpgi.com.au> has quit IRC (Quit: Konversation terminated!)
[08:04:21] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has joined ##OpenGL
[08:05:22] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has quit IRC (Remote host closed the connection)
[08:05:45] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has joined ##OpenGL
[08:08:55] *** immibis <immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz> has joined ##OpenGL
[08:09:39] *** tab-key <tab-key!~mantra@c-73-239-96-9.hsd1.wa.comcast.net> has quit IRC (Read error: Connection reset by peer)
[08:22:32] *** dansho <dansho!~dansho4@71-84-161-204.dhcp.astr.or.charter.com> has quit IRC (Ping timeout: 245 seconds)
[08:24:58] *** stefkos <stefkos!~Pawel@79.184.137.244.ipv4.supernova.orange.pl> has joined ##OpenGL
[08:32:03] *** guardianx <guardianx!~neon@pa49-197-107-100.pa.qld.optusnet.com.au> has joined ##OpenGL
[08:38:54] *** dansho <dansho!~dansho4@71-84-161-204.dhcp.astr.or.charter.com> has joined ##OpenGL
[08:39:04] *** GyroW <GyroW!~GyroW@unaffiliated/gyrow> has quit IRC (Ping timeout: 264 seconds)
[08:48:03] *** guardianx <guardianx!~neon@pa49-197-107-100.pa.qld.optusnet.com.au> has quit IRC (Quit: Konversation terminated!)
[08:53:54] *** bpmedley <bpmedley!~bpm@2600:1700:eb20:6050:2d0a:8c32:b276:511> has joined ##OpenGL
[08:55:26] *** macroprep <macroprep!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[08:57:40] *** Matthijs <Matthijs!~quassel@unaffiliated/matthijs> has joined ##OpenGL
[09:00:36] *** ploks <ploks!~ploks@176.ip-51-68-214.eu> has left ##OpenGL ("WeeChat 2.2")
[09:03:27] *** Albori <Albori!~Albori@64-251-148-96.fidnet.com> has quit IRC (Quit: Albori)
[09:21:20] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 272 seconds)
[09:22:05] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[09:27:08] <macroprep> does opengl on LINUX require initialization or is all that done automaitcally by the window manager
[09:32:28] <macroprep> what is the MAIN difference between an ANDROID OpenGL application and a WINDOWS/LINUX OpenGL application
[09:33:45] *** Albori <Albori!~Albori@64-251-148-96.fidnet.com> has joined ##OpenGL
[09:37:13] *** groton <groton!~groton@unaffiliated/groton> has quit IRC (Quit: groton)
[09:40:02] <Yaniel> yes it needs initializing on all platforms
[09:40:44] <Yaniel> the difference is that the library that glues opengl and the windowing system together is different
[09:40:58] <Yaniel> wgl on windows, egl on android, egl or glx on linux
[09:41:19] <immibis> last time I looked at android opengl, you had to initialize it in java. that was when 2.3 was new
[09:44:10] <macroprep> so all 3 platforms would STILL require openGL to actually be initialized for the current process right?
[09:46:08] <immibis> yes?
[09:46:13] <immibis> otherwise how does it know where you want to draw?
[09:47:26] <macroprep> cus SurfaceFligner or GLSurfaceView or whatever would do that automatically?
[09:48:27] <immibis> GLSurfaceView initializes OpenGL
[09:48:37] *** wrobinso1 <wrobinso1!~0x@102.119.214.154> has joined ##OpenGL
[09:49:50] <Yaniel> (it's a wrapper around the EGL stuff)
[09:50:15] <macroprep> would it be difficult to initialize it manually in C++?
[09:51:14] *** wrobinson <wrobinson!~0x@102.119.208.16> has quit IRC (Ping timeout: 268 seconds)
[09:51:16] <immibis> this sounds like something that can be googled
[09:51:22] <Yaniel> ^
[09:51:28] <Yaniel> and more tedious than difficult
[09:51:52] <immibis> why don't you know that?
[09:52:03] <macroprep> and as far as i know this si the only example that DOES NOT initialize it using java
[09:52:07] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 246 seconds)
[09:52:07] <macroprep> is*
[09:52:46] <macroprep> cus i do not know what is part of rendering and what is part of initialization
[09:53:30] <Yaniel> then I recommend hitting the tutorial linked in the channel topic
[09:54:06] <Yaniel> or just reading the code you linked
[09:54:09] <immibis> why do you want to know the differences between EGL and GLX and WGL?
[09:54:15] <macroprep> eg glClearColor, glShadeModel and all the rest would be part of setting up the renderer as apposed to the context, window, and stuff right?
[09:54:23] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[09:54:38] <Yaniel> yes
[09:54:41] *** Fr0stBit <Fr0stBit!~theartist@195.167.74.87> has joined ##OpenGL
[09:54:55] <Yaniel> but you should not rely on those staying constant
[09:54:57] <macroprep> is eglQuerySurface also part of the render?
[09:55:02] <immibis> is this to help you write wine?
[09:55:05] <Yaniel> does it look like it
[09:55:15] <macroprep> i dont know
[09:55:22] <Yaniel> well it says EGL in the name
[09:55:27] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7l9r42569r41f4.18120a2.ip6.access.telenet.be> has joined ##OpenGL
[09:57:30] <macroprep> wish there where wrappers that would handle all this for me in a few lines like in the cube's main() `glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); glutCreateWindow("red 3D lighted cube"); glutDisplayFunc(display);`
[09:57:52] <Yaniel> that code does exactly that
[09:58:32] <Yaniel> it just also sets some global GL state in the init function
[09:58:57] <Yaniel> which is not exactly wrong, but in anything bigger than a hello cube you should not trust global state to be what you expect when rendering
[09:59:39] <immibis> macroprep: sounds like GLSurfaceView
[10:03:40] <macroprep> so how would i get it to display two windows/surfaces/whatever, in 2 threads
[10:05:17] <macroprep> would i just do pthread_create(&_threadId, 0, threadStartCallback, this); but provide width and height for each? or would it be more complex than that
[10:06:06] <macroprep> cus it uses global variables
[10:08:14] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 244 seconds)
[10:09:07] <immibis> you would create a window/surface/whatever and create another window/surface/whatever
[10:09:21] <immibis> it's not opengl's problem how you do that
[10:09:36] <immibis> make sure to set the context correctly in each thread
[10:10:16] <macroprep> but i want to use a single window
[10:10:54] <macroprep> so i dont have to go through all that JNI crap just to call JAVA to set up a new window and stuff
[10:11:07] <macroprep> from C++
[10:13:54] <Matthijs> You're doing the JNI stuff yourself?
[10:16:04] <macroprep> yess
[10:16:07] <macroprep> yes*
[10:16:24] <Matthijs> Use LWJGL or so
[10:17:29] <immibis> macroprep: android apps are written in java
[10:18:31] <macroprep> i know
[10:18:50] <macroprep> im trying to see if i can find a GLUT equivilant for Android C++
[10:19:14] <macroprep> sinze most appplications seem to use it for initializing
[10:20:15] <immibis> most real applications don't use GLUT
[10:21:14] <macroprep> what do they use?
[10:21:55] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has quit IRC (Quit: Leaving)
[10:23:02] *** mkoncek <mkoncek!~Thunderbi@212.89.239.228> has joined ##OpenGL
[10:23:30] <mkoncek> are calls to glDraw* synchronous or asynchronous?
[10:23:44] <immibis> what is the difference?
[10:23:52] *** Fr0stBit <Fr0stBit!~theartist@195.167.74.87> has quit IRC (Quit: WeeChat 2.5)
[10:23:54] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has quit IRC (Max SendQ exceeded)
[10:24:21] <mkoncek> does the function return immediately after GL has received the command or after it is finished drawing?
[10:25:05] *** Kingsquee <Kingsquee!~kingsquee@d206-116-124-240.bchsia.telus.net> has quit IRC (Remote host closed the connection)
[10:25:32] *** Kingsquee <Kingsquee!~kingsquee@node-1w7jr9qmxqrpow98mke9t5qou.ipv6.telus.net> has joined ##OpenGL
[10:26:13] <immibis> after the command is received
[10:28:06] *** Lord-Kamina <Lord-Kamina!~Lord-Kami@pc-71-21-164-190.cm.vtr.net> has joined ##OpenGL
[10:30:50] <macroprep> wait in order to set a new context the old context MUST be invalidated right?
[10:31:04] <immibis> no
[10:31:14] <immibis> you can have more than one context
[10:31:34] <macroprep> for glfwMakeContextCurrent(window);
[10:31:56] <macroprep> eg, glfwMakeContextCurrent(window1); glfwMakeContextCurrent(window2); will window1 become invalidated
[10:33:40] <Yaniel> mkoncek: "yes"
[10:34:13] <immibis> what do you mean "invalidated"?
[10:34:24] <macroprep> like will its GL context be invalid
[10:34:38] <Yaniel> if the driver side command queue is not full and the pipeline does not need to be flushed the command will return immediately
[10:34:58] <immibis> what do you mean "invalid"?
[10:35:32] <Yaniel> "not current" != "invalid" in case that's what you were wondering, macroprep
[10:36:14] <macroprep> like, glcalls made in window1 will fails due to having GL_NO_CONTEXT
[10:37:18] <Yaniel> how do you make a call "in window1"
[10:38:36] <mkoncek> gl calls are valid only in the current context
[10:38:51] <mkoncek> "valid" as in: will happen in
[10:39:29] <mkoncek> Yaniel: thanks for explanation
[10:39:42] <macroprep> i dont know
[10:40:20] <Yaniel> the current context is GLOBAL STATE
[10:40:26] <Yaniel> because GL loves that
[10:40:42] <Yaniel> all GL calls you do go to the current context
[10:41:45] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[10:41:53] <macroprep> ok
[10:41:59] <Yaniel> (well technically it's per-thread state)
[10:42:21] <mkoncek> was glBegin / glEnd obsolete ever since opengl 2.0?
[10:42:43] <Yaniel> since 3.1
[10:42:45] <mkoncek> could it be fully replaced by shaders a buffers?
[10:42:53] <mkoncek> *and
[10:42:53] <Yaniel> aka since core profile
[10:43:10] <Yaniel> yes you are supposed to use VBOs instead
[10:43:16] <Yaniel> shaders are orthogonal to that
[10:43:39] <mkoncek> my question is, since when could they be fully replaced?
[10:43:53] <Yaniel> since VBOs were introduced
[10:44:34] <Yaniel> so technically GL1.1
[10:44:44] <Yaniel> which introduced EXT_vertex_array
[10:44:52] <Yaniel> (clientside arrays)
[10:45:04] <mkoncek> wikipedia states 1.4 as ARB and 2.1 as a part of GL
[10:45:24] <Yaniel> 1.5 added ARB_vertex_buffer_object for GPU-side buffers
[10:46:13] <mkoncek> "The vertex buffer object specification has been standardized by the OpenGL Architecture Review Board as of OpenGL Version 1.5 (in 2003)."
[10:47:14] <Yaniel> yes, that is the ARB extension
[10:48:24] <mkoncek> oh, i didn't know what ARB meant until now
[10:50:44] <Yaniel> not sure which version added VBOs to core though
[10:58:12] *** mkoncek <mkoncek!~Thunderbi@212.89.239.228> has quit IRC (Quit: mkoncek)
[11:06:11] *** englosh <englosh!1f12f887@ip1f12f887.dynamic.kabel-deutschland.de> has joined ##OpenGL
[11:06:38] <englosh> is there a way to disable the validation of the entire driver state every GL call?
[11:06:46] <Yaniel> no
[11:07:04] <englosh> hmm that's a bit strange
[11:07:20] <Yaniel> well, it can do incremental validation to some extent
[11:07:38] <macroprep> ill see if i can use GLFW to init a GL application for me
[11:07:48] <Yaniel> which is why it is recommended to make minimal state changes
[11:07:55] <englosh> it would be good if people who now what they are doing can at least disable all this validation stuff
[11:09:45] *** jbracey <jbracey!uid371587@gateway/web/irccloud.com/x-aevuuvgfyrtpjdss> has quit IRC (Quit: Connection closed for inactivity)
[11:12:58] *** mukunda <mukunda!mukunda@adsl-74-240-49-73.jan.bellsouth.net> has quit IRC (Ping timeout: 246 seconds)
[11:14:00] *** englosh <englosh!1f12f887@ip1f12f887.dynamic.kabel-deutschland.de> has quit IRC (Remote host closed the connection)
[11:35:51] <immibis> macroprep: if you glfwSetCurrentContext(window2) then there is no way to make a GL call in window 1 unless you glfwSetCurrentContext(window1) again
[11:36:03] <immibis> all your GL calls will be in window 2
[11:38:31] *** BPL <BPL!~BPL@102.56.27.77.dynamic.reverse-mundo-r.com> has joined ##OpenGL
[11:39:10] <macroprep> ok
[11:39:34] <macroprep> also glfwCreateWindow doesnt work as it keeps making a fullscreen window ;-;
[11:42:26] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[11:45:10] *** macroprep <macroprep!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Ping timeout: 246 seconds)
[11:55:23] *** karab44 <karab44!~karab44@unaffiliated/karab44> has joined ##OpenGL
[11:55:35] *** karab44 <karab44!~karab44@unaffiliated/karab44> has quit IRC (Client Quit)
[11:58:17] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 244 seconds)
[11:59:57] <Yaniel> I wasn't aware that glfw works on android to begin with
[12:10:27] <macroprep_> does openGL create a fullscreen view by default? (eg it consumes the entire monitor screen)
[12:11:10] <Yaniel> OpenGL does not create anything
[12:12:18] <Yaniel> on desktop GLFW creates a window unless you give it a pointer to a display
[12:12:39] *** wrobinso1 is now known as wrobinson
[12:12:52] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has joined ##OpenGL
[12:12:53] <neure> hi
[12:13:16] <Yaniel> hi
[12:13:24] <neure> I may have found a small bug in MESA
[12:14:37] <neure> It does not seem to quite respect std430 packing rules
[12:15:55] <neure> Comment at src/compiler/glsl/gl_nir_link_uniform_blocks.c:510 has a "quote" from GL 4.6 spec, except I cannot located the quoted text from the spec.
[12:16:12] <Yaniel> isn't there a mesa3d channel
[12:16:28] <macroprep_> as if i do `glClearColor(0, 1.0f, 1.0f, 1.0f); glViewport(0, 0, 100, 100);` then the cube displays in the bottom right corner however the entire screen is colored blue, how would i get only the bottom right corner to be colored blue
[12:16:30] <neure> where?
[12:16:46] <Yaniel> hm, looks like no
[12:16:48] <Yaniel> only a mailing list
[12:16:49] <neure> macroprep_, scissor?
[12:16:58] <Yaniel> and bugzilla
[12:17:10] <Yaniel> more like glViewport
[12:17:20] <Yaniel> oh that's there
[12:17:52] <FLHerne> #dri-devel is the general Mesa IRC channel
[12:17:54] <Yaniel> yeah glViewport changes what part of the view is the "visible" -1..1 rectangle
[12:18:01] <Yaniel> glScissor is used for actual clipping
[12:18:04] <FLHerne> Also #intel3d, #nouveau, #radeon respectively
[12:18:12] <neure> viewport does not apply to clear iirc
[12:18:20] <neure> scissor is applied to clears for sure
[12:19:05] <Yaniel> what's the initial value for scissor?
[12:19:19] <macroprep_> neure, oh
[12:19:24] <Yaniel> I remember clear only clearing the top left rect when DPI is messed up
[12:20:11] <macroprep_> so it would be this? glClearColor(0, 1.0f, 1.0f, 1.0f); glViewport(0, 0, 100, 100); glScissor(0,0,100,100);
[12:20:20] <Yaniel> glClearColor does not clear anything
[12:20:40] <Yaniel> it just sets the GLOBAL STATE that determines what color glClear clears to
[12:20:57] <macroprep_> i know
[12:21:18] <Yaniel> where you call that does not matter
[12:21:32] <Yaniel> (as long as it happens before the glClear call of course)
[12:23:32] <macroprep_> ok
[12:23:53] <macroprep_> also glScissor didnt work
[12:24:11] <macroprep_> as the clear still paints the entire screen
[12:24:33] <macroprep_> do i need to call scissor the clear?
[12:24:38] <macroprep_> then*
[12:24:46] <Yaniel> no
[12:24:48] <Yaniel> again, GLOBAL STATE
[12:25:20] <Yaniel> it does not technicalyl do anything until you actually draw something (clear and blit are sort of draws too)
[12:25:43] <macroprep_> ok
[12:26:50] <macroprep_> is it possible to overlap multiple scissors?
[12:27:18] <Yaniel> see glScissorArray
[12:28:05] <Yaniel> oh wait, that is for when you have multiple viewports
[12:28:39] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[12:28:44] <Yaniel> which you can have with glViewportArray apparently
[12:29:11] <macroprep_> ok
[12:33:06] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 248 seconds)
[12:35:41] <macroprep_> ill try to get this figured out tomorrow
[12:35:52] *** xtrWrithe <xtrWrithe!~xtrWrithe@45.162.228.187> has quit IRC (Ping timeout: 245 seconds)
[13:05:53] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[13:20:08] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Quit: This computer has gone to sleep)
[13:25:31] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[13:26:42] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Client Quit)
[13:34:36] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[13:39:12] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 245 seconds)
[13:47:23] *** stefkos <stefkos!~Pawel@79.184.137.244.ipv4.supernova.orange.pl> has quit IRC (Quit: Going offline, see ya! (www.adiirc.com))
[13:53:27] *** Twipply <Twipply!~Twipply@unaffiliated/twipply> has joined ##OpenGL
[13:58:20] *** macroprep <macroprep!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[14:01:16] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Ping timeout: 272 seconds)
[14:02:12] *** snyp <snyp!~Snyp@202.83.17.8> has joined ##OpenGL
[14:02:29] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer)
[14:02:50] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has joined ##OpenGL
[14:06:22] *** Nicmavr <Nicmavr!~Nicmavr@unaffiliated/nicmavr> has quit IRC (Read error: Connection reset by peer)
[14:08:22] *** Nicmavr <Nicmavr!~Nicmavr@unaffiliated/nicmavr> has joined ##OpenGL
[14:16:18] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[14:16:58] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Read error: Connection reset by peer)
[14:17:32] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[14:19:13] *** macroprep <macroprep!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Ping timeout: 245 seconds)
[14:32:32] *** dansho <dansho!~dansho4@71-84-161-204.dhcp.astr.or.charter.com> has quit IRC (Ping timeout: 245 seconds)
[14:34:54] *** immibis <immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz> has quit IRC (Ping timeout: 268 seconds)
[14:34:57] *** macroprep__ <macroprep__!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has joined ##OpenGL
[14:37:25] *** macroprep_ <macroprep_!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Ping timeout: 244 seconds)
[14:37:48] *** karab44 <karab44!~karab44@unaffiliated/karab44> has joined ##OpenGL
[14:57:48] *** macroprep__ <macroprep__!~smallvill@cpe-172-193-104-55.qld.foxtel.net.au> has quit IRC (Read error: Connection reset by peer)
[14:58:57] *** CoolerX <CoolerX!~coolerext@202.3.77.166> has joined ##OpenGL
[15:09:48] *** mefesto_ <mefesto_!~user@107.145.49.162> has joined ##OpenGL
[15:12:23] *** jbracey <jbracey!uid371587@gateway/web/irccloud.com/x-vthclmudleiysaii> has joined ##OpenGL
[15:22:26] *** Twipply <Twipply!~Twipply@unaffiliated/twipply> has quit IRC (Remote host closed the connection)
[15:22:52] *** Twipply <Twipply!~Twipply@unaffiliated/twipply> has joined ##OpenGL
[15:24:18] *** KAHR-Alpha <KAHR-Alpha!~Alpha@2a01cb0d024a6600ccde42e81c02ae83.ipv6.abo.wanadoo.fr> has joined ##OpenGL
[15:49:03] *** mukunda <mukunda!mukunda@adsl-74-240-49-73.jan.bellsouth.net> has joined ##OpenGL
[15:53:22] *** snyp <snyp!~Snyp@202.83.17.8> has quit IRC (Ping timeout: 245 seconds)
[15:57:50] *** karab44 <karab44!~karab44@unaffiliated/karab44> has quit IRC ()
[15:58:32] *** AfroThundr|main <AfroThundr|main!~AfroThund@countervandalism/AfroThundr3007730> has quit IRC (Ping timeout: 244 seconds)
[16:05:30] *** cshzg <cshzg!~dietary@181.53.12.207> has joined ##OpenGL
[16:07:06] *** Elysion <Elysion!~Elysion@ppp118-210-175-34.adl-adc-lon-bras34.tpg.internode.on.net> has quit IRC (Read error: Connection reset by peer)
[16:18:22] *** cshzg <cshzg!~dietary@181.53.12.207> has quit IRC (Ping timeout: 245 seconds)
[16:31:14] *** AfroThundr|main <AfroThundr|main!~AfroThund@countervandalism/AfroThundr3007730> has joined ##OpenGL
[16:34:15] *** cshzg <cshzg!~dietary@181.53.12.207> has joined ##OpenGL
[16:45:33] *** jokoon <jokoon!~jokoon@pig34-1-78-245-215-186.fbx.proxad.net> has joined ##OpenGL
[16:54:29] *** soul-d <soul-d!~name@2a02:a44a:bcae:1:6495:57f2:c344:60b3> has quit IRC (Remote host closed the connection)
[16:55:09] *** soul-d <soul-d!~name@2a02:a44a:bcae:1:95a:3501:2b4f:4829> has joined ##OpenGL
[16:57:29] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has quit IRC (Read error: Connection reset by peer)
[16:57:48] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has joined ##OpenGL
[17:07:08] *** Matthijs <Matthijs!~quassel@unaffiliated/matthijs> has quit IRC (Quit: *waves frantically*)
[17:09:20] *** Vasco_O is now known as Vasco
[17:16:12] *** jokoon <jokoon!~jokoon@pig34-1-78-245-215-186.fbx.proxad.net> has quit IRC (Quit: Leaving)
[17:22:01] *** jbracey <jbracey!uid371587@gateway/web/irccloud.com/x-vthclmudleiysaii> has quit IRC (Quit: Connection closed for inactivity)
[17:29:39] *** neure <neure!~timo@mobile-access-5d6af6-46.dhcp.inet.fi> has quit IRC (Remote host closed the connection)
[17:39:45] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[18:02:10] *** gehn <gehn!gehn@gateway/vpn/privateinternetaccess/gehn> has joined ##OpenGL
[18:22:23] *** glYoda <glYoda!~kristinam@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Quit: glYoda)
[18:34:55] *** moser <moser!~moser@219.137.60.67> has joined ##OpenGL
[18:38:29] *** moser_ <moser_!~moser@113.119.56.88> has quit IRC (Ping timeout: 268 seconds)
[18:42:13] *** Singmyr <Singmyr!~Singmyr@c83-253-123-62.bredband.comhem.se> has joined ##OpenGL
[18:50:03] *** davr0s_ <davr0s_!~davr0s@host31-51-108-73.range31-51.btcentralplus.com> has quit IRC (Quit: Ex-Chat)
[18:50:35] *** davr0s_ <davr0s_!~davr0s@host31-51-108-73.range31-51.btcentralplus.com> has joined ##OpenGL
[18:50:35] *** davr0s <davr0s!~davr0s@host31-51-108-73.range31-51.btcentralplus.com> has joined ##OpenGL
[18:50:41] *** LunarJetman <LunarJetman!LunarJetma@176.248.197.112> has joined ##OpenGL
[18:50:49] *** davr0s_ <davr0s_!~davr0s@host31-51-108-73.range31-51.btcentralplus.com> has quit IRC (Read error: Connection reset by peer)
[18:57:08] <BPL> let it be a different set of separate attribute buffers on the cpu. Is there any way to interleave those on the gpu directly?
[18:57:40] <Yaniel> compute shaders
[18:58:52] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##OpenGL
[18:59:03] <BPL> thing is, i've been thinking for a while and i haven't found any optimal interface that allows me to upload data in the 3 different possible ways {uninterleaved, mixed, interleaved}.
[19:01:01] <BPL> by having different attributes buffers in memory the first 2 ways are trivially solved but the 3rd would require some slow preprocessing using the cpu :/
[19:06:58] *** KAHR-Alpha <KAHR-Alpha!~Alpha@2a01cb0d024a6600ccde42e81c02ae83.ipv6.abo.wanadoo.fr> has quit IRC (Ping timeout: 252 seconds)
[19:18:04] *** groton <groton!~groton@unaffiliated/groton> has quit IRC (Ping timeout: 246 seconds)
[19:30:11] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[20:27:49] *** naftilos76 <naftilos76!~naftilos7@139.138.194.240> has joined ##OpenGL
[20:42:08] *** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has quit IRC (Ping timeout: 245 seconds)
[20:42:12] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has joined ##OpenGL
[20:55:36] *** Fr0stBit <Fr0stBit!~theartist@2a02:2149:8643:fa00:2ed0:5aff:febd:8e14> has joined ##OpenGL
[21:05:26] *** LunarJetman <LunarJetman!LunarJetma@176.248.197.112> has left ##OpenGL
[21:12:01] *** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has joined ##OpenGL
[21:23:45] *** CoolerX <CoolerX!~coolerext@202.3.77.166> has quit IRC (Ping timeout: 268 seconds)
[21:30:28] *** Vasco is now known as Vasco_O
[21:32:45] *** naftilos76 <naftilos76!~naftilos7@139.138.194.240> has quit IRC (Ping timeout: 258 seconds)
[21:35:34] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[21:36:16] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has joined ##OpenGL
[21:45:07] *** bitwinery <bitwinery!~bruno@c-71-59-192-149.hsd1.wa.comcast.net> has joined ##OpenGL
[21:45:37] *** cfoch <cfoch!uid153227@gateway/web/irccloud.com/x-ymmzweanubtqwqdg> has joined ##OpenGL
[22:02:51] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##OpenGL
[22:09:09] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Remote host closed the connection)
[22:18:30] *** slime <slime!~slime73@24.215.81.93> has joined ##OpenGL
[22:22:52] *** groton <groton!~groton@unaffiliated/groton> has quit IRC (Ping timeout: 272 seconds)
[22:26:14] *** Fr0stBit <Fr0stBit!~theartist@2a02:2149:8643:fa00:2ed0:5aff:febd:8e14> has quit IRC (Quit: WeeChat 2.5)
[22:36:37] *** lapsang <lapsang!~g@gateway/tor-sasl/gaiwan> has quit IRC (Remote host closed the connection)
[22:45:20] *** groton <groton!~groton@unaffiliated/groton> has joined ##OpenGL
[22:55:59] *** mefesto_ <mefesto_!~user@107.145.49.162> has quit IRC (Quit: ERC (IRC client for Emacs 26.1))
[23:13:52] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has joined ##OpenGL
[23:15:32] *** gareppa <gareppa!~gareppa@unaffiliated/gareppa> has quit IRC (Client Quit)
[23:21:42] *** pa <pa!~pa@unaffiliated/pa> has quit IRC (Ping timeout: 245 seconds)
[23:23:30] *** pa <pa!~pa@unaffiliated/pa> has joined ##OpenGL
[23:35:17] *** immibis <immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz> has joined ##OpenGL
[23:52:10] *** Singmyr <Singmyr!~Singmyr@c83-253-123-62.bredband.comhem.se> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[23:52:49] *** immibis <immibis!~immibis@222-153-90-196-fibre.sparkbb.co.nz> has quit IRC (Ping timeout: 246 seconds)