--===============0889756737== Content-Type: multipart/alternative; boundary="===============7725533729556003826==" --===============7725533729556003826== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/101979/#review5134 ----------------------------------------------------------- This review has been submitted with commit 21d8334af68b0559f2514435fef4f954= b6bb3d61 by Martin Gr=C3=A4=C3=9Flin to branch master. - Commit On July 23, 2011, 9:05 a.m., Martin Gr=C3=A4=C3=9Flin wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/101979/ > ----------------------------------------------------------- > = > (Updated July 23, 2011, 9:05 a.m.) > = > = > Review request for kwin, Plasma and Alexander Neundorf. > = > = > Summary > ------- > = > Major build system change: everything is compiled twice, once with OpenGL= (if present) and once with OpenGL ES (if present). To better support this = kwinglutils becomes an own library and is splitted out of the kwineffects l= ibrary. It is build once as kwinglutils and once as kwinglesutils. > = > The effects are built twice into a kwin4_effect_builtins and kwin4_effect= _gles_builtin. And last but not least we build a kwin and a kwin_gles. > = > The last part I consider as a temporary solution till Arthur finished the= part of making scene* completely independent from kwin core. When that is = done I want to only compile the compositor twice and load it as a plugin de= pending on the result of an external test program (so that NVIDIA users can= not get trying to load the non working GLES). > = > The change to compile everything twice is for the following reasons: > = > 1. Should make life easier for distributions to provide kwin_gles > = > 2. To have the Wayland support only in kwin_gles (does not make sense in = kwin+desktop GL) > = > 3. To make testing easier by just starting kwin --replace and kwin_gles -= -replace > = > = > Current issues and things I want to do: > = > * kwineffects still links libGL as it provides a check whether GLX is ava= ilable. I think this one can be dropped (should only be used at one place i= n scene) > = > * Add another marco to ensure that kwin+gl cannot load GLES effects and v= ice versa > = > * Clean up the build files > = > * think about whether we need XRender when building the gles backend > = > = > @Alex: it would be nice if you could have a look at the changes and if th= ey look fine. > = > @Plasma: Please have a look whether there is something useful for Plasma = Active - the patches should (mostly) apply to 4.7 > = > = > Diffs > ----- > = > kwin/CMakeLists.txt 4859978 = > kwin/effects.cpp 143b033 = > kwin/effects/CMakeLists.txt 8683b35 = > kwin/effects/showfps/showfps.h 8834956 = > kwin/effects/showfps/showfps_config.h b184622 = > kwin/effects/showfps/showfps_config.cpp dcbe93b = > kwin/kcmkwin/kwincompositing/CMakeLists.txt 57d7750 = > kwin/kcmkwin/kwinscreenedges/CMakeLists.txt 94e841c = > kwin/libkwineffects/CMakeLists.txt cb9703b = > kwin/libkwineffects/kwinconfig.h.cmake 22405a5 = > = > Diff: http://git.reviewboard.kde.org/r/101979/diff > = > = > Testing > ------- > = > * kwin works with OpenGL and only loads the desktop GL effects > * kwin_gles works with OpenGL ES and only loads the GLES effects > = > = > Thanks, > = > Martin > = > --===============7725533729556003826== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/101979/

This revie=
w has been submitted with commit 21d8334af68b0559f2514435fef4f954b6bb3d61 b=
y Martin Gr=C3=A4=C3=9Flin to branch master.

- Commit


On July 23rd, 2011, 9:05 a.m., Martin Gr=C3=A4=C3=9Flin wrote:

Review request for kwin, Plasma and Alexander Neundorf.
By Martin Gr=C3=A4=C3=9Flin.

Updated July 23, 2011, 9:05 a.m.

Descripti= on

Major build system change: everything is compiled twice, onc=
e with OpenGL (if present) and once with OpenGL ES (if present). To better =
support this kwinglutils becomes an own library and is splitted out of the =
kwineffects library. It is build once as kwinglutils and once as kwinglesut=
ils.

The effects are built twice into a kwin4_effect_builtins and kwin4_effect_g=
les_builtin. And last but not least we build a kwin and a kwin_gles.

The last part I consider as a temporary solution till Arthur finished the p=
art of making scene* completely independent from kwin core. When that is do=
ne I want to only compile the compositor twice and load it as a plugin depe=
nding on the result of an external test program (so that NVIDIA users canno=
t get trying to load the non working GLES).

The change to compile everything twice is for the following reasons:

1. Should make life easier for distributions to provide kwin_gles

2. To have the Wayland support only in kwin_gles (does not make sense in kw=
in+desktop GL)

3. To make testing easier by just starting kwin --replace and kwin_gles --r=
eplace


Current issues and things I want to do:

* kwineffects still links libGL as it provides a check whether GLX is avail=
able. I think this one can be dropped (should only be used at one place in =
scene)

* Add another marco to ensure that kwin+gl cannot load GLES effects and vic=
e versa

* Clean up the build files

* think about whether we need XRender when building the gles backend


@Alex: it would be nice if you could have a look at the changes and if they=
 look fine.

@Plasma: Please have a look whether there is something useful for Plasma Ac=
tive - the patches should (mostly) apply to 4.7

Testing <= /h1>
* kwin works with OpenGL and only loads the desktop GL effec=
ts
* kwin_gles works with OpenGL ES and only loads the GLES effects

Diffs=

  • kwin/CMakeLists.txt (4859978)
  • kwin/effects.cpp (143b033)
  • kwin/effects/CMakeLists.txt (8683b35)
  • kwin/effects/showfps/showfps.h (8834956)
  • kwin/effects/showfps/showfps_config.h (b18= 4622)
  • kwin/effects/showfps/showfps_config.cpp (d= cbe93b)
  • kwin/kcmkwin/kwincompositing/CMakeLists.txt (cb9703= b)
  • kwin/libkwineffects/kwinconfig.h.cmake (22= 405a5)

View Diff

--===============7725533729556003826==-- --===============0889756737== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0889756737==--