Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc

Issue 2254303002: Move GLImageOzoneNativePixmap tests to src/ui/ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try as console test. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ozone/gl/BUILD.gn ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <fcntl.h> 5 #include <fcntl.h>
6 #include <libdrm/i915_drm.h> 6 #include <libdrm/i915_drm.h>
7 #include <linux/types.h> 7 #include <linux/types.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <sys/mman.h> 10 #include <sys/mman.h>
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return image; 117 return image;
118 } 118 }
119 119
120 unsigned GetTextureTarget() const { return GL_TEXTURE_EXTERNAL_OES; } 120 unsigned GetTextureTarget() const { return GL_TEXTURE_EXTERNAL_OES; }
121 121
122 const uint8_t* GetImageColor() { return kImageColor; } 122 const uint8_t* GetImageColor() { return kImageColor; }
123 123
124 private: 124 private:
125 }; 125 };
126 126
127
128 // TODO(crbug.com/618516) - The tests in this file can only be run 127 // TODO(crbug.com/618516) - The tests in this file can only be run
129 // on a real device, and not on linux desktop builds, so they are 128 // on a real device, and not on linux desktop builds, so they are
130 // disabled until they can correctly detect the environment and do 129 // disabled until they can correctly detect the environment and do
131 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm, 130 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm,
132 GLImageTest, 131 GLImageTest,
133 GLImageOzoneNativePixmapDrmTestDelegate); 132 GLImageOzoneNativePixmapDrmTestDelegate);
134 133
135 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm, 134 INSTANTIATE_TYPED_TEST_CASE_P(DISABLED_GLImageOzoneNativePixmapDrm,
136 GLImageBindTest, 135 GLImageBindTest,
137 GLImageOzoneNativePixmapDrmTestDelegate); 136 GLImageOzoneNativePixmapDrmTestDelegate);
138 137
139 } // namespace 138 } // namespace
140 } // namespace gl 139 } // namespace gl
OLDNEW
« no previous file with comments | « ui/ozone/gl/BUILD.gn ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698