OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:textureWidth
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/angle/tests/angle_tests/
MaxTextureSizeTest.cpp
100
GLsizei
textureWidth
= mMaxTexture2DSize;
103
std::vector<GLubyte> data(
textureWidth
* textureHeight * 4);
106
for (int x = 0; x <
textureWidth
; x++)
108
GLubyte* pixel = data.data() + ((y *
textureWidth
+ x) * 4);
111
pixel[0] = static_cast<GLubyte>((float(x) /
textureWidth
) * 255);
118
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
textureWidth
, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data.data());
160
GLsizei
textureWidth
= 64;
163
std::vector<GLubyte> data(
textureWidth
* textureHeight * 4);
166
for (int x = 0; x <
textureWidth
; x++)
168
GLubyte* pixel = data.data() + ((y *
textureWidth
+ x) * 4)
[
all
...]
IncompleteTextureTest.cpp
89
const GLsizei
textureWidth
= 2;
91
std::vector<GLubyte> textureData(
textureWidth
* textureHeight * 4);
94
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
textureWidth
, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureData.data());
105
glTexImage2D(GL_TEXTURE_2D, 1, GL_RGBA,
textureWidth
>> 1, textureHeight >> 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, textureData.data());
/packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java
71
int
textureWidth
= sIconTextureWidth;
75
if (sourceWidth >
textureWidth
&& sourceHeight > textureHeight) {
78
(sourceWidth -
textureWidth
) / 2,
80
textureWidth
, textureHeight);
81
} else if (sourceWidth ==
textureWidth
&& sourceHeight == textureHeight) {
135
int
textureWidth
= sIconTextureWidth;
138
final Bitmap bitmap = Bitmap.createBitmap(
textureWidth
, textureHeight,
143
final int left = (
textureWidth
-width) / 2;
/external/skia/src/gpu/
GrAtlas.cpp
160
int
textureWidth
= fBackingTextureSize.width();
163
int plotWidth =
textureWidth
/ fNumPlotsX;
166
SkASSERT(plotWidth * fNumPlotsX ==
textureWidth
);
/frameworks/base/policy/src/com/android/internal/policy/impl/
IconUtilities.java
142
int
textureWidth
= mIconTextureWidth;
145
final Bitmap bitmap = Bitmap.createBitmap(
textureWidth
, textureHeight,
150
final int left = (
textureWidth
-width) / 2;
/external/chromium_org/third_party/skia/src/gpu/
GrAtlas.cpp
165
int
textureWidth
= fBackingTextureSize.width();
168
int plotWidth =
textureWidth
/ fNumPlotsX;
171
SkASSERT(plotWidth * fNumPlotsX ==
textureWidth
);
/external/deqp/modules/glshared/
glsStateChangePerfTestCases.cpp
335
const int
textureWidth
= 64;
344
genTextureData(textureData,
textureWidth
, textureHeight);
346
DE_ASSERT(textureData.size() ==
textureWidth
* textureHeight * 4);
358
gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
textureWidth
, textureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &(textureData[0]));
/packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java
187
int
textureWidth
= sIconWidth;
190
final Bitmap bitmap = Bitmap.createBitmap(
textureWidth
, textureHeight,
195
final int left = (
textureWidth
-width) / 2;
/external/deqp/modules/egl/
teglGLES2SharedRenderingPerfTests.cpp
92
int
textureWidth
;
278
for (int x = 0; x < config.
textureWidth
; x++)
309
gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, config.
textureWidth
, config.
textureWidth
, 0, GL_RGBA, GL_UNSIGNED_BYTE, &(data[0]));
1035
log << TestLog::Message << "Texture size: " << config.
textureWidth
<< "x" << config.textureHeight << TestLog::EndMessage;
1123
basicConfig.
textureWidth
= 128;
[
all
...]
/external/chromium_org/third_party/webrtc/modules/video_render/windows/
video_render_direct3d9.cc
618
DWORD
textureWidth
, textureHeight;
636
textureWidth
= channelObj->GetTextureWidth();
[
all
...]
/external/deqp/modules/gles3/functional/
es3fASTCDecompressionCases.cpp
[
all
...]
Completed in 667 milliseconds