author | Jon Medhurst |
Fri, 22 Oct 2010 13:37:16 +0100 | |
branch | bug235_bringup_0 |
changeset 64 | 5023b77b78d4 |
parent 53 | c2ef9095503a |
permissions | -rw-r--r-- |
53
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
1 |
/* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
2 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
3 |
* Permission is hereby granted, free of charge, to any person obtaining a |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
4 |
* copy of this software and /or associated documentation files |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
5 |
* (the "Materials "), to deal in the Materials without restriction, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
6 |
* including without limitation the rights to use, copy, modify, merge, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
7 |
* publish, distribute, sublicense, and/or sell copies of the Materials, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
8 |
* and to permit persons to whom the Materials are furnished to do so, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
9 |
* subject to the following conditions: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
10 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
11 |
* The above copyright notice and this permission notice shall be included |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
12 |
* in all copies or substantial portions of the Materials. |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
13 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
14 |
* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
15 |
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
16 |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
17 |
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
18 |
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
19 |
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
20 |
* THE USE OR OTHER DEALINGS IN THE MATERIALS. |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
21 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
22 |
* Initial Contributors: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
23 |
* Nokia Corporation - initial contribution. |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
24 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
25 |
* Contributors: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
26 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
27 |
* Description: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
28 |
* |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
29 |
*/ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
30 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
31 |
#include "glesGet.h" |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
32 |
#include <GLES/glext.h> |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
33 |
#include "GLESContext.h" |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
34 |
#include "GLESDesktopGL.h" |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
35 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
36 |
// UINT_MAX |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
37 |
#include <limits.h> |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
38 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
39 |
bool glesGetParameter(const GLESContext& context, const GLESDesktopGL &dgl, GLenum pname, GLESGetType dstType, void* params) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
40 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
41 |
GLESGetType srcType; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
42 |
GLboolean b[4]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
43 |
GLint i[16]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
44 |
GLdouble d[16]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
45 |
int n = 1; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
46 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
47 |
switch(pname) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
48 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
49 |
case GL_MAX_TEXTURE_UNITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
50 |
i[0] = context.MaxTextureUnits(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
51 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
52 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
53 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
54 |
case GL_MAX_CLIP_PLANES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
55 |
i[0] = context.MaxClipPlanes(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
56 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
57 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
58 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
59 |
case GL_MAX_LIGHTS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
60 |
i[0] = context.MaxLights(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
61 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
62 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
63 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
64 |
case GL_CLIENT_ACTIVE_TEXTURE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
65 |
i[0] = GL_TEXTURE0 + context.ClientActiveTexture(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
66 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
67 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
68 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
69 |
case GL_VERTEX_ARRAY: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
70 |
i[0] = context.IsArrayEnabled(GLES_VERTEX_ARRAY); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
71 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
72 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
73 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
74 |
case GL_VERTEX_ARRAY_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
75 |
i[0] = context.VertexArray().Size(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
76 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
77 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
78 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
79 |
case GL_VERTEX_ARRAY_TYPE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
80 |
i[0] = context.VertexArray().Type(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
81 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
82 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
83 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
84 |
case GL_VERTEX_ARRAY_STRIDE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
85 |
i[0] = context.VertexArray().Stride(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
86 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
87 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
88 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
89 |
case GL_NORMAL_ARRAY: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
90 |
i[0] = context.IsArrayEnabled(GLES_NORMAL_ARRAY); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
91 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
92 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
93 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
94 |
case GL_NORMAL_ARRAY_TYPE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
95 |
i[0] = context.NormalArray().Type(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
96 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
97 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
98 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
99 |
case GL_NORMAL_ARRAY_STRIDE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
100 |
i[0] = context.NormalArray().Stride(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
101 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
102 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
103 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
104 |
case GL_COLOR_ARRAY: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
105 |
i[0] = context.IsArrayEnabled(GLES_COLOR_ARRAY); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
106 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
107 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
108 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
109 |
case GL_COLOR_ARRAY_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
110 |
i[0] = context.ColorArray().Size(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
111 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
112 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
113 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
114 |
case GL_COLOR_ARRAY_TYPE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
115 |
i[0] = context.ColorArray().Type(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
116 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
117 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
118 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
119 |
case GL_COLOR_ARRAY_STRIDE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
120 |
i[0] = context.ColorArray().Stride(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
121 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
122 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
123 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
124 |
case GL_POINT_SIZE_ARRAY_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
125 |
i[0] = context.IsArrayEnabled(GLES_POINT_SIZE_ARRAY); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
126 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
127 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
128 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
129 |
case GL_POINT_SIZE_ARRAY_TYPE_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
130 |
i[0] = context.PointSizeArray().Type(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
131 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
132 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
133 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
134 |
case GL_POINT_SIZE_ARRAY_STRIDE_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
135 |
i[0] = context.PointSizeArray().Stride(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
136 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
137 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
138 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
139 |
case GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
140 |
i[0] = context.PointSizeArray().BufferName(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
141 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
142 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
143 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
144 |
case GL_TEXTURE_COORD_ARRAY: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
145 |
i[0] = context.IsArrayEnabled(static_cast<GLESArrayFlag>(GLES_TEXTURE_COORD_ARRAY << context.ClientActiveTexture())); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
146 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
147 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
148 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
149 |
case GL_TEXTURE_COORD_ARRAY_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
150 |
i[0] = context.TexCoordArray().Size(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
151 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
152 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
153 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
154 |
case GL_TEXTURE_COORD_ARRAY_TYPE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
155 |
i[0] = context.TexCoordArray().Type(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
156 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
157 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
158 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
159 |
case GL_TEXTURE_COORD_ARRAY_STRIDE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
160 |
i[0] = context.TexCoordArray().Stride(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
161 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
162 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
163 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
164 |
case GL_VERTEX_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
165 |
i[0] = context.VertexArray().BufferName(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
166 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
167 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
168 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
169 |
case GL_NORMAL_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
170 |
i[0] = context.NormalArray().BufferName(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
171 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
172 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
173 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
174 |
case GL_COLOR_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
175 |
i[0] = context.ColorArray().BufferName(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
176 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
177 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
178 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
179 |
case GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
180 |
i[0] = context.TexCoordArray().BufferName(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
181 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
182 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
183 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
184 |
case GL_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
185 |
i[0] = context.ArrayBufferBinding(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
186 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
187 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
188 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
189 |
case GL_ELEMENT_ARRAY_BUFFER_BINDING: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
190 |
i[0] = context.ElementArrayBufferBinding(); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
191 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
192 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
193 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
194 |
case GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
195 |
if(dstType != GLES_TYPE_INTEGER) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
196 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
197 |
return false; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
198 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
199 |
dgl.glGetDoublev(GL_MODELVIEW_MATRIX, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
200 |
n = 16; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
201 |
for(int j = 0; j < n; j++) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
202 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
203 |
static_cast<GLint*>(params)[j] = *reinterpret_cast<GLint*>(&d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
204 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
205 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
206 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
207 |
case GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
208 |
if(dstType != GLES_TYPE_INTEGER) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
209 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
210 |
return false; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
211 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
212 |
dgl.glGetDoublev(GL_PROJECTION_MATRIX, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
213 |
n = 16; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
214 |
for(int j = 0; j < n; j++) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
215 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
216 |
static_cast<GLint*>(params)[j] = *reinterpret_cast<GLint*>(&d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
217 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
218 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
219 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
220 |
case GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
221 |
if(dstType != GLES_TYPE_INTEGER) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
222 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
223 |
return false; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
224 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
225 |
dgl.glGetDoublev(GL_TEXTURE_MATRIX, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
226 |
n = 16; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
227 |
for(int j = 0; j < n; j++) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
228 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
229 |
static_cast<GLint*>(params)[j] = *reinterpret_cast<GLint*>(&d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
230 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
231 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
232 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
233 |
case GL_POINT_SPRITE_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
234 |
b[0] = dgl.glIsEnabled(GL_POINT_SPRITE); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
235 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
236 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
237 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
238 |
case GL_NUM_COMPRESSED_TEXTURE_FORMATS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
239 |
i[0] = 10; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
240 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
241 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
242 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
243 |
case GL_COMPRESSED_TEXTURE_FORMATS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
244 |
i[0] = GL_PALETTE4_RGB8_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
245 |
i[1] = GL_PALETTE4_RGBA8_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
246 |
i[2] = GL_PALETTE4_R5_G6_B5_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
247 |
i[3] = GL_PALETTE4_RGBA4_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
248 |
i[4] = GL_PALETTE4_RGB5_A1_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
249 |
i[5] = GL_PALETTE8_RGB8_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
250 |
i[6] = GL_PALETTE8_RGBA8_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
251 |
i[7] = GL_PALETTE8_R5_G6_B5_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
252 |
i[8] = GL_PALETTE8_RGBA4_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
253 |
i[9] = GL_PALETTE8_RGB5_A1_OES; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
254 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
255 |
n = 10; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
256 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
257 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
258 |
case GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
259 |
i[0] = GL_RGBA; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
260 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
261 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
262 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
263 |
case GL_IMPLEMENTATION_COLOR_READ_TYPE_OES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
264 |
i[0] = GL_UNSIGNED_BYTE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
265 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
266 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
267 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
268 |
case GL_ALIASED_POINT_SIZE_RANGE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
269 |
case GL_ALIASED_LINE_WIDTH_RANGE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
270 |
case GL_DEPTH_RANGE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
271 |
case GL_SMOOTH_LINE_WIDTH_RANGE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
272 |
case GL_SMOOTH_POINT_SIZE_RANGE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
273 |
dgl.glGetDoublev(pname, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
274 |
srcType = GLES_TYPE_DOUBLE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
275 |
n = 2; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
276 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
277 |
case GL_ALPHA_TEST_FUNC: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
278 |
case GL_STENCIL_FAIL: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
279 |
case GL_STENCIL_FUNC: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
280 |
case GL_STENCIL_PASS_DEPTH_FAIL: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
281 |
case GL_STENCIL_PASS_DEPTH_PASS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
282 |
case GL_BLEND_DST: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
283 |
case GL_BLEND_SRC: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
284 |
case GL_LOGIC_OP_MODE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
285 |
case GL_CULL_FACE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
286 |
case GL_DEPTH_FUNC: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
287 |
case GL_FOG_HINT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
288 |
case GL_FOG_MODE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
289 |
case GL_FRONT_FACE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
290 |
case GL_LINE_SMOOTH_HINT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
291 |
case GL_MATRIX_MODE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
292 |
case GL_PERSPECTIVE_CORRECTION_HINT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
293 |
case GL_POINT_SMOOTH_HINT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
294 |
case GL_SHADE_MODEL: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
295 |
case GL_GENERATE_MIPMAP_HINT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
296 |
case GL_CULL_FACE_MODE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
297 |
case GL_ACTIVE_TEXTURE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
298 |
dgl.glGetIntegerv(pname, i); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
299 |
srcType = GLES_TYPE_ENUM; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
300 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
301 |
case GL_ALPHA_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
302 |
case GL_RED_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
303 |
case GL_GREEN_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
304 |
case GL_BLUE_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
305 |
case GL_DEPTH_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
306 |
case GL_STENCIL_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
307 |
case GL_STENCIL_VALUE_MASK: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
308 |
case GL_STENCIL_WRITEMASK: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
309 |
case GL_MODELVIEW_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
310 |
case GL_PROJECTION_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
311 |
case GL_TEXTURE_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
312 |
case GL_PACK_ALIGNMENT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
313 |
case GL_UNPACK_ALIGNMENT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
314 |
case GL_TEXTURE_BINDING_2D: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
315 |
case GL_SUBPIXEL_BITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
316 |
case GL_SAMPLE_BUFFERS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
317 |
case GL_SAMPLES: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
318 |
case GL_BUFFER_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
319 |
case GL_STENCIL_CLEAR_VALUE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
320 |
case GL_MAX_MODELVIEW_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
321 |
case GL_MAX_PROJECTION_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
322 |
case GL_MAX_TEXTURE_STACK_DEPTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
323 |
case GL_MAX_TEXTURE_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
324 |
dgl.glGetIntegerv(pname, i); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
325 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
326 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
327 |
case GL_ALPHA_TEST_REF: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
328 |
case GL_STENCIL_REF: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
329 |
case GL_DEPTH_CLEAR_VALUE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
330 |
case GL_FOG_DENSITY: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
331 |
case GL_FOG_START: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
332 |
case GL_FOG_END: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
333 |
case GL_LINE_WIDTH: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
334 |
case GL_POINT_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
335 |
case GL_POINT_SIZE_MIN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
336 |
case GL_POINT_SIZE_MAX: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
337 |
case GL_POLYGON_OFFSET_FACTOR: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
338 |
case GL_POLYGON_OFFSET_UNITS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
339 |
case GL_POINT_FADE_THRESHOLD_SIZE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
340 |
dgl.glGetDoublev(pname, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
341 |
srcType = GLES_TYPE_DOUBLE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
342 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
343 |
case GL_CURRENT_NORMAL: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
344 |
case GL_POINT_DISTANCE_ATTENUATION: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
345 |
dgl.glGetDoublev(pname, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
346 |
srcType = GLES_TYPE_DOUBLE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
347 |
n = 3; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
348 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
349 |
case GL_COLOR_CLEAR_VALUE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
350 |
case GL_CURRENT_TEXTURE_COORDS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
351 |
case GL_CURRENT_COLOR: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
352 |
case GL_FOG_COLOR: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
353 |
case GL_LIGHT_MODEL_AMBIENT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
354 |
case GL_AMBIENT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
355 |
case GL_DIFFUSE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
356 |
case GL_SPECULAR: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
357 |
case GL_EMISSION: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
358 |
dgl.glGetDoublev(pname, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
359 |
srcType = GLES_TYPE_DOUBLE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
360 |
n = 4; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
361 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
362 |
case GL_COLOR_WRITEMASK: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
363 |
dgl.glGetBooleanv(pname, b); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
364 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
365 |
n = 4; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
366 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
367 |
case GL_DEPTH_WRITEMASK: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
368 |
case GL_LIGHT_MODEL_TWO_SIDE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
369 |
dgl.glGetBooleanv(pname, b); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
370 |
srcType = GLES_TYPE_BOOLEAN; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
371 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
372 |
case GL_PROJECTION_MATRIX: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
373 |
case GL_MODELVIEW_MATRIX: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
374 |
case GL_TEXTURE_MATRIX: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
375 |
dgl.glGetDoublev(pname, d); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
376 |
srcType = GLES_TYPE_DOUBLE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
377 |
n = 16; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
378 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
379 |
case GL_VIEWPORT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
380 |
case GL_SCISSOR_BOX: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
381 |
dgl.glGetIntegerv(pname, i); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
382 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
383 |
n = 4; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
384 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
385 |
case GL_MAX_VIEWPORT_DIMS: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
386 |
dgl.glGetIntegerv(pname, i); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
387 |
srcType = GLES_TYPE_INTEGER; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
388 |
n = 2; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
389 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
390 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
391 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
392 |
return false; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
393 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
394 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
395 |
// Type conversions |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
396 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
397 |
// Special cases |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
398 |
if(dstType == GLES_TYPE_INTEGER && |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
399 |
(pname == GL_CURRENT_COLOR || pname == GL_ALPHA_TEST_REF || pname == GL_DEPTH_CLEAR_VALUE)) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
400 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
401 |
for(int j = 0; j < n; j++) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
402 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
403 |
static_cast<GLint*>(params)[j] = static_cast<GLint>((UINT_MAX * d[j] - 1) / 2); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
404 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
405 |
return true; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
406 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
407 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
408 |
for(int j = 0; j < n; j++) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
409 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
410 |
switch(dstType) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
411 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
412 |
case GLES_TYPE_BOOLEAN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
413 |
switch(srcType) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
414 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
415 |
case GLES_TYPE_BOOLEAN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
416 |
static_cast<GLboolean*>(params)[j] = b[j]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
417 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
418 |
case GLES_TYPE_INTEGER: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
419 |
case GLES_TYPE_ENUM: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
420 |
static_cast<GLboolean*>(params)[j] = i[j] ? GL_TRUE : GL_FALSE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
421 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
422 |
case GLES_TYPE_DOUBLE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
423 |
static_cast<GLboolean*>(params)[j] = d[j] ? GL_TRUE : GL_FALSE; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
424 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
425 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
426 |
GLES_ASSERT(false); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
427 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
428 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
429 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
430 |
case GLES_TYPE_INTEGER: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
431 |
switch(srcType) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
432 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
433 |
case GLES_TYPE_BOOLEAN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
434 |
static_cast<GLint*>(params)[j] = b[j]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
435 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
436 |
case GLES_TYPE_INTEGER: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
437 |
case GLES_TYPE_ENUM: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
438 |
static_cast<GLint*>(params)[j] = i[j]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
439 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
440 |
case GLES_TYPE_DOUBLE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
441 |
static_cast<GLint*>(params)[j] = static_cast<GLint>(d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
442 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
443 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
444 |
GLES_ASSERT(false); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
445 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
446 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
447 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
448 |
case GLES_TYPE_FLOAT: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
449 |
switch(srcType) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
450 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
451 |
case GLES_TYPE_BOOLEAN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
452 |
static_cast<GLfloat*>(params)[j] = b[j]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
453 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
454 |
case GLES_TYPE_INTEGER: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
455 |
case GLES_TYPE_ENUM: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
456 |
static_cast<GLfloat*>(params)[j] = static_cast<GLfloat>(i[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
457 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
458 |
case GLES_TYPE_DOUBLE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
459 |
static_cast<GLfloat*>(params)[j] = static_cast<GLfloat>(d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
460 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
461 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
462 |
GLES_ASSERT(false); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
463 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
464 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
465 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
466 |
case GLES_TYPE_FIXED: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
467 |
switch(srcType) |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
468 |
{ |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
469 |
case GLES_TYPE_BOOLEAN: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
470 |
static_cast<GLfixed*>(params)[j] = F_TO_X(b[j] ? 1.f : 0.f); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
471 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
472 |
case GLES_TYPE_INTEGER: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
473 |
static_cast<GLfixed*>(params)[j] = I_TO_X(i[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
474 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
475 |
case GLES_TYPE_ENUM: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
476 |
static_cast<GLfixed*>(params)[j] = i[j]; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
477 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
478 |
case GLES_TYPE_DOUBLE: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
479 |
static_cast<GLfixed*>(params)[j] = D_TO_X(d[j]); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
480 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
481 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
482 |
GLES_ASSERT(false); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
483 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
484 |
break; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
485 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
486 |
default: |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
487 |
GLES_ASSERT(false); |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
488 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
489 |
} |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
490 |
|
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
491 |
return true; |
c2ef9095503a
Copy code from the holdingarea into the target locations.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff
changeset
|
492 |
} |