OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GLUtils
(Results
1 - 25
of
86
) sorted by null
1
2
3
4
/frameworks/base/libs/hwui/utils/
GLUtils.h
30
LOG_ALWAYS_FATAL_IF(android::uirenderer::
GLUtils
::dumpGLErrors(), "GL errors! %s:%d", \
38
class
GLUtils
{
46
}; // class
GLUtils
GLUtils.cpp
22
#include "
GLUtils
.h"
31
bool
GLUtils
::dumpGLErrors() {
/cts/tests/openglperf2/jni/reference/
ReferenceRenderer.cpp
19
#include <graphics/
GLUtils
.h>
36
double start =
GLUtils
::currentTimeMillis();
40
mSetUpTimes[0] =
GLUtils
::currentTimeMillis() - start;
50
times[0] =
GLUtils
::currentTimeMillis();
52
times[1] =
GLUtils
::currentTimeMillis();
54
times[2] =
GLUtils
::currentTimeMillis();
56
times[3] =
GLUtils
::currentTimeMillis();
GLReference.cpp
19
#include <graphics/
GLUtils
.h>
29
GLUtils
::setEnvAndAssetManager(env, assetManager);
45
double t0 =
GLUtils
::currentTimeMillis();
47
double t1 =
GLUtils
::currentTimeMillis();
49
double t2 =
GLUtils
::currentTimeMillis();
/cts/tests/openglperf2/jni/reference/scene/glowing/
GlowingScene.cpp
22
#include <graphics/
GLUtils
.h>
29
mFboWidth =
GLUtils
::roundUpToSmallestPowerOf2(width);
30
mFboHeight =
GLUtils
::roundUpToSmallestPowerOf2(height);
48
const char* vertex =
GLUtils
::openTextFile("vertex/perspective");
49
const char* fragment =
GLUtils
::openTextFile("fragment/perspective");
53
GLuint programId =
GLUtils
::createProgram(&vertex, &fragment);
61
vertex =
GLUtils
::openTextFile("vertex/blur");
62
fragment =
GLUtils
::openTextFile("fragment/blur");
66
programId =
GLUtils
::createProgram(&vertex, &fragment);
116
mTextureIds.push_back(
GLUtils
::genTexture(mWidth, mHeight, 0)); // fb
[
all
...]
/cts/tests/openglperf2/jni/reference/scene/flocking/
FlockingScene.cpp
25
#include <graphics/
GLUtils
.h>
43
const char* vertex =
GLUtils
::openTextFile("vertex/perspective");
44
const char* fragment =
GLUtils
::openTextFile("fragment/perspective");
48
GLuint programId =
GLUtils
::createProgram(&vertex, &fragment);
56
vertex =
GLUtils
::openTextFile("vertex/water");
57
fragment =
GLUtils
::openTextFile("fragment/water");
61
programId =
GLUtils
::createProgram(&vertex, &fragment);
114
mTextureIds.push_back(
GLUtils
::loadTexture("texture/fish_dark.png"));
115
mTextureIds.push_back(
GLUtils
::loadTexture("texture/background.png"));
116
mTextureIds.push_back(
GLUtils
::loadTexture("texture/water1.png"))
[
all
...]
/cts/tests/openglperf2/jni/primitive/pixeloutput/
PixelOutputRenderer.cpp
15
#include <graphics/
GLUtils
.h>
65
mProgramId =
GLUtils
::createProgram(&PO_VERTEX, &PO_FRAGMENT);
75
mTextureId =
GLUtils
::genTexture(mWidth, mHeight,
GLUtils
::RANDOM_FILL);
/cts/tests/openglperf2/jni/primitive/
GLPrimitive.cpp
22
#include <graphics/
GLUtils
.h>
52
double start =
GLUtils
::currentTimeMillis();
66
double end =
GLUtils
::currentTimeMillis();
/cts/tests/openglperf2/jni/graphics/
GLUtils.h
25
class
GLUtils
{
GLUtils.cpp
15
#include "
GLUtils
.h"
28
void
GLUtils
::setEnvAndAssetManager(JNIEnv* env, jobject assetManager) {
41
char*
GLUtils
::openTextFile(const char* path) {
60
GLuint
GLUtils
::loadTexture(const char* path) {
93
Mesh*
GLUtils
::loadMesh(const char* path) {
155
GLuint
GLUtils
::createProgram(const char** vertexSource, const char** fragmentSource) {
192
double
GLUtils
::currentTimeMillis() {
199
int
GLUtils
::roundUpToSmallestPowerOf2(int x) {
212
GLuint
GLUtils
::genTexture(int texWidth, int texHeight, int fill) {
/cts/tests/tests/view/src/android/view/cts/
GLProducerThread.java
19
import android.opengl.
GLUtils
;
79
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
85
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
123
+
GLUtils
.getEGLErrorString(error));
128
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java
21
import android.opengl.
GLUtils
;
130
int format =
GLUtils
.getInternalFormat(bitmap);
131
int type =
GLUtils
.getType(bitmap);
156
int format =
GLUtils
.getInternalFormat(bitmap);
157
int type =
GLUtils
.getType(bitmap);
/cts/tests/openglperf2/jni/primitive/fullpipeline/
FullPipelineRenderer.cpp
21
#include <graphics/
GLUtils
.h>
106
mProgramId =
GLUtils
::createProgram(&FP_VERTEX, &FP_FRAGMENT);
145
mTextureId =
GLUtils
::genTexture(mWidth, mHeight,
GLUtils
::RANDOM_FILL);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
VertexAttribPointerDataDetailProvider.java
20
import com.android.ide.eclipse.gltrace.
GLUtils
;
65
mText.setText(
GLUtils
.formatData(data, type));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
SingleFrameTextureViewTestActivity.java
26
import android.opengl.
GLUtils
;
131
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
137
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
156
+
GLUtils
.getEGLErrorString(error));
161
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
177
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
GLTextureViewActivity.java
26
import android.opengl.
GLUtils
;
272
GLUtils
.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0);
356
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
367
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
373
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
392
+
GLUtils
.getEGLErrorString(error));
397
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
415
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
/packages/screensavers/Basic/src/com/android/dreams/basic/
ColorsGLRenderer.java
33
import android.opengl.
GLUtils
;
150
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
161
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
167
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
186
+
GLUtils
.getEGLErrorString(error));
191
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
211
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
UploadedTexture.java
21
import android.opengl.
GLUtils
;
194
int format =
GLUtils
.getInternalFormat(bitmap);
195
int type =
GLUtils
.getType(bitmap);
231
int format =
GLUtils
.getInternalFormat(bitmap);
232
int type =
GLUtils
.getType(bitmap);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
UploadedTexture.java
21
import android.opengl.
GLUtils
;
194
int format =
GLUtils
.getInternalFormat(bitmap);
195
int type =
GLUtils
.getType(bitmap);
231
int format =
GLUtils
.getInternalFormat(bitmap);
232
int type =
GLUtils
.getType(bitmap);
/cts/tests/openglperf2/jni/primitive/shaderperf/
ShaderPerfRenderer.cpp
15
#include <graphics/
GLUtils
.h>
113
mProgramId =
GLUtils
::createProgram(&SP_VERTEX, const_cast<const char**>(&spFragment));
/cts/tests/tests/effect/src/android/effect/cts/
GLEnv.java
20
import android.opengl.
GLUtils
;
85
GLUtils
.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
/frameworks/base/opengl/java/android/opengl/
GLUtils.java
30
public final class
GLUtils
{
32
private
GLUtils
() {
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
ImageFlipRenderThread.java
22
import android.opengl.
GLUtils
;
225
GLUtils
.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0);
309
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
320
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
326
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
345
+
GLUtils
.getEGLErrorString(error));
350
+
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
366
GLUtils
.getEGLErrorString(mEgl.eglGetError()));
/cts/tests/openglperf2/jni/primitive/contextswitch/
ContextSwitchRenderer.cpp
25
#include <graphics/
GLUtils
.h>
89
mTextureId =
GLUtils
::genTexture(CS_TEXTURE_SIZE, CS_TEXTURE_SIZE,
GLUtils
::RANDOM_FILL);
95
mProgramId =
GLUtils
::createProgram(&CS_VERTEX, &CS_FRAGMENT);
/cts/tests/openglperf2/jni/reference/scene/
Scene.cpp
16
#include <graphics/
GLUtils
.h>
Completed in 329 milliseconds
1
2
3
4