HomeSort by relevance Sort by last modified time
    Searched defs:texture (Results 126 - 150 of 309) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/native/opengl/tests/tritex/
tritex.cpp 23 GLuint texture; variable
221 glGenTextures(1, &texture);
222 glBindTexture(GL_TEXTURE_2D, texture);
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLES11Canvas.java 116 // Enable the texture coordinate array for Texture 1
288 // Reset the texture matrix. We will set our own texture coordinates
338 BasicTexture texture, int x, int y, int width, int height) {
342 if (texture.hasBorder()) {
344 1.0f / texture.getTextureWidth(),
345 1.0f / texture.getTextureHeight(),
346 (texture.getWidth() - 1.0f) / texture.getTextureWidth()
872 RawTexture texture = mTargetStack.remove(mTargetStack.size() - 1); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PhotoFallbackEffect.java 42 public RawTexture texture; field in class:PhotoFallbackEffect.Entry
44 public Entry(Path path, Rect source, RawTexture texture) {
47 this.texture = texture;
68 public void addEntry(Path path, Rect rect, RawTexture texture) {
69 mList.add(new Entry(path, rect, texture));
92 if (!entry.texture.isLoaded()) return;
94 int w = entry.texture.getWidth();
95 int h = entry.texture.getHeight();
117 canvas.drawTexture(entry.texture, mSource, mTarget)
    [all...]
  /prebuilts/misc/windows/sdl2/test/
controllermap.c 53 SDL_Texture *texture; local
87 texture = SDL_CreateTextureFromSurface(renderer, temp);
88 if (!texture) {
89 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't create texture: %s\n", SDL_GetError());
96 return texture;
testshader.c 265 /* Quick utility function for texture creation */
280 GLuint texture; local
311 /* Copy the surface into the GL texture image */
321 /* Create an OpenGL texture for the image */
322 glGenTextures(1, &texture);
323 glBindTexture(GL_TEXTURE_2D, texture);
331 return texture;
356 void DrawGLScene(SDL_Window *window, GLuint texture, GLfloat * texcoord)
358 /* Texture coordinate lookup, to make it simple */
390 glBindTexture(GL_TEXTURE_2D, texture);
421 GLuint texture; local
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
GLES20Canvas.java 112 // Handle indices -- texture
336 public void drawTexture(BasicTexture texture, int x, int y, int width, int height) {
340 copyTextureCoordinates(texture, mTempSourceRect);
342 convertCoordinate(mTempSourceRect, mTempTargetRect, texture);
343 drawTextureRect(texture, mTempSourceRect, mTempTargetRect);
346 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) {
347 outRect.set(0, 0, texture.getWidth(), texture.getHeight());
351 public void drawTexture(BasicTexture texture, RectF source, RectF target) {
358 convertCoordinate(mTempSourceRect, mTempTargetRect, texture);
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
FrameBufferObjectActivity.java 34 * uses the resulting image as a texture to render an onscreen scene.
175 int texture; local
178 texture = textures[0];
179 gl.glBindTexture(GL10.GL_TEXTURE_2D, texture);
191 ; return texture;
  /external/deqp/external/vulkancts/modules/vulkan/image/
vktImageMultisampleLoadStoreTests.cpp 63 Texture texture; member in struct:vkt::image::__anon16464::CaseDef
78 const int dimension = (caseDef.singleLayerBind ? caseDef.texture.layerDimension() : caseDef.texture.dimension());
81 const ImageType usedImageType = (caseDef.singleLayerBind ? getImageTypeForSingleLayer(caseDef.texture.type()) : caseDef.texture.type());
83 const std::string msImageTypeStr = getShaderImageType(mapVkFormat(caseDef.format), usedImageType, (caseDef.texture.numSamples() > 1));
85 const std::string xMax = de::toString(caseDef.texture.size().x() - 1);
86 const std::string yMax = de::toString(caseDef.texture.size().y() - 1);
91 const float storeColorScale = computeStoreColorScale(caseDef.format, caseDef.texture.size())
    [all...]
vktImageSizeTests.cpp 53 //! Get a texture based on image type and suggested size.
54 Texture getTexture (const ImageType imageType, const tcu::IVec3& size)
60 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), 1);
63 return Texture(imageType, tcu::IVec3(size.x(), 1, 1), size.y());
66 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), 1);
69 return Texture(imageType, tcu::IVec3(size.x(), size.y(), 1), size.z());
72 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 6);
75 return Texture(imageType, tcu::IVec3(size.x(), size.x(), 1), 2*6);
78 return Texture(imageType, size, 1);
82 return Texture(IMAGE_TYPE_LAST, tcu::IVec3(), 0)
526 const Texture texture = getTexture(s_imageTypes[imageTypeNdx], s_baseImageSizes[imageSizeNdx]); local
    [all...]
  /external/deqp/modules/egl/
teglImageUtil.cpp 60 using glu::Texture;
150 glu::Texture m_texture;
235 const GLuint texture = clientBuffer->getName(); local
238 GLU_CHECK_GLW_CALL(gl, bindTexture(target, texture));
243 // Set minification filter to linear. This makes the texture complete.
  /external/deqp/modules/glshared/
glsStateChangePerfTestCases.cpp 350 GLuint texture; local
352 gl.genTextures(1, &texture);
355 gl.bindTexture(GL_TEXTURE_2D, texture);
373 m_textures.push_back(texture);
  /external/mesa3d/src/gallium/auxiliary/draw/
draw_pipe_pstipple.c 29 * Polygon stipple stage: implement polygon stipple with texture map and
30 * fragment program. The fragment program samples the texture using the
79 struct pipe_resource *texture; member in struct:pstip_stage
118 * user's fragment shader to add the extra texture sample and fragment kill
195 * Upon END instruction, insert texture sampling code for antialiasing.
283 * texture and kill fragment if needed.
286 * texture, but we can only use GL_REPEAT wrap mode with normalized
310 newInst.Instruction.Texture = TRUE;
311 newInst.Texture.Texture = TGSI_TEXTURE_2D
    [all...]
  /external/mesa3d/src/gallium/drivers/nv50/
nv50_surface.c 277 struct nv50_miptree *mt = nv50_miptree(dst->texture);
335 struct nv50_miptree *mt = nv50_miptree(dst->texture);
438 struct pipe_sampler_view *texture[2]; member in struct:nv50_blitctx::__anon27219
807 blit->saved.texture[0] = nv50->textures[2][0];
808 blit->saved.texture[1] = nv50->textures[2][1];
850 nv50->textures[2][0] = blit->saved.texture[0];
851 nv50->textures[2][1] = blit->saved.texture[1];
917 * The vertex is supplied with non-normalized texture coordinates
  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_surface.c 284 struct nv04_resource *res = nv04_resource(sf->base.texture);
303 struct nv50_miptree *mt = nv50_miptree(dst->texture);
353 struct nv50_miptree *mt = nv50_miptree(dst->texture);
459 struct pipe_sampler_view *texture[2]; member in struct:nvc0_blitctx::__anon27229
880 blit->saved.texture[0] = nvc0->textures[4][0];
881 blit->saved.texture[1] = nvc0->textures[4][1];
931 nvc0->textures[4][0] = blit->saved.texture[0];
932 nvc0->textures[4][1] = blit->saved.texture[1];
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_context.h 145 struct pipe_resource *texture; member in struct:softpipe_context::__anon27291
181 * Texture caches for vertex, fragment, geometry stages.
217 struct pipe_resource *texture,
  /external/mesa3d/src/gallium/state_trackers/vega/
api_filters.c 100 struct pipe_resource *texture; local
104 texture = create_texture_1d(ctx, color_data, color_data_len);
106 if (!texture)
109 u_sampler_view_default_template(&view_templ, texture, texture->format);
110 view = pipe->create_sampler_view(pipe, texture, &view_templ);
111 /* want the texture to go away if the view is freed */
112 pipe_resource_reference(&texture, NULL);
226 info->dst->sampler_view->texture, VG_TRUE,
image.c 134 vg_get_copy_coords(src_loc, src->texture->width0, src->texture->height0,
209 struct pipe_resource *tex = img->sampler_view->texture;
285 /* want the texture to go away if the view is freed */
388 struct pipe_resource *texture = image_texture(image); local
422 pipe, texture, 0, 0,
423 PIPE_TRANSFER_WRITE, 0, 0, texture->width0, texture->height0);
453 image->sampler_view->texture, 0, 0,
521 vg_copy_texture(ctx, dst->sampler_view->texture, dst->x + dx, dst->y + dy
    [all...]
vg_context.h 50 struct pipe_resource *texture; member in struct:st_renderbuffer
  /external/mesa3d/src/mesa/swrast/
s_triangle.c 80 ASSERT(ctx->Texture._EnabledCoordUnits == 0);\
106 ASSERT(ctx->Texture._EnabledCoordUnits == 0); \
128 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
136 const GLubyte *texture = (const GLubyte *) swImg->Map; \
140 if (!rb || !texture) { \
154 rgba[i][RCOMP] = texture[pos+2]; \
155 rgba[i][GCOMP] = texture[pos+1]; \
156 rgba[i][BCOMP] = texture[pos+0]; \
186 ctx->Texture.Unit[0].CurrentTex[TEXTURE_2D_INDEX]; \
194 const GLubyte *texture = (const GLubyte *) swImg->Map;
244 const GLchan *texture; member in struct:affine_info
600 const GLchan *texture; member in struct:persp_info
    [all...]
  /external/skia/include/gpu/
GrProcessor.h 85 /** Returns the access pattern for the texture at index. index must be valid according to
196 * Used to represent a texture that is required by a GrProcessor. It holds a GrTexture along with
198 * for texture origin.
203 * Must be initialized before adding to a GrProcessor's texture access list.
233 return this->texture() == that.texture() &&
240 GrTexture* texture() const { return fTexture.get(); } function in class:GrProcessor::TextureSampler
307 * This is used by a GrProcessor to access a texture using image load/store in its shader code.
308 * ImageStorageAccesses don't perform any coord manipulation to account for texture origin.
309 * Currently the format of the load/store data in the shader is inferred from the texture config
323 GrTexture* texture() const { return fTexture.get(); } function in class:GrProcessor::ImageStorageAccess
    [all...]
  /external/swiftshader/src/D3D9/
Direct3DDevice9.hpp 78 long __stdcall CreateTexture(unsigned int width, unsigned int height, unsigned int levels, unsigned long usage, D3DFORMAT format, D3DPOOL pool, IDirect3DTexture9 **texture, void **sharedHandle);
127 long __stdcall GetTexture(unsigned long sampler, IDirect3DBaseTexture9 **texture);
166 long __stdcall SetTexture(unsigned long sampler, IDirect3DBaseTexture9 *texture);
217 Direct3DBaseTexture9 *texture[16 + 4]; member in class:D3D9::Direct3DDevice9
Direct3DStateBlock9.cpp 43 texture[sampler] = 0;
206 device->SetTexture(index, texture[sampler]);
439 Direct3DBaseTexture9 *texture; local
441 device->GetTexture(index, reinterpret_cast<IDirect3DBaseTexture9**>(&texture));
443 if(texture)
445 texture->bind();
446 texture->Release();
449 if(this->texture[sampler])
451 this->texture[sampler]->unbind();
454 this->texture[sampler] = texture
    [all...]
  /external/swiftshader/src/OpenGL/libEGL/
libEGL.cpp 20 #include "Texture.hpp"
609 egl::Texture *texture = eglSurface->getBoundTexture(); local
611 if(texture)
613 texture->releaseTexImage();
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 80 struct Texture {
88 Texture texture; member in struct:android::BootAnimation::Font
134 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
153 Texture mAndroid[2];
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
ImageFlipRenderThread.java 116 "uniform sampler2D texture;\n" +
118 " gl_FragColor = texture2D(texture, outTexCoords);\n" +
141 int texture = loadTexture(R.drawable.large_photo); local
150 int uniformTexture = glGetUniformLocation(program, "texture");
153 glBindTexture(GL_TEXTURE_2D, texture);
213 int texture = textures[0]; local
214 glBindTexture(GL_TEXTURE_2D, texture);
230 return texture;

Completed in 920 milliseconds

1 2 3 4 56 7 8 91011>>