Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfed8270 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

partially fix build.

Addresses the following compile time errors:

  In file included from frameworks/base/libs/hwui/LayerRenderer.cpp:24:0:
  frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
       void postDecStrong(VirtualLightRefBase* object);
                        ^
  In file included from frameworks/base/libs/hwui/LayerCache.h:21:0,
                   from frameworks/base/libs/hwui/LayerRenderer.cpp:25:
  frameworks/base/libs/hwui/Layer.h:55:42: error: expected class-name before '{' token
   class Layer : public VirtualLightRefBase {
                                          ^
  In file included from frameworks/base/libs/hwui/RenderState.cpp:16:0:
  frameworks/base/libs/hwui/RenderState.h:77:24: error: 'VirtualLightRefBase' has not been declared
       void postDecStrong(VirtualLightRefBase* object);
                        ^

Change-Id: I2be439b373ea356b861f413ff6ce323e8d9baf2d
parent 2042e40b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
#include <cutils/compiler.h>
#include <sys/types.h>
#include <utils/StrongPointer.h>
#include <utils/RefBase.h>

#include <GLES2/gl2.h>

+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#include <GLES2/gl2ext.h>
#include <utils/Mutex.h>
#include <utils/Functor.h>
#include <utils/RefBase.h>

#include <private/hwui/DrawGlInfo.h>