congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
GLContextImpl$MappedGLVersion
Code IndexAdd Tabnine to your IDE (free)

How to use
GLContextImpl$MappedGLVersion
in
jogamp.opengl

Best Java code snippets using jogamp.opengl.GLContextImpl$MappedGLVersion (Showing top 6 results out of 315)

origin: org.jogamp.jogl/jogl-all-noawt

public final String toString() {
  return toString(new StringBuilder(), -1, -1, -1, -1).toString();
}
public final StringBuilder toString(final StringBuilder sb, final int minMajor, final int minMinor, final int maxMajor, final int maxMinor) {
origin: org.jogamp.jogl/jogl-all-noawt

destroyContextARBImpl(_context);
if (DEBUG) {
 System.err.println(getThreadName() + ": createContextARB-MapGLVersions HAVE "+me.toString(new StringBuilder(), minMajor, minMinor, maxMajor, maxMinor).toString());
origin: org.jogamp.jogl/jogl

destroyContextARBImpl(_context);
if (DEBUG) {
 System.err.println(getThreadName() + ": createContextARB-MapGLVersions HAVE "+me.toString(new StringBuilder(), minMajor, minMinor, maxMajor, maxMinor).toString());
origin: org.jogamp.jogl/jogl

/**
 * Called by {@link jogamp.opengl.GLContextImpl#createContextARBMapVersionsAvailable(int,int)} not intended to be used by
 * implementations. However, if {@link jogamp.opengl.GLContextImpl#createContextARB(long, boolean)} is not being used within
 * {@link com.jogamp.opengl.GLDrawableFactory#getOrCreateSharedContext(com.jogamp.nativewindow.AbstractGraphicsDevice)},
 * GLProfile has to map the available versions.
 *
 * @param reqMajor Key Value either 1, 2, 3 or 4
 * @param profile Key Value either {@link #CTX_PROFILE_COMPAT}, {@link #CTX_PROFILE_CORE} or {@link #CTX_PROFILE_ES}
 * @param resVersion the resulting version number
 * @param resCtp the resulting context options
 * @return the old mapped value
 *
 * @see #createContextARBMapVersionsAvailable
 */
protected static MappedGLVersion mapAvailableGLVersion(final AbstractGraphicsDevice device,
                             final int reqMajor, final int profile,
                             final VersionNumber resVersion, final int resCtp, final GLRendererQuirks resQuirks)
{
  @SuppressWarnings("deprecation")
  final Integer preVal = mapAvailableGLVersion(device, reqMajor, profile, resVersion.getMajor(), resVersion.getMinor(), resCtp);
  final int[] preCtp = { 0 };
  final VersionNumber preVersion = null != preVal ? decomposeBits(preVal.intValue(), preCtp) : null;
  final MappedGLVersion res = new MappedGLVersion(device, reqMajor, profile, resVersion, resCtp, resQuirks, preVersion, preCtp[0]);
  if( null != mapGLVersionListener ) {
    mapGLVersionListener.glVersionMapped(res);
  }
  return res;
}
origin: org.jogamp.jogl/jogl-all-noawt

/**
 * Called by {@link jogamp.opengl.GLContextImpl#createContextARBMapVersionsAvailable(int,int)} not intended to be used by
 * implementations. However, if {@link jogamp.opengl.GLContextImpl#createContextARB(long, boolean)} is not being used within
 * {@link com.jogamp.opengl.GLDrawableFactory#getOrCreateSharedContext(com.jogamp.nativewindow.AbstractGraphicsDevice)},
 * GLProfile has to map the available versions.
 *
 * @param reqMajor Key Value either 1, 2, 3 or 4
 * @param profile Key Value either {@link #CTX_PROFILE_COMPAT}, {@link #CTX_PROFILE_CORE} or {@link #CTX_PROFILE_ES}
 * @param resVersion the resulting version number
 * @param resCtp the resulting context options
 * @return the old mapped value
 *
 * @see #createContextARBMapVersionsAvailable
 */
protected static MappedGLVersion mapAvailableGLVersion(final AbstractGraphicsDevice device,
                             final int reqMajor, final int profile,
                             final VersionNumber resVersion, final int resCtp, final GLRendererQuirks resQuirks)
{
  @SuppressWarnings("deprecation")
  final Integer preVal = mapAvailableGLVersion(device, reqMajor, profile, resVersion.getMajor(), resVersion.getMinor(), resCtp);
  final int[] preCtp = { 0 };
  final VersionNumber preVersion = null != preVal ? decomposeBits(preVal.intValue(), preCtp) : null;
  final MappedGLVersion res = new MappedGLVersion(device, reqMajor, profile, resVersion, resCtp, resQuirks, preVersion, preCtp[0]);
  if( null != mapGLVersionListener ) {
    mapGLVersionListener.glVersionMapped(res);
  }
  return res;
}
origin: org.jogamp.jogl/jogl

public final String toString() {
  return toString(new StringBuilder(), -1, -1, -1, -1).toString();
}
public final StringBuilder toString(final StringBuilder sb, final int minMajor, final int minMinor, final int maxMajor, final int maxMinor) {
jogamp.openglGLContextImpl$MappedGLVersion

Most used methods

  • <init>
  • toString

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now