Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-28 Thread James Jones


 On Jan. 28, 2014, 7:03 a.m., Commit Hook wrote:
  This review has been submitted with commit 
  77202a2102306a288431462e6c874216ac4cd29c by Martin Gräßlin on behalf of 
  James Jones to branch KDE/4.11.

Thanks Martin.  Will the change automatically be merged up to master as well, 
or should I submit a separate patch there?


- James


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/#review48446
---


On Jan. 28, 2014, 7:03 a.m., James Jones wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115311/
 ---
 
 (Updated Jan. 28, 2014, 7:03 a.m.)
 
 
 Review request for kde-workspace, Thomas Lübking and Marco Martin.
 
 
 Repository: kde-workspace
 
 
 Description
 ---
 
 [kwin] Don't call into GL without a context
 
 After losing current from the EGL or GLX
 context, calls to the GL or GLES functions
 have undefined behavior.  Perform all
 cleanup that may touch OpenGL and check for
 GL errors before losing current from the
 context.
 
 
 Diffs
 -
 
   kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
   kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
   kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
   kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 
 
 Diff: https://git.reviewboard.kde.org/r/115311/diff/
 
 
 Testing
 ---
 
 Compiled/Installed kde-workspace on x86
 kwin_gles (EGL+X11) - Tested mode switching
 kwin (GLX) - Tested mode switching
 
 
 File Attachments
 
 
 git-format-patch version of patch
   
 https://git.reviewboard.kde.org/media/uploaded/files/2014/01/27/11681ec3-81a1-4a02-a165-6e442f4e21f5__0001-kwin-Don-t-call-into-GL-without-a-context.patch
 
 
 Thanks,
 
 James Jones
 




Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-28 Thread Martin Gräßlin


 On Jan. 28, 2014, 8:03 a.m., Commit Hook wrote:
  This review has been submitted with commit 
  77202a2102306a288431462e6c874216ac4cd29c by Martin Gräßlin on behalf of 
  James Jones to branch KDE/4.11.
 
 James Jones wrote:
 Thanks Martin.  Will the change automatically be merged up to master as 
 well, or should I submit a separate patch there?

I already merged it to master directly after the push. Thanks for the patch!


- Martin


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/#review48446
---


On Jan. 28, 2014, 8:03 a.m., James Jones wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115311/
 ---
 
 (Updated Jan. 28, 2014, 8:03 a.m.)
 
 
 Review request for kde-workspace, Thomas Lübking and Marco Martin.
 
 
 Repository: kde-workspace
 
 
 Description
 ---
 
 [kwin] Don't call into GL without a context
 
 After losing current from the EGL or GLX
 context, calls to the GL or GLES functions
 have undefined behavior.  Perform all
 cleanup that may touch OpenGL and check for
 GL errors before losing current from the
 context.
 
 
 Diffs
 -
 
   kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
   kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
   kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
   kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 
 
 Diff: https://git.reviewboard.kde.org/r/115311/diff/
 
 
 Testing
 ---
 
 Compiled/Installed kde-workspace on x86
 kwin_gles (EGL+X11) - Tested mode switching
 kwin (GLX) - Tested mode switching
 
 
 File Attachments
 
 
 git-format-patch version of patch
   
 https://git.reviewboard.kde.org/media/uploaded/files/2014/01/27/11681ec3-81a1-4a02-a165-6e442f4e21f5__0001-kwin-Don-t-call-into-GL-without-a-context.patch
 
 
 Thanks,
 
 James Jones
 




Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-27 Thread James Jones

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/
---

(Updated Jan. 27, 2014, 10:02 p.m.)


Review request for kde-workspace, Thomas Lübking and Marco Martin.


Changes
---

Added formatted patch as requested.  I don't have commit access, and didn't 
plan on requesting.  Unfortunately, I probably won't be a frequent contributor, 
so it probably isn't worth the trouble.  Thanks for your help with this change 
Thomas.


Repository: kde-workspace


Description
---

[kwin] Don't call into GL without a context

After losing current from the EGL or GLX
context, calls to the GL or GLES functions
have undefined behavior.  Perform all
cleanup that may touch OpenGL and check for
GL errors before losing current from the
context.


Diffs
-

  kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
  kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
  kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
  kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 

Diff: https://git.reviewboard.kde.org/r/115311/diff/


Testing
---

Compiled/Installed kde-workspace on x86
kwin_gles (EGL+X11) - Tested mode switching
kwin (GLX) - Tested mode switching


File Attachments (updated)


git-format-patch version of patch
  
https://git.reviewboard.kde.org/media/uploaded/files/2014/01/27/11681ec3-81a1-4a02-a165-6e442f4e21f5__0001-kwin-Don-t-call-into-GL-without-a-context.patch


Thanks,

James Jones



Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-27 Thread Commit Hook

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/#review48446
---


This review has been submitted with commit 
77202a2102306a288431462e6c874216ac4cd29c by Martin Gräßlin on behalf of James 
Jones to branch KDE/4.11.

- Commit Hook


On Jan. 27, 2014, 10:02 p.m., James Jones wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115311/
 ---
 
 (Updated Jan. 27, 2014, 10:02 p.m.)
 
 
 Review request for kde-workspace, Thomas Lübking and Marco Martin.
 
 
 Repository: kde-workspace
 
 
 Description
 ---
 
 [kwin] Don't call into GL without a context
 
 After losing current from the EGL or GLX
 context, calls to the GL or GLES functions
 have undefined behavior.  Perform all
 cleanup that may touch OpenGL and check for
 GL errors before losing current from the
 context.
 
 
 Diffs
 -
 
   kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
   kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
   kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
   kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 
 
 Diff: https://git.reviewboard.kde.org/r/115311/diff/
 
 
 Testing
 ---
 
 Compiled/Installed kde-workspace on x86
 kwin_gles (EGL+X11) - Tested mode switching
 kwin (GLX) - Tested mode switching
 
 
 File Attachments
 
 
 git-format-patch version of patch
   
 https://git.reviewboard.kde.org/media/uploaded/files/2014/01/27/11681ec3-81a1-4a02-a165-6e442f4e21f5__0001-kwin-Don-t-call-into-GL-without-a-context.patch
 
 
 Thanks,
 
 James Jones
 




Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-27 Thread James Jones

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/
---

(Updated Jan. 28, 2014, 7:03 a.m.)


Status
--

This change has been marked as submitted.


Review request for kde-workspace, Thomas Lübking and Marco Martin.


Repository: kde-workspace


Description
---

[kwin] Don't call into GL without a context

After losing current from the EGL or GLX
context, calls to the GL or GLES functions
have undefined behavior.  Perform all
cleanup that may touch OpenGL and check for
GL errors before losing current from the
context.


Diffs
-

  kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
  kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
  kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
  kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 

Diff: https://git.reviewboard.kde.org/r/115311/diff/


Testing
---

Compiled/Installed kde-workspace on x86
kwin_gles (EGL+X11) - Tested mode switching
kwin (GLX) - Tested mode switching


File Attachments


git-format-patch version of patch
  
https://git.reviewboard.kde.org/media/uploaded/files/2014/01/27/11681ec3-81a1-4a02-a165-6e442f4e21f5__0001-kwin-Don-t-call-into-GL-without-a-context.patch


Thanks,

James Jones



Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-24 Thread James Jones

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/
---

(Updated Jan. 25, 2014, 1:56 a.m.)


Review request for kde-workspace, Thomas Lübking and Marco Martin.


Repository: kde-workspace


Description
---

[kwin] Don't call into GL without a context

After losing current from the EGL or GLX
context, calls to the GL or GLES functions
have undefined behavior.  Perform all
cleanup that may touch OpenGL and check for
GL errors before losing current from the
context.


Diffs
-

  kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
  kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
  kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
  kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 

Diff: https://git.reviewboard.kde.org/r/115311/diff/


Testing
---


Thanks,

James Jones



Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-24 Thread James Jones

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/
---

(Updated Jan. 25, 2014, 1:57 a.m.)


Review request for kde-workspace, Thomas Lübking and Marco Martin.


Changes
---

Added testing comments.


Repository: kde-workspace


Description
---

[kwin] Don't call into GL without a context

After losing current from the EGL or GLX
context, calls to the GL or GLES functions
have undefined behavior.  Perform all
cleanup that may touch OpenGL and check for
GL errors before losing current from the
context.


Diffs
-

  kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
  kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
  kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
  kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 

Diff: https://git.reviewboard.kde.org/r/115311/diff/


Testing (updated)
---

Compiled/Installed kde-workspace on x86
kwin_gles (EGL+X11) - Tested mode switching
kwin (GLX) - Tested mode switching


Thanks,

James Jones



Re: Review Request 115311: [kwin] Don't call into GL without a context

2014-01-24 Thread Thomas Lübking

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115311/#review48254
---


Looks fine (and required) - thanks.

In case you do not have commit rights (nor do intend to ask for), please upload 
a git format-patch variant (to maintain the commit metadata, namely your 
identity)

For potential future patches (welcome ;-) please set the group to kwin, the 
KWin maintainer is graesslin.

- Thomas Lübking


On Jan. 25, 2014, 1:57 a.m., James Jones wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/115311/
 ---
 
 (Updated Jan. 25, 2014, 1:57 a.m.)
 
 
 Review request for kde-workspace, Thomas Lübking and Marco Martin.
 
 
 Repository: kde-workspace
 
 
 Description
 ---
 
 [kwin] Don't call into GL without a context
 
 After losing current from the EGL or GLX
 context, calls to the GL or GLES functions
 have undefined behavior.  Perform all
 cleanup that may touch OpenGL and check for
 GL errors before losing current from the
 context.
 
 
 Diffs
 -
 
   kwin/egl_wayland_backend.cpp b229cdd84161a64d5cd93c189514067867773e7f 
   kwin/eglonxbackend.cpp dd41da55b94821802f2d1464794db39bd636088a 
   kwin/glxbackend.cpp 73f463e9df43c2cd71836ce3f48da84fb4df35ed 
   kwin/scene_opengl.cpp 961e81fbcc39940bc49179899e034ad8a9e802cd 
 
 Diff: https://git.reviewboard.kde.org/r/115311/diff/
 
 
 Testing
 ---
 
 Compiled/Installed kde-workspace on x86
 kwin_gles (EGL+X11) - Tested mode switching
 kwin (GLX) - Tested mode switching
 
 
 Thanks,
 
 James Jones