/external/chromium_org/gpu/tools/compositor_model_bench/ |
render_tree.cc | 295 if (!VerifyListEntry(textures, i, base::Value::TYPE_DICTIONARY, "Tex list")) 297 base::DictionaryValue* tex; 298 textures->GetDictionary(i, &tex); 300 if (!VerifyDictionaryEntry(tex, "texID", base::Value::TYPE_INTEGER) || 301 !VerifyDictionaryEntry(tex, "height", base::Value::TYPE_INTEGER) || 302 !VerifyDictionaryEntry(tex, "width", base::Value::TYPE_INTEGER) || 303 !VerifyDictionaryEntry(tex, "format", base::Value::TYPE_STRING)) { 307 tex->GetInteger("texID", &t.texID); 308 tex->GetInteger("height", &t.height); 309 tex->GetInteger("width", &t.width) [all...] |
/frameworks/native/opengl/libagl/ |
texture.cpp | 33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex); 310 sp<EGLTextureObject> tex; local 323 tex = c->textures.defaultTexture; 325 if (c->textures.tmu[i].texture == tex.get()) 330 tex = c->surfaceManager->replaceTexture(name); 335 u.texture = tex.get(); 339 return tex; 343 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) 345 if (tex.get() == c->textures.tmu[tmu].texture) 355 u.texture = tex.get() 385 EGLTextureObject* tex = c->textures.tmu[active].texture; local 396 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local 621 EGLTextureObject* tex = c->textures.tmu[active].texture; local 874 sp<EGLTextureObject> tex; local [all...] |
/external/chromium_org/remoting/base/ |
util.cc | 27 base::Time::Exploded tex; local 28 t.LocalExplode(&tex); 30 tex.month, tex.day_of_month, 31 tex.hour, tex.minute, tex.second);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
presentation.c | 209 struct pipe_resource *tex; local 229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable); 230 if (!tex) { 238 surf_templ.format = tex->format; 240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); 274 pipe->screen, tex, 0, 0, 297 pipe_resource_reference(&tex, NULL);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 209 struct pipe_resource *tex; local 229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable); 230 if (!tex) { 238 surf_templ.format = tex->format; 240 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); 274 pipe->screen, tex, 0, 0, 297 pipe_resource_reference(&tex, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
nv30_miptree.c | 403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; 415 ps->u.tex.level = tmpl->u.tex.level; 416 ps->u.tex.first_layer = tmpl->u.tex.first_layer; 417 ps->u.tex.last_layer = tmpl->u.tex.last_layer; 419 ns->width = u_minify(pt->width0, ps->u.tex.level); 420 ns->height = u_minify(pt->height0, ps->u.tex.level); 421 ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_manager.c | 473 struct pipe_resource *tex, boolean mipmap) 515 if (tex) { 519 * XXX When internal_format and tex->format differ, st_finalize_texture 527 if (!st_sampler_compat_formats(tex->format, internal_format)) 528 internal_format = tex->format; 540 tex->width0, tex->height0, 1, 0, 543 width = tex->width0; 544 height = tex->height0; 545 depth = tex->depth0 [all...] |
st_atom_framebuffer.c | 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 85 printf("-- alloc new surface %d x %d into tex %p\n",
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_miptree.c | 403 struct nv30_miptree_level *lvl = &mt->level[tmpl->u.tex.level]; 415 ps->u.tex.level = tmpl->u.tex.level; 416 ps->u.tex.first_layer = tmpl->u.tex.first_layer; 417 ps->u.tex.last_layer = tmpl->u.tex.last_layer; 419 ns->width = u_minify(pt->width0, ps->u.tex.level); 420 ns->height = u_minify(pt->height0, ps->u.tex.level); 421 ns->depth = ps->u.tex.last_layer - ps->u.tex.first_layer + 1 [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_manager.c | 473 struct pipe_resource *tex, boolean mipmap) 515 if (tex) { 519 * XXX When internal_format and tex->format differ, st_finalize_texture 527 if (!st_sampler_compat_formats(tex->format, internal_format)) 528 internal_format = tex->format; 540 tex->width0, tex->height0, 1, 0, 543 width = tex->width0; 544 height = tex->height0; 545 depth = tex->depth0 [all...] |
st_atom_framebuffer.c | 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 85 printf("-- alloc new surface %d x %d into tex %p\n",
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_constants.c | 283 if (key->tex[i].unnormalized) { 284 struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; local 287 data[0] = 1.0f / (float) tex->width0; 288 data[1] = 1.0f / (float) tex->height0; 294 key->tex[i].width_height_idx + offset,
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.c | 246 struct pipe_resource *tex; local 268 tex = textures[natt]; 271 pipe_resource_reference(&gsurf->render_texture, tex); 275 out[i] = tex; 280 pipe_resource_reference(&out[i], tex);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_constants.c | 283 if (key->tex[i].unnormalized) { 284 struct pipe_resource *tex = svga->curr.sampler_views[i]->texture; local 287 data[0] = 1.0f / (float) tex->width0; 288 data[1] = 1.0f / (float) tex->height0; 294 key->tex[i].width_height_idx + offset,
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_st.c | 246 struct pipe_resource *tex; local 268 tex = textures[natt]; 271 pipe_resource_reference(&gsurf->render_texture, tex); 275 out[i] = tex; 280 pipe_resource_reference(&out[i], tex);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texobj.c | 306 valid_texture_object(const struct gl_texture_object *tex) 308 switch (tex->Target) { 325 tex->Target, tex->Name); 334 * If 'tex' is non-null, increment its refcount. 340 struct gl_texture_object *tex) 371 if (tex) { 373 ASSERT(valid_texture_object(tex)); 374 _glthread_LOCK_MUTEX(tex->Mutex); 375 if (tex->RefCount == 0) 1038 GLuint u, tex; local [all...] |
/external/mesa3d/src/mesa/main/ |
texobj.c | 306 valid_texture_object(const struct gl_texture_object *tex) 308 switch (tex->Target) { 325 tex->Target, tex->Name); 334 * If 'tex' is non-null, increment its refcount. 340 struct gl_texture_object *tex) 371 if (tex) { 373 ASSERT(valid_texture_object(tex)); 374 _glthread_LOCK_MUTEX(tex->Mutex); 375 if (tex->RefCount == 0) 1038 GLuint u, tex; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_yuv.c | 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, 89 yuv[i]->tex->format); 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ);
|
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 216 // setup tex coords 298 // setup tex coords 305 // Swizzle tex coords 629 deUint32 tex = 0; local 633 glGenTextures(1, &tex); 634 glBindTexture(GL_TEXTURE_2D, tex); 671 deUint32 tex = 0; local 677 glGenTextures(1, &tex); 678 glBindTexture(GL_TEXTURE_CUBE_MAP, tex); 720 deUint32 tex = 0 local 769 deUint32 tex = 0; local 831 deUint32 tex = 0; local 876 deUint32 tex = 0; local 923 deUint32 tex = 0; local 987 deUint32 tex = 0; local 1060 deUint32 tex = 0; local 1112 deUint32 tex = 0; local 1176 deUint32 tex = 0; local 1227 deUint32 tex = 0; local 1284 deUint32 tex = 0; local 1332 deUint32 tex = 0; local 1389 deUint32 tex = 0; local 1464 deUint32 tex = 0; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_yuv.c | 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, 89 yuv[i]->tex->format); 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ);
|
/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);
|
/development/ndk/sources/android/ndk_helper/ |
JNIHelper.cpp | 224 GLuint tex; local 225 glGenTextures( 1, &tex ); 226 glBindTexture( GL_TEXTURE_2D, tex ); 235 glDeleteTextures( 1, &tex ); 236 tex = -1; 247 return tex;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 206 public NinePatchInstance(NinePatchTexture tex, int width, int height) { 207 NinePatchChunk chunk = tex.getNinePatchChunk(); 225 int nx = stretch(divX, divU, chunk.mDivX, tex.getWidth(), width); 226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height); 409 public void draw(GLCanvas canvas, NinePatchTexture tex, int x, int y) { 413 canvas.drawMesh(tex, x, y, mXyBufferName, mUvBufferName, mIndexBufferName, mIdxCount);
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
CompressedTextureLoader.java | 177 Texture tex = new Texture(0, 0, 0, null, "Cts!"); local 178 return tex; 206 Texture tex = new Texture(compressed.getWidth(), compressed.getHeight(), local 209 return tex; 255 Texture tex = new Texture(header.mWidth, header.mHeight, local 263 return tex; 434 Texture tex = new Texture(header.mWidth, header.mHeight, internalFormat, local 436 return tex;
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
TextureTest.cpp | 48 uniform sampler2D tex; 53 gl_FragColor = texture2D(tex, texcoord); 78 mTexture2DUniformLocation = glGetUniformLocation(m2DProgram, "tex");
|