egl_native_aura.cc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // This is just a compile fix. If this is really needed when using aura, the
  5. // methods below should be filled out.
  6. #include <EGL/egl.h>
  7. #include <EGL/eglext.h>
  8. #include "base/notreached.h"
  9. extern "C" {
  10. #if defined(GLES2_CONFORM_SUPPORT_ONLY)
  11. #include "gpu/gles2_conform_support/gtf/gtf_stubs.h"
  12. #else
  13. #include "third_party/gles2_conform/GTF_ES/glsl/GTF/Source/eglNative.h" // nogncheck
  14. #endif
  15. GTFbool GTFNativeCreateDisplay(EGLNativeDisplayType *pNativeDisplay) {
  16. NOTIMPLEMENTED();
  17. return GTFfalse;
  18. }
  19. void GTFNativeDestroyDisplay(EGLNativeDisplayType nativeDisplay) {
  20. NOTIMPLEMENTED();
  21. }
  22. void GTFNativeDestroyWindow(EGLNativeDisplayType nativeDisplay,
  23. EGLNativeWindowType nativeWindow) {
  24. NOTIMPLEMENTED();
  25. }
  26. GTFbool GTFNativeCreateWindow(EGLNativeDisplayType nativeDisplay,
  27. EGLDisplay eglDisplay, EGLConfig eglConfig,
  28. const char* title, int width, int height,
  29. EGLNativeWindowType *pNativeWindow) {
  30. NOTIMPLEMENTED();
  31. return GTFfalse;
  32. }
  33. } // extern "C"