/external/skia/src/utils/ |
SkMeshUtils.cpp | 13 bool SkMeshIndices::init(SkPoint tex[], uint16_t indices[], 32 if (tex) { 33 fTex = tex; 64 SkPoint* tex = fTex; local 69 tex->set(x*dx, y*dy); 70 tex += 1; 92 rows * cols, verts, idx.tex(), colors, NULL,
|
/external/skia/include/utils/ |
SkMeshUtils.h | 20 bool init(SkPoint tex[], uint16_t indices[], 27 const SkPoint* tex() const { return fTex; } function in class:SkMeshIndices
|
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
FramebufferData.cpp | 183 unsigned int tex = ctx->shareGroup()->genGlobalName(TEXTURE); local 186 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, tex); 194 ctx->dispatcher().glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, 0); 195 setAttachment(GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, tex, ObjectDataPtr(NULL), true);
|
/external/skia/gpu/src/ |
GrDrawMesh.cpp | 52 SkPoint* tex = fTex; local 61 tex->set(texture.fLeft + x*dtx, texture.fTop + y*dty); 62 tex += 1;
|
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
GLServerTexture.java | 210 GLTexture tex = null; local 212 tex = tex2D; 214 tex = texCube; 215 if (tex == null) 220 tex.wrapS = p; 223 tex.wrapT = p; 226 tex.min = p; 229 tex.mag = p;
|
CodeGen.java | 179 final GLTexture tex = serverTexture.textures.valueAt(i); local 191 String s = String.format("glBindTexture(%s, texture_%d);CHKERR;\n", tex.target, 192 tex.name); 194 for (final Message msg : tex.contentChanges) { 207 tex.target, tex.wrapS); 209 tex.target, tex.wrapT); 211 tex.target, tex.min) [all...] |
/external/quake/quake/src/QW/client/ |
r_light.c | 151 mtexinfo_t *tex; local 191 tex = surf->texinfo; 193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; 194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
gl_rlight.c | 277 mtexinfo_t *tex; local 319 tex = surf->texinfo; 321 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; 322 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
r_surf.c | 71 mtexinfo_t *tex; local 76 tex = surf->texinfo; 98 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3]; 99 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3];
|
gl_model.c | 710 mtexinfo_t *tex; local 716 tex = s->texinfo; 728 val = v->position[0] * tex->vecs[j][0] + 729 v->position[1] * tex->vecs[j][1] + 730 v->position[2] * tex->vecs[j][2] + 731 tex->vecs[j][3]; 746 if ( !(tex->flags & TEX_SPECIAL) && s->extents[i] > 512 /* 256 */ ) [all...] |
/external/quake/quake/src/WinQuake/ |
gl_rlight.cpp | 280 mtexinfo_t *tex;
local 322 tex = surf->texinfo;
324 s = (int) (DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]);
325 t = (int) (DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3]);
|
r_light.cpp | 151 mtexinfo_t *tex;
local 191 tex = surf->texinfo;
193 s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3];
194 t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];;
|
r_surf.cpp | 71 mtexinfo_t *tex;
local 76 tex = surf->texinfo;
98 local[0] = DotProduct (impact, tex->vecs[0]) + tex->vecs[0][3];
99 local[1] = DotProduct (impact, tex->vecs[1]) + tex->vecs[1][3];
|
/frameworks/base/opengl/libagl/ |
TextureObjectManager.cpp | 285 sp<EGLTextureObject> tex; local 293 tex = old; 296 tex = new EGLTextureObject(); 297 tex->copyParameters(old); 299 mTextures.add(name, tex); 302 return tex;
|
texture.cpp | 34 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 311 sp<EGLTextureObject> tex; local 324 tex = c->textures.defaultTexture; 326 if (c->textures.tmu[i].texture == tex.get()) 331 tex = c->surfaceManager->replaceTexture(name); 336 u.texture = tex.get(); 340 return tex; 344 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) 346 if (tex.get() == c->textures.tmu[tmu].texture) 356 u.texture = tex.get() 386 EGLTextureObject* tex = c->textures.tmu[active].texture; local 397 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local 622 EGLTextureObject* tex = c->textures.tmu[active].texture; local 875 sp<EGLTextureObject> tex; local [all...] |
/development/tools/emulator/opengl/host/libs/Translator/GLES_CM/ |
GLEScmContext.cpp | 54 void GLEScmContext::setActiveTexture(GLenum tex) { 55 m_activeTexture = tex - GL_TEXTURE0; 58 void GLEScmContext::setClientActiveTexture(GLenum tex) { 59 m_clientActiveTexture = tex - GL_TEXTURE0; 132 unsigned int tex = GL_TEXTURE0+i; local 133 setClientActiveTexture(tex); 134 s_glDispatch.glClientActiveTexture(tex);
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.cpp | 364 TextureRec* tex = m_tex.textures + m_tex.numTextures; local 365 TextureRec* prev = tex - 1; 366 while (tex != m_tex.textures && id < prev->id) { 367 *tex-- = *prev--; 369 tex->id = id; 370 tex->target = target; 373 return tex;
|
GLClientState.h | 263 GLint tex = getActiveTexture() + GL_TEXTURE0; local 264 *ptr = tex;
|
/external/replicaisland/src/com/replica/replicaisland/ |
RenderSystem.java | 112 Texture tex = drawable.getTexture(); local 113 if (tex != null) { 114 sortOffset = (tex.resource % TEXTURE_SORT_BUCKET_SIZE) * Utils.sign(priority);
|
/frameworks/base/libs/rs/ |
rsScriptC_LibGL.cpp | 152 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local 156 attribs[1].set(GL_FLOAT, 2, 8, false, (uint32_t)tex, "ATTRIB_texture0");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
GLServerTexture.java | 210 GLTexture tex = null; local 212 tex = tex2D; 214 tex = texCube; 215 if (tex == null) 220 tex.wrapS = p; 223 tex.wrapT = p; 226 tex.min = p; 229 tex.mag = p;
|
/external/quake/quake/src/QW/server/ |
model.c | 638 mtexinfo_t *tex; local 644 tex = s->texinfo; 656 val = v->position[0] * tex->vecs[j][0] + 657 v->position[1] * tex->vecs[j][1] + 658 v->position[2] * tex->vecs[j][2] + 659 tex->vecs[j][3]; 674 if ( !(tex->flags & TEX_SPECIAL) && s->extents[i] > 256)
|
/external/skia/samplecode/ |
SamplePatch.cpp | 183 SkPoint* tex = strip + stripCount; local 197 tex[i*2 + 0].set(s, t); 198 tex[i*2 + 1].set(s, t + dt); 205 strip, doTextures ? tex : NULL,
|
SampleWarp.cpp | 281 SkPoint* tex = fTex; local 290 tex->set(texture.fLeft + x*dtx, texture.fTop + y*dty); 291 tex += 1;
|
/external/mesa3d/src/glsl/ |
ir_reader.cpp | 1026 ir_texture *tex = new(ctx) ir_texture(op); local 1035 tex->set_sampler(sampler); 1039 tex->coordinate = read_rvalue(st, coordinate_expr); 1040 if (tex->coordinate == NULL) { 1059 tex->offsets[0] = offset_x->value(); 1060 tex->offsets[1] = offset_y->value(); 1061 tex->offsets[2] = offset_z->value(); [all...] |