gfxstream: re-license files

Re-license files to MIT, by popular demand.  These files are have
an origin in AOSP.

Reviewed-by: Aaron Ruby <aruby@blackberry.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
Gurchetan Singh 2024-09-13 15:08:05 -07:00 committed by Marge Bot
parent c95f4dcc93
commit b834e151d4
83 changed files with 243 additions and 930 deletions

View file

@ -1,18 +1,7 @@
/* /*
* Copyright (C) 2011 The Android Open Source Project * Copyright 2020 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License"); */
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "AddressSpaceStream.h" #include "AddressSpaceStream.h"
#include <errno.h> #include <errno.h>

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "GoldfishAddressSpaceStream.h" #include "GoldfishAddressSpaceStream.h"

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "VirtioGpuAddressSpaceStream.h" #include "VirtioGpuAddressSpaceStream.h"

View file

@ -1,17 +1,7 @@
// Copyright (C) 2019 The Android Open Source Project /*
// Copyright (C) 2019 Google Inc. * Copyright 2019 Google
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "goldfish_address_space.h" #include "goldfish_address_space.h"

View file

@ -1,18 +1,8 @@
/* /*
* Copyright (C) 2011 The Android Open Source Project * Copyright 2011 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License"); */
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __ADDRESS_SPACE_STREAM_H #ifndef __ADDRESS_SPACE_STREAM_H
#define __ADDRESS_SPACE_STREAM_H #define __ADDRESS_SPACE_STREAM_H

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,16 +1,7 @@
// Copyright 2019 The Android Open Source Project /*
// * Copyright 2019 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include "aemu/base/ring_buffer.h" #include "aemu/base/ring_buffer.h"

View file

@ -1,16 +1,7 @@
// Copyright 2018 The Android Open Source Project /*
// * Copyright 2018 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef ANDROID_INCLUDE_HARDWARE_GOLDFISH_ADDRESS_SPACE_H #ifndef ANDROID_INCLUDE_HARDWARE_GOLDFISH_ADDRESS_SPACE_H
#define ANDROID_INCLUDE_HARDWARE_GOLDFISH_ADDRESS_SPACE_H #define ANDROID_INCLUDE_HARDWARE_GOLDFISH_ADDRESS_SPACE_H

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include "GfxStreamConnection.h" #include "GfxStreamConnection.h"

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#ifndef GFXSTREAM_CONNECTION_H #ifndef GFXSTREAM_CONNECTION_H

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include "GfxStreamConnectionManager.h" #include "GfxStreamConnectionManager.h"

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#ifndef GFXSTREAM_CONNECTION_MANAGER_H #ifndef GFXSTREAM_CONNECTION_MANAGER_H

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2011 The Android Open Source Project * Copyright 2011 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "QemuPipeStream.h" #include "QemuPipeStream.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2011 The Android Open Source Project * Copyright 2011 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef __QEMU_PIPE_STREAM_H #ifndef __QEMU_PIPE_STREAM_H
#define __QEMU_PIPE_STREAM_H #define __QEMU_PIPE_STREAM_H

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2018 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include "QemuPipeStream.h" #include "QemuPipeStream.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2018 The Android Open Source Project * Copyright 2018 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "VirtioGpuPipeStream.h" #include "VirtioGpuPipeStream.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2018 The Android Open Source Project * Copyright 2018 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#pragma once #pragma once

View file

@ -1,18 +1,7 @@
/* /*
* Copyright (C) 2011 The Android Open Source Project * Copyright 2011 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License"); */
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __IO_STREAM_H__ #ifndef __IO_STREAM_H__
#define __IO_STREAM_H__ #define __IO_STREAM_H__

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "VirtGpu.h" #include "VirtGpu.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#pragma once #pragma once

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "FuchsiaVirtGpu.h" #include "FuchsiaVirtGpu.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "FuchsiaVirtGpu.h" #include "FuchsiaVirtGpu.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <lib/zx/vmo.h> #include <lib/zx/vmo.h>

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2024 The Android Open Source Project * Copyright 2024 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <lib/zxio/zxio.h> #include <lib/zxio/zxio.h>

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expresso or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef VIRTGPU_DEVICE_H #ifndef VIRTGPU_DEVICE_H
#define VIRTGPU_DEVICE_H #define VIRTGPU_DEVICE_H

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef UTIL_H #ifndef UTIL_H
#define UTIL_H #define UTIL_H

View file

@ -1,16 +1,7 @@
// Copyright 2022 The Android Open Source Project /*
// * Copyright 2022 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef VIRTGPU_GFXSTREAM_PROTOCOL_H #ifndef VIRTGPU_GFXSTREAM_PROTOCOL_H
#define VIRTGPU_GFXSTREAM_PROTOCOL_H #define VIRTGPU_GFXSTREAM_PROTOCOL_H

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#pragma once #pragma once

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "VirtGpuKumquat.h" #include "VirtGpuKumquat.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <pthread.h> #include <pthread.h>

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "Sync.h" #include "Sync.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "VirtGpuKumquatSync.h" #include "VirtGpuKumquatSync.h"

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expresso or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,19 +1,7 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "LinuxSync.h" #include "LinuxSync.h"
#if defined(__ANDROID__) #if defined(__ANDROID__)

View file

@ -1,16 +1,7 @@
// Copyright 2023 The Android Open Source Project /*
// * Copyright 2023 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expresso or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2023 The Android Open Source Project * Copyright 2023 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#pragma once #pragma once

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <sys/mman.h> #include <sys/mman.h>

View file

@ -1,17 +1,6 @@
/* /*
* Copyright 2022 The Android Open Source Project * Copyright 2022 Google
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,4 +1,4 @@
# Copyright 2022 Android Open Source Project # Copyright 2022 Google
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
files_libplatform_virtgpu_linux = files( files_libplatform_virtgpu_linux = files(

View file

@ -1,4 +1,4 @@
# Copyright 2022 Android Open Source Project # Copyright 2022 Google LLC
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
inc_platform_virtgpu = include_directories('include') inc_platform_virtgpu = include_directories('include')

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2023 Google LLC * Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include <errno.h> #include <errno.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2023 The Android Open Source Project /*
// * Copyright 2023 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ResourceTracker.h" #include "ResourceTracker.h"
#include "VkEncoder.h" #include "VkEncoder.h"

View file

@ -1,16 +1,7 @@
// Copyright (C) 2023 The Android Open Source Project /*
// * Copyright 2023 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2023 Google LLC * Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include <cutils/log.h> #include <cutils/log.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2023 The Android Open Source Project /*
// * Copyright 2023 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "gfxstream_vk_entrypoints.h" #include "gfxstream_vk_entrypoints.h"
#include "gfxstream_vk_private.h" #include "gfxstream_vk_private.h"

View file

@ -1,16 +1,7 @@
// Copyright (C) 2024 The Android Open Source Project /*
// * Copyright 2023 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "gfxstream_vk_entrypoints.h" #include "gfxstream_vk_entrypoints.h"
#include "gfxstream_vk_private.h" #include "gfxstream_vk_private.h"

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include "GfxStreamRenderControl.h" #include "GfxStreamRenderControl.h"

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#ifndef GFXSTREAM_RENDER_CONTROL_H #ifndef GFXSTREAM_RENDER_CONTROL_H

View file

@ -1,17 +1,7 @@
/// Copyright (C) 2019 The Android Open Source Project /*
// Copyright (C) 2019 Google Inc. * Copyright 2019 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "AndroidHardwareBuffer.h" #include "AndroidHardwareBuffer.h"
#if defined(__ANDROID__) || defined(__linux__) #if defined(__ANDROID__) || defined(__linux__)

View file

@ -1,17 +1,7 @@
/// Copyright (C) 2019 The Android Open Source Project /*
// Copyright (C) 2019 Google Inc. * Copyright 2019 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#if defined(ANDROID) #if defined(ANDROID)

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2021 The Android Open Source Project * Copyright 2021 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#include "CommandBufferStagingStream.h" #include "CommandBufferStagingStream.h"

View file

@ -1,17 +1,6 @@
/* /*
* Copyright (C) 2021 The Android Open Source Project * Copyright 2021 Google LLC
* * SPDX-License-Identifier: MIT
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/ */
#ifndef __COMMAND_BUFFER_STAGING_STREAM_H #ifndef __COMMAND_BUFFER_STAGING_STREAM_H
#define __COMMAND_BUFFER_STAGING_STREAM_H #define __COMMAND_BUFFER_STAGING_STREAM_H

View file

@ -1,17 +1,7 @@
// Copyright (C) 2021 The Android Open Source Project /*
// Copyright (C) 2021 Google Inc. * Copyright 2021 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "DescriptorSetVirtualization.h" #include "DescriptorSetVirtualization.h"
#include "Resources.h" #include "Resources.h"

View file

@ -1,17 +1,7 @@
// Copyright (C) 2021 The Android Open Source Project /*
// Copyright (C) 2021 Google Inc. * Copyright 2021 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,6 +1,6 @@
/* /*
* Copyright 2024 Google LLC * Copyright 2024 Google LLC
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: MIT
*/ */
#include "GfxStreamVulkanConnection.h" #include "GfxStreamVulkanConnection.h"

View file

@ -1,16 +1,7 @@
// Copyright (C) 2024 The Android Open Source Project /*
// * Copyright 2024 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef GFXSTREAM_VULKAN_CONNECTION_H #ifndef GFXSTREAM_VULKAN_CONNECTION_H
#define GFXSTREAM_VULKAN_CONNECTION_H #define GFXSTREAM_VULKAN_CONNECTION_H

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "HostVisibleMemoryVirtualization.h" #include "HostVisibleMemoryVirtualization.h"
#include <set> #include <set>

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ResourceTracker.h" #include "ResourceTracker.h"

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "Resources.h" #include "Resources.h"
#include <stdlib.h> #include <stdlib.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#if defined(__ANDROID__) || defined(__Fuchsia__) #if defined(__ANDROID__) || defined(__Fuchsia__)

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "Validation.h" #include "Validation.h"
#include "ResourceTracker.h" #include "ResourceTracker.h"

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,3 +1,8 @@
/*
* Copyright 2018 Google
* SPDX-License-Identifier: MIT
*/
static ResourceTracker* sResourceTracker = nullptr; static ResourceTracker* sResourceTracker = nullptr;
static uint32_t sFeatureBits = 0; static uint32_t sFeatureBits = 0;
static constexpr uint32_t kWatchdogBufferMax = 1'000; static constexpr uint32_t kWatchdogBufferMax = 1'000;

View file

@ -1,3 +1,7 @@
/*
* Copyright 2018 Google
* SPDX-License-Identifier: MIT
*/
void flush(); void flush();
void lock(); void lock();
void unlock(); void unlock();

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "VulkanHandleMapping.h" #include "VulkanHandleMapping.h"
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>
@ -50,4 +40,4 @@ class DefaultHandleMapping : public VulkanHandleMapping {
}; };
} // namespace vk } // namespace vk
} // namespace gfxstream } // namespace gfxstream

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "VulkanStreamGuest.h" #include "VulkanStreamGuest.h"
#include "util/log.h" #include "util/log.h"

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <inttypes.h> #include <inttypes.h>

View file

@ -1,16 +1,7 @@
// Copyright (C) 2023 The Android Open Source Project /*
// * Copyright 2023 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "gfxstream_vk_private.h" #include "gfxstream_vk_private.h"

View file

@ -1,10 +1,7 @@
// http://www.apache.org/licenses/LICENSE-2.0 /*
// * Copyright 2018 Google
// Unless required by applicable law or agreed to in writing, software * SPDX-License-Identifier: MIT
// distributed under the License is distributed on an "AS IS" BASIS, */
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,7 +1,7 @@
// Manual inline for /*
// void VkEncoder::vkQueueFlushCommandsGOOGLE( VkQueue queue, VkCommandBuffer commandBuffer, VkDeviceSize dataSize, const void* pData, uint32_t doLock); * Copyright 2018 Google LLC
* SPDX-License-Identifier: MIT
// We won't use the lock if this command is used (VulkanQueueSubmitWithCommands is enabled) */
(void)doLock; (void)doLock;
auto stream = mImpl->stream(); auto stream = mImpl->stream();

View file

@ -1,28 +1,7 @@
/* /*
* Copyright © 2016 Intel Corporation * Copyright 2016 Intel
* Copyright © 2019 The Android Open Source Project * SPDX-License-Identifier: MIT
* Copyright © 2019 Google Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/ */
#ifndef VK_FORMAT_INFO_H #ifndef VK_FORMAT_INFO_H
#define VK_FORMAT_INFO_H #define VK_FORMAT_INFO_H

View file

@ -1,16 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// * Copyright 2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License"); * SPDX-License-Identifier: MIT
// you may not use this file except in compliance with the License. */
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,17 +1,7 @@
// Copyright (C) 2018 The Android Open Source Project /*
// Copyright (C) 2018 Google Inc. * Copyright 2018 Google LLC
// * SPDX-License-Identifier: MIT
// Licensed under the Apache License, Version 2.0 (the "License"); */
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once #pragma once
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>

View file

@ -1,24 +1,6 @@
/* /*
* Copyright © 2017 Intel Corporation * Copyright 2017 Intel
* * SPDX-License-Identifier: MIT
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/ */
#ifndef VK_UTIL_H #ifndef VK_UTIL_H
#define VK_UTIL_H #define VK_UTIL_H