BlamKiwi / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Refactor egl::Surface constructors #994

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the Surface constructors all call initialize. We can refactor the 
common code out to the egl::Display.

Original issue reported on code.google.com by jmad...@chromium.org on 5 May 2015 at 5:04

GoogleCodeExporter commented 9 years ago
Project: angle/angle
Branch : master
Author : Jamie Madill <jmadill@chromium.org>
Commit : 443e1d9b379f5e06be4131d71a9830a79cc51b57

Code-Review  0 : Jamie Madill
Code-Review  +1: Kenneth Russell
Code-Review  +2: Geoff Lang
Verified     0 : Geoff Lang, Kenneth Russell
Verified     +1: Jamie Madill
Commit Queue   : Chumped
Change-Id      : Idf0ffa054fc6a70cf8c65a0b98fd963911715591
Reviewed-at    : https://chromium-review.googlesource.com/269258

Refactor egl::Surface constructors.

We can reduce the code in these classes quite a bit by calling
the common code in egl::Display.

BUG=angleproject:994

src/libANGLE/Display.cpp
src/libANGLE/Display.h
src/libANGLE/renderer/DisplayImpl.h
src/libANGLE/renderer/d3d/DisplayD3D.cpp
src/libANGLE/renderer/d3d/DisplayD3D.h
src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp
src/libANGLE/renderer/gl/wgl/DisplayWGL.h

Original comment by bugdroid1@chromium.org on 6 May 2015 at 1:46

GoogleCodeExporter commented 9 years ago

Original comment by jmad...@chromium.org on 6 May 2015 at 1:46