1 11 package org.eclipse.swt.opengl; 12 13 21 22 public class GLData { 23 28 public boolean doubleBuffer; 29 30 34 public boolean stereo; 35 36 41 public int redSize; 42 43 48 public int greenSize; 49 50 55 public int blueSize; 56 57 62 public int alphaSize; 63 64 70 public int depthSize; 71 72 78 public int stencilSize; 79 80 85 public int accumRedSize; 86 87 92 public int accumGreenSize; 93 94 99 public int accumBlueSize; 100 101 106 public int accumAlphaSize; 107 108 113 public int sampleBuffers; 114 115 121 public int samples; 122 123 129 public String toString() { 130 return (doubleBuffer ? "doubleBuffer," : "") + 131 (stereo ? "stereo," : "") + 132 "r:" + redSize + " g:" + greenSize + " b:" + blueSize + " a:" + alphaSize + "," + 133 "depth:" + depthSize + ",stencil:" + stencilSize + 134 ",accum r:" + accumRedSize + "g:" + accumGreenSize + "b:" + accumBlueSize + "a:" + accumAlphaSize + 135 ",sampleBuffers:" + sampleBuffers + ",samples:" + samples; 136 } 137 } 138 | Popular Tags |