Loading libs/surfaceflinger/SurfaceFlinger.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -1749,7 +1749,8 @@ ssize_t UserClient::getTokenForSurface(const sp<ISurface>& sur) const name = NO_MEMORY; name = NO_MEMORY; } while(name >= 0); } while(name >= 0); //LOGD("getTokenForSurface(%p) => %d", sur->asBinder().get(), name); //LOGD("getTokenForSurface(%p) => %d (client=%p, bitmap=%08lx)", // sur->asBinder().get(), name, this, mBitmap); return name; return name; } } Loading libs/surfaceflinger_client/SurfaceComposerClient.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -305,11 +305,9 @@ sp<SurfaceControl> SurfaceComposerClient::createSurface( sp<ISurface> surface = mClient->createSurface(&data, pid, name, sp<ISurface> surface = mClient->createSurface(&data, pid, name, display, w, h, format, flags); display, w, h, format, flags); if (surface != 0) { if (surface != 0) { if (uint32_t(data.token) < SharedBufferStack::NUM_LAYERS_MAX) { result = new SurfaceControl(this, surface, data, w, h, format, flags); result = new SurfaceControl(this, surface, data, w, h, format, flags); } } } } } return result; return result; } } Loading Loading
libs/surfaceflinger/SurfaceFlinger.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -1749,7 +1749,8 @@ ssize_t UserClient::getTokenForSurface(const sp<ISurface>& sur) const name = NO_MEMORY; name = NO_MEMORY; } while(name >= 0); } while(name >= 0); //LOGD("getTokenForSurface(%p) => %d", sur->asBinder().get(), name); //LOGD("getTokenForSurface(%p) => %d (client=%p, bitmap=%08lx)", // sur->asBinder().get(), name, this, mBitmap); return name; return name; } } Loading
libs/surfaceflinger_client/SurfaceComposerClient.cpp +1 −3 Original line number Original line Diff line number Diff line Loading @@ -305,11 +305,9 @@ sp<SurfaceControl> SurfaceComposerClient::createSurface( sp<ISurface> surface = mClient->createSurface(&data, pid, name, sp<ISurface> surface = mClient->createSurface(&data, pid, name, display, w, h, format, flags); display, w, h, format, flags); if (surface != 0) { if (surface != 0) { if (uint32_t(data.token) < SharedBufferStack::NUM_LAYERS_MAX) { result = new SurfaceControl(this, surface, data, w, h, format, flags); result = new SurfaceControl(this, surface, data, w, h, format, flags); } } } } } return result; return result; } } Loading