forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a dummy external_texture_surface_gl_linux.cc
- Loading branch information
Showing
4 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// Copyright 2021 Samsung Electronics Co., Ltd. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#pragma clang diagnostic push | ||
#pragma clang diagnostic ignored "-Wunused-private-field" | ||
#include "external_texture_surface_gl.h" | ||
#pragma clang diagnostic pop | ||
|
||
#include "flutter/shell/platform/common/public/flutter_texture_registrar.h" | ||
#include "flutter/shell/platform/tizen/logger.h" | ||
|
||
namespace flutter { | ||
|
||
ExternalTextureSurfaceGL::ExternalTextureSurfaceGL( | ||
FlutterDesktopGpuBufferTextureCallback texture_callback, | ||
FlutterDesktopGpuBufferDestructionCallback destruction_callback, | ||
void* user_data) | ||
: ExternalTexture(), | ||
texture_callback_(texture_callback), | ||
destruction_callback_(destruction_callback), | ||
user_data_(user_data) {} | ||
|
||
ExternalTextureSurfaceGL::~ExternalTextureSurfaceGL() { | ||
FT_UNIMPLEMENTED(); | ||
} | ||
|
||
bool ExternalTextureSurfaceGL::PopulateTexture( | ||
size_t width, | ||
size_t height, | ||
FlutterOpenGLTexture* opengl_texture) { | ||
FT_UNIMPLEMENTED(); | ||
return false; | ||
} | ||
|
||
void ExternalTextureSurfaceGL::OnDestruction() { | ||
FT_UNIMPLEMENTED(); | ||
} | ||
|
||
} // namespace flutter |
2 changes: 1 addition & 1 deletion
2
...form/tizen/external_texture_surface_gl.cc → ...izen/external_texture_surface_gl_tizen.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters