Files
gfxstream/host/NativeSubWindow_stub.cpp
Joshua Duong 4927721fe3 Handle DPI on windows/linux.
Bug: 327657312
Test: Boot emulator with a display DPI > 1.0
Change-Id: Ib01826c39e55c83a1290d84904dc251dba56f9a8
2024-03-05 20:41:56 -08:00

33 lines
1.2 KiB
C++

/*
* Copyright (C) 2024 The Android Open Source Project
*
* 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 "GlesCompat.h"
#include "NativeSubWindow.h"
EGLNativeWindowType createSubWindow(FBNativeWindowType p_window, int x, int y, int width,
int height, float dpr,
SubWindowRepaintCallback repaint_callback,
void* repaint_callback_param, int hideWindow) {
return 0;
}
void destroySubWindow(EGLNativeWindowType win) { return; }
int moveSubWindow(FBNativeWindowType p_parent_window, EGLNativeWindowType p_sub_window, int x,
int y, int width, int height, float dpr) {
return 0;
}