Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Issue 49533003: Add support for Khr_surfaceless_context. (Closed)

Created:
7 years, 1 month ago by kalyank
Modified:
7 years, 1 month ago
Reviewers:
rjkroege, piman
CC:
chromium-reviews, rjkroege, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add support for Khr_surfaceless_context. http://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_surfaceless_context.txt This patch adds support in GLSurfaceEGL to be able to use surfaceless context when supported by the drivers. This avoids the creation of a dummy offscreen surface. This would also enable support for offscreen rendering on platforms (i.e Ozone-Wayland) which donot support pbuffer surfaces. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232615

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fixes: Fix variable name, Use surfacelessegl only if supported and clients request a size of… #

Total comments: 3

Patch Set 3 : Review Fix: Use SurfacelessEGL only if requested size is 0,0. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -2 lines) Patch
M ui/gl/gl_surface_egl.h View 1 chunk +26 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 4 chunks +73 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kalyank
7 years, 1 month ago (2013-10-31 19:36:04 UTC) #1
piman
https://codereview.chromium.org/49533003/diff/1/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/49533003/diff/1/ui/gl/gl_surface_egl.cc#newcode57 ui/gl/gl_surface_egl.cc:57: bool g_egl_surfaceless_context = false; nit: g_egl_surfaceless_context_supported for consistency https://codereview.chromium.org/49533003/diff/1/ui/gl/gl_surface_egl.cc#newcode637 ...
7 years, 1 month ago (2013-10-31 20:07:53 UTC) #2
kalyank
https://codereview.chromium.org/49533003/diff/1/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/49533003/diff/1/ui/gl/gl_surface_egl.cc#newcode57 ui/gl/gl_surface_egl.cc:57: bool g_egl_surfaceless_context = false; On 2013/10/31 20:07:54, piman wrote: ...
7 years, 1 month ago (2013-10-31 22:15:27 UTC) #3
piman
https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc#newcode752 ui/gl/gl_surface_egl.cc:752: (size.width() == 1 && size.height() == 1)) { How ...
7 years, 1 month ago (2013-10-31 22:51:24 UTC) #4
kalyank
https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc#newcode752 ui/gl/gl_surface_egl.cc:752: (size.width() == 1 && size.height() == 1)) { On ...
7 years, 1 month ago (2013-10-31 23:18:07 UTC) #5
kalyank
https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc File ui/gl/gl_surface_egl.cc (right): https://codereview.chromium.org/49533003/diff/60001/ui/gl/gl_surface_egl.cc#newcode188 ui/gl/gl_surface_egl.cc:188: // Check if SurfacelessEGL is supported. On a second ...
7 years, 1 month ago (2013-10-31 23:49:11 UTC) #6
piman
The right thing to do is: 1- introduce the concept (that we don't really have ...
7 years, 1 month ago (2013-11-01 01:23:37 UTC) #7
kalyank
On 2013/11/01 01:23:37, piman wrote: > The right thing to do is: > 1- introduce ...
7 years, 1 month ago (2013-11-01 02:02:13 UTC) #8
piman
LGTM
7 years, 1 month ago (2013-11-01 02:52:45 UTC) #9
kalyank
@rjkroege can you please take a look ?
7 years, 1 month ago (2013-11-01 15:15:06 UTC) #10
rjkroege
lgtm
7 years, 1 month ago (2013-11-01 15:20:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalyan.kondapally@intel.com/49533003/140001
7 years, 1 month ago (2013-11-01 18:14:48 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170811
7 years, 1 month ago (2013-11-01 20:12:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalyan.kondapally@intel.com/49533003/140001
7 years, 1 month ago (2013-11-02 12:17:55 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-02 14:00:40 UTC) #15
Message was sent while issue was closed.
Change committed as 232615

Powered by Google App Engine
This is Rietveld 408576698