Searched defs:bitmap (Results 476 - 500 of 826) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/glx/
H A Dxfont.c82 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap) argument
93 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
98 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
129 * Generate OpenGL-compatible bitmap.
134 int x0, int y0, unsigned int c, GLubyte * bitmap)
153 /* Fill the bitmap (X11 and OpenGL are upside down wrt each other). */
157 bitmap[width * (height - y - 1) + x / 8] |=
242 /* Allocate a bitmap that can fit all characters. */
132 fill_bitmap(Display * dpy, Window win, GC gc, unsigned int width, unsigned int height, int x0, int y0, unsigned int c, GLubyte * bitmap) argument
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_bitmap.c67 const GLubyte *bitmap )
73 INT_MAX, (const GLvoid *) bitmap)) {
86 return ADD_POINTERS(buf, bitmap);
99 /* Extract a rectangle's worth of data from the bitmap. Called
100 * per chunk of HW-sized bitmap.
104 const GLubyte *bitmap,
119 DBG("%s %d,%d %dx%d bitmap %dx%d skip %d src_offset %d mask %d\n",
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
169 * Render a bitmap.
176 const GLubyte *bitmap )
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_bitmap.c67 const GLubyte *bitmap )
73 INT_MAX, (const GLvoid *) bitmap)) {
86 return ADD_POINTERS(buf, bitmap);
99 /* Extract a rectangle's worth of data from the bitmap. Called
100 * per chunk of HW-sized bitmap.
104 const GLubyte *bitmap,
119 DBG("%s %d,%d %dx%d bitmap %dx%d skip %d src_offset %d mask %d\n",
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
169 * Render a bitmap.
176 const GLubyte *bitmap )
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_bitmap.c67 const GLubyte *bitmap )
73 INT_MAX, (const GLvoid *) bitmap)) {
86 return ADD_POINTERS(buf, bitmap);
99 /* Extract a rectangle's worth of data from the bitmap. Called
100 * per chunk of HW-sized bitmap.
104 const GLubyte *bitmap,
119 DBG("%s %d,%d %dx%d bitmap %dx%d skip %d src_offset %d mask %d\n",
136 const GLubyte *rowsrc = _mesa_image_address2d(unpack, bitmap,
169 * Render a bitmap.
176 const GLubyte *bitmap )
102 get_bitmap_rect(GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, GLuint x, GLuint y, GLuint w, GLuint h, GLubyte *dest, GLuint row_align, bool invert) argument
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dxfonts.c83 dump_bitmap(unsigned int width, unsigned int height, GLubyte * bitmap) argument
94 putchar((bitmap[width * (height - y - 1) + x / 8] & (1 << (7 - (x %
99 printf("0x%02x, ", bitmap[width * (height - y - 1) + x]);
130 * Generate OpenGL-compatible bitmap.
135 int x0, int y0, unsigned int c, GLubyte * bitmap)
154 /* Fill the bitmap (X11 and OpenGL are upside down wrt each other). */
158 bitmap[width * (height - y - 1) + x / 8] |=
244 /* Allocate a bitmap that can fit all characters. */
254 "Couldn't allocate bitmap in glXUseXFont()");
133 fill_bitmap(Display * dpy, Window win, GC gc, unsigned int width, unsigned int height, int x0, int y0, unsigned int c, GLubyte * bitmap) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_program.h50 GLuint bitmap:1; /**< glBitmap variant? */ member in struct:st_fp_variant_key
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfxft_ftbitmap.c101 FT_Bitmap* bitmap,
113 width = bitmap->width;
114 height = bitmap->rows;
115 pitch = bitmap->pitch;
119 switch ( bitmap->pixel_mode )
153 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 );
154 FT_Byte* end = bitmap->buffer + pitch;
178 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) )
181 if ( bitmap->pitch > 0 )
186 for ( i = 0; i < bitmap
100 ft_bitmap_assure_buffer( FT_Memory memory, FT_Bitmap* bitmap, FT_UInt xpixels, FT_UInt ypixels ) argument
717 FT_Bitmap bitmap; local
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/
H A Dftsmooth.c97 /* convert a slot's glyph image into a bitmap */
112 FT_Bitmap* bitmap = &slot->bitmap; local
185 /* release old bitmap buffer */
188 FT_FREE( bitmap->buffer );
247 bitmap->pixel_mode = FT_PIXEL_MODE_GRAY;
248 bitmap->num_grays = 256;
249 bitmap->width = width;
250 bitmap->rows = height;
251 bitmap
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfpdfformfill.cpp189 DLLEXPORT void STDCALL FPDF_FFLDraw(FPDF_FORMHANDLE hHandle, FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, argument
234 pDevice->Attach((CFX_DIBitmap*)bitmap);
/external/qemu/android/camera/
H A Dcamera-capture-windows.c60 /* DC for frame bitmap manipulation. Null indicates that frames are not
65 /* Bitmap info to use for GetDIBits calls. We can't really use bitmap info
69 * which causes GetDIBits to fail. Second, the bitmap that represents a frame
71 * bitmap info that capture driver has returned. Sometimes the captured bitmap
73 * address these issues we need to have another bitmap info, that can be used
82 /* If != 0, frame bitmap is "top-down". If 0, frame bitmap is "bottom-up". */
295 BITMAP bitmap; local
327 E("%s: Unable to allocate frame bitmap inf
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_BWin.h151 virtual void SetBitmap(BBitmap *bitmap) { argument
152 SDL_View->SetBitmap(bitmap);
/external/replicaisland/src/com/replica/replicaisland/
H A DSpriteComponent.java108 // Fire and forget. Allocate a new bitmap for this animation frame, set it up, and
110 DrawableBitmap bitmap = factory.allocateDrawableBitmap();
111 bitmap.setWidth(mWidth);
112 bitmap.setHeight(mHeight);
113 bitmap.setOpacity(mOpacity);
114 updateFlip(bitmap, parentObject.facingDirection.x < 0.0f,
116 bitmap.setTexture(currentFrame.texture);
117 render.setDrawable(bitmap);
182 protected final void updateFlip(DrawableBitmap bitmap, boolean horzFlip, boolean vertFlip) { argument
183 bitmap
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowBitmap.java50 public static Bitmap createBitmap(Bitmap bitmap) { argument
51 ShadowBitmap shadowBitmap = shadowOf(bitmap);
53 return bitmap;
119 Bitmap bitmap = Robolectric.newInstanceOf(Bitmap.class);
120 shadowOf(bitmap).appendDescription(name);
121 return bitmap;
H A DShadowCanvas.java32 public void __constructor__(Bitmap bitmap) { argument
33 this.targetBitmap = bitmap;
73 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
74 describeBitmap(bitmap, paint);
95 private void describeBitmap(Bitmap bitmap, Paint paint) { argument
98 appendDescription(shadowOf(bitmap).getDescription());
115 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) { argument
116 describeBitmap(bitmap, paint);
/external/skia/experimental/Intersection/
H A DEdgeWalkerPolygons_Test.cpp11 static SkBitmap bitmap; variable
24 testSimplify(path, true, out, bitmap); // expect |\/|
38 testSimplify(path, true, out, bitmap);
51 testSimplify(path, true, out, bitmap);
64 testSimplify(path, true, out, bitmap);
79 testSimplify(path, true, out, bitmap);
94 testSimplify(path, true, out, bitmap);
109 testSimplify(path, true, out, bitmap);
124 testSimplify(path, true, out, bitmap);
139 testSimplify(path, true, out, bitmap);
[all...]
H A DEdgeWalkerRectangles_Test.cpp11 static SkBitmap bitmap; variable
19 testSimplify(path, true, out, bitmap);
316 testSimplify(path, true, out, bitmap);
/external/skia/experimental/PdfViewer/
H A DSkTrackDevice.h29 SkTrackDevice(const SkBitmap& bitmap) : SkBitmapDevice(bitmap) argument
32 SkTrackDevice(const SkBitmap& bitmap, const SkDeviceProperties& deviceProperties) argument
33 : SkBitmapDevice(bitmap, deviceProperties)
96 virtual void drawBitmap(const SkDraw& dummy1, const SkBitmap& bitmap, argument
99 INHERITED::drawBitmap(dummy1, bitmap, matrix, paint);
103 virtual void drawSprite(const SkDraw& dummy1, const SkBitmap& bitmap, argument
106 INHERITED::drawSprite(dummy1, bitmap, x, y, paint);
/external/skia/experimental/nanomsg/
H A Dpicture_demo.cpp194 SkBitmap bitmap; local
195 bitmap.allocN32Pixels(1000, 1000);
196 SkCanvas canvas(bitmap);
202 SkImageEncoder::EncodeFile(FLAGS_png[0], bitmap, SkImageEncoder::kPNG_Type, 100);
/external/skia/gm/
H A Dbitmapscroll.cpp12 /** Create a bitmap image suitable for testing SkBitmap::scrollRect().
14 * @param quarterWidth bitmap will be 4x this many pixels wide
15 * @param quarterHeight bitmap will be 4x this many pixels tall
16 * @param bitmap the bitmap data is written into this object
18 static void make_bitmap(int quarterWidth, int quarterHeight, SkBitmap *bitmap) { argument
28 // Prepare bitmap, and a canvas that draws into it.
29 bitmap->allocN32Pixels(quarterWidth*4, quarterHeight*4);
30 SkCanvas canvas(*bitmap);
51 // Create the original bitmap
[all...]
H A Dgm_expectations.cpp29 const static char kJsonKey_Hashtype_Bitmap_64bitMD5[] = "bitmap-64bitMD5";
52 GmResultDigest::GmResultDigest(const SkBitmap &bitmap) { argument
53 fIsValid = SkBitmapHasher::ComputeDigest(bitmap, &fHashDigest);
125 Expectations::Expectations(const SkBitmap& bitmap, bool ignoreFailure) { argument
126 fBitmap = bitmap;
128 fAllowedResultDigests.push_back(GmResultDigest(bitmap));
H A Dxfermodes3.cpp22 * This tests drawing device-covering rects with solid colors and bitmap shaders over a
172 SkBitmap bitmap; local
173 if (ropixels.asROBitmap(&bitmap)) {
174 canvas->drawBitmap(bitmap, 0, 0);
/external/skia/include/core/
H A DSkPixelRef.h44 SkBitmap. A pixelref is installed into a bitmap, and then the bitmap can
208 * Return a decoded instance of this pixelRef in bitmap. If this cannot be
209 * done, return false and the bitmap parameter is ignored/unchanged.
221 * If this returns true, then bitmap must be "locked" such that
222 * bitmap->getPixels() will return the correct address.
224 bool decodeInto(int pow2, SkBitmap* bitmap) { argument
226 return this->onDecodeInto(pow2, bitmap);
229 /** Are we really wrapping a texture instead of a bitmap?
308 virtual bool onDecodeInto(int pow2, SkBitmap* bitmap);
[all...]
/external/skia/platform_tools/nacl/src/
H A Dnacl_sample.cpp95 // Create a bitmap using the fPixelBuffer pixels
96 SkBitmap bitmap; local
97 bitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h);
98 bitmap.setPixels(data);
99 // Create a canvas with the bitmap as the backend
100 SkCanvas canvas(bitmap);
/external/skia/samplecode/
H A DSampleBitmapRect.cpp36 static void make_bitmap(SkBitmap* bitmap) { argument
37 bitmap->allocN32Pixels(INT_SIZE, INT_SIZE);
38 SkCanvas canvas(*bitmap);
126 SkBitmap bitmap; local
127 make_bitmap(&bitmap);
131 canvas->drawBitmap(bitmap, 0, 0, &paint);
136 canvas->drawBitmapRectToRect(bitmap, &srcR, fDstR[i], &paint);
H A DSampleColorFilter.cpp102 SkBitmap bitmap; local
103 bitmap.allocN32Pixels(n, n);
104 bitmap.eraseColor(SK_ColorTRANSPARENT);
106 SkCanvas canvas(bitmap);
122 return bitmap;

Completed in 7362 milliseconds

<<11121314151617181920>>