aboutsummaryrefslogtreecommitdiff
path: root/src/share/native/sun/java2d/opengl/OGLSurfaceData.h
diff options
context:
space:
mode:
authorAlexey Ushakov <alexey.v.ushakov@gmail.com>2020-01-20 12:26:23 +0300
committerGitHub <noreply@github.com>2020-01-20 12:26:23 +0300
commit58d685ee3bb0e782891f47572a1c73d68b6e0b13 (patch)
tree185fd6e03f18f8596cf10f16f73d0076768f34b3 /src/share/native/sun/java2d/opengl/OGLSurfaceData.h
parent9939e9d0b1e8c9641857fb17b7b61f85683af257 (diff)
parent04084b619aea80229624dbac6c5b8e16db4a32e3 (diff)
downloadjdk8u_jdk-58d685ee3bb0e782891f47572a1c73d68b6e0b13.tar.gz
Merge pull request #31 from bell-sw/update_8u242jb8u242-b1640
jdk8u242 update
Diffstat (limited to 'src/share/native/sun/java2d/opengl/OGLSurfaceData.h')
-rw-r--r--src/share/native/sun/java2d/opengl/OGLSurfaceData.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/share/native/sun/java2d/opengl/OGLSurfaceData.h b/src/share/native/sun/java2d/opengl/OGLSurfaceData.h
index 0fc8b3b4da..62c48ee434 100644
--- a/src/share/native/sun/java2d/opengl/OGLSurfaceData.h
+++ b/src/share/native/sun/java2d/opengl/OGLSurfaceData.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -85,6 +85,9 @@ typedef struct {
* Pointer to native-specific (GLX, WGL, etc.) SurfaceData info, such as the
* native Drawable handle and GraphicsConfig data.
*
+ * jobject graphicsConfig;;
+ * Strong reference to the OGLGraphicsConfig used by this OGLSurfaceData.
+ *
* jint drawableType;
* The surface type; can be any one of the surface type constants defined
* below (OGLSD_WINDOW, OGLSD_TEXTURE, etc).
@@ -162,6 +165,7 @@ typedef struct {
struct _OGLSDOps {
SurfaceDataOps sdOps;
void *privOps;
+ jobject graphicsConfig;
jint drawableType;
GLenum activeBuffer;
jboolean isOpaque;