Loading libs/gui/LayerState.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ #define LOG_TAG "LayerState" #include <inttypes.h> #include <utils/Errors.h> #include <binder/Parcel.h> #include <gui/ISurfaceComposerClient.h> Loading @@ -27,7 +29,7 @@ namespace android { status_t layer_state_t::write(Parcel& output) const { output.writeStrongBinder(surface); output.writeUint32(what); output.writeUint64(what); output.writeFloat(x); output.writeFloat(y); output.writeInt32(z); Loading Loading @@ -97,7 +99,7 @@ status_t layer_state_t::write(Parcel& output) const status_t layer_state_t::read(const Parcel& input) { surface = input.readStrongBinder(); what = input.readUint32(); what = input.readUint64(); x = input.readFloat(); y = input.readFloat(); z = input.readInt32(); Loading Loading @@ -366,7 +368,7 @@ void layer_state_t::merge(const layer_state_t& other) { if ((other.what & what) != other.what) { ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? " "other.what=0x%X what=0x%X", "other.what=0x%" PRIu64 " what=0x%" PRIu64, other.what, what); } } Loading libs/gui/include/gui/LayerState.h +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ struct layer_state_t { float dsdy{0}; }; sp<IBinder> surface; uint32_t what; uint64_t what; float x; float y; int32_t z; Loading services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3491,7 +3491,7 @@ uint32_t SurfaceFlinger::setClientStateLocked(const ComposerState& composerState uint32_t flags = 0; const uint32_t what = s.what; const uint64_t what = s.what; bool geometryAppliesWithResize = what & layer_state_t::eGeometryAppliesWithResize; Loading Loading
libs/gui/LayerState.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ #define LOG_TAG "LayerState" #include <inttypes.h> #include <utils/Errors.h> #include <binder/Parcel.h> #include <gui/ISurfaceComposerClient.h> Loading @@ -27,7 +29,7 @@ namespace android { status_t layer_state_t::write(Parcel& output) const { output.writeStrongBinder(surface); output.writeUint32(what); output.writeUint64(what); output.writeFloat(x); output.writeFloat(y); output.writeInt32(z); Loading Loading @@ -97,7 +99,7 @@ status_t layer_state_t::write(Parcel& output) const status_t layer_state_t::read(const Parcel& input) { surface = input.readStrongBinder(); what = input.readUint32(); what = input.readUint64(); x = input.readFloat(); y = input.readFloat(); z = input.readInt32(); Loading Loading @@ -366,7 +368,7 @@ void layer_state_t::merge(const layer_state_t& other) { if ((other.what & what) != other.what) { ALOGE("Unmerged SurfaceComposer Transaction properties. LayerState::merge needs updating? " "other.what=0x%X what=0x%X", "other.what=0x%" PRIu64 " what=0x%" PRIu64, other.what, what); } } Loading
libs/gui/include/gui/LayerState.h +1 −1 Original line number Diff line number Diff line Loading @@ -124,7 +124,7 @@ struct layer_state_t { float dsdy{0}; }; sp<IBinder> surface; uint32_t what; uint64_t what; float x; float y; int32_t z; Loading
services/surfaceflinger/SurfaceFlinger.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -3491,7 +3491,7 @@ uint32_t SurfaceFlinger::setClientStateLocked(const ComposerState& composerState uint32_t flags = 0; const uint32_t what = s.what; const uint64_t what = s.what; bool geometryAppliesWithResize = what & layer_state_t::eGeometryAppliesWithResize; Loading