HomeSort by relevance Sort by last modified time
    Searched refs:gl (Results 51 - 75 of 1149) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/angle/src/libGLESv2/
validationES2.cpp 22 namespace gl namespace
27 gl::Texture2D *texture)
31 return gl::error(GL_INVALID_OPERATION, false);
36 return gl::error(GL_INVALID_OPERATION, false);
41 GLenum internalformat = gl::GetSizedInternalFormat(format, type, 2);
44 return gl::error(GL_INVALID_OPERATION, false);
53 return gl::error(GL_INVALID_OPERATION, false);
60 return gl::error(GL_INVALID_VALUE, false);
68 gl::TextureCubeMap *texture)
72 return gl::error(GL_INVALID_OPERATION, false)
    [all...]
validationES3.cpp 21 namespace gl namespace
24 bool ValidateES3TexImageParameters(gl::Context *context, GLenum target, GLint level, GLenum internalformat, bool isCompressed, bool isSubImage,
30 return gl::error(GL_INVALID_ENUM, false);
36 return gl::error(GL_INVALID_VALUE, false);
42 return gl::error(GL_INVALID_VALUE, false);
50 return gl::error(GL_INVALID_VALUE, false);
53 gl::Texture *texture = NULL;
66 return gl::error(GL_INVALID_VALUE, false);
69 gl::Texture2D *texture2d = context->getTexture2D();
91 return gl::error(GL_INVALID_VALUE, false)
    [all...]
  /external/deqp/modules/glshared/
glsSamplerObjectTest.cpp 83 void TextureSamplerTest::setTextureState (const glw::Functions& gl, GLenum target, SamplingState state)
85 gl.texParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter);
86 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MIN_FILTER, state.minFilter)");
87 gl.texParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter);
88 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_MAG_FILTER, state.magFilter)");
89 gl.texParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS);
90 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_S, state.wrapS)");
91 gl.texParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT);
92 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexParameteri(target, GL_TEXTURE_WRAP_T, state.wrapT)");
93 gl.texParameteri(target, GL_TEXTURE_WRAP_R, state.wrapR)
295 const glw::Functions& gl = m_renderCtx.getFunctions(); local
489 const glw::Functions& gl = m_renderCtx.getFunctions(); local
512 const glw::Functions& gl = m_renderCtx.getFunctions(); local
785 const glw::Functions& gl = m_renderCtx.getFunctions(); local
1032 const glw::Functions& gl = m_renderCtx.getFunctions(); local
1074 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
  /external/deqp/framework/opengl/wrapper/
glwImpl.inl 7 const glw::Functions* gl = glw::getCurrentThreadFunctions();
8 if (!gl)
10 return gl->createSyncFromCLeventARB(context, event, flags);
15 const glw::Functions* gl = glw::getCurrentThreadFunctions();
16 if (!gl)
18 gl->blendBarrierKHR();
23 const glw::Functions* gl = glw::getCurrentThreadFunctions();
24 if (!gl)
26 gl->cullFace(mode);
31 const glw::Functions* gl = glw::getCurrentThreadFunctions()
    [all...]
glwInitES20Direct.cpp 30 # include <OpenGLES/ES2/gl.h>
39 void initES20Direct (Functions* gl)
44 DE_UNREF(gl);
glwInitES30Direct.cpp 30 # include <OpenGLES/ES3/gl.h>
39 void initES30Direct (Functions* gl)
44 DE_UNREF(gl);
  /external/aac/libAACdec/src/
overlapadd.h 102 #define SPEC(ptr,w,gl) ((ptr)+((w)*(gl)))
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
GLRotationGuideRenderer.java 64 public void onDrawFrame(GL10 gl) {
65 clearBackground(gl);
66 gl.glMatrixMode(GL10.GL_MODELVIEW);
67 gl.glLoadIdentity();
68 gl.glRotatef(mAngle, mRotateX, mRotateY, mRotateZ);
69 mMonolith.draw(gl);
77 public void onSurfaceChanged(GL10 gl, int width, int height) {
78 gl.glViewport(0, 0, width, height);
79 gl.glMatrixMode(GL10.GL_PROJECTION);
80 gl.glLoadIdentity()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
TouchRotateActivity.java 111 public void onDrawFrame(GL10 gl) {
118 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
124 gl.glMatrixMode(GL10.GL_MODELVIEW);
125 gl.glLoadIdentity();
126 gl.glTranslatef(0, 0, -3.0f);
127 gl.glRotatef(mAngleX, 0, 1, 0);
128 gl.glRotatef(mAngleY, 1, 0, 0);
130 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
131 gl.glEnableClientState(GL10.GL_COLOR_ARRAY);
133 mCube.draw(gl);
    [all...]
TriangleRenderer.java 46 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
52 gl.glDisable(GL10.GL_DITHER);
58 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,
61 gl.glClearColor(.5f, .5f, .5f, 1);
62 gl.glShadeModel(GL10.GL_SMOOTH);
63 gl.glEnable(GL10.GL_DEPTH_TEST);
64 gl.glEnable(GL10.GL_TEXTURE_2D);
72 gl.glGenTextures(1, textures, 0);
75 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
77 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER
    [all...]
CubeMapActivity.java 27 import javax.microedition.khronos.opengles.GL;
57 public void onDrawFrame(GL10 gl) {
58 checkGLError(gl);
60 gl.glClearColor(0,0,1,0);
64 gl.glClearColor(1,0,0,0);
66 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
67 gl.glEnable(GL10.GL_DEPTH_TEST);
68 gl.glMatrixMode(GL10.GL_MODELVIEW);
69 gl.glLoadIdentity();
71 GLU.gluLookAt(gl, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f)
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
RenderStateCache.h 16 namespace gl namespace
33 ID3D11BlendState *getBlendState(const gl::Framebuffer *framebuffer, const gl::BlendState &blendState);
34 ID3D11RasterizerState *getRasterizerState(const gl::RasterizerState &rasterState, bool scissorEnabled);
35 ID3D11DepthStencilState *getDepthStencilState(const gl::DepthStencilState &dsState);
36 ID3D11SamplerState *getSamplerState(const gl::SamplerState &samplerState);
46 gl::BlendState blendState;
62 gl::RasterizerState rasterizerState;
76 static std::size_t hashDepthStencilState(const gl::DepthStencilState &dsState);
77 static bool compareDepthStencilStates(const gl::DepthStencilState &a, const gl::DepthStencilState &b)
    [all...]
Blit11.h 31 bool swizzleTexture(ID3D11ShaderResourceView *source, ID3D11RenderTargetView *dest, const gl::Extents &size,
34 bool copyTexture(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize,
35 ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize,
36 const gl::Rectangle *scissor, GLenum destFormat, GLenum filter);
38 bool copyStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize,
39 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize
    [all...]
Renderer11.h 22 namespace gl namespace
62 virtual void generateSwizzle(gl::Texture *texture);
63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture);
66 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]);
68 virtual void setRasterizerState(const gl::RasterizerState &rasterState);
69 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
SpriteTextRenderer.java 53 public void onSurfaceCreated(GL10 gl, EGLConfig config) {
59 gl.glDisable(GL10.GL_DITHER);
65 gl.glHint(GL10.GL_PERSPECTIVE_CORRECTION_HINT,
68 gl.glClearColor(.5f, .5f, .5f, 1);
69 gl.glShadeModel(GL10.GL_SMOOTH);
70 gl.glEnable(GL10.GL_DEPTH_TEST);
71 gl.glEnable(GL10.GL_TEXTURE_2D);
79 gl.glGenTextures(1, textures, 0);
82 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
84 gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER
    [all...]
  /external/deqp/framework/opengl/
gluProgramInterfaceQuery.cpp 33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam)
36 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, 1, DE_NULL, (int*)&value);
37 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetProgramResourceiv()");
41 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst)
43 const int length = getProgramResourceInt(gl, program, programInterface, index, GL_NAME_LENGTH);
48 gl.getProgramResourceName(program, programInterface, index, (int)buf.size(), DE_NULL, &buf[0]);
49 GLU_EXPECT_NO_ERROR(gl.getError(), "glGetProgramResourceName()");
61 static void getProgramInterfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::vector<int>& activeVariables)
63 const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_ACTIVE_VARIABLES);
69 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, (int)activeVariables.size() (…)
    [all...]
  /external/deqp/modules/egl/
teglSwapBuffersTests.cpp 119 deUint32 createGLES2Program (const glw::Functions& gl, TestLog& log)
147 program = gl.createProgram();
148 vertexShader = gl.createShader(GL_VERTEX_SHADER);
149 fragmentShader = gl.createShader(GL_FRAGMENT_SHADER);
151 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to create shaders and program");
153 gl.shaderSource(vertexShader, 1, &vertexShaderSource, DE_NULL);
154 gl.compileShader(vertexShader);
155 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to setup vertex shader");
157 gl.shaderSource(fragmentShader, 1, &fragmentShaderSource, DE_NULL);
158 gl.compileShader(fragmentShader)
292 glw::Functions gl; local
    [all...]
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 80 public void onDrawFrame(GL10 gl) {
82 gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);
84 gl.glTexEnvx(GL10.GL_TEXTURE_ENV, GL10.GL_TEXTURE_ENV_MODE,
88 gl.glMatrixMode(GL10.GL_MODELVIEW);
89 gl.glLoadIdentity(); // reset the matrix to its default state
92 GLU.gluLookAt(gl, 0, 0, -5, 0f, 0f, 0f, 0f, 1.0f, 0.0f);
94 gl.glActiveTexture(GL10.GL_TEXTURE0);
95 gl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);
96 gl.glEnable(GL10.GL_TEXTURE_2D);
99 gl.glColor4f(1.0f, 0f, 0f, 1.0f)
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
Renderer9.h 20 namespace gl namespace
62 virtual void generateSwizzle(gl::Texture *texture);
63 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler);
64 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture);
66 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]);
68 virtual void setRasterizerState(const gl::RasterizerState &rasterState);
69 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
  /external/deqp/modules/gles31/functional/
es31fFboNoAttachmentTests.cpp 68 const glw::Functions& gl = renderCtx.getFunctions(); local
97 gl.useProgram(program.getProgram());
98 gl.enable(GL_DEPTH_TEST);
99 gl.depthFunc(GL_ALWAYS);
100 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer);
101 gl.viewport(0, 0, size.x()*2, size.y()*2); // Oversized viewport so that it will not accidentally limit us to the correct size
107 TCU_CHECK(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
124 gl.genQueries(1, &query);
125 gl.genVertexArrays(1, &vertexArray);
126 gl.bindVertexArray(vertexArray)
175 const glw::Functions& gl = renderCtx.getFunctions(); local
290 const glw::Functions& gl = m_renderCtx.getFunctions(); local
361 const glw::Functions& gl = m_renderCtx.getFunctions(); local
392 const glw::Functions& gl = m_renderCtx.getFunctions(); local
407 const glw::Functions& gl = m_renderCtx.getFunctions(); local
422 const glw::Functions& gl = m_renderCtx.getFunctions(); local
465 const glw::Functions& gl = m_renderCtx.getFunctions(); local
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
imageformats.h 26 static void readColor(gl::ColorF *dst, const L8 *src)
28 const float lum = gl::normalizedToFloat(src->L);
35 static void writeColor(L8 *dst, const gl::ColorF *src)
37 dst->L = gl::floatToNormalized<unsigned char>((src->red + src->green + src->blue) / 3.0f);
42 dst->L = gl::average(src1->L, src2->L);
50 static void readColor(gl::ColorF *dst, const R8 *src)
52 dst->red = gl::normalizedToFloat(src->R);
58 static void readColor(gl::ColorUI *dst, const R8 *src)
66 static void writeColor(R8 *dst, const gl::ColorF *src)
68 dst->R = gl::floatToNormalized<unsigned char>(src->red)
    [all...]
Renderer.h 27 namespace gl namespace
103 virtual void generateSwizzle(gl::Texture *texture) = 0;
104 virtual void setSamplerState(gl::SamplerType type, int index, const gl::SamplerState &sampler) = 0;
105 virtual void setTexture(gl::SamplerType type, int index, gl::Texture *texture) = 0;
107 virtual bool setUniformBuffers(const gl::Buffer *vertexUniformBuffers[], const gl::Buffer *fragmentUniformBuffers[]) = 0;
109 virtual void setRasterizerState(const gl::RasterizerState &rasterState) = 0;
110 virtual void setBlendState(gl::Framebuffer *framebuffer, const gl::BlendState &blendState, const gl::ColorF &blendColor
    [all...]
  /external/clang/utils/VtableTest/
gen.cc 16 void gl(const char *c) { function
135 gl(" {");
144 g(" "); g(simple_types[t]); g(" field"); g(i); gl(";");
178 gl("); return 0; }");
180 gl("); }");
250 gl("); return 0; }");
252 gl("); }");
257 gl("public:");
258 gl(" void calc(char *t) {");
261 g(" mix(\"type num\", "); g(s); gl(");");
    [all...]
  /external/deqp/modules/gles2/functional/
es2fShaderStructTests.cpp 61 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
1169 #define CHECK_SET_UNIFORM(NAME) GLU_EXPECT_NO_ERROR(gl.getError(), (string("Failed to set ") + NAME).c_str())
1172 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \
1174 int loc = gl.getUniformLocation(programID, name); \
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderStructTests.cpp 54 typedef void (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
1143 #define CHECK_SET_UNIFORM(NAME) GLU_EXPECT_NO_ERROR(gl.getError(), (string("Failed to set ") + NAME).c_str())
1146 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE& vec) \
1148 int loc = gl.getUniformLocation(programID, name); \
1155 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, const tcu::VECTYPE* vec, int arraySize) \
1157 int loc = gl.getUniformLocation(programID, name); \
1163 MAKE_SET_VEC_UNIFORM (Vec2, gl.uniform2fv);
1164 MAKE_SET_VEC_UNIFORM (Vec3, gl.uniform3fv);
1165 MAKE_SET_VEC_UNIFORM_PTR(Vec2, gl.uniform2fv);
1167 void setUniform (const glw::Functions& gl, deUint32 programID, const char* name, float value
    [all...]

Completed in 1730 milliseconds

1 23 4 5 6 7 8 91011>>