/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/tests/graw/ |
clear.c | 24 struct pipe_resource *tex; variable in typeref:struct:pipe_resource 36 screen->flush_frontbuffer(screen, tex, 0, 0, window); 79 tex = screen->resource_create(screen, 81 if (tex == NULL) 86 surf_tmpl.u.tex.level = 0; 87 surf_tmpl.u.tex.first_layer = 0; 88 surf_tmpl.u.tex.last_layer = 0; 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/sdk/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/chromium_org/gpu/command_buffer/tests/ |
gl_texture_mailbox_unittests.cc | 117 GLuint tex; local 118 glGenTextures(1, &tex); 120 glBindTexture(GL_TEXTURE_2D, tex); 141 EXPECT_EQ(source_pixel, ReadTexel(tex, 0, 0)); 146 GLuint tex; local 147 glGenTextures(1, &tex); 149 glBindTexture(GL_TEXTURE_2D, tex); 170 EXPECT_EQ(source_pixel, ReadTexel(tex, 0, 0)); 326 GLuint tex[2]; local 327 glGenTextures(2, tex); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_winsys_xsp.c | 51 struct pipe_resource *tex; member in struct:vl_xsp_screen 74 if (xsp_screen->tex) { 75 if (xsp_screen->tex->width0 == width && xsp_screen->tex->height0 == height) 76 return xsp_screen->tex; 77 pipe_resource_reference(&xsp_screen->tex, NULL); 96 pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &templat)); 97 return xsp_screen->tex; 167 pipe_resource_reference(&xsp_screen->tex, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_resource.h | 89 unsigned i915_texture_offset(struct i915_texture *tex, 99 struct i915_texture *tex = (struct i915_texture *)resource; local 100 assert(tex->b.vtbl == &i915_texture_vtbl); 101 return tex; 106 struct i915_buffer *tex = (struct i915_buffer *)resource; local 107 assert(tex->b.vtbl == &i915_buffer_vtbl); 108 return tex;
|
i915_surface.c | 215 struct i915_texture *tex = i915_texture(dst->texture); local 216 struct pipe_resource *pt = &tex->b.b; 218 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); 227 (unsigned short) tex->stride, 228 tex->buffer, offset, 243 struct i915_texture *tex = i915_texture(dst->texture); local 244 struct pipe_resource *pt = &tex->b.b; 247 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_sampler.c | 268 struct pipe_resource *tex = view->texture; local 269 struct llvmpipe_resource *lp_tex = llvmpipe_resource(tex); 274 pipe_resource_reference(&lp->mapped_vs_tex[i], tex); 279 for (j = view->u.tex.first_level; j <= tex->last_level; j++) { 292 struct llvmpipe_screen *screen = llvmpipe_screen(tex->screen); 303 tex->width0, tex->height0, tex->depth0, 304 view->u.tex.first_level, tex->last_level [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_transfer.c | 55 struct pipe_resource *tex = transfer->resource; local 59 tex, transfer->level, &transfer->box); 67 struct pipe_resource *tex = transfer->resource; local 71 ctx->resource_copy_region(ctx, tex, transfer->level, 87 struct r300_resource *tex = r300_resource(texture); local 93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); 98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE); 112 if (tex->tex.microtile || tex->tex.macrotile[level] | 231 struct r300_resource *tex = r300_resource(transfer->resource); local 259 struct r300_resource *tex = r300_resource(transfer->resource); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_state_derived.c | 284 struct pipe_resource *tex; local 287 tex = util_pstipple_create_stipple_texture(&softpipe->pipe, 289 pipe_resource_reference(&softpipe->pstipple.texture, tex); 290 pipe_resource_reference(&tex, NULL);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
d3d10winmain.cpp | 169 ID3D10Texture2D* tex; local 171 ensure(swap_chain->GetBuffer(0, __uuidof(tex), (void**)&tex)); 172 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 182 tex->Release();
|
d3d10x11main.cpp | 136 ID3D10Texture2D* tex; local 138 ensure(swap_chain->GetBuffer(0, IID_ID3D10Texture2D, (void**)&tex)); 139 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 146 tex->Release();
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11winmain.cpp | 153 ID3D11Texture2D* tex; local 155 ensure(swap_chain->GetBuffer(0, __uuidof(tex), (void**)&tex)); 156 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 166 tex->Release();
|
d3d11x11main.cpp | 96 ID3D11Texture2D* tex; local 98 ensure(swap_chain->GetBuffer(0, IID_ID3D11Texture2D, (void**)&tex)); 99 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 106 tex->Release();
|
/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/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/wrapper/ |
wrapper_sw_winsys.c | 61 struct pipe_resource *tex; member in struct:wrapper_sw_displaytarget 91 struct pipe_resource *tex = wdt->tex; local 94 tr = pipe_get_transfer(pipe, tex, 0, 0, 96 0, 0, wdt->tex->width0, wdt->tex->height0); 110 struct pipe_resource *tex, unsigned *stride) 116 wdt->tex = tex; 127 pipe_resource_reference(&tex, NULL) 141 struct pipe_resource *tex; local 171 struct pipe_resource *tex; local 187 struct pipe_resource *tex = wdt->tex; local 199 struct pipe_resource *tex = wdt->tex; local [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
TranslucentBucketFilter.java | 53 Texture2D tex = processor.getFilterTexture(); local 54 material.setTexture("Texture", tex); 55 if (tex.getImage().getMultiSamples() > 1) { 56 material.setInt("NumSamples", tex.getImage().getMultiSamples());
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_winsys_xsp.c | 51 struct pipe_resource *tex; member in struct:vl_xsp_screen 74 if (xsp_screen->tex) { 75 if (xsp_screen->tex->width0 == width && xsp_screen->tex->height0 == height) 76 return xsp_screen->tex; 77 pipe_resource_reference(&xsp_screen->tex, NULL); 96 pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &templat)); 97 return xsp_screen->tex; 167 pipe_resource_reference(&xsp_screen->tex, NULL);
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_resource.h | 89 unsigned i915_texture_offset(struct i915_texture *tex, 99 struct i915_texture *tex = (struct i915_texture *)resource; local 100 assert(tex->b.vtbl == &i915_texture_vtbl); 101 return tex; 106 struct i915_buffer *tex = (struct i915_buffer *)resource; local 107 assert(tex->b.vtbl == &i915_buffer_vtbl); 108 return tex;
|
i915_surface.c | 215 struct i915_texture *tex = i915_texture(dst->texture); local 216 struct pipe_resource *pt = &tex->b.b; 218 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer); 227 (unsigned short) tex->stride, 228 tex->buffer, offset, 243 struct i915_texture *tex = i915_texture(dst->texture); local 244 struct pipe_resource *pt = &tex->b.b; 247 unsigned offset = i915_texture_offset(tex, dst->u.tex.level, dst->u.tex.first_layer) [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_sampler.c | 268 struct pipe_resource *tex = view->texture; local 269 struct llvmpipe_resource *lp_tex = llvmpipe_resource(tex); 274 pipe_resource_reference(&lp->mapped_vs_tex[i], tex); 279 for (j = view->u.tex.first_level; j <= tex->last_level; j++) { 292 struct llvmpipe_screen *screen = llvmpipe_screen(tex->screen); 303 tex->width0, tex->height0, tex->depth0, 304 view->u.tex.first_level, tex->last_level [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_transfer.c | 55 struct pipe_resource *tex = transfer->resource; local 59 tex, transfer->level, &transfer->box); 67 struct pipe_resource *tex = transfer->resource; local 71 ctx->resource_copy_region(ctx, tex, transfer->level, 87 struct r300_resource *tex = r300_resource(texture); local 93 r300->rws->cs_is_buffer_referenced(r300->cs, tex->cs_buf, RADEON_USAGE_READWRITE); 98 r300->rws->buffer_is_busy(tex->buf, RADEON_USAGE_READWRITE); 112 if (tex->tex.microtile || tex->tex.macrotile[level] | 231 struct r300_resource *tex = r300_resource(transfer->resource); local 259 struct r300_resource *tex = r300_resource(transfer->resource); local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_derived.c | 284 struct pipe_resource *tex; local 287 tex = util_pstipple_create_stipple_texture(&softpipe->pipe, 289 pipe_resource_reference(&softpipe->pstipple.texture, tex); 290 pipe_resource_reference(&tex, NULL);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
d3d10winmain.cpp | 169 ID3D10Texture2D* tex; local 171 ensure(swap_chain->GetBuffer(0, __uuidof(tex), (void**)&tex)); 172 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 182 tex->Release();
|
d3d10x11main.cpp | 136 ID3D10Texture2D* tex; local 138 ensure(swap_chain->GetBuffer(0, IID_ID3D10Texture2D, (void**)&tex)); 139 ensure(dev->CreateRenderTargetView(tex, NULL, &rtv)); 146 tex->Release();
|